* lisp/net/shr.el (shr-copy-url): Also copy the image URL.
[emacs.git] / lisp / ChangeLog
blob5ec506b63b0d438de12d6c7a00be6a4170d51537
1 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3         * net/shr.el (shr-copy-url): Also copy the image URL.
5 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
7         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
8         also for Tramp working buffers.
10 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12         * progmodes/python.el: Fix completions inside (i)pdb.
13         (python-shell-completion-pdb-string-code): Make obsolete.
14         (python-shell-completion-get-completions): Use
15         python-shell-completion-string-code resending setup code
16         continuously for (i)pdb.
18 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
20         * rect.el (rectangle--default-line-number-format): Rename
21         from misspelled rectange--default-line-number-format (Bug#18045).
22         All uses changed.
24 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
26         Don't mishandle year-9999 dates (Bug#18176).
27         * calendar/parse-time.el (parse-time-rules):
28         Allow years up to most-positive-fixnum.
29         * calendar/time-date.el (date-to-time):
30         Pass "Specified time is not representable" errors through.
32 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
34         * progmodes/python.el: Completion code cleanups.
35         (python-shell-completion-get-completions): Detect and send import
36         statements directly to completion function.
37         (python-shell-completion-at-point): Simplify prompt calculation
38         and import vs input completion logic.
40 2014-08-02  Alan Mackenzie  <acm@muc.de>
42         Fix confusion in C++ file caused by comma in "= {1,2},".  Bug
43         #17756.
44         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
45         for a statement boundary marked by "}", check there's no "="
46         before the "{".
47         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
48         non-nil `comma-delim' argument.
49         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
50         initializer expression more accurately.
52         Correct loop termination condition in c-syntactic-skip-backward.
53         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
54         the situation where, after moving back out of a literal,
55         skip-chars-backward doesn't move further, yet checks have still to
56         be done.
58 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
60         * tutorial.el (tutorial--display-changes): Accept punctuation
61         characters before the key binding.  (Bug#18146)
63 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
65         * progmodes/python.el: Shell output capture enhancements.
66         (python-shell-accept-process-output): New function.
67         (inferior-python-mode)
68         (python-shell-send-setup-code): Use it.
70 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
72         * calendar/icalendar.el (icalendar--decode-isodatetime): Use
73         actual current-time-zone when converting to local time. (Bug#15408)
75 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
77         * window.el (window--state-put-2): Handle horizontal scroll
78         bars, if present.
80 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
82         * menu-bar.el (menu-bar-update-buffers): Update item list format
83         in `buffers-menu' to confirm with changes to `get_keyelt'
84         (r117463).  (Bug#18016)
86 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
88         * progmodes/python.el (inferior-python-mode): Make input prompts
89         read-only.
91 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
93         * net/tramp-sh.el (tramp-get-remote-python): Also search for
94         executables named "python2" or "python3".
95         (tramp-get-remote-uid-with-python): Use parentheses around
96         arguments to `print' to make it compatible with Python 3.
97         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
99 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
101         * window.el (window--pixel-to-total): Use FRAME's root window, not
102         that of the selected frame.  (Bug#18112, Bug#16674)
104 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
106         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
107         (Bug#18117)
109 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
111         * progmodes/python.el (inferior-python-mode): Doc fix.
113 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
115         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
116         not a character, ignore it instead of raising an error.
118         * calendar/todo-mode.el: Fix handling of marked items and make
119         minor code improvements.
120         (todo-edit-item): If there are marked items, ensure user can only
121         invoke editing commands that work with marked items.
122         (todo-edit-item--text): When there are marked items, make it a
123         noop if invoked with point not on an item; otherwise, ensure it
124         applies only to item at point.
125         (todo-item-undone): If there are marked not-done items, return
126         point to its original position before signaling user error.
127         (todo--user-error-if-marked-done-item): New function.
128         (todo-edit-item--header, todo-edit-item--diary-inclusion)
129         (todo-item-done): Use it.
131 2014-07-28  Glenn Morris  <rgm@gnu.org>
133         * files.el (toggle-read-only): Re-add basic doc-string.
134         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
136         * progmodes/prolog.el (prolog-mode-keybindings-edit):
137         Replace missing `switch-to-prolog' with `run-prolog'.
138         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
140 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
142         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
143         of file-wide setting when changing category-wide setting.
145 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
147         * doc-view.el (doc-view-open-text): Don't require that the
148         document is saved in a file (e.g., email attachment).
150 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
152         Parse completion input in a iPython friendly way.  (Bug#18084)
153         * progmodes/python.el
154         (python-shell-completion-at-point): Rename from
155         python-shell-completion-complete-at-point.
156         (inferior-python-mode): Use it.
157         (python-completion-at-point): Rename from
158         python-completion-complete-at-point.  Parse input up to first
159         backward occurrence of whitespace, open-paren, close-paren or
160         string delimiter.
161         (python-mode): Use it.
163 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
165         Prevent Python process shell buffer to pop twice.
166         * progmodes/python.el (python-shell-switch-to-shell): Do not call
167         pop-to-buffer.
169 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
171         * progmodes/python.el
172         (python-shell-with-shell-buffer): New macro.
173         (python-shell-font-lock-get-or-create-buffer)
174         (python-shell-font-lock-kill-buffer)
175         (python-shell-font-lock-with-font-lock-buffer)
176         (python-shell-font-lock-cleanup-buffer)
177         (python-shell-font-lock-toggle): Use it.
178         (python-shell-font-lock-turn-on)
179         (python-shell-font-lock-turn-off): Use it.  Make command.
181 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
183         Grab all Python process output before inferior-python-mode hooks.
184         * progmodes/python.el (inferior-python-mode): Call
185         accept-process-output and sit-for to ensure all output for process
186         has been received before running hooks.
187         (python-shell-internal-get-or-create-process): Cleanup
188         accept-process-output and sit-for calls.
190 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
192         More robust shell startup and code setup.
193         * progmodes/python.el (python-shell-make-comint): Remove
194         accept-process-output call.
195         (python-shell-get-buffer): Return current buffer if major-mode is
196         inferior-python-mode.
197         (python-shell-get-or-create-process): Use it.
198         (python-shell-send-setup-code): Send all setup code in one string,
199         output success message and accept-process-output.
201 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
203         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll): Add
204         rudimentary support for bidirectional text.
206 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
208         * frame.el (frame-notice-user-settings): Rewrite using
209         frame-initial-frame-tool-bar-height.
210         * menu-bar.el (menu-bar-horizontal-scroll-bar)
211         (menu-bar-no-horizontal-scroll-bar): New functions.
212         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
213         scroll bars.
214         * scroll-bar.el (scroll-bar-lines)
215         (set-horizontal-scroll-bar-mode)
216         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
217         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
218         (scroll-bar-toolkit-horizontal-scroll): New functions.
219         (horizontal-scroll-bar-mode)
220         (previous-horizontal-scroll-bar-mode)
221         (horizontal-scroll-bar-mode-explicit): New variables.
222         (horizontal-scroll-bar-mode): New option.
223         (toggle-horizontal-scroll-bar): Do something.
224         (top-level): Bind horizontal-scroll-bar mouse-1.
225         * startup.el (tool-bar-originally-present): Remove variable.
226         (command-line): Don't set tool-bar-originally-present.
227         * window.el (window-min-height): Update doc-string.
228         (window--dump-frame): Dump horizontal scroll bar values.
229         (window--min-size-1): Handle minibuffer window separately.
230         Count in margins and horizontal scroll bar.  Return safe value
231         iff IGNORE equals 'safe.
232         (frame-windows-min-size): New function (used by frame resizing
233         routines).
234         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
235         scroll bars.
236         (window--sanitize-window-sizes): New function.
237         (window-split-min-size): Remove.
238         (split-window): Count divider-width.  Don't use
239         `window-split-min-size' any more.  Reword error messages.
240         Sanitize windows sizes after splitting.
242 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
244         Use `defvar-local' more.
245         * progmodes/hideshow.el
246         (hs-c-start-regexp, hs-block-start-regexp)
247         (hs-block-start-mdata-select, hs-block-end-regexp)
248         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
249         remove corresponding `make-variable-buffer-local' top-level calls.
251 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
253         Cleanup error signals.  (Bug#18067)
254         * progmodes/python.el
255         (python-indent-shift-left): Use user-error instead.
256         (python-shell-prompt-detect): Use lwarn with python group.
257         (python-completion-complete-at-point)
258         (python-eldoc--get-doc-at-point): Don't signal error.
260 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
262         Support for packages in Python shell.  (Bug#13570)
263         * progmodes/python.el (python-shell--package-depth): New var.
264         (python-shell-package-enable): New command.
265         (python-util-list-directories, python-util-list-files)
266         (python-util-list-packages): New functions.
268 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
270         Faster comint output.  (Bug#16875)
271         * progmodes/python.el:
272         (python-comint-output-filter-function): Make obsolete.
273         (python-comint-postoutput-scroll-to-bottom): New function.
274         (inferior-python-mode): Set comint-output-filter-functions to a
275         minimum.
277 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
279         * progmodes/python.el (python-shell-font-lock-post-command-hook):
280         Safeguard current point and undo history.
282 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
284         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
285         * progmodes/python.el:
286         (python-shell-prompt-input-regexps): Add iPython block prompt.
287         (python-shell-output-syntax-table): Delete var.
288         (python-shell-font-lock-with-font-lock-buffer): New macro.
289         (python-shell-font-lock-get-or-create-buffer)
290         (python-shell-font-lock-kill-buffer)
291         (python-shell-font-lock-cleanup-buffer)
292         (python-shell-font-lock-post-command-hook)
293         (python-shell-font-lock-turn-off): New functions.
294         (python-shell-font-lock-turn-on): New function.
295         (inferior-python-mode): Use it.
296         (python-shell-font-lock-toggle): New command.
297         (python-shell-font-lock-enable): Rename from
298         python-shell-enable-font-lock.
299         (run-python-internal): Use it.
300         (python-shell-font-lock-comint-output-filter-function): New function.
301         (python-shell-comint-end-of-output-p): New function.
302         (python-shell-output-filter): Use it.
303         (python-util-comint-last-prompt): New function.
304         (python-util-text-properties-replace-name): New function.
306 2014-07-25  Glenn Morris  <rgm@gnu.org>
308         * vc/ediff-init.el (ediff-toggle-read-only-function):
309         * vc/ediff-util.el (ediff-toggle-read-only):
310         Replace obsolete toggle-read-only with read-only-mode.
312 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
314         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
315         with `save-match-data'.  (Bug#18095)
317 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
319         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
320         order to ensure that row and col are lexically bound inside the
321         evaluated sexp.
323 2014-07-21  Glenn Morris  <rgm@gnu.org>
325         * progmodes/hideif.el (hide-ifdef-mode-submap):
326         Also substitute read-only-mode.
327         * bindings.el (mode-line-toggle-read-only):
328         * bs.el (bs-toggle-readonly):
329         * buff-menu.el (Buffer-menu-toggle-read-only):
330         * dired.el (dired-toggle-read-only):
331         * files.el (view-read-only, find-file-read-only)
332         (find-file-read-only-other-window)
333         (find-file-read-only-other-frame):
334         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
335         Doc fixes re toggle-read-only.
337 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
339         * progmodes/python.el: Add comment about pipe buffering and
340         solutions for missing/delayed output in inferior Python shells.
341         (Bug#17304)
343         * progmodes/python.el (python-mode): Don't set
344         mode-require-final-newline.  (Bug#17990)
346         Make python.el work with IPython automatically.  (Bug#15510)
347         * progmodes/python.el:
348         (python-shell-completion-setup-code): New value supporting iPython.
349         (python-shell-completion-string-code): New value supporting iPython.
350         (python-shell-completion-get-completions): Use them.
351         (python-shell-completion-module-string-code): Make obsolete.
352         (python-shell-prompt-input-regexps)
353         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
354         (python-shell-output-filter): Fix comment typo.
356         Fix Python shell prompts detection for remote hosts.
357         * progmodes/python.el (python-shell-prompt-detect): Replace
358         call-process with process-file and make it more robust.
360         Autodetect Python shell prompts.  (Bug#17370)
361         * progmodes/python.el:
362         (python-shell-interpreter-interactive-arg)
363         (python-shell-prompt-detect-enabled)
364         (python-shell-prompt-detect-failure-warning)
365         (python-shell-prompt-input-regexps)
366         (python-shell-prompt-output-regexps): New vars.
367         (python-shell-prompt-calculated-input-regexp)
368         (python-shell-prompt-calculated-output-regexp): New vars.
369         (python-shell-get-process-name)
370         (python-shell-internal-get-process-name)
371         (python-shell-output-filter)
372         (python-shell-completion-get-completions): Use them.
373         (python-shell-prompt-detect)
374         (python-shell-prompt-validate-regexps): New functions.
375         (python-shell-prompt-set-calculated-regexps): New function.
376         (inferior-python-mode): Use it.  Also honor overriden
377         python-shell-interpreter and python-shell-interpreter-args.
378         (python-shell-make-comint): Honor overriden
379         python-shell-interpreter and python-shell-interpreter-args.
380         (python-shell-get-or-create-process): Make it testable by allowing
381         to call run-python non-interactively.
382         (python-util-valid-regexp-p): New function.
383         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
384         (python-shell-prompt-output-regexp)
385         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
387 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
389         * emacs-lisp/smie.el (smie-config--guess-1): Split from
390         smie-config--guess.
391         (smie-config--guess): Use it.
393         * emacs-lisp/edebug.el: Use nadvice.
394         (edebug-original-read): Remove.
395         (edebug--read): Rename from edebug-read and add `orig' arg.
396         (edebug-uninstall-read-eval-functions)
397         (edebug-install-read-eval-functions): Use nadvice.
398         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
399         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
400         (edebug-read-string, edebug-read-function): Use just `read'.
401         (edebug-original-debug-on-entry): Remove.
402         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
403         `orig' arg.
404         (debug-on-entry): Override with nadvice.
406         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
407         it also makes sense to bind it to a non-mouse event.
409         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
411 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
413         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
414         (bug#18015).
416         * rect.el (rectangle--string-preview): Don't assume there
417         a non-nil default (bug#17984).
419 2014-07-16  Glenn Morris  <rgm@gnu.org>
421         * desktop.el (after-init-hook): Disable startup frame restoration
422         in non-graphical situations.  (Bug#17693)
424         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
425         if it was "empty", or used for a different set of files.  (Bug#17884)
427 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
429         * bindings.el (mode-line-remote): If default-directory is not a
430         string, don't call file-remote-p on it; instead state in the
431         help-echo that it is nil.  (Bug#17986)
433 2014-07-14  Daniel Colascione  <dancol@dancol.org>
435         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
436         to `macroexpand-all'
438         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
439         Use `macroexpand-all' instead of `cl-macroexpand-all'.
441 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
443         Fix bug: C-x v v discarded existing log message (Bug#17884).
444         * vc/vc-dispatcher.el (vc-log-edit):
445         Don't clobber an already-existing log message.
447 2014-07-12  Glenn Morris  <rgm@gnu.org>
449         * vc/log-edit.el (log-edit-changelog-entries):
450         Check for a visited-but-never-saved ChangeLog.
452 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
454         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
455         a non-existing file (bug#17970).
457         * faces.el (face-name): Undo last change.
458         (x-resolve-font-name): Don't call face-name (bug#17956).
460 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
462         Fix dedenters and electric colon handling. (Bug#15163)
463         * progmodes/python.el
464         (python-rx-constituents): Add dedenter and block-ender.
465         (python-indent-dedenters, python-indent-block-enders): Delete.
466         (python-indent-context): Return new case for dedenter-statement.
467         (python-indent-calculate-indentation): Handle new case.
468         (python-indent-calculate-levels): Fix levels calculation for
469         dedenter statements.
470         (python-indent-post-self-insert-function): Fix colon handling.
471         (python-info-dedenter-opening-block-message): New function.
472         (python-indent-line): Use it.
473         (python-info-closing-block)
474         (python-info-closing-block-message): Remove.
475         (python-info-dedenter-opening-block-position)
476         (python-info-dedenter-opening-block-positions)
477         (python-info-dedenter-statement-p): New functions.
479 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
481         * files.el (out-of-memory-warning-percentage): New defcustom.
482         (warn-maybe-out-of-memory): Use it.
484 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
486         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
487         when calling `read-string'.  (Bug#17839)
489 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
491         * files.el (warn-maybe-out-of-memory): Fix the wording of the
492         warning.
494 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
496         * files.el (warn-maybe-out-of-memory): New function.
497         (find-file-noselect): Use it.
499 2014-07-09  Sam Steingold  <sds@gnu.org>
501         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
502         `constant' like `bless', `return' &c
504 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
506         * rect.el (apply-on-rectangle): Check forward-line really moved to the
507         next line.
509 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
511         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
512         the middle of a line (bug#17896).
514 2014-07-09  Juri Linkov  <juri@jurta.org>
516         * startup.el (command-line): Append displaying the warning about
517         the errors in the init file to the end of `after-init-hook'.
518         (Bug#17927)
520         * faces.el (face-name): Return input arg `face' as-is
521         when it's not a symbol.
522         (x-resolve-font-name): Don't check if the face is a symbol.
523         (Bug#17956)
525         * facemenu.el (list-colors-print): In help-echo format use %.2f
526         instead of %d because now HSV values are floating-point components
527         between 0.0 and 1.0.
529 2014-07-09  Glenn Morris  <rgm@gnu.org>
531         * emulation/cua-rect.el (cua--activate-rectangle):
532         Avoid setting cua--rectangle to nil.  (Bug#17877)
534 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
536         * calendar/todo-mode.el: Fix wrong-type-argument error when
537         marking multiple consecutive items.
538         (todo-toggle-mark-item): Don't try to mark the empty lines at the
539         end of the todo and done items sections.  Note in doc string that
540         items marked by passing a numeric prefix argument can include the
541         last todo and first done items.
542         (todo-mark-category): Don't try to mark the empty line between the
543         todo and done items sections.
545 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
547         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
548         proper Lisp quoting (bug#17934).
550         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
551         require-final-newline since prog-mode already took care of it (bug#17947).
553 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
555         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
556         refer to the Todo mode Info manual.  Update the comment on
557         requiring cl-lib.
558         (todo-find-filtered-items-file): Add todo-prefix overlays.
559         (todo-filter-items): Reorder a let-bound variable to avoid a
560         wrong-type-argument error on canceling the file choice dialog.
562 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
564         * progmodes/octave.el (inferior-octave-mode):
565         Set comint-input-ring-size to a number (bug#17912).
567 2014-07-09  Juri Linkov  <juri@jurta.org>
569         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
570         and `isearch-mode' associated with nil.  (Bug#17849)
572 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
574         * linum.el (linum--face-height): New function (bug#17813).
575         (linum-update-window): Use it to adjust margin to linum's width.
577         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
578         * eshell/em-smart.el (eshell-smart-scroll-window): Use
579         with-selected-window.
581         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
582         Remove also pointless window&mark manipulation.
584         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
585         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
586         (perl-continuation-line-p): Don't skip over anything else than labels.
587         Return the previous char.
588         (perl-calculate-indent): Use syntax-ppss instead of parse-start
589         and update callers accordingly.  For continuation lines, check the
590         the case of array hashes.
591         (perl-backward-to-noncomment): Make it non-interactive.
592         (perl-backward-to-start-of-continued-exp): Rewrite.
594 2014-07-08  Sam Steingold  <sds@gnu.org>
596         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
597         New user commands.
599 2014-07-08  Juri Linkov  <juri@jurta.org>
601         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
602         (vc-annotate-color-map): Use less saturated colors (20%) for
603         background-mode.
604         (vc-annotate-very-old-color): Add default value for background-mode.
605         (vc-annotate-background): Set default value to nil since now text on
606         the default backgrounds should be legible in light and dark modes.
607         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
608         (Bug#17808)
610 2014-07-08  Juri Linkov  <juri@jurta.org>
612         * simple.el (transpose-chars): Don't move point into read-only area.
613         (Bug#17829)
615 2014-07-08  Juri Linkov  <juri@jurta.org>
617         * window.el (with-displayed-buffer-window): New macro.
618         (with-temp-buffer-window, with-current-buffer-window):
619         Use `macroexp-let2' to evaluate and bind variables
620         in the same order as macro arguments.
621         (display-buffer--action-function-custom-type):
622         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
624         * minibuffer.el (minibuffer-completion-help): Replace
625         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
626         with actions that display *Completions* at-bottom when called
627         from the minibuffer, or below-selected in a normal buffer.
628         Associate `window-height' with `fit-window-to-buffer'.
629         Let-bind `pop-up-windows' to nil.
631         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
632         instead of `with-current-buffer-window'.  (Bug#17809)
634 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
636         * progmodes/hideif.el (hide-ifdef-env): Change to global.
637         (hide-ifdef-env-backup): New variable.
638         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
639         New customizable variables.
640         (hif-clear-all-ifdef-defined): New defun.
641         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
642         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
643         (hif-tokenize): Fix for MS-DOS/Win EOL style.
644         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
645         Fix bug to hide the correct #elif region(s).
646         (hif-range-elif): New defun.
647         (hif-recurse-level): New var.
648         (hif-evaluate-region, hif-evaluate-macro): New defun.
649         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
650         fully hidden.
651         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
652         Better interaction.
654 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
656         * net/dbus.el (dbus-peer-handler): New defun.
657         (dbus-register-service): Register it.  (Bug#17858)
658         (dbus-managed-objects-handler): Fix docstring.
660 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
662         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
663         (narrow-to-defun): New arg include-comments, defaulting to it
664         (bug#16328).
666 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
668         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
669         different calling convention to rectangle--unhighlight-for-redisplay.
671 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
673         * net/tramp.el (tramp-call-process): Handle error strings.
675         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
677         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
678         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
680         * net/trampver.el: Update release number.
682 2014-07-03  Juri Linkov  <juri@jurta.org>
684         * desktop.el (desktop-save): Rename arg `auto-save' to
685         `only-if-changed'.  Doc fix.  (Bug#17873)
687 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
689         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
690         Use insert-for-yank (bug#17271).
692 2014-07-03  Leo Liu  <sdl.web@gmail.com>
694         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
695         Support lexical-binding.
697 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * vc/log-edit.el (log-edit-goto-eoh): New function.
700         (log-edit--match-first-line): Use it (bug#17861).
702 2014-07-03  Glenn Morris  <rgm@gnu.org>
704         * vc/log-edit.el (log-edit-hook): Add missing :version.
706 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
708         * progmodes/python.el (python-indent-post-self-insert-function):
709         Enhancements to electric indentation behavior inside
710         parens. (Bug#17658)
712 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
715         buffer-invisibility-spec (bug#17867).
717 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
719         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
720         pass "-a".
722 2014-07-03  Glenn Morris  <rgm@gnu.org>
724         * cus-edit.el (help):
725         * finder.el (finder-known-keywords):
726         * help.el (help-for-help-internal):
727         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
728         (ediff-redraw-registry-buffer):
729         * vc/ediff-ptch.el (ediff-patch-file-internal):
730         Doc fixes re "online" help.  (Bug#17803)
732         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
733         (idlwave-mode): Doc URL update.
735 2014-07-01  Juri Linkov  <juri@jurta.org>
737         * man.el: Display man pages immediately and use process-filter
738         to format them asynchronously.
739         (Man-width): Doc fix.
740         (man): Doc fix.
741         (Man-start-calling): Use `with-selected-window' to get
742         `frame-width' and `window-width'.
743         (Man-getpage-in-background): Call `Man-notify-when-ready'
744         immediately after creating a new buffer.  Call `Man-mode' and set
745         `mode-line-process' in the created buffer.  Set process-filter to
746         `Man-bgproc-filter' in start-process branch.  In call-process branch
747         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
748         Use `Man-start-calling' inside `with-current-buffer'.
749         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
750         (Man-cleanup-manpage): Don't print messages.
751         (Man-bgproc-filter): New function.
752         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
753         user moved it during asynchronous formatting.  Move calls of
754         `Man-fontify-manpage' and `Man-cleanup-manpage' to
755         `Man-bgproc-filter'.  Move the call of `Man-mode' to
756         `Man-getpage-in-background'.  Use `quit-restore-window'
757         instead of `kill-buffer'.  Use `message' instead of `error'
758         because errors are caught by process sentinel.
759         (Man-mode): Move calls of `Man-build-page-list',
760         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
761         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
763         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
764         for the message about the man page cleaned up.
766 2014-07-01  Mario Lang  <mlang@delysid.org>
768         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
769         cosutomization option `gnutls-verify-error'.
771 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
773         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
774         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
776         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
777         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
778         is suspended (bug#17857).
780 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
782         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
783         Prefer utf-8 coding.  (Bug#17859)
785 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
787         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
788         for `reverse'.
790 2014-06-30  Glenn Morris  <rgm@gnu.org>
792         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
793         (autoload-ensure-default-file): Maybe make existing output writable.
794         * Makefile.in (AUTOGEN_VCS): Remove.
795         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
797 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
799         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
801 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
803         New if-let, when-let, thread-first and thread-last macros.
805         * emacs-lisp/subr-x.el
806         (internal--listify, internal--check-binding)
807         (internal--build-binding-value-form, internal--build-binding)
808         (internal--build-bindings): New functions.
809         (internal--thread-argument, thread-first, thread-last)
810         (if-let, when-let): New macros.
812 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
814         * net/rcirc.el (rcirc-buffer-process): Restore previous
815         behaviour.  (Bug#17772)
817 2014-06-29  Alan Mackenzie  <acm@muc.de>
819         Don't call c-parse-state when c++-template-syntax-table is active.
820         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
821         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
822         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
824 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
826         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
827         account for file-wide setting of todo-top-priorities-overrides.
828         Make code a bit cleaner.
830 2014-06-28  Glenn Morris  <rgm@gnu.org>
832         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
834 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
836         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
837         category-wide setting of todo-top-priorities-overrides, check for
838         a file-wide setting and fontify accordingly.
840 2014-06-28  Glenn Morris  <rgm@gnu.org>
842         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
844 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
846         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
848 2014-06-28  K. Handa  <handa@gnu.org>
850         Fix Bug#17739.
852         * composite.el: Setup composition-function-table for dotted circle.
853         (compose-gstring-for-dotted-circle): New function.
855         * international/characters.el: Add category "^" to all
856         non-spacing characters.
858 2014-06-28  Glenn Morris  <rgm@gnu.org>
860         * Makefile.in (doit): Remove force rule.
861         (custom-deps, finder-data, autoloads, update-subdirs)
862         (compile-one-process): PHONY targets do not need force rules.
864         * Makefile.in (compile-main, compile, compile-always):
865         No need to explicitly pass variables to ourself in recursive calls.
867 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
869         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
871 2014-06-26  Glenn Morris  <rgm@gnu.org>
873         * Makefile.in (update-authors): Update for moved authors.el.
875 2014-06-26  Leo Liu  <sdl.web@gmail.com>
877         * skeleton.el (skeleton-end-hook): Default to nil and move the
878         work to skeleton-insert.  (Bug#17850)
880 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
882         * calc/calc-alg.el (math-beforep):
883         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
884         Simplify because string-lessp can accept symbols as args.
886 2014-06-26  Daiki Ueno  <ueno@gnu.org>
888         * emacs-lisp/package.el (package--check-signature):
889         If package-check-signature is allow-unsigned, don't signal error when
890         we can't verify signature because of missing public key
891         (bug#17625).
893 2014-06-26  Glenn Morris  <rgm@gnu.org>
895         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
896         Remove outdated declaration.
898         * emacs-lisp/authors.el (authors-valid-file-names)
899         (authors-renamed-files-alist): Additions.
901 2014-06-26  Leo Liu  <sdl.web@gmail.com>
903         * textmodes/picture.el (picture-set-tab-stops):
904         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
905         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
907         * progmodes/asm-mode.el (asm-calculate-indentation):
908         Use indent-next-tab-stop.
910         * indent.el (indent-accumulate-tab-stops): New function.
912 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
914         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
915         (package-desc-status): Obey it.
917 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
919         * calendar/todo-mode.el: Fix two bugs.
920         (todo-insert-item--basic): If user cancels item insertion to
921         another category before setting priority, show original category
922         whether it is in the same or a different file.
923         (todo-set-item-priority): After selecting category, instead of
924         moving point to top, which extends an active region, restore it.
926 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
928         * help-fns.el (describe-function-1): Check file-name is a string before
929         calling help-fns--autoloaded-p (bug#17564).
931 2014-06-26  Juri Linkov  <juri@jurta.org>
933         * desktop.el (desktop-auto-save-enable)
934         (desktop-auto-save-disable): New functions.
935         (desktop-save-mode, desktop-auto-save-timeout): Use them.
936         (desktop-read): Disable the autosave before loading the desktop,
937         and enable afterwards.  (Bug#17351)
939 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
941         Fix some indentation problem with \; and pipes (bug#17842).
942         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
943         (sh-smie--default-forward-token, sh-smie--default-backward-token):
944         New functions.
945         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
946         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
947         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
949 2014-06-26  Glenn Morris  <rgm@gnu.org>
951         * emacs-lisp/find-func.el (find-function-C-source-directory):
952         Use file-accessible-directory-p.
954         * ps-samp.el: Make it slightly less awful.
955         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
956         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
957         Only set local values.
958         (ps-article-subject, ps-article-author): Use standard functions
959         like mail-fetch-field.
960         (ps-info-file, ps-info-node): Use match-string.
961         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
962         (ps-samp-ps-setup): ... new function.
964         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
965         Optimize away code unneeded on any modern Emacs.
967         * emacs-lisp/authors.el: Move to ../admin.
969         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
971 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
973         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
974         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
975         performance enhancements.
976         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
977         expansion.
978         (hif-factor, hif-string-concatenation, intern-safe): Support string
979         concatenation and argumented macro expansion.
980         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
981         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
982         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
983         (hif-canonicalize-tokens, hif-place-macro-invocation)
984         (hif-parse-macro-arglist): Mostly new functions for supporting
985         argumented macro expansion.
986         (hif-string-concatenation, hif-stringify, hif-token-concat)
987         (hif-token-stringification, hif-token-concatenation):
988         Stringification and concatenation.
989         (hif-find-next-relevant): Fix comments.
990         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
991         some cases involving #elif.
992         (hif-find-define, hif-add-new-defines): New functions for automatically
993         scanning of defined symbols.
994         (hide-ifdef-guts): Fix for defined symbol auto scanning.
995         (hide-ifdef-undef): Fix behavior to match CPP.
997 2014-06-25  Glenn Morris  <rgm@gnu.org>
999         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1000         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1001         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1002         files.  They are not relevant to the original issue (bug#1004),
1003         and cause unnecessary recompilation (bug#2151).
1005 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1007         * play/landmark.el: Use lexical-binding and avoid `intangible'.
1008         (landmark--last-pos): New var.
1009         (landmark--intangible-chars): New const.
1010         (landmark--intangible): New function.
1011         (landmark-mode, landmark-move): Use it.
1012         (landmark-mode): Remove properties.
1013         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1014         (landmark-cross-qtuple):
1015         Don't worry about `intangible' any more.
1016         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1017         (landmark-init-display): Don't set `intangible' and `point-entered'.
1018         (square): Remove.  Inline it instead.
1019         (landmark--distance): Rename from `distance'.
1020         (landmark-calc-distance-of-robot-from): Rename from
1021         calc-distance-of-robot-from.
1022         (landmark-calc-smell-internal): Rename from calc-smell-internal.
1024 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
1026         * files.el (dir-locals-find-file, file-relative-name):
1027         * info.el (Info-complete-menu-item):
1028         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1029         to compare-strings to avoid out-of-range errors.
1030         * subr.el (string-prefix-p): Adjust to match strict range
1031         checking in compare-strings.
1033 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
1035         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1036         for comment lines non-greedy and stopping at newlines to fix stack
1037         overflows with large files.
1039 2014-06-24  Eli Barzilay  <eli@barzilay.org>
1041         * calculator.el (calculator-last-input): Drop 'ascii-character property
1042         lookup.
1044 2014-06-24  Leo Liu  <sdl.web@gmail.com>
1046         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1047         tab-stop-list to nil.  (Bug#16381)
1049         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1050         (indent-rigidly-left-to-tab-stop)
1051         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1052         (move-to-tab-stop): Change callers.
1054 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1056         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1057         wrt behavior of \n as the first/last element of a skeleton.
1059 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
1061         * net/tramp-adb.el (tramp-adb-handle-process-file):
1062         * net/tramp-sh.el (tramp-sh-handle-process-file):
1063         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1064         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1066 2014-06-24  Glenn Morris  <rgm@gnu.org>
1068         * play/landmark.el (landmark-move-down, landmark-move-up):
1069         Fix 2007-10-20 change - preserve horizontal position.
1071 2014-06-23  Sam Steingold  <sds@gnu.org>
1073         * simple.el (kill-append): Remove undo boundary depending on ...
1074         (kill-append-merge-undo): New user option.
1076 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1078         * simple.el (handle-shift-selection, exchange-point-and-mark)
1079         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1080         (transient-mark-mode): Use&set the global value.
1081         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1082         * emulation/edt.el (edt-emulation-off): Save&restore the global
1083         transient-mark-mode setting.
1084         * obsolete/pc-select.el (pc-selection-mode): Use the
1085         transient-mark-mode function.
1087 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
1089         * international/fontset.el (script-representative-chars):
1090         Add representative characters for scripts added in Unicode 7.0.
1091         (otf-script-alist): Synchronize with the latest registry of OTF
1092         script tags.
1094         * international/characters.el (char-script-table): Update for
1095         scripts added and codepoint ranges changed in Unicode 7.0.
1097 2014-06-23  Eli Barzilay  <eli@barzilay.org>
1099         * calculator.el (calculator-standard-displayer): Fix bug in use of
1100         `calculator-groupize-number'.
1101         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1102         `eval' code, so it works in v24.3.1 too.
1103         (calculator-last-input): Comment to clarify purpose.
1105 2014-06-22  Mario Lang  <mlang@delysid.org>
1107         * textmodes/rst.el (rst-comment-region): From from -> from.
1109         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1111 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
1113         * electric.el (electric-layout-post-self-insert-function):
1114         * emacs-lisp/ert.el (ert--insert-infos):
1115         * obsolete/vi.el (vi-set-mark):
1116         * term.el (term-handle-scroll):
1117         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1118         * wid-edit.el (widget-editable-list-value-create):
1119         Prefer point-marker to copy-marker of point.
1121 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1123         Fix completion retrieval parsing (bug#17209).
1124         * progmodes/python.el (python-mode):
1125         (python-util-strip-string): New function.
1126         (python-shell-completion-get-completions): Use it.
1128 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1130         * skeleton.el (skeleton-insert): Fix last change.
1132 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1134         Enhancements for outline integration (bug#17796).
1135         * progmodes/python.el (python-mode): Properly set
1136         outline-heading-end-regexp so that comments after colons for
1137         defuns are supported.
1139 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1141         * skeleton.el (skeleton-insert): Doc fix.
1143 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1145         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1146         (smie-config-guess): Use smie-config-local so the rules are obeyed
1147         (bug#17818).
1149         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1150         since it's already done inside the loop (bug#17819).
1152 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
1154         * mouse.el (mouse-drag-line): Re-remove code initially removed
1155         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1156         (Bug#17819).
1158 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1160         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1161         align with the surrounding parent (bug#17721).
1163 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1165         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1166         locally to nil.
1167         (texinfo-insert-block, texinfo-insert-@end)
1168         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1169         local setting of skeleton-end-newline by adding an explicit \n to
1170         the skeletons where appropriate.  (Bug#17801)
1172 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1174         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1175         (smie-indent--hanging-p): Use it.
1176         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1178 2014-06-21  Leo Liu  <sdl.web@gmail.com>
1180         * simple.el (read-quoted-char): Don't let help chars pop up help
1181         buffer.  (Bug#16617)
1183 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1185         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1186         for | (bug#17621).
1188         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1189         Drop unknown events instead of burping.
1191 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1193         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1194         and later.  (Bug#17790)
1196 2014-06-21  Juri Linkov  <juri@jurta.org>
1198         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1199         to `soft'.  (Bug#17554)
1201 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1203         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1204         (bug#17737).
1206 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1208         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1209         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1211 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
1213         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1214         `unread-command-events'.
1216 2014-06-19  William Xu  <william.xwl@gmail.com>
1218         * progmodes/hideif.el (hif-string-to-number): Don't return float for
1219         hex integer constants (bug#17807).
1221 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1223         * international/mule-util.el (truncate-string-ellipsis): New var.
1224         (truncate-string-to-width): Use it.
1226 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
1228         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1229         (lisp-string-in-doc-position-p): New function, extracted from
1230         lisp-font-lock-syntactic-face-function.
1231         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1233 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
1235         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
1237 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1239         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1240         (bubbles--game-over): Don't add `intangible' properties since they
1241         didn't work anyway.
1243 2014-06-18  Juri Linkov  <juri@jurta.org>
1245         * vc/ediff-init.el (ediff-current-diff-Ancestor)
1246         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1247         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1248         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1249         Add `min-colors 88' version with removed black/white foregrounds.
1250         (Bug#10181)
1252 2014-06-18  Juri Linkov  <juri@jurta.org>
1254         * vc/diff-mode.el (diff-changed): Empty face definition to use
1255         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
1256         (diff-context): Use darker color on light background and
1257         lighter color on dark background.
1259 2014-06-18  Juri Linkov  <juri@jurta.org>
1261         * vc/diff-mode.el (diff-refine-changed): Rename from
1262         `diff-refine-change' for consistency with `diff-changed'.
1263         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
1265         * vc/smerge-mode.el (smerge-refined-changed): Rename from
1266         `smerge-refined-change'.
1267         (smerge-refined-change): Add obsolete face alias.
1269 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1271         * rect.el (rectangle-preview): New custom.
1272         (rectangle): New group.
1273         (rectangle--pos-cols): Add `window' argument.
1274         (rectangle--string-preview-state, rectangle--string-preview-window):
1275         New vars.
1276         (rectangle--string-flush-preview, rectangle--string-erase-preview)
1277         (rectangle--space-to, rectangle--string-preview): New functions.
1278         (string-rectangle): Use them.
1279         (rectangle--inhibit-region-highlight): New var.
1280         (rectangle--highlight-for-redisplay): Obey it.  Make sure
1281         `apply-on-region' uses the point-crutches of the right window.
1282         Use :align-to rather than multiple spaces.
1284 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
1286         * ruler-mode.el (ruler-mode-window-col)
1287         (ruler-mode-mouse-set-left-margin)
1288         (ruler-mode-mouse-set-right-margin): Fix calculation of column
1289         from mouse position (Bug#17768).
1291 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
1293         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1294         without varname or rhs causes crash.
1295         (dun-ftp): Fix bug where blank ftp password is allowed, making it
1296         impossible to win endgame.
1297         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1298         rlogin is anymore.
1299         (dun-help): Bump version number; update contact info.
1301 2014-06-15  Eli Barzilay  <eli@barzilay.org>
1303         * calculator.el (calculator-prompt, calculator-remove-zeros)
1304         (calculator-mode-hook, calculator-operators, calculator-stack)
1305         (calculator-mode): Tweak docstring.
1306         (calculator-user-operators): Tweak docstring, fix a bug in the last
1307         example.
1308         (calculator-displayer): `std' case has an optional boolean.
1309         (calculator-displayers): Use the new boolean to group in decimal mode.
1310         (calculator-mode-map, calculator, calculator-message)
1311         (calculator-op-arity, calculator-add-operators)
1312         (calculator-string-to-number, calculator-displayer-prev)
1313         (calculator-displayer-next, calculator-remove-zeros)
1314         (calculator-eng-display, calculator-number-to-string)
1315         (calculator-update-display, calculator-last-input)
1316         (calculator-clear-fragile, calculator-digit, calculator-decimal)
1317         (calculator-exp, calculator-saved-move, calculator-clear)
1318         (calculator-copy, calculator-put-value, calculator-help)
1319         (calculator-expt, calculator-truncate): Minor code improvements.
1320         (calculator-need-3-lines): New function pulling out code from
1321         `calculator'.
1322         (calculator-get-display): Rename from `calculator-get-prompt', and
1323         improved.
1324         (calculator-push-curnum): Rename from `calculator-curnum-value', and
1325         extended for all uses of it.  All callers changed.
1326         (calculator-groupize-number): New utility for splitting a number into
1327         groups.
1328         (calculator-standard-displayer): Improve code, new optional argument to
1329         use comma-split groups, make second argument optional too to use with
1330         'left/'right inputs.  All callers changed.
1331         (calculator-reduce-stack-once): New utility, doing the meat of what
1332         `calculator-reduce-stack' used to do, much improved (mostly using
1333         `pcase' for conciseness and clarity).
1334         (calculator-reduce-stack): Now doing just the reduction loop using
1335         `calculator-reduce-stack-once'.
1336         (calculator-funcall): Improve code, make it work in v24.3.1 too.
1337         (calculator-last-input): Improve code, remove some old cruft.
1338         (calculator-quit): Kill `calculator-buffer' in electric mode too.
1339         (calculator-integer-p): Remove.
1340         (calculator-fact): Improve code, make it work on non-integer values
1341         too (using truncated numbers).
1343 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1345         Sync with Tramp 2.2.10.
1347         * net/tramp.el (tramp-methods): Tweak docstring.
1348         (tramp-handle-file-accessible-directory-p): Check for
1349         `file-readable-p' instead of `file-executable-p'.
1350         (tramp-check-cached-permissions):
1351         Use `tramp-compat-file-attributes'.
1352         (tramp-call-process): Add new argument VEC.  Adapt callees in all
1353         tramp*.el files.
1355         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1356         (tramp-adb-maybe-open-connection): Don't set
1357         `tramp-current-*' variables.
1359         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1360         file properties of temporary buffers.
1362         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1364         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1365         (tramp-gvfs-handle-delete-file): Flush file
1366         properties, not directory properties.
1367         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1368         reading "unix::mode".
1369         (tramp-gvfs-handle-file-name-all-completions):
1370         Use "-h" option for "gvfs-ls".
1371         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1372         (tramp-gvfs-send-command): Simplify traces.
1374         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1375         (vc-git-program, vc-hg-program): Declare.
1376         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
1377         (tramp-methods) <nc>: Add new method.
1378         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1379         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1380         `tramp-login-args'.
1381         (tramp-default-user-alist): Add "nc".
1382         (top): Remove completion function for "sftp".  Add completion
1383         functions for "nc" and "psftp".
1384         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1385         Implement support for "nc" method.
1386         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1387         (tramp-remote-coding-commands, tramp-call-local-coding-command):
1388         Tweak docstring.
1389         (tramp-sh-handle-write-region): Tweak error message.
1390         (tramp-sh-handle-vc-registered): Remove backends when the remote
1391         binary does not exist.
1392         (tramp-find-inline-encoding): Do not raise an error.
1393         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
1394         the "nc" case.  Quote result also locally.
1396         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1397         (tramp-smb-handle-set-file-acl): Use `start-process'.
1398         (tramp-smb-handle-insert-directory): Use progress reporter.
1399         (tramp-smb-handle-rename-file): Flush also file properties of
1400         FILENAME.
1402         * net/trampver.el: Update release number.
1404 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1406         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1407         add-to-list.
1408         (ses-localvars): Remove ses--local-printer-list, unused.
1409         (ses--metaprogramming): New macro.  Use it to defvar variables.
1410         (ses-set-localvars): Simplify.
1411         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
1412         property-list into an alist.
1413         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1414         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1415         Remove; use defstruct accessors/setters instead.
1416         (ses-cell-formula-aset, ses-cell-printer-aset)
1417         (ses-cell-references-aset): Remove, use setf instead.
1418         (ses--alist-get): New function.
1419         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1420         Use an alist instead of a plist and don't do move-to-front since the
1421         list is always short.
1422         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1423         (ses-cell-property-set-fun, ses-cell-property-set)
1424         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1425         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1426         (ses--letref): New macro.
1427         (ses-cell-property-pop): Rewrite.
1428         (ses--cell): Rename from ses-cell and make it into a function.
1429         Make `formula' fallback on `value' if nil.
1430         (ses--local-printer): Rename from ses-local-printer and make it into
1431         a function.
1432         (ses-set-cell): Turn it into a macro so finding the accessor from the
1433         field name is done at compile time.
1434         (ses-repair-cell-reference-all): Test presence of `sym' rather than
1435         `ref' before adding `sym' to :ses-repair-reference.
1436         (ses-calculate-cell): Use ses--letref rather than
1437         ses-cell-property-get-handle.
1438         (ses-write-cells): Use a single prin1-to-string.
1439         (ses-setter-with-undo): New function.
1440         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1441         (ses-unset-with-undo): Remove.
1442         (ses-load): Prefer apply' over `eval'.
1443         (ses-read-printer, ses-set-column-width): Use standard "(default
1444         foo)" format.
1446 2014-06-15  Glenn Morris  <rgm@gnu.org>
1448         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1450         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1451         Replace delete-duplicates and mapcan by cl- versions throughout.
1452         And cl-macroexpand-all by macroexpand-all.
1453         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1455 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
1457         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1459 2014-06-15  Juri Linkov  <juri@jurta.org>
1461         * bindings.el: Put `ascii-character' property on keypad keys
1462         mapped to characters.  (Bug#17759)
1464 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1466         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1467         bumping forward into a closing paren (bug#17761).
1469         * term/xterm.el (xterm--version-handler): Work around for OSX
1470         Terminal.app (bug#17607).
1472 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
1474         * play/dunnet.el (dun-describe-room, dun-mode):
1475         If a lamp is in the room, you won't be eaten by a grue.
1477 2014-06-13  Glenn Morris  <rgm@gnu.org>
1479         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
1480         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
1481         (compile-always): GNU make automatically passes
1482         command-line arguments to sub-makes.
1484         * calendar/calendar.el (calendar-generate-window):
1485         Remove pointless call to font-lock-fontify-buffer.
1487 2014-06-13  Matthias Meulien  <orontee@gmail.com>
1489         * simple.el (completion-list-mode-map): Navigate with tab and backtab
1490         (bug#17767).
1492 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1494         * simple.el (set-mark-command): Simplify a bit.
1496 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1498         * help.el (help--key-binding-keymap): New function.
1499         (help--binding-locus): New function.
1500         (describe-key): Mention the keymap in which the binding was
1501         found. (bug#13948)
1503 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1505         * hippie-exp.el (he--all-buffers): New function.
1506         (try-expand-line-all-buffers, try-expand-list-all-buffers)
1507         (try-expand-dabbrev-all-buffers): Use it.
1509 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
1511         * hippie-exp.el (try-expand-line-all-buffers)
1512         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
1513         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
1514         original buffer, in case they're buffer-local.
1516 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1518         * ses.el (ses-initial-global-parameters-re): New defconst, a
1519         specific regexp is needed now that ses.el can handle both
1520         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
1521         local printers.
1522         (ses-localvars): Add local variables needed for local printer handling.
1523         (ses-set-localvars): Handle hashmap initialisation.
1524         (ses-paramlines-plist): Add param-line for number of local printers.
1525         (ses-paramfmt-plist): New defconst, needed for code factorization
1526         between functions `ses-set-parameter' and
1527         `ses-file-format-extend-paramter-list'
1528         (ses-make-local-printer-info): New defsubst.
1529         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1530         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
1531         (ses-cell-printer-aset): New defmacro.
1532         (ses-local-printer-compile): New defun.
1533         (ses-local-printer): New defmacro.
1534         (ses-printer-validate, ses-call-printer): Add support for local
1535         printer functions.
1536         (ses-file-format-extend-paramter-list): New defun.
1537         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
1538         factorization.
1539         (ses-load): Add support for local printer functions.
1540         (ses-read-printer): Update docstring and add support for local printer
1541         functions.
1542         (ses-refresh-local-printer, ses-define-local-printer): New defun.
1543         (ses-safe-printer): Add support for local printer functions.
1545 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
1547         * ffap.el (ffap-lax-url): New var (bug#17723).
1548         (ffap-url-at-point): Use it.
1549         (ffap-file-at-point): Avoid returning just "/".
1551 2014-06-12  Matthias Meulien  <orontee@gmail.com>
1553         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
1554         (python-mode-map): Bind it.
1556         * progmodes/python.el (class skeleton): Don't erase last char of class
1557         name (bug#17683).
1559 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1561         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
1563 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
1565         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
1566         (bug#17745).
1568 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1570         * international/mule-cmds.el: Use lexical-binding.
1571         (ucs-names): Simplify.
1573 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
1575         * progmodes/python.el (run-python): Use read-shell-command.
1577 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1579         * rect.el: Make it possible to move bounds past EOL or into TABs.
1580         (operate-on-rectangle): Use apply-on-rectangle.
1581         (rectangle--mark-crutches): New var.
1582         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1583         (rectangle--crutches, rectangle--reset-crutches): New functions.
1584         (apply-on-rectangle): Obey crutches.  Avoid setq.
1585         Fix missing final iteration if end is at EOB&BOL.
1586         (rectangle-mark-mode-map): Add remap bindings for
1587         exchange-point-and-mark and char/line movements.
1588         (rectangle--*-char): New function.
1589         (rectangle-exchange-point-and-mark, rectangle-right-char)
1590         (rectangle-left-char, rectangle-forward-char)
1591         (rectangle-backward-char, rectangle-next-line)
1592         (rectangle-previous-line): New commands.
1593         (rectangle--place-cursor): New function.
1594         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
1596 2014-06-08  Glenn Morris  <rgm@gnu.org>
1598         * startup.el (initial-buffer-choice): Doc fix.
1599         Reset :version (adding an option does not merit a :version bump).
1601         * bookmark.el (bookmark-load):
1602         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1604 2014-06-08  Juri Linkov  <juri@jurta.org>
1606         * desktop.el: Activate auto-saving on window configuration changes.
1607         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1608         `desktop-auto-save-set-timer' to/from
1609         `window-configuration-change-hook'.
1610         (desktop-auto-save-set-timer): Change REPEAT arg of
1611         `run-with-idle-timer' from t to nil.
1612         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1614 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
1616         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1617         vc-hg-command (bug#17570).
1619 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1621         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1622         (bug#17702).
1624 2014-06-08  Glenn Morris  <rgm@gnu.org>
1626         * startup.el (window-setup-hook): Doc fix.
1628         * emacs-lisp/package.el (package-check-signature)
1629         (package-unsigned-archives): Doc fixes.
1631 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
1633         * window.el (display-buffer-use-some-window): Don't make window
1634         used smaller than it was before (Bug#17671).
1636 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1638         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1639         'redisplay' instead of '(sit-for 0)'.
1641 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
1643         * net/tramp.el (tramp-ssh-controlmaster-options):
1644         Improve search regexp.  (Bug#17653)
1646 2014-06-08  Glenn Morris  <rgm@gnu.org>
1648         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1650 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1652         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1654 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1656         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
1657         (bug#17586).
1659         * vc/vc-hg.el (vc-hg-log-graph): New var.
1660         (vc-hg-print-log): Use it.
1661         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
1662         graph output (bug#17515).
1664 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * mouse.el (mouse-posn-property): Ignore buffer position info when the
1667         even happened elsewhere.
1669 2014-06-06  Mario Lang  <mlang@delysid.org>
1671         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
1672         `recenter' if `current-buffer' is equal to `window-buffer'.
1674 2014-06-05  Leo Liu  <sdl.web@gmail.com>
1676         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
1678 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
1680         * textmodes/tildify.el (tildify-foreach-region-outside-env):
1681         New function which calls a callback on portions of the buffer that are
1682         outside of ignored environments.
1683         (tildify-build-regexp): Remove function since it is now
1684         incorporated in `tildify-foreach-region-outside-env' where it is
1685         optimised and simplified by the use of `mapconcat'.
1686         (tildify-tildify): Return number of substitutions made so that…
1687         (tildify-count): …can be removed.
1688         (tildify-find-env): Accept a new PAIRS argument which was
1689         previously looked up in `tildify-ignored-environments-alist' each
1690         time the function was called.  With this change, the lookup is
1691         performed only once in `tildify-foreach-region-outside-env'.
1692         (tildify-region): Greatly simplify the function since now most of
1693         the work is done by `tildify-foreach-region-outside-env'.
1694         (tildify-mode-alist): Simplify slightly by avoiding if and setq
1695         and instead using or.
1697         * textmodes/tildify.el (tildify-ignored-environments-alist):
1698         Optimise environments regexes
1700         Each time beginning of an environment to ignore is found,
1701         `tildify-find-env' needs to identify regexp for the ending
1702         of the environment.  This is done by trying all the opening
1703         regexes on matched text in a loop, so to speed that up, this
1704         loop should have fewer things to match, which can be done by
1705         using alternatives in the opening regexes.
1707         Coincidentally, this should make matching of the opening
1708         regexp faster as well thanks to the use of `regexp-opt' and
1709         having common prefix pulled from many regexes.
1711         * textmodes/tildify.el (tildify-string-alist)
1712         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
1713         of supported modes since `xml-mode' is no longer a thing but just
1714         an alias to the former.  Also include comments and insides of tags
1715         in `tildify-ignored-environments-alist' for XML modes.  Finally,
1716         since XML does not define “&nbsp;”[1], use a numeric reference for
1717         a no-break space (namely “&#160;”)
1719         [1] XML specification defines only a handful of predefined entities.
1720             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
1721             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
1722             >, &, ' and " respectively).  This is in contrast to HTML and even
1723             XHTML which defined a whole bunch of entities including “&nbsp;”.
1725         * textmodes/tildify.el (tildify-pattern-alist)
1726         (tildify-string-alist, tildify-ignored-environments-alist):
1727         Improve defcustom's types by adding more tags explaining what each
1728         value means and replace “sexp” used in
1729         `tildify-ignored-environments-alist' with a full type declaration.
1731         * textmodes/tildify.el (tildify-find-env): Fix matched group
1732         indexes in end-regex building
1734         When looking for a start of an ignore-environment, the regex is built
1735         by concatenating regexes of all the environments configured in
1736         `tildify-ignored-environments-alist'.  So for example, the following
1737         list could be used to match TeX's \verb and \verb* commands:
1739             (("\\\\verb\\(.\\)" . (1))
1740              ("\\\\verb\\*\\(.\\)" . (1)))
1742         This would result in the following regex being used to find the start
1743         of any of the variants of the \verb command:
1745             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
1747         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
1748         won't match anything, and thus (match-string 1) will be nil, which
1749         will cause building of the end-matching regex to fail.
1751         Fix this by using capture groups from the time when the opening
1752         regexes are matched individually.
1754         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
1755         in `tildify-find-env'
1757         The `tildify-ignored-environments-alist' allows the end-regex to
1758         be provided not as a static string but mix of strings and indexes
1759         of groups matched the begin-regex.  For example, the “\verb!…!”
1760         TeX-command (where “!” is an arbitrary character) is handled
1761         using:
1763             ("\\\\verb\\*?\\(.\\)" . (1))
1765         In the same way, the following should be supported as well:
1767             ("open-\\(.\\)" . ("end-" 1))
1769         However the tildify-find-env function fails at
1771             (concat result
1772                     (if (stringp (setq aux (car expression)))
1773                          expression  ; BUG: expression is a list
1774                        (regexp-quote (match-string aux))))
1776         where the string part is handled incorrectly.
1778         The most trivial fix would be to replace `expression' in the
1779         true-part of the if-statement with `aux', but instead, this commit
1780         optimises `tildify-find-env' by changing it to use `mapconcat'
1781         rather than open-coded while-loop.
1783 2014-06-05  Mario Lang  <mlang@delysid.org>
1785         * woman.el (woman-mapcan): Remove.
1786         (woman-parse-colon-path): Use cl-mapcan instead.
1788 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1790         * register.el: Add link to Emacs manual in Commentary.
1792 2014-06-02  Sam Steingold  <sds@gnu.org>
1794         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
1795         (popup-menu): ...here.
1796         (menu-bar-open): Use it to avoid an error when `lookup-key'
1797         returns a number.
1799 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
1801         * net/tramp.el (tramp-call-process): Add traces.
1802         (tramp-handle-unhandled-file-name-directory): Return "/".
1804 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
1806         Sync with upstream verilog-mode revision 3cd8144.
1807         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1808         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
1809         (verilog-type-font-keywords): Add nor.
1810         (verilog-batch-execute-func): Force reading of Local Variables.
1811         Fix printing "no changes to be saved" with verilog-batch.
1812         (verilog-auto-arg-ports): Doc fix.
1813         Add verilog-auto-arg-format to support newlines in AUTOARG.
1814         (verilog-auto-arg): Doc fix.
1816 2014-06-02  Glenn Morris  <rgm@gnu.org>
1818         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1819         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1820         * emulation/ws-mode.el: Move to obsolete/.
1821         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
1823 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1825         * simple.el (keyboard-quit): Force update of mode lines, to remove
1826         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1828 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1830         * minibuffer.el (minibuffer-force-complete-and-exit):
1831         Obey minibuffer-default (bug#17545).
1833         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1834         (bug#17619).
1836         * subr.el (set-transient-map): Don't wait for some "nested"
1837         transient-map to finish if we're only supposed to be active for
1838         the next command (bug#17642).
1840 2014-06-02  Leo Liu  <sdl.web@gmail.com>
1842         * emacs-lisp/gv.el (window-buffer, window-display-table)
1843         (window-dedicated-p, window-hscroll, window-point, window-start):
1844         Fix gv-expander.  (Bug#17630)
1846 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1848         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1849         clicks (bug#17633).
1851         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1852         for the single comma, since ", " is *very* common in normal French text
1853         (bug#17643).
1855 2014-06-02  Glenn Morris  <rgm@gnu.org>
1857         * emacs-lisp/package.el (package-check-signature)
1858         (package-unsigned-archives): Fix :version.
1860 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1862         * subr.el (sit-for): Don't run input-methods (bug#15614).
1864 2014-06-02  Glenn Morris  <rgm@gnu.org>
1866         * cus-start.el: Fix some :version numbers.
1868 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1870         * simple.el (deactivate-mark): Set mark-active to nil even if
1871         deactivation is done via setting transient-mark-mode to nil,
1872         since one is buffer-local and the other is global.
1874         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1875         there can't be more than 2 arguments (bug#17584).
1877 2014-06-02  Glenn Morris  <rgm@gnu.org>
1879         * simple.el (filter-buffer-substring-functions)
1880         (filter-buffer-substring-function, buffer-substring-filters)
1881         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1883         * minibuffer.el (completion-in-region-functions, completion-in-region)
1884         (completion--in-region): Doc fixes.
1886         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1887         (expand-abbrev, abbrev--default-expand): Doc fixes.
1889 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1891         Include sources used to create macuvs.h.
1892         * international/README: Refer to the Unicode Terms of Use rather
1893         than copying it bodily here, as that simplifies maintenance.
1895 2014-06-01  Glenn Morris  <rgm@gnu.org>
1897         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
1899 2014-05-31  Glenn Morris  <rgm@gnu.org>
1901         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
1903 2014-05-30  Glenn Morris  <rgm@gnu.org>
1905         * loadup.el: Treat `command-line-args' more flexibly.
1907 2014-05-30  Alan Mackenzie  <acm@muc.de>
1909         Guard (looking-at "\\s!") from XEmacs.
1910         * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
1912 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>  (tiny change)
1914         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
1915         The argument COUNT is now optional, to be more backward-compatible.
1916         Doc fix.  (Bug#17560)
1918 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
1920         * whitespace.el (whitespace-report-region):
1921         Simplify documentation.
1922         (whitespace-report-region): Allow report-if-bogus to take the
1923         value `never', for non-interactive use.
1924         (whitespace-report): Refer to whitespace-report-region's
1925         documentation.
1927 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1929         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
1930         Side benefit: it works without jit-lock.
1931         (whitespace-point--used): New buffer-local var.
1932         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
1933         (whitespace-color-off): Use font-lock-flush.
1934         (whitespace-point--used, whitespace-point--flush-used): New functions.
1935         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
1936         (whitespace-empty-at-eob-regexp): Use them.
1937         (whitespace-post-command-hook): Rewrite.
1939         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
1940         (font-lock-fontify-buffer): Mark interactive-only.
1941         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
1942         Make buffer-local.
1943         (font-lock-specified-p): Remove redundant boundp check.
1944         (font-lock-flush-function, font-lock-ensure-function): New vars.
1945         (font-lock-turn-on-thing-lock): Set them.
1946         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
1947         (font-lock-after-change-function): Make `old-len' optional.
1948         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
1949         Call font-lock-flush, just in case.
1950         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
1951         recent Emacsen.
1952         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
1953         (vera-mode-map, vera-mode-menu): Remove bindings to it.
1954         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
1955         and with-syntax-table.
1956         * textmodes/conf-mode.el (conf-quote-normal):
1957         * progmodes/sh-script.el (sh-set-shell):
1958         * progmodes/prog-mode.el (prettify-symbols-mode):
1959         * progmodes/f90.el (f90-font-lock-n):
1960         * progmodes/cwarn.el (cwarn-mode):
1961         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
1962         * progmodes/compile.el (compilation-setup, compilation--unsetup):
1963         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
1964         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
1965         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
1966         font-lock-fontify-buffer-function and
1967         font-lock-unfontify-buffer-function.
1968         (rmail-unfontify-buffer-function, rmail-fontify-message):
1969         Use with-silent-modifications.
1970         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
1971         and font-lock-ensure.
1972         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
1974 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
1976         * emacs-lisp/package.el (package-generate-autoloads):
1977         Inhibit backup files.
1979 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1981         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
1982         (bug#17608).
1984 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
1986         * textmodes/tildify.el (tildify-buffer, tildify-region):
1987         Add dont-ask option.
1989 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1991         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
1992         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
1994         * subr.el (internal--funcall-interactively): New.
1995         (internal--call-interactively): Remove.
1996         (called-interactively-p): Detect funcall-interactively instead of
1997         call-interactively.
1998         * simple.el (repeat-complex-command): Use funcall-interactively.
1999         (repeat-complex-command--called-interactively-skip): Remove.
2001 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2003         * register.el (register-read-with-preview): Don't burp on
2004         frame switches (e.g. due to the frame we just popped).
2006         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2007         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2009 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2011         * cus-face.el (custom-face-attributes): Add :distant-foreground.
2013 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
2015         * window.el (window--dump-frame): Remove interactive specification.
2017 2014-05-26  Glenn Morris  <rgm@gnu.org>
2019         * hippie-exp.el (he-line-search-regexp):
2020         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
2022 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2024         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2025         to avoid errors when trying to create or visit a file foo.todo
2026         located outside to todo-directory, and to allow having such files
2027         without them being tied to Todo mode (bug#17482).
2028         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2029         (todo-archive-done-item, todo-find-filtered-items-file)
2030         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2031         (todo-category-completions, todo-read-category): When visiting a
2032         Todo file, make sure we're in the right mode and the buffer local
2033         variables are set.
2034         (todo-make-categories-list, todo-reset-nondiary-marker)
2035         (todo-reset-done-string, todo-reset-comment-string):
2036         After processing all Todo files, kill the buffers of those files that
2037         weren't being visited before the processing.
2038         (todo-display-as-todo-file, todo-add-to-buffer-list)
2039         (todo-visit-files-commands): Comment out.
2040         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2041         (auto-mode-alist): Remove add-to-list calls making Todo file
2042         extensions unrestrictedly tied to Todo modes.
2044 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2046         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2047         (advice-function-member-p): Tell it to check both names and functions
2048         (bug#17531).
2049         (advice--add-function): Adjust call accordingly.
2051 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2053         * calendar/todo-mode.el: Miscellaneous bug fixes.
2054         (todo-delete-file): When deleting an archive but not its todo
2055         file, make sure to update the todo file's category sexp.
2056         (todo-move-category): Keep the moved category's name unless the
2057         file moved to already has a category with that name.  If the
2058         numerically last category of the source file was moved, make the
2059         first category current to avoid selecting a nonexisting category.
2060         (todo-merge-category): Fix implementation to make merging to a
2061         category in another file work as documented.  Eliminate now
2062         insufficient and unnecessary renaming of archive category, correct
2063         document string accordingly, and clarify it.  If the numerically
2064         last category of the source file was merged, make the first
2065         category current to avoid selecting a nonexisting category.
2066         (todo-archive-done-item): When there are marked items and point
2067         happens to be on an unmarked item, ignore the latter.  Don't leave
2068         point below last item after archiving marked items.
2069         (todo-unarchive-items): Fix logic to ensure unarchiving an item
2070         from an archive with only one category deletes the archive only
2071         when the category is empty after unarchiving.  Make sure the todo
2072         file's category sexp is updated.
2073         (todo-read-file-name): Allow an existing file name even when it is
2074         not required (todo-move-category needs this to work as documented).
2075         (todo-add-file): Call todo-validate-name to reject the name of an
2076         existing todo file (needed due to fix in todo-read-file-name).
2077         (todo-reset-nondiary-marker): Also reset in filtered items files.
2078         (todo-reset-done-string, todo-reset-comment-string): Also reset in
2079         regexp filtered items files.
2080         (todo-reset-highlight-item): Also reset in filtered items files.
2081         Fix incorrect variable reference in document string.
2083 2014-05-26  Glenn Morris  <rgm@gnu.org>
2085         * window.el (window--dump-frame): Avoid error in --without-x builds.
2087 2014-05-26  Glenn Morris  <rgm@gnu.org>
2089         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2091 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2093         * frame.el (set-frame-font): Doc fix.
2095         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
2097 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
2099         * emacs-lisp/package.el (package--download-one-archive):
2100         Use `write-region' instead of `save-buffer' to avoid running various
2101         hooks.  (Bug#17155)
2102         (describe-package-1): Same.  Insert newline at the end of the
2103         buffer if appropriate.
2105 2014-05-26  Juri Linkov  <juri@jurta.org>
2107         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2108         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2109         Add more modifiers: meta, control, shift, hyper, super, alt.
2110         (Bug#17439)
2112         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2113         to allow changing its value with `set-variable'.
2115 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2117         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2118         #; comments.
2119         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2120         New functions.
2121         (scheme-mode-variables): Set syntax-propertize-function instead of
2122         font-lock-syntactic-face-function.
2123         (scheme-font-lock-syntactic-face-function): Delete.
2125         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2127         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2128         (bug#17392).
2130 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2132         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2133         for a temporary file name.
2135 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2137         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
2139 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2141         * net/dbus.el (dbus-init-bus, dbus-call-method)
2142         (dbus-call-method-asynchronously, dbus-send-signal)
2143         (dbus-method-return-internal, dbus-method-error-internal):
2144         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
2146 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2148         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2149         methods which do not have a doc string.  (Bug#17490)
2151 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
2153         * textmodes/reftex-ref.el (reftex-format-special): Make it work
2154         also for AMS Math's \eqref macro.
2156 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2158         Arrange to never byte-compile the generated -pkg.el file.
2160         * emacs-lisp/package.el (package-generate-description-file):
2161         Output first-line comment to set buffer-local var `no-byte-compile'.
2162         Suggested by Dmitry Gutov:
2163         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2165 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2167         Fix bug: Properly quote args to generated -pkg.el `define-package'.
2169         * emacs-lisp/package.el (package-generate-description-file):
2170         Inline `package--alist-to-plist'; rewrite to selectively
2171         quote alist values that are not self-quoting.
2172         (package--alist-to-plist): Delete func.
2174 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
2176         * term/xterm.el (xterm-function-map): Add mapping for shifted
2177         keypad keys.
2179 2014-05-24  Daniel Colascione  <dancol@dancol.org>
2181         * progmodes/subword.el (subword-find-word-boundary): Move point to
2182         correct spot before search. (Bug#17580)
2184         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2185         breaking the build.
2187 2014-05-24  Leo Liu  <sdl.web@gmail.com>
2189         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
2191 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * minibuffer.el (completion--sreverse): Remove.
2194         (completion--common-suffix): Use `reverse' instead.
2195         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2197 2014-05-22  Glenn Morris  <rgm@gnu.org>
2199         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2201 2014-05-21  Daniel Colascione  <dancol@dancol.org>
2203         * files.el (interpreter-mode-alist): Add mksh.
2205         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2206         derivative.
2207         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2208         mksh. Improve custom spec; allow regular expressions.
2209         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2210         (sh-after-hack-local-variables): New function.
2211         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2212         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2213         the normalization.
2214         (sh-canonicalize-shell): Rewrite to support regexes.
2216 2014-05-21  Leo Liu  <sdl.web@gmail.com>
2218         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2220 2014-05-19  Leo Liu  <sdl.web@gmail.com>
2222         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2224 2014-05-18  Glenn Morris  <rgm@gnu.org>
2226         * loadup.el:
2227         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2229 2014-05-14  Sam Steingold  <sds@gnu.org>
2231         * progmodes/python.el (python-shell-get-or-create-process):
2232         Do not bind `current-prefix-arg' so that C-c C-z does not talk
2233         back unless requested.
2235 2014-05-14  Glenn Morris  <rgm@gnu.org>
2237         * subr.el (with-file-modes): New macro.
2238         * printing.el (pr-save-file-modes): Make obsolete.
2239         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2240         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2241         Add with-file-modes.
2242         * doc-view.el (doc-view-make-safe-dir):
2243         * epg.el (epg--start):
2244         * files.el (locate-user-emacs-file, make-temp-file)
2245         (backup-buffer-copy, move-file-to-trash):
2246         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2247         * eshell/esh-util.el (eshell-with-private-file-modes)
2248         (eshell-make-private-directory):
2249         * net/browse-url.el (browse-url-mosaic):
2250         * obsolete/mailpost.el (post-mail-send-it):
2251         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2252         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2253         Use with-file-modes.
2255         * vc/emerge.el (emerge-make-temp-file): Simplify.
2257 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
2258             Stefan Monnier  <monnier@iro.umontreal.ca>
2260         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2261         suffix (bug#15419).
2263 2014-05-14  Glenn Morris  <rgm@gnu.org>
2265         * vc/emerge.el (emerge-temp-file-prefix):
2266         Make pointless option obsolete.
2267         (emerge-temp-file-mode): Make non-functional option obsolete.
2269 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
2271         * net/browse-url.el (browse-url):
2272         Use `unhandled-file-name-directory' when setting `default-directory',
2273         in order to circumvent stalled remote connections.  (Bug#17425)
2275 2014-05-14  Glenn Morris  <rgm@gnu.org>
2277         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2278         Optimize on Emacs, which has the relevant functions for ages.
2280 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2282         * simple.el (undo-make-selective-list): Obey undo-no-redo.
2284 2014-05-12  Sam Steingold  <sds@gnu.org>
2286         * calendar/time-date.el (seconds-to-string): New function to
2287         pretty print time delay in seconds.
2289 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2291         * mpc.el (mpc-format): Trim Date to the year.
2292         (mpc-songs-hashcons): Shorten the Date field.
2294         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2295         into autoloading just because of a silly indirection.
2297 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
2299         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
2301 2014-05-12  Glenn Morris  <rgm@gnu.org>
2303         * emacs-lisp/find-gc.el: Move to ../admin.
2305         * printing.el (pr-version):
2306         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2308         * net/browse-url.el (browse-url-mosaic):
2309         Create /tmp/Mosaic.PID as a private file.
2311 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2313         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2314         (advice--member-p): If name is given, only compare the name.
2315         (advice--remove-function): Don't stop at the first match.
2316         (advice--normalize-place): New function.
2317         (add-function, remove-function): Use it.
2318         (advice--add-function): Pass the name, if any, to
2319         advice--remove-function.
2321 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
2323         * electric.el (electric-indent-post-self-insert-function): Don't use
2324         `pos' after modifying the buffer (bug#17449).
2326 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
2328         * calendar/todo-mode.el (todo-insert-item-from-calendar):
2329         Correct argument list to conform to todo-insert-item--basic.
2331 2014-05-12  Glenn Morris  <rgm@gnu.org>
2333         * files.el (cd-absolute): Test if directory is accessible
2334         rather than executable.  (Bug#17330)
2336         * progmodes/compile.el (recompile):
2337         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
2339         * net/browse-url.el (browse-url-mosaic):
2340         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
2341         This is CVE-2014-3423.
2343 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2345         * mouse.el: Use the normal toplevel loop while dragging.
2346         (mouse-set-point): Handle multi-clicks.
2347         (mouse-set-region): Handle multi-clicks for drags.
2348         (mouse-drag-region): Update call accordingly.
2349         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2350         Use the normal event loop instead of a local while/read-event loop.
2351         (global-map): Remove redundant bindings for double/triple-mouse-1.
2352         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2353         Generate synthetic down events when the protocol only sends up events.
2354         (xterm-mouse-last): Remove.
2355         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2356         terminal parameter instead.
2357         (xterm-mouse--set-click-count): New function.
2358         (xterm-mouse-event): Detect/generate double/triple clicks.
2359         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2361         * info.el (Info-quoted): New face.
2362         (Info-mode-font-lock-keywords): New var.
2363         (Info-mode): Use it.
2365         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2366         are a hindrance for C-x C-e.
2368 2014-05-11  Leo Liu  <sdl.web@gmail.com>
2370         * net/rcirc.el (rcirc-sentinel): Fix last change.
2372 2014-05-08  Sam Steingold  <sds@gnu.org>
2374         * net/rcirc.el (rcirc-reconnect-delay): New user option.
2375         (rcirc-sentinel): Auto-reconnect to the server if
2376         `rcirc-reconnect-delay' is non-0 (but not more often than its
2377         value in case the host is off-line).
2379 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
2381         * progmodes/grep.el (lgrep): Fix a typo in last commit.
2383 2014-05-09  Glenn Morris  <rgm@gnu.org>
2385         * files.el (file-expand-wildcards):
2386         * man.el (Man-support-local-filenames):
2387         * printing.el (pr-i-directory, pr-interface-directory):
2388         * progmodes/grep.el (lgrep, rgrep):
2389         * textmodes/ispell.el (ispell-call-process)
2390         (ispell-call-process-region, ispell-start-process)
2391         (ispell-init-process): Use file-accessible-directory-p.
2393 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2395         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2396         (xterm-mouse--read-event-sequence-1000): Return nil if something
2397         looks fishy.
2398         (xterm-mouse-event): Propagate it.
2399         (xterm-mouse-translate-1): Handle it.
2401 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
2403         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2404         four slots of the parameter list are filled, make sure to pass it
2405         to the argument list of todo-insert-item--basic.
2407 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2409         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2410         Add optional `seen' argument to detect and break infinite loops.
2412 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
2414         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2415         (trace-unsafe, trace-use-tree): Make parentheses style be
2416         according to Emacs style.
2418 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
2420         * net/tramp-sh.el (tramp-remote-process-environment):
2421         Remove HISTFILE and HISTSIZE; it's too late to set them here.
2422         Add :version entry.
2423         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2424         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
2425         extra "PSx=..." commands.
2426         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2427         (Bug#17295)
2429         (tramp-uudecode): Replace the hard-coded temporary file name by a
2430         format specifier.
2431         (tramp-remote-coding-commands): Enhance docstring.
2432         (tramp-find-inline-encoding): Replace "%t" by a temporary file
2433         name.  (Bug#17415)
2434         This is CVE-2014-3424.
2436 2014-05-08  Glenn Morris  <rgm@gnu.org>
2438         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2439         (find-gc-source-files): Update some names.
2440         (trace-call-tree): Simplify and update.
2441         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
2442         This is CVE-2014-3422.
2444 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2446         * minibuffer.el (completion--try-word-completion): Revert fix for
2447         Bug#15980 (bug#17375).
2449         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2450         Always store button numbers in the same way in xterm-mouse-last;
2451         Don't burp is xterm-mouse-last is not set as expected.
2452         Never return negative indices.
2454 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
2456         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2457         Backtrack one char if the global/char-literal var matcher hits
2458         inside a string.  The next char could be the beginning of an
2459         expression expansion.
2461 2014-05-08  Glenn Morris  <rgm@gnu.org>
2463         * help-fns.el (describe-function-1): Test for an autoload before a
2464         macro, since `macrop' works on autoloads.  (Bug#17410)
2466 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2468         * electric.el (electric-indent-functions-without-reindent): Add yaml.
2470         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2471         Make sure the new point we return is within the new string (bug#17239).
2473 2014-05-05  Daniel Colascione  <dancol@dancol.org>
2475         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2476         Port `gnu' pattern to rx.
2478 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
2480         Remove unneeded prompt when closing a buffer with active
2481         emacsclient ("Buffer ... still has clients"), #16548.
2482         * server.el (server-start): Remove the only call to:
2483         (server-kill-buffer-query-function): Remove.
2485 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2487         * calendar/diary-lib.el (calendar-chinese-month-name-array):
2488         Defvar to pacify compiler.
2490 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
2492         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2494 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2496         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2497         Use nil rather than `default' for the "default" appearance (bug#17388).
2498         * vc/ediff-util.el (ediff-inferior-compare-regions)
2499         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2500         a misleading `default' value when it's really a boolean.
2501         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2502         overlay is not visible.
2504 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2506         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2507         (todo-menu): Uncomment and update.
2509 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2511         * calendar/todo-mode.el: Reimplement item editing to have the same
2512         basic user interface as item insertion, and make small UI and
2513         larger internal improvements to the latter.
2514         (todo-insert-item): Add reference to the Todo mode user manual to
2515         the documentation string.
2516         (todo-insert-item--basic): Rename from todo-basic-insert-item and
2517         adjust all callers.  Change signature to combine diary and
2518         nonmarking arguments.  Incorporate functionality of deleted item
2519         copying command and add error checking.  Remove detailed
2520         descriptions of the arguments from the documentation string, since
2521         this is treated in the Todo mode user manual.
2522         (todo-copy-item, todo-edit-multiline-item)
2523         (todo-edit-done-item-comment, todo-edit-item-header)
2524         (todo-edit-item-time, todo-edit-item-date-from-calendar)
2525         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2526         (todo-edit-item-date-year, todo-edit-item-date-month)
2527         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2528         Remove.
2529         (todo-edit-item): Reimplement as wrapper command for
2530         todo-edit-item--next-key and make it distinguish done and not done
2531         todo items.
2532         (todo-edit-item--text): New function, replacing old command
2533         todo-edit-item and incorporating deleted commands
2534         todo-edit-multiline-item and todo-edit-done-item-comment.
2535         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2536         Use only numeric value of prefix argument.  Remove detailed
2537         descriptions of the arguments from the documentation string, since
2538         this is treated in the Todo mode user manual.
2539         (todo-edit-item--diary-inclusion): New function, replacing old
2540         command todo-edit-item-diary-inclusion and incorporating and fixing
2541         functionality of deleted command todo-edit-item-diary-nonmarking,
2542         making sure to remove todo-nondiary-marker when adding
2543         diary-nonmarking-symbol.
2544         (todo-edit-category-diary-inclusion): Make sure to delete
2545         diary-nonmarking-symbol when adding todo-nondiary-marker.
2546         (todo-edit-category-diary-nonmarking): Fix indentation.
2547         (todo-insert-item--parameters): Group diary and nonmarking
2548         parameters together.
2549         (todo-insert-item--apply-args): Adjust to signature of
2550         todo-insert-item--basic and incorporate copy parameter.
2551         Make small code improvements.
2552         (todo-insert-item--next-param): Improve prompt and adjust it to
2553         new parameter grouping.  Remove obsolete code.
2554         (todo-edit-item--param-key-alist)
2555         (todo-edit-item--date-param-key-alist)
2556         (todo-edit-done-item--param-key-alist): New defconsts.
2557         (todo-edit-item--prompt): New variable.
2558         (todo-edit-item--next-key): New function.
2559         (todo-key-bindings-t): Bind "e" to todo-edit-item.
2560         Remove bindings of deleted commands.
2562 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2564         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2566 2014-05-04  Glenn Morris  <rgm@gnu.org>
2568         * allout-widgets.el (allout-widgets-tally)
2569         (allout-decorate-item-guides):
2570         * menu-bar.el (menu-bar-positive-p):
2571         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2572         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2573         * progmodes/js.el (js--inside-param-list-p)
2574         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2575         * progmodes/prolog.el (region-exists-p):
2576         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2577         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2578         Doc fixes (replace `iff').
2580 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2582         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2584 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2586         Support Chinese diary entries in calendar and diary.  (Bug#17393)
2587         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2588         (calendar-chinese-from-absolute-for-diary)
2589         (calendar-chinese-to-absolute-for-diary)
2590         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2591         (diary-chinese-list-entries): New functions to list and mark
2592         Chinese diary entries in the calendar window.
2593         (diary-chinese-anniversary)
2594         (diary-chinese-insert-anniversary-entry)
2595         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2596         (diary-chinese-insert-yearly-entry): New commands to insert
2597         Chinese diary entries.
2599         * calendar/diary-lib.el (diary-font-lock-keywords):
2600         Support font-locking Chinese dates.
2602         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2603         inserting Chinese diary entries.
2605         * calendar/calendar.el (diary-chinese-entry-symbol):
2606         New customizable variable.
2607         (calendar-mode-map): Add bindings for inserting Chinese diary
2608         entries.
2610 2014-05-03  Juri Linkov  <juri@jurta.org>
2612         * dired.el (dired-check-switches, dired-switches-recursive-p):
2613         New functions.  (Bug#17218)
2614         (dired-switches-escape-p, dired-move-to-end-of-filename):
2615         Use `dired-check-switches'.
2616         (dired-insert-old-subdirs, dired-build-subdir-alist)
2617         (dired-sort-R-check): Use `dired-switches-recursive-p'.
2619 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
2621         * simple.el (undo-make-selective-list): New algorithm fixes
2622         incorrectness of position adjustments when undoing in region.
2623         (Bug#17235)
2624         (undo-elt-crosses-region): Make obsolete.
2625         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
2626         New functions to adjust positions using undo-deltas.
2628 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2630         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
2631         the last consecutive closing paren (bug#17345).
2633 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
2635         * dired.el (dired-mode): make terminology for eXpunge command
2636         consistent.  (Bug#17276)
2638 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
2640         * dired.el (dired-initial-position-hook, dired-initial-position):
2641         Doc string fixes.
2643 2014-04-30  Glenn Morris  <rgm@gnu.org>
2645         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
2647 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
2649         * faces.el (face-spec-recalc): Apply X resources only after the
2650         defface spec has been applied. Thus, X resources are no longer
2651         overriden by the defface spec which also fixes issues on win32 where
2652         the toolbar coloring was wrong because it is set through X resources
2653         and was (wrongfully) overriden.  (Bug#16694)
2655 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2657         * textmodes/rst.el (electric-pair-pairs): Declare.
2658         (rst-mode): Set it (bug#17131).
2660 2014-04-30  Juri Linkov  <juri@jurta.org>
2662         * desktop.el (desktop-value-to-string): Let-bind `print-length'
2663         and `print-level' to nil.  (Bug#17351)
2665 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2667         * battery.el (battery-update): Handle the case where battery
2668         status is "N/A" (bug#17319).
2670 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2672         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
2673         to syntax-propertize.
2674         (ps-mode-auto-indent): Mark as obsolete.
2675         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
2676         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
2677         word regexp operators.
2678         (ps-mode-map): Move initialization into declaration.  Remove binding
2679         for TAB, RET, >, ], and }.
2680         (ps-mode-syntax-table): Move initialization into declaration.
2681         Don't give word syntax to non-word chars.
2682         (ps-run-mode-map): Move initialization into declaration.
2683         (ps-mode-menu-main): Remove auto-indent entry.
2684         (ps-mode-smie-rules): New function.
2685         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
2686         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
2687         (ps-mode--string-syntax-table): New const.
2688         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
2689         New functions.
2690         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
2691         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
2693 2014-04-27  Daniel Colascione  <dancol@dancol.org>
2695         * term/xterm.el (xterm-paste): Use large finite timeout when
2696         reading event to avoid putting keys in this-command-keys.
2698 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2700         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
2701         (perl-syntax-propertize-function): Use it.  Extend handling of
2702         here-docs to the unquoted case.
2704 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
2706         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2707         Use equal-including-properties to compare help-echo strings (bug#17331).
2709 2014-04-25  Leo Liu  <sdl.web@gmail.com>
2711         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2712         Fix syntax for @.  (Bug#17325)
2714 2014-04-25  Daniel Colascione  <dancol@dancol.org>
2716         * emacs-lisp/cl.el (gv): Require gv early to break eager
2717         macro-expansion cycles.
2719 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2721         * simple.el (region-active-p): Check there's a mark (bug#17324).
2723         * simple.el (completion-list-mode-map): Use choose-completion for the
2724         mouse binding as well (bug#17302).
2725         (completion-list-mode, completion-setup-function): Adjust docstring and
2726         echo area message accordingly.
2727         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2728         calling convention of choose-completion.
2729         * comint.el (comint-dynamic-list-completions):
2730         * term.el (term-dynamic-list-completions): Accept choose-completion.
2732         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2733         &, |, +, - and * can't be a division (bug#17317).
2735         * term/xterm.el (xterm--version-handler): Don't use modern xterm
2736         features on gnome-terminal (bug#16988).
2738 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
2740         Improve Scheme font-locking for (define ((foo ...) ...) ...).
2742         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
2743         the declared object, ignore zero or more parens, not zero or one.
2745 2014-04-24  Leo Liu  <sdl.web@gmail.com>
2747         * progmodes/xscheme.el (xscheme-expressions-ring)
2748         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
2749         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
2750         (xscheme-allow-output-p, xscheme-prompt)
2751         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
2753         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
2754         Comment out unused functions.
2756 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2758         * info.el: Use lexical-binding and cl-lib.
2759         Use defvar-local and setq-local instead of make-local-variable.
2760         (Info-apropos-matches): Avoid add-to-list.
2761         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
2763 2014-04-24  Daniel Colascione  <dancol@dancol.org>
2765         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
2767 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2769         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
2771 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
2773         * dired.el (dired-insert-set-properties): Do not consider
2774         subdirectory headings and empty lines to be information that
2775         `dired-hide-details-mode' should hide.  (Bug#17228)
2777 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2779         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2780         Remove test messages.
2781         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2782         and `target' twice.
2784 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2786         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2787         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2789         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2791 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2793         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2794         Set "IFS=" when using read builtin, in order to preserve spaces in
2795         the file name.  Add test messages for hunting a bug on hydra.
2796         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2798 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2800         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2801         Don't prettify a word within a symbol.
2803 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2805         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2806         possible.
2808 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2810         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
2811         use defun to define `function-put'.
2813 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2815         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
2816         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
2817         (lisp-mode-variables): Set font-lock-extra-managed-props.
2819         * emacs-lisp/byte-run.el (function-put): New function.
2820         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
2821         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
2822         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
2823         Use them.
2825 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2827         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
2828         Add `full-p' parameter; when nil, call `macroexpand' instead of
2829         `macroexpand-all'.
2831         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2832         Improve docstrings.
2834         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2835         Use lambda function values, not quoted lambdas.
2836         (byte-compile-recurse-toplevel): Remove extraneous &optional.
2838         * emacs-lisp/cl-macs.el
2839         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
2840         (cl-struct-slot-value): Conditionally use aref or nth so that the
2841         compiler produces optimal code.
2843 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2845         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
2846         (inline): Don't inline cl--set-elt.
2847         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
2848         Define as inlinable instead.
2849         (cl-struct-set-slot-value): Remove.
2851         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
2852         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
2853         Use setf instead.
2855 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2857         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
2858         last two parameters after all.
2859         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
2860         (cl--compiler-macro-assoc,cl-struct-slot-value)
2861         (cl-struct-set-slot-value): Stop using them.
2863 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2865         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
2866         entry in image-mode-winprops-alist.
2868 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2870         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
2871         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
2872         (byte-compile-toplevel-file-form): Use it.
2874         * emacs-lisp/cl-macs.el:
2875         (cl--loop-let): Properly destructure `while' clauses.
2877 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2879         * vc/vc.el (vc-root-dir): New public autoloaded function for
2880         generically finding the current VC root.
2881         * vc/vc-hooks.el (vc-not-supported): New error.
2882         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
2884 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2886         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
2887         argument.
2888         (cl--const-expr-val): cl--const-expr-val should macroexpand its
2889         argument in case we're inside a symbol-macrolet.
2890         (cl--do-arglist, cl--compiler-macro-typep)
2891         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
2892         environment to `cl--const-expr-val'.
2893         (cl-struct-sequence-type,cl-struct-slot-info)
2894         (cl-struct-slot-offset, cl-struct-slot-value)
2895         (cl-struct-set-slot-value): New functions.
2897 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2900         assignments such as "case=hello" (bug#17297).
2902 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
2904         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2905         Do not autoload.
2906         (tramp-file-name-handler, tramp-completion-file-name-handler):
2907         Revert patch from 2014-04-10, it isn't necessary anymore.
2908         (tramp-autoload-file-name-handler)
2909         (tramp-register-autoload-file-name-handlers): New defuns.
2910         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2911         (tramp-register-file-name-handlers): Remove also
2912         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2913         Do not autoload its invocation, but eval it after loading of 'tramp.
2915         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2917         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2919 2014-04-17  Daniel Colascione  <dancol@dancol.org>
2921         Add support for bracketed paste mode; add infrastructure for
2922         managing terminal mode enabling and disabling automatically.
2924         * xt-mouse.el:
2925         (xterm-mouse-mode): Simplify.
2926         (xterm-mouse-tracking-enable-sequence)
2927         (xterm-mouse-tracking-disable-sequence): New constants.
2928         (turn-on-xterm-mouse-tracking-on-terminal)
2929         (turn-off-xterm-mouse-tracking-on-terminal):
2930         Use tty-mode-set-strings and tty-mode-reset-strings terminal
2931         parameters instead of random hooks.
2932         (turn-on-xterm-mouse-tracking)
2933         (turn-off-xterm-mouse-tracking): Delete.
2935         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
2936         (xterm-paste-ending-sequence): New constant.
2937         (xterm-paste): New command used for bracketed paste support.
2939         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
2940         (terminal-init-xterm-bracketed-paste-mode): New function.
2941         (terminal-init-xterm): Call it.
2942         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
2943         and tty-mode-reset-strings instead of random hooks.
2944         (xterm-turn-on-modify-other-keys)
2945         (xterm-turn-off-modify-other-keys)
2946         (xterm-remove-modify-other-keys): Delete obsolete functions.
2948         * term/screen.el: Rewrite to just use the xterm code.
2949         Add copyright notice.  Mention tmux.
2951 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
2953         * image-mode.el (image-mode-window-put): Also update the property of
2954         the "default window".
2955         * doc-view.el (doc-view-new-window-function): If no window
2956         exists, move to the last known page.
2958 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2960         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2961         here-documents (bug#17262).
2963 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2965         * term/pc-win.el (x-list-fonts, x-get-selection-value):
2966         Provide doc strings, as required by snarf-documentation.
2968 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2970         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2971         arg of overlays-at.  Use `invisible-p'.
2973         * obsolete/lucid.el (extent-at):
2974         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2975         overlays-at.
2976         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2978 2014-04-16  João Távora  <joaotavora@gmail.com>
2980         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2981         links.  (Bug#17217).
2983 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2985         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2986         Use mapc to loop over a vector.  (Bug#17257).
2988 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
2990         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2991         patch, there are new problems with file names containing spaces.
2992         Get rid of backticks.  (Bug#17238)
2994 2014-04-16  João Távora  <joaotavora@gmail.com>
2996         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2997         possible bug.
2999 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3001         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3002         (blink-cursor-mode): Mention customization variables and the
3003         effect of 'blink-cursor-blinks'.
3005 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
3007         * simple.el (undo): Prevent insertion of identity mapping into
3008         undo-equiv-table so as undo-only does not inf loop in the presence
3009         of consecutive nils in undo list.
3011 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
3013         * faces.el (make-face): Deprecate optional argument as it is no
3014         longer needed/used since the conditional X resources handling
3015         has been pushed down to make-face-x-resource-internal itself.
3016         (make-empty-face): Don't pass optional argument to make-face.
3018 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
3020         * savehist.el (savehist-save): Remove workaround for a read-passwd
3021         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
3022         noticing that the shim was still present.
3024 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3026         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3028 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
3030         * faces.el (face-set-after-frame-default): Remove unused local variable.
3032 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3034         * progmodes/grep.el: Use lexical-binding.
3035         (grep-expand-template): Pass explicit lexical env to `eval'.
3036         (zrgrep): Let-bind grep-find-template explicitly.
3038         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3039         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3041 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
3043         * international/characters.el <standard-case-table>: Add entries
3044         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
3045         Set category of Coptic characters be 'g' (Greek).
3047 2014-04-12  Leo Liu  <sdl.web@gmail.com>
3049         * progmodes/octave.el (completion-table-with-cache):
3050         Define if not available.
3051         (octave-goto-function-definition, octave-sync-function-file-names)
3052         (octave-find-definition-default-filename):
3053         Backquote upattern for compatibility.
3055 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
3057         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3058         name twice due to backticks.  (Bug#17238)
3060 2014-04-12  Glenn Morris  <rgm@gnu.org>
3062         * term/w32-win.el (x-win-suspend-error):
3063         * term/x-win.el (x-win-suspend-error): Sync docs.
3065 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
3067         * faces.el (make-face): Remove deprecated optional argument.
3068         The conditional application of X resources is handled directly by
3069         make-face-x-resource-internal since Emacs 24.4.
3070         (make-empty-face): Don't pass optional argument to make-face.
3072 2014-04-11  Glenn Morris  <rgm@gnu.org>
3074         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
3076 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3078         Ediff's overlay priorities cause more trouble than they solve.
3079         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3080         (ediff-highest-priority): Remove function (bug#17234).
3081         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3082         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3083         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3084         overlay priorities.
3086 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
3088         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3089         entry; use symbol boundaries to avoid mis-matches.
3091 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
3093         * net/tramp.el (tramp-file-name-handler)
3094         (tramp-completion-file-name-handler): Avoid recursive loading.
3096         * net/tramp-sh.el (tramp-make-copy-program-file-name):
3097         Quote result also locally.
3099 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3101         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3102         Remove left-over code.
3104         * newcomment.el (comment-indent-new-line): Sink code where it's used.
3105         Reuse the previous comment's indentation unconditionally if it's on its
3106         own line.
3108 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3110         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3111         `no-syntax-crossing' arguments.  Forward to `up-list'.
3112         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3113         Implement logic for escaping from strings.  Use narrowing to deal
3114         with corner cases.
3116 2014-04-09  Leo Liu  <sdl.web@gmail.com>
3118         * net/rcirc.el (rcirc-connection-info): New variable.
3119         (rcirc-connect): Use it to store connection info.
3120         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3121         for killed process.
3122         (rcirc-cmd-reconnect): New command.  (Bug#17045)
3123         (rcirc-mode, set-rcirc-encode-coding-system)
3124         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3126 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3128         * emacs-lisp/cl-indent.el: Add comment claiming
3129         facility is also good for elisp.
3130         (lisp-indent-find-method): New function.
3131         (common-lisp-indent-function): Recognize cl-loop.
3132         (common-lisp-indent-function-1): Recognize cl constructs; use
3133         `lisp-indent-find-method' instead of `get' directly.
3134         (if): Use else-body style for elisp.
3136 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
3138         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3139         Module methods.  (Bug#17216)
3141 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3143         * help.el (describe-bindings): Fix buffer handling (bug#17210).
3144         (describe-bindings-internal): Mark obsolete.
3146 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3148         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3149         buffer-file-name, and buffer-file-truename any more.
3151 2014-04-08  Leo Liu  <sdl.web@gmail.com>
3153         Use lexical-binding and require cl-lib.
3154         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3155         (rcirc-handler-generic, rcirc-fill-paragraph)
3156         (rcirc-format-response-string, rcirc-target-buffer)
3157         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3158         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3159         (rcirc-ctcp-sender-PING, rcirc-browse-url)
3160         (rcirc-markup-timestamp, rcirc-markup-attributes)
3161         (rcirc-markup-my-nick, rcirc-markup-urls)
3162         (rcirc-markup-bright-nicks, rcirc-markup-fill)
3163         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3164         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3165         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3166         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3167         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3168         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3169         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3170         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3171         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3172         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3173         use cl-lib.
3175 2014-04-07  João Távora  <joaotavora@gmail.com>
3177         * elec-pair.el (electric-pair--syntax-ppss):
3178         When inside comments parse from comment beginning.
3179         (electric-pair--balance-info): Fix typo in comment.
3180         (electric-pair--in-unterminated-string-p): Delete.
3181         (electric-pair--unbalanced-strings-p): New function.
3182         (electric-pair-string-bound-function): New var.
3183         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3184         according to `electric-pair--in-unterminated-string-p'
3186         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3187         Inhibit quote pairing if point-max is inside an unterminated string.
3188         (electric-pair--looking-at-unterminated-string-p): Delete.
3189         (electric-pair--in-unterminated-string-p): New function.
3191 2014-04-07  Glenn Morris  <rgm@gnu.org>
3193         * shell.el (shell-directory-tracker):
3194         Go back to just ignoring failures.  (Bug#17159)
3196 2014-04-07  João Távora  <joaotavora@gmail.com>
3198         Fix `electric-pair-delete-adjacent-pairs' in modes binding
3199         backspace. (bug#16981)
3200         * elec-pair.el (electric-pair-backward-delete-char): Delete.
3201         (electric-pair-backward-delete-char-untabify): Delete.
3202         (electric-pair-mode-map): Bind backspace to a menu item filtering
3203         a new `electric-pair-delete-pair' command.
3204         (electric-pair-delete-pair): New command.
3206         * progmodes/python.el (python-electric-pair-string-delimiter):
3207         Fix triple-quoting electricity.  (Bug#17192)
3209         * elec-pair.el (electric-pair-post-self-insert-function):
3210         Don't skip whitespace when `electric-pair-text-pairs' and
3211         `electric-pair-pairs' were used. syntax to
3212         electric-pair--skip-whitespace.  (Bug#17183)
3214 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3216         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3217         "<F>".  (Bug#17199)
3219 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3221         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3222         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3224 2014-04-07  Glenn Morris  <rgm@gnu.org>
3226         * help.el (view-lossage): Doc tweak.
3228 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
3230         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3231         only when inhibit-x-resources is nil, and do that earlier in the
3232         function.  Doc fix.  (Bug#16694)
3233         (face-spec-choose): Accept additional optional argument, whose
3234         value is returned if no matching attributes are found.
3235         (face-spec-recalc): Use the new optional argument when calling
3236         face-spec-choose.  (Bug#16378)
3237         (make-face-x-resource-internal): Do nothing when
3238         inhibit-x-resources is non-nil.  Don't touch the default face if
3239         reversed video is given--as was done in previous versions of Emacs.
3240         (face-set-after-frame-default): Don't call
3241         make-face-x-resource-internal here.  (Bug#16434)
3243 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
3245         * doc-view.el (doc-view-bookmark-jump):
3246         Use `bookmark-after-jump-hook' to jump to the right page after the
3247         buffer is shown in a window.  (bug#16090)
3249 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3251         * international/characters.el (mirroring): Fix last change:
3252         instead of loading uni-mirrored.el explicitly, do that implicitly
3253         by creating the 'mirroring' uniprop table.  This avoids announcing
3254         the loading of uni-mirrored.el.
3256 2014-04-07  Glenn Morris  <rgm@gnu.org>
3258         * files.el (buffer-stale--default-function)
3259         (buffer-stale-function, revert-buffer--default):
3260         * autorevert.el (auto-revert-buffers): Doc tweaks.
3262 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3264         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
3266 2014-04-07  Glenn Morris  <rgm@gnu.org>
3268         * files.el (make-backup-file-name-function)
3269         (make-backup-file-name, make-backup-file-name--default-function)
3270         (make-backup-file-name-1, find-backup-file-name)
3271         (revert-buffer-function, revert-buffer-insert-file-contents-function)
3272         (buffer-stale--default-function, buffer-stale-function)
3273         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3274         (revert-buffer, revert-buffer--default)
3275         (revert-buffer-insert-file-contents--default-function):
3276         Doc fixes related to defaults no longer being nil.
3277         (make-backup-file-name-function): Bump :version.
3278         Restore nil as a valid but deprecated custom type.
3280 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3282         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3283         Handle $' used as a variable (bug#17174).
3285         * progmodes/perl-mode.el (perl-indent-new-calculate):
3286         Handle forward-sexp failure (bug#16985).
3287         (perl-syntax-propertize-function): Add "foreach" and "for" statement
3288         modifiers introducing expressions (bug#17116).
3290 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3292         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3294 2014-04-05  Leo Liu  <sdl.web@gmail.com>
3296         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3297         Add define-compilation-mode.
3299 2014-04-04  João Távora  <joaotavora@gmail.com>
3301         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3302         parse from comment beginning.
3303         (electric-pair--balance-info): Fix typo in comment.
3304         (electric-pair--in-unterminated-string-p): Delete.
3305         (electric-pair--unbalanced-strings-p): New function.
3306         (electric-pair-string-bound-function): New var.
3307         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3308         according to `electric-pair--in-unterminated-string-p'.
3310 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3312         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3313         Move declaration before first use.
3314         (reftex-move-to-next-arg): Silence compiler warning.
3316 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
3318         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3319         Use `window-total-width' instead of `window-width'.
3321 2014-04-03  Daniel Colascione  <dancol@dancol.org>
3323         * subr.el (set-transient-map): Remove rms's workaround entirely;
3324         use new `suspicious-object' subr to mark our lambda for closer
3325         scrutiny during gc.
3327 2014-04-02  Richard Stallman  <rms@gnu.org>
3329         * subr.el (set-transient-map): Comment out previous change.
3331 2014-04-02  Glenn Morris  <rgm@gnu.org>
3333         * menu-bar.el (menu-bar-file-menu):
3334         * vc/ediff.el (ediff-current-file):
3335         Update for revert-buffer-function no longer being nil by default.
3337         * simple.el (command-execute): Respect nil disabled-command-function.
3339 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3341         * simple.el (command-execute): Do not execute the command when it
3342         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
3344 2014-04-02  Juri Linkov  <juri@jurta.org>
3346         * dired-aux.el (dired-compress-file): Don't use string-match-p
3347         because its match data is used afterwards.
3349 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3351         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3352         0 like nil.
3354 2014-04-02  João Távora  <joaotavora@gmail.com>
3356         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3357         Inhibit quote pairing if point-max is inside an unterminated string.
3358         (electric-pair--looking-at-unterminated-string-p):
3359         Delete.
3360         (electric-pair--in-unterminated-string-p): New function.
3362 2014-04-01  Daniel Colascione  <dancol@dancol.org>
3364         * minibuffer.el (minibuffer-complete): Prevent assertion failure
3365         when trying to complete the prompt.
3367 2014-03-31  Leo Liu  <sdl.web@gmail.com>
3369         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3370         Refactor out eldoc-documentation-function-default.
3371         (eldoc-documentation-function-default): New function.
3372         (eldoc-documentation-function): Change value.
3374 2014-03-31  Glenn Morris  <rgm@gnu.org>
3376         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3378         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3379         (vhdl-compose-components-package, vhdl-compose-configuration):
3380         Abbreviate default-directory (missing from some previous upstream sync).
3382 2014-03-31  Reto Zimmermann  <reto@gnu.org>
3384         Sync with upstream vhdl mode v3.35.2.
3385         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3386         (top-level): No longer require assoc.
3387         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3388         New functions.  Use throughout to replace aget etc.
3389         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3390         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3391         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3392         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3393         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3394         except `vhdl-compiler'.
3395         (vhdl-error-regexp-add-emacs): Remove all other compilers,
3396         when appropriate.
3398 2014-03-31  Glenn Morris  <rgm@gnu.org>
3400         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3401         Revert 2014-03-26 merge goof; go back to using defalias.
3403 2014-03-30  Daniel Colascione  <dancol@dancol.org>
3405         * comint.el (comint-send-input):
3406         Deactivate completion-in-region-mode before we send comint input.
3407         (Bug#17139).
3409         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3410         on keyboard-quit.
3412 2014-03-29  Glenn Morris  <rgm@gnu.org>
3414         * textmodes/reftex.el: Manage most autoloads automatically.
3415         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3416         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3417         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3418         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3419         * textmodes/reftex-toc.el: Set generated-autoload-file,
3420         and add autoload cookies for reftex.el.
3421         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3423 2014-03-28  Glenn Morris  <rgm@gnu.org>
3425         * cus-start.el (report-emacs-bug-address): Set custom properties.
3426         * mail/emacsbug.el (report-emacs-bug-address):
3427         Variable is now defined in emacs.c.
3429         * mail/emacsbug.el (report-emacs-bug):
3430         Include system-configuration-features.
3432 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
3434         * simple.el (cycle-spacing): Never delete spaces on first run by
3435         default, but do so in a new 'fast mode and if there are already
3436         N spaces (the previous behavior).
3437         Compare N with its value in previous invocation so that changing
3438         prefix argument restarts `cycle-spacing' sequence.
3439         The idea is that with this change, binding M-SPC to
3440         `cycle-spacing' should not introduce any changes in behavior of
3441         the binding so long as users do not type M-SPC twice in a raw with
3442         the same prefix argument or lack thereof.
3444 2014-03-28  Glenn Morris  <rgm@gnu.org>
3446         * faces.el (term-file-aliases): New variable.
3447         (tty-run-terminal-initialization): Respect term-file-aliases.
3448         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3449         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3450         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3452 2014-03-27  Glenn Morris  <rgm@gnu.org>
3454         * startup.el (inhibit-startup-hooks): Doc tweak.
3455         (normal-top-level): Simplify running of hooks.
3456         For window-setup-hook, respect inhibit-startup-hooks.
3457         (command-line-1): Don't set window-setup-hook to nil.
3459         Allow selective autoloading from obsolete/ directory.
3460         * Makefile.in (obsolete-autoloads): New rule.
3461         (autoloads): Run obsolete-autoloads.
3462         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3463         * simple.el (iswitchb-mode): Remove hand-written autoloads.
3465 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
3467         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3468         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
3470         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3471         Don't propertize `?' or `!' as symbol constituent when after
3472         colon.  (Bug#17097)
3474 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
3476         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
3477         which is no longer needed and causes trouble in GTK builds (bug#17046).
3479         * emacs-lisp/package-x.el (package--archive-contents-from-url):
3480         Use url-insert-file-contents; package-handle-response no longer exists.
3482 2014-03-26  Daniel Colascione  <dancol@dancol.org>
3484         * simple.el (process-menu-mode-map): New variable.
3485         (process-menu-delete-process): New command.
3487 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3489         * emacs-lisp/package.el: Fix bug#16733 (again).
3490         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
3491         (url-http-target-url): Remove unused declarations.
3492         (package-handle-response): Remove.
3493         (package--with-work-buffer): Use url-insert-file-contents and simplify.
3494         (package--download-one-archive): Use current-buffer instead of
3495         dynamic binding of `buffer'.
3496         (describe-package-1): Do not decode readme-string.
3498 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
3500         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
3502         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
3503         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
3504         `remote-file-name-inhibit-cache' to nil in the second pass.
3505         (tramp-find-executable): Do not call "which" on SunOS.
3506         (tramp-send-command-and-check): Fix docstring.
3507         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
3508         check whether source directory has set the sticky bit.
3510 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
3512         * simple.el (primitive-undo): Only process marker adjustments
3513         validated against their corresponding (TEXT . POS).  Issue warning
3514         for lone marker adjustments in undo history.  (Bug#16818)
3515         (undo-make-selective-list): Add marker adjustments to selective
3516         undo list based on whether their corresponding (TEXT . POS) is in
3517         the region.  Remove variable adjusted-markers, which was unused
3518         and only non nil during undo-make-selective-list.
3519         (undo-elt-in-region): Return nil when passed a marker adjustment
3520         and explain in function doc.
3522 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3524         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
3526 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3528         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
3529         Match special global variables without curlies, too.
3530         (ruby-font-lock-keywords): Simplify the matcher for special global
3531         variables.  Don't require a non-word character after the variable.
3532         (Bug#17057)
3534 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3536         * simple.el (redisplay-highlight-region-function): Increase priority of
3537         overlay to make sure boundaries are visible (bug#15899).
3539 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3541         * frameset.el (frameset--initial-params): Fix typo in parameter name.
3542         (frameset-restore): Compare display strings with equal.
3544         * frame.el (make-frame): Don't quote display name in error message,
3545         it is already a string.
3547 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3549         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
3550         the password.
3552 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3554         * emacs-lisp/package.el (package--add-to-archive-contents):
3555         Include already installed and built-in packages in
3556         `package-archive-contents'.
3557         (package-install): Don't include already installed packages in the
3558         options during interactive invocation.  (Bug#16762)
3559         (package-show-package-list): If the buffer is already displayed in
3560         another window, switch to that window.
3562 2014-03-26  Reto Zimmermann  <reto@gnu.org>
3564         Sync with upstream vhdl mode v3.35.1.
3565         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3566         (vhdl-compiler-alist): Doc fix.
3567         (vhdl-goto-line): Remove.
3568         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
3569         (vhdl-mode) <paragraph-start>: Fix value.
3570         (vhdl-fix-statement-region): Not `for' in wait-statement.
3571         (vhdl-beautify-region): Also (un)tabify.
3572         (vhdl-get-visible-signals):
3573         Scan declarative part of generate statements.
3574         (vhdl-template-record): Fix indentation for record type declaration.
3575         (vhdl-expand-abbrev, vhdl-expand-paren):
3576         Revert to using fset again rather than defalias.
3577         (vhdl-scan-directory-contents): Tweak.
3578         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
3579         (vhdl-compose-components-package):
3580         Replace vhdl-goto-line with forward-line.
3581         (top-level): Tweak speedbar frame selection.
3582         (vhdl-generate-makefile-1): Support for compilers with no
3583         unit-to-file name mapping (create directory with dummy files).
3585 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
3587         Sync with upstream verilog-mode revision 702457d.
3588         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3589         (create-lockfiles): Declare.
3590         (verilog-read-decls): Fix module header imports, bug709.
3591         Reported by Victor Lau.
3592         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
3593         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3594         interface-only modules, bug721.  Reported by Dean Hoyt.
3596 2014-03-26  Glenn Morris  <rgm@gnu.org>
3598         * obsolete/gulp.el: Move here from emacs-lisp/.
3600         * files.el (lock-buffer, unlock-buffer, file-locked-p):
3601         Remove fallback aliases, since they are always defined now.
3603 2014-03-24  Daniel Colascione  <dancol@dancol.org>
3605         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3606         instead of cl-loop search function.
3608 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3610         * calendar/parse-time.el (parse-time-iso8601-regexp)
3611         (parse-iso8601-time-string): Copied from `url-dav' so that we can use
3612         it more generally.
3614 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3616         * net/dns.el (network-interface-list): Define for XEmacs.
3618 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
3620         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3621         the network interfaces changed.
3622         (dns-query): Use it to flush the data.
3624 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
3626         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
3628 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3630         Change subword-mode to use `find-word-boundary-function-table' and
3631         replace `capitalized-words-mode'.  Also, convert to lexical
3632         binding.
3634         * progmodes/cap-words.el: Delete now-obsolete file.
3635         * progmodes/subword.el: Reimplement using
3636         `find-word-boundary-function-table'.
3637         (subword-mode-map): Hollow out.
3638         (capitalized-words-mode): Define as obsolete alias for
3639         `subword-mode'.
3640         (subword-mode, superword-mode): Tweak documentation to reflect new
3641         implementation; call `subword-setup-buffer'.
3642         (subword-forward, subword-capitalize): Add underscore to indicate
3643         unused variable.
3644         (subword-find-word-boundary-function-table): New constant.
3645         (subword-empty-char-table): New constant.
3646         (subword-setup-buffer): New function.
3647         (subword-find-word-boundary): New function.
3649 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3651         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
3652         list to look for keyword arguments instead of `memq', fixing
3653         (Bug#3647) --- unfortunately, only for freshly-compiled code.
3654         Please make bootstrap.
3656 2014-03-22  Glenn Morris  <rgm@gnu.org>
3658         * dired.el (dired-read-regexp): Make obsolete.
3659         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
3660         (dired-flag-files-regexp):
3661         * dired-aux.el (dired-mark-read-regexp):
3662         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
3664         * startup.el (fancy-startup-text):
3665         * help.el (describe-gnu-project): Visit online info about GNU project.
3667         * help-fns.el (help-fns--interactive-only): New function.
3668         (help-fns-describe-function-functions): Add the above function.
3669         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
3670         (next-line, previous-line): Remove hand-written interactive-only
3671         information from doc strings, it is auto-generated now.
3672         * bookmark.el (bookmark-write):
3673         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
3674         (epa-mail-import-keys): Mark interactive-only,
3675         and remove hand-written interactive-only information from doc strings.
3676         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
3677         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
3678         * files.el (not-modified):
3679         * simple.el (mark-whole-buffer): Mark interactive-only.
3681         * emacs-lisp/byte-run.el (defun-declarations-alist):
3682         Add interactive-only.  Doc tweak.
3683         (macro-declarations-alist): Doc tweak.
3684         * subr.el (declare): Doc tweak (add xref to manual).
3685         * comint.el (comint-run):
3686         * files.el (insert-file-literally, insert-file):
3687         * replace.el (replace-string, replace-regexp):
3688         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3689         (delete-forward-char, goto-line, insert-buffer, next-line)
3690         (previous-line): Set interactive-only via declare.
3692 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
3694         * emacs-lisp/package.el (package-desc): Use the contents of the
3695         quoted form, not its cdr.  (Bug#16873)
3697 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
3699         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
3700         benefit of doc.c; change parameter profile to match the X function.
3702 2014-03-22  Leo Liu  <sdl.web@gmail.com>
3704         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
3705         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
3707 2014-03-21  Richard Stallman  <rms@gnu.org>
3709         * battery.el (battery-linux-sysfs): Search for each field
3710         from the beginning of the buffer.
3712         * subr.el (set-transient-map): Clear out function and value
3713         of the temporary symbol when we're done with it.
3715         * mail/rmailsum.el (rmail-summary-delete-forward):
3716         Optimize case of reaching end and handling count.
3717         (rmail-summary-mark-deleted): Optimize when N is current msg.
3718         Don't create new summary line.
3719         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
3720         (rmail-summary-undelete-many): Rewrite for speed.
3721         (rmail-summary-msg-number): New function.
3723         * mail/rmail.el (rmail-delete-message): Update summary.
3724         (rmail-undelete-previous-message): Handle repeat count arg.
3725         (rmail-delete-backward, rmail-delete-forward): Likewise.
3727 2014-03-21  Daniel Colascione  <dancol@dancol.org>
3729         * mail/emacsbug.el (report-emacs-bug): Include memory usage
3730         information in bug reports.
3732 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
3734         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
3735         and `tramp-copy-env'.
3737         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
3738         (tramp-maybe-open-connection): Handle `tramp-login-env'.
3740 2014-03-21  Glenn Morris  <rgm@gnu.org>
3742         * electric.el (electric-indent-post-self-insert-function): Add doc.
3744 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3746         * emacs-lisp/package.el (package-compute-transaction):
3747         Use `version-list-<=' to compare the requirement version against
3748         the version of package already to be installed.  Update the error
3749         message.  (Bug#16826)
3751         * progmodes/ruby-mode.el (ruby-smie-rules):
3752         Add indentation rule for ` @ '.  (Bug#17050)
3754 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3756         * align.el (align-regexp): Remove superfluous backslash.
3758         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
3759         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
3760         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
3761         Fix docstring typos.
3762         (ffap-next): Use C-u in docstring.
3763         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
3764         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
3765         Remove superfluous backslashes.
3766         (ffap-string-at-point): Reflow docstring.
3768         * server.el (server-host): Reflow docstring.
3769         (server-unload-function): Fix docstring typo.
3770         (server-eval-at): Remove superfluous backslash.
3772         * skeleton.el (skeleton-insert): Remove superfluous backslash.
3773         (skeleton-insert): Doc fix.
3774         (skeleton-insert): Reflow docstring.
3776         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
3777         (tty-color-approximate, tty-color-by-index, tty-color-values)
3778         (tty-color-desc): Remove superfluous backslashes.
3780 2014-03-21  Glenn Morris  <rgm@gnu.org>
3782         * cus-start.el (history-length): Bump :version.
3784         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3785         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3786         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3787         Don't set `make-backup-files'.
3789         * info.el (info--prettify-description): New function,
3790         to give info-finder descriptions consistent case, punctuation.
3791         (Info-finder-find-node): Use it.  Sort packages.
3792         Refer to "description" rather than "commentary".
3794 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3796         * frameset.el (frameset--print-register): New function.
3797         (frameset-to-register): Use it.
3799 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
3801         * progmodes/hideif.el (hif-string-to-number): New function.
3802         (hif-tokenize): Use it to understand non-decimal floats.
3804         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
3806         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
3808 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3810         * electric.el (electric-newline-and-maybe-indent): New command.
3811         Bind it globally to C-j.
3812         (electric-indent-mode): Don't mess with the global map any more.
3813         Don't drop the post-self-insert-hook is some buffer is still using it
3814         (bug#16770).
3816         * bindings.el (global-map): Remove C-j binding.
3818         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
3819         the docstring of functions advised before dumping (bug#16993).
3821 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
3823         * ps-print.el (ps-generate-postscript-with-faces):
3824         Explicitly deactivate the mark (bug#16866).
3825         * simple.el (deactivate-mark): Update region highlight.
3827 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
3829         * emacs-lisp/package.el (describe-package-1):
3830         Decode commentary (bug#16733).
3832 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
3834         * custom.el (defcustom): Doc fix: recommend avoiding destructive
3835         modification of the value argument of :set (bug#16755).
3837 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3839         * simple.el (newline-and-indent): Do autofill (bug#17031).
3841 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
3843         * newcomment.el (comment-normalize-vars): Only add escaping check
3844         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
3845         (comment-beginning): Use `narrow-to-region' instead of moving back
3846         one character.
3847         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3848         (comment-start-skip): Update the docstring.
3850 2014-03-18  Richard Stallman  <rms@gnu.org>
3852         * dired.el (dired-display-file): Force use of other window.
3854 2014-03-18  Daniel Colascione  <dancol@dancol.org>
3856         * startup.el (tty-handle-args): Remove debug message from 2007.
3858 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3860         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3861         (advice--make-interactive-form): Use it to avoid (auto)loading function.
3862         (advice--make-1, advice-add, advice-remove):
3863         Remove braindead :advice-pending hack.
3865 2014-03-17  Glenn Morris  <rgm@gnu.org>
3867         * calendar/calendar.el (calendar-generate-month): Apply weekend
3868         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
3870 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
3872         * net/tramp.el (tramp-action-out-of-band): Read pending output.
3873         (tramp-call-process): Trace also DESTINATION.
3875         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3876         Quote file names when they are local.  Remove superfluous trace.
3878 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
3880         * newcomment.el (comment-beginning): If `comment-start-skip'
3881         doesn't match, move back one char and try again.  (Bug#16971)
3883         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3884         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3885         Set `comment-start-skip' to a simpler value that doesn't try to
3886         check if the semicolon is escaped (this is handled by
3887         `syntax-ppss' now).  (Bug#16971)
3889         * progmodes/scheme.el (scheme-mode-variables): Same.
3891 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
3893         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3894         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3895         current (Bug#16816, Bug#17007).
3896         (with-current-buffer-window): New macro doing the same as
3897         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3898         * help.el (help-print-return-message): Warn in doc-string to not
3899         use this in `with-help-window'.
3900         (describe-bindings-internal): Call `describe-buffer-bindings'
3901         from within help buffer.  See Juanma's scenario in (Bug#16816).
3902         (with-help-window): Update doc-string.
3903         * dired.el (dired-mark-pop-up):
3904         * files.el (save-buffers-kill-emacs):
3905         * register.el (register-preview): Use `with-current-buffer-window'
3906         instead of `with-temp-buffer-window'.
3908 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
3910         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3911         Implement inserting into current buffer, documented in their docstrings.
3912         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3913         (rst-section-tree-point, rst-forward-section, rst-indent)
3914         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3915         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3916         (rst-font-lock-handle-adornment-pre-match-form)
3917         (rst-repeat-last-character): Reflow docstrings.
3918         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3919         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3920         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3921         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3922         Fix docstring typos.
3923         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3924         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3925         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3927 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
3929         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3930         for compatibility with other ports.
3931         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
3932         from the -xrm command line argument, but in the Nextstep port its value
3933         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3935         * progmodes/python.el (defconst, python-syntax-count-quotes)
3936         (python-indent-region, python-indent-shift-right)
3937         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3938         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3939         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3940         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3941         (inferior-python-mode, python-shell-make-comint, run-python-internal)
3942         (python-shell-buffer-substring, python-shell-send-buffer)
3943         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3944         (python-completion-complete-at-point, python-fill-docstring-style)
3945         (python-eldoc-function, python-imenu-format-item-label)
3946         (python-imenu-format-parent-item-label)
3947         (python-imenu-format-parent-item-jump-label)
3948         (python-imenu--build-tree, python-imenu-create-index)
3949         (python-imenu-create-flat-index): Fix docstring typos.
3950         (python-indent-context, python-shell-prompt-regexp, run-python):
3951         Remove superfluous backslashes.
3952         (python-indent-line, python-nav-beginning-of-defun)
3953         (python-shell-get-buffer, python-shell-get-process)
3954         (python-info-current-defun, python-info-current-line-comment-p)
3955         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3956         (python-indent-post-self-insert-function, python-shell-send-file)
3957         (python-shell-completion-get-completions)
3958         (python-shell-completion-complete-or-indent)
3959         (python-eldoc--get-doc-at-point): Reflow docstrings.
3961 2014-03-14  Glenn Morris  <rgm@gnu.org>
3963         * emacs-lisp/package.el (package-menu-mode-map):
3964         Replace use of obsolete function alias.  Tweak menu item text.
3966         * info.el (Info-finder-find-node):
3967         Ignore the `emacs' metapackage.  (Bug#10813)
3969         * finder.el (finder-list-matches): Include unversioned packages
3970         in the result of a keyword search.
3972         * finder.el (finder--builtins-descriptions): New constant.
3973         (finder-compile-keywords): Use finder--builtins-descriptions.
3975 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
3977         * simple.el (blink-matching-paren): Describe the new value,
3978         `jump', enabling the old behavior.
3979         (blink-matching-open): Use that value.  (Bug#17008)
3981 2014-03-14  Glenn Morris  <rgm@gnu.org>
3983         * finder.el (finder-no-scan-regexp): Add leim-list.
3984         (finder-compile-keywords):
3985         Don't skip files with same basename.  (Bug#14010)
3986         * Makefile.in (setwins_finder): New, excluding leim.
3987         (finder-data): Use setwins_finder.
3989         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3990         (help-function-arglist, help-make-usage): Move from here...
3991         * help.el (help-split-fundoc, help-add-fundoc-usage)
3992         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
3993         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3995 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
3997         * net/socks.el (socks, socks-override-functions)
3998         (socks-find-services-entry):
3999         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4000         (hif-find-ifdef-block):
4001         * progmodes/modula2.el (m2-indent): Fix docstring typos.
4003         * net/tls.el (tls-program): Reflow docstring.
4005         * progmodes/pascal.el (pascal-mode-abbrev-table)
4006         (pascal-imenu-generic-expression, pascal-auto-endcomments)
4007         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4008         (pascal-outline-mode): Fix docstring typos.
4009         (pascal-mode): Let define-derived-mode document mode hook.
4010         (pascal-uncomment-area): Reflow.
4011         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4013         * progmodes/opascal.el (opascal-compound-block-indent)
4014         (opascal-case-label-indent): Fix docstring typos.
4015         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4017 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
4019         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4020         Fontify multiple adjacent negation chars.  (Bug#17004)
4022 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4024         * emacs-lisp/package.el (package--prepare-dependencies):
4025         Accept requirements without explicit version (bug#14941).
4027 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4029         * register.el (register-separator, copy-to-register): Doc fixes.
4030         (register-preview-default): Remove unnecessary call to concat.
4032         * frameset.el (frameset-restore): When checking for a visible frame,
4033         use the action map instead of calling visible-frame-list.
4035 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
4037         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4039 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
4041         * window.el (fit-frame-to-buffer): Get maximum width from
4042         display's width instead of height.
4044 2014-03-12  Glenn Morris  <rgm@gnu.org>
4046         * desktop.el (desktop-restore-frames)
4047         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4048         (desktop-restore-reuses-frames): Doc tweaks.
4050         * electric.el (electric-indent-mode): Doc fix.
4052 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4054         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4055         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4056         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4057         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4058         (cvs-dired-use-hook): Fix docstring typos.
4059         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4060         Doc fixes.
4062         * vc/pcvs-defs.el (cvs-auto-remove-handled)
4063         (cvs-auto-remove-directories, cvs-default-ignore-marks)
4064         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4065         (cvs-execute-single-dir): Fix docstring typos.
4067         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4068         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4070         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4072         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4073         Fix docstring typos.
4075 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4077         * frameset.el (frameset--jump-to-register): Add autoload; it could be
4078         called from jump-to-register after unloading the frameset package.
4080 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4082         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4083         (bug#16975).  Deactivate the mark before setting it to nil.
4084         (activate-mark): Do nothing if region is already active.
4086 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4088         * frameset.el (frameset--target-display): Remove definition; declare.
4089         (frameset-save, frameset-restore): Let-bind frameset--target-display.
4091 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4093         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4094         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4095         when the advice is pending.
4096         (advice-remove): Remove this marker when not needed any more.
4098 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4100         * frameset.el: Separate options for reusing frames and cleaning up.
4101         (frameset--reuse-list): Remove definition; declare.
4102         (frameset--action-map): Declare.
4103         (frameset--find-frame-if): Doc fix.
4104         (frameset--restore-frame): Cache frame action.
4105         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4106         how to clean up the frame list after restoring.  Remove cleaning
4107         options from REUSE-FRAMES.  Change all keyword values to symbols.
4108         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4110         * desktop.el (desktop-restore-forces-onscreen)
4111         (desktop-restore-reuses-frames): Use non-keyword values.
4112         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4114 2014-03-10  Glenn Morris  <rgm@gnu.org>
4116         * files.el (find-file): Doc fix: update info node name.
4118         * emacs-lisp/advice.el (ad-add-advice, defadvice):
4119         Doc fix: remove references to deleted info nodes.
4121 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
4123         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4124         Do not add nil to the environment, when there's no remote `locale'.
4125         (tramp-find-inline-encoding): Check, that the remote host has
4126         installed perl, before sending scripts.
4128 2014-03-10  Leo Liu  <sdl.web@gmail.com>
4130         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4131         Clear eldoc-last-message.  (Bug#16920)
4133 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4135         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4136         (bug#14430).
4138 2014-03-09  Juri Linkov  <juri@jurta.org>
4140         * ansi-color.el (ansi-color-names-vector): Copy default colors
4141         from `xterm-standard-colors' that look well on the default white
4142         background (and also on the black background) to avoid illegible
4143         color combinations like yellow-on-white and white-on-white.
4144         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4146 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
4148         * frameset.el (frameset-restore): When no frame is visible, do not
4149         generate a list of frames, just make visible the selected one.
4151 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
4153         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4154         it only contains the repository root.  (Bug#16897)
4156 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
4158         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4159         only when `remote-file-name-inhibit-cache' is nil.
4160         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
4162 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
4164         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4165         Fix doc-strings.
4166         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
4167         fit-frame-to-buffer variable.  Fix doc-string.
4168         (fit-window-to-buffer): Set ONLY argument in call of
4169         fit-frame-to-buffer.  Fix doc-string.
4171 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
4173         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4174         (tramp-action-password): Clear password cache if needed.
4175         (tramp-read-passwd): Do not clear password cache.
4177         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4178         cache unless it is the first password request.
4180 2014-03-06  Glenn Morris  <rgm@gnu.org>
4182         * simple.el (newline): Doc tweak.
4184         * emacs-lisp/shadow.el (load-path-shadows-find):
4185         Ignore dir-locals.  (Bug#12357)
4187 2014-03-05  Glenn Morris  <rgm@gnu.org>
4189         * files.el (interpreter-mode-alist):
4190         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
4192 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4194         * frameset.el (frameset--initial-params): Filter out null entries.
4196 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
4198         * window.el (window-min-height, window-min-width):
4199         Rewrite doc-strings.
4200         (window-body-size): Add PIXELWISE argument to make it consistent
4201         with its callees.
4203 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4205         * finder.el (finder-mode-map, finder-mode-syntax-table):
4206         Revert part of 2014-02-28 change.
4208 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
4210         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4211         (eww-setup-buffer): Clear next/prev/etc more reliably.
4212         (eww-textarea-map): [tab] doesn't work on tty.
4213         Reported by Mario Lang.
4215         * net/shr.el (shr-map): Ditto.
4217 2014-03-04  Glenn Morris  <rgm@gnu.org>
4219         * minibuffer.el (completion-hilit-commonality):
4220         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4222 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4224         * hilit-chg.el (hilit-chg-unload-function): New function.
4225         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4226         (hilit-chg-map-changes): Prefer cardinal number to digit.
4227         (hilit-chg-display-changes): Reflow docstring.
4228         (highlight-changes-rotate-faces): Remove superfluous backslash.
4230 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
4232         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4233         `tramp-send-command-and-check'.
4235 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4237         * hexl.el (hexl-address-region, hexl-ascii-region)
4238         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4239         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4240         (hexl-forward-word, hexl-previous-line, hexl-next-line):
4241         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4242         (hexl-mode): Doc fix.
4243         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4244         (hexl-mode-ruler): Fix typos in docstrings.
4246         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4247         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4248         Remove superfluous backslashes.
4249         (strokes-last-stroke, strokes-global-map, strokes-mode):
4250         Reflow docstrings.
4251         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4252         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4253         (strokes-distance-squared, strokes-global-set-stroke)
4254         (strokes-global-set-stroke-string): Doc fixes.
4255         (strokes-help): Fix typos; reflow docstring.
4257 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
4259         * window.el (window-in-direction): Fix doc-string.
4261 2014-03-04  Glenn Morris  <rgm@gnu.org>
4263         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4264         Explicit error if no grammar.
4265         (smie-config-save): Doc fix.  Fix quote typo.
4267 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4269         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4270         electric-indent-mode-hook if we obey electric-indent-mode.
4271         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4272         decide whether we obey electric-indent-mode.
4273         (c-change-set-fl-decl-start, c-extend-after-change-region):
4274         Silence warnings.
4275         (c-electric-indent-mode-hook): Assume we do want to obey
4276         electric-indent-mode.
4278         * electric.el (electric-indent-mode-has-been-called): Remove.
4279         (electric-indent-mode): Fix accordingly.
4281         * files.el (hack-local-variables): Mention file name in warning.
4283         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4285 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
4287         * bindings.el: Add comment describing why C-d binds to `delete-char'.
4288         * simple.el (delete-forward-char): Mark as interactive-only.
4290 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
4292         * icomplete.el (icomplete-completions):
4293         Follow-up to 2014-03-01 change.
4295         * icomplete.el: Miscellaneous doc fixes.
4296         Use Icomplete everywhere instead of icomplete for consistency.
4297         (icomplete-max-delay-chars): Fix typo.
4298         (icomplete-mode): Use \[].
4299         (icomplete-tidy, icomplete-exhibit): Reflow.
4300         (icomplete-minibuffer-setup-hook, icomplete-completions):
4301         Remove superfluous backlashes.
4303         * ido.el: Miscellaneous doc fixes.
4304         Use Ido everywhere instead of ido or `ido' for consistency.
4305         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4306         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4307         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4308         (ido-separator): Extract obsolescence info from docstring and declare
4309         with make-obsolete-variable.
4310         (ido-minibuffer-setup-hook): Simplify example.
4311         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4312         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4313         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4314         (ido-everywhere): Reflow docstring.
4315         (ido-toggle-vc): Doc fix.
4316         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4317         of long list of keybindings.
4319 2014-03-03  Glenn Morris  <rgm@gnu.org>
4321         * frame.el (display-pixel-height, display-pixel-width)
4322         (display-mm-dimensions-alist, display-mm-height)
4323         (display-mm-width): Doc tweaks.
4325 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
4327         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4328         case of undo in region.
4330 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
4332         * window.el (fit-window-to-buffer): Fix argument in window-size
4333         call when window is horizontally combined.
4335 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
4337         * icomplete.el (icomplete-completions): Use string-width.
4338         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4340 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
4342         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4343         Highlight regexp options.  (Bug#16914)
4345 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
4347         * window.el (window--max-delta-1): Round down when calculating
4348         how many lines/columns we can get from a window.
4350 2014-03-01  Glenn Morris  <rgm@gnu.org>
4352         * isearch.el (search-invisible): Doc fix.
4354         * minibuffer.el (completion-hilit-commonality):
4355         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
4356         * comint.el (comint-dynamic-list-completions): Doc fix.
4357         * comint.el (comint-dynamic-list-completions):
4358         * filecache.el (file-cache-minibuffer-complete):
4359         * tempo.el (tempo-display-completions):
4360         * eshell/em-hist.el (eshell-list-history):
4361         Replace use of obsolete argument of display-completion-list.
4363 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
4365         * icomplete.el (icomplete-completions):
4366         Revert back to using "..." when ?… cannot be displayed.
4368 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4370         * finder.el (finder-unload-function): New function.
4372 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4374         * dframe.el (dframe-detach):
4375         * find-dired.el (find-dired, find-name-dired):
4376         * finder.el (finder-mode-map, finder-mode-syntax-table)
4377         (finder-headmark, finder-select, finder-mouse-select):
4378         Fix docstring typos.
4380 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
4382         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4383         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4384         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4385         Fix doc-string based on a suggestion by Nicolas Richard
4386         <theonewiththeevillook@yahoo.fr>.
4387         * help.el (with-help-window): Fix doc-string.
4389 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
4391         * net/shr.el (shr-image-animate): New option.
4392         (shr-put-image): Respect shr-image-animate.
4394 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
4396         * net/tramp-adb.el (tramp-adb-parse-device-names):
4397         Use `accept-process-output'.
4398         (tramp-adb-handle-file-truename): Cache the localname only.
4399         (tramp-adb-handle-make-directory)
4400         (tramp-adb-handle-delete-directory): Flush file properties correctly.
4401         (tramp-adb-handle-set-file-modes): Do not raise an error when file
4402         modes cannot be changed.
4404         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4405         file properties of symlinks.
4407 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
4409         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4410         required/optional fields to match development biblatex.  (Bug#16781)
4412 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
4414         * saveplace.el (toggle-save-place):
4415         Fix argument handling.  (Bug#16673)
4417 2014-02-28  Glenn Morris  <rgm@gnu.org>
4419         * minibuffer.el (completions-first-difference)
4420         (completions-common-part, completion-hilit-commonality): Doc fixes.
4422 2014-02-28  Karl Berry  <karl@gnu.org>
4424         * info.el (Info-mode-map): Add H for describe-mode,
4425         to synchronize with standalone Info.
4427 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
4429         * progmodes/sql.el (sql-interactive-mode):
4430         Avoid setting global comint-input-ring-separator.  (Bug#16814)
4432 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4434         * net/dbus.el (dbus--init-bus): Declare function.
4435         (dbus-path-local, dbus-interface-local): New defconst.
4436         (dbus-init-bus): Use them.
4437         (dbus-return-values-table): Extend doc.
4438         (dbus-handle-bus-disconnect): Extend error message.
4440 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
4442         * subr.el (y-or-n-p): Fix double space issue in message.
4444 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4446         * net/tramp.el (tramp-call-process): Improve trace message.
4447         (tramp-handle-insert-file-contents): Trace error case.
4449         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4450         <insert-directory>: Use `tramp-handle-insert-directory'.
4451         (tramp-adb-handle-insert-directory): Remove function.
4452         (tramp-adb-send-command-and-check): New defun, replacing
4453         `tramp-adb-command-exit-status'.  Change all callees.
4454         (tramp-adb-handle-file-attributes)
4455         (tramp-adb-handle-directory-files-and-attributes): Use it.
4456         (tramp-adb-ls-output-name-less-p):
4457         Use `directory-listing-before-filename-regexp'.
4458         (tramp-adb-handle-delete-directory): Flush also file properties of
4459         the truename of directory.
4460         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4461         (tramp-adb-handle-file-local-copy): Make the local copy readable.
4462         (tramp-adb-handle-write-region): Implement APPEND.
4463         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
4464         properties correctly.
4465         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4466         variables.  Check for connected devices only when needed.
4468 2014-02-27  Glenn Morris  <rgm@gnu.org>
4470         * minibuffer.el (completion-table-dynamic)
4471         (completion-table-with-cache): Doc fixes.
4473         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4474         (completing-read-multiple): Doc fixes.
4476 2014-02-27  Daniel Colascione  <dancol@dancol.org>
4478         * minibuffer.el (completion--nth-completion): Fix indentation.
4480         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
4481         explicit tramp path is empty.
4483 2014-02-27  Glenn Morris  <rgm@gnu.org>
4485         * emacs-lisp/crm.el (completing-read-multiple):
4486         Empower help-enable-auto-load.
4488 2014-02-26  Glenn Morris  <rgm@gnu.org>
4490         * startup.el (command-line): Don't init the tty in daemon mode.
4492         Avoid calling tty-setup-hook twice, eg if a term file
4493         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
4494         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
4495         (tty-create-frame-with-faces): Use it.
4496         * startup.el (command-line): Pass run-hook argument
4497         to tty-run-terminal-initialization.
4499         * dired.el (dired-restore-desktop-buffer): Demote errors;
4500         eg in case a glob match fails.  (Bug#16884)
4502 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
4504         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4505         error from `read-from-string'.  (Bug#16850)
4507         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
4508         result of `completing-read' in the interactive form.  (Bug#16854)
4510 2014-02-25  Glenn Morris  <rgm@gnu.org>
4512         * image.el (image-animate, image-animate-timeout):
4513         Stop animating images in dead buffers.  (Bug#16878)
4515         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
4517         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
4518         Doc fixes.
4519         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
4520         * term/sun.el (sun-raw-prefix-hooks):
4521         Use tty-setup-hook instead of term-setup-hook.
4522         (terminal-init-sun): Construct message from bytecomp plist.
4523         * term/wyse50.el (enable-arrow-keys): Doc fix.
4525 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4527         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4528         Fix docstring typos.
4530 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
4532         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
4534 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4536         * minibuffer.el (completion--try-word-completion):
4537         Fix error when completing M-x commands (bug#16808).
4539 2014-02-24  Leo Liu  <sdl.web@gmail.com>
4541         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
4543 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4545         * apropos.el (apropos-print): Avoid formatting error when
4546         apropos-do-all and apropos-compact-layout are both t.
4548 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4550         * apropos.el (apropos-property, apropos-all-words-regexp)
4551         (apropos-true-hit, apropos-variable, apropos-print):
4552         Fix docstring typos, and remove obsolete comment.
4554 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
4556         * net/tramp-sh.el (tramp-sh-handle-file-truename):
4557         Preserve trailing "/".  (Bug#16851)
4559 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4561         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
4562         after `=>' (bug#16811).
4563         (ruby-smie-rules): Handle the inconsistent second element of the
4564         list returned by `smie-indent--parent'.
4565         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
4566         method call.
4568 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4570         * elec-pair.el (electric-pair-text-syntax-table)
4571         (electric-pair-syntax-info, electric-pair--syntax-ppss)
4572         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
4573         (electric-pair--looking-at-unterminated-string-p): Doc fix.
4574         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
4576 2014-02-22  Glenn Morris  <rgm@gnu.org>
4578         * imenu.el (imenu--generic-function): Doc fix.
4580         * register.el (frame-configuration-to-register): Make obsolete.
4582 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
4584         * desktop.el (desktop-save-buffer-p): Do not fail when
4585         desktop-files-not-to-save is nil.  Return t for true result
4586         as the doc says.
4588 2014-02-22  Daniel Colascione  <dancol@dancol.org>
4590         * net/secrets.el (secrets-create-item, secrets-search-items):
4591         Check that attribute values are strings, avoiding the construction
4592         of invalid dbus messages.
4594 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4596         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4597         defun-declarations-alist.
4599 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4601         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4602         (bug#16829).
4604 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4606         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4607         (whitespace-newline, whitespace-trailing, whitespace-line)
4608         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4609         (whitespace-space-after-tab): Fix typo in docstrings.
4611 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
4613         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4615         * electric.el (electric-indent-functions-without-reindent):
4616         Add `yaml-indent-line'.
4618 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4620         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4621         It has done nothing for years; should be removed after the release.
4623         * simple.el (choose-completion): Fix docstring typo.
4624         (read-quoted-char-radix): Remove unneeded * in docstring.
4625         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
4626         Don't escape parentheses unnecessarily in docstrings.
4628 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
4630         Fix handling of window-min-height/-width (Bug#16738).
4631         * window.el (window--dump-window, window--dump-frame):
4632         New functions.
4633         (window--min-size-1): Account for window dividers.
4634         When window-resize-pixelwise is nil, delay rounding till after the
4635         sum of the window components has been calculated.
4636         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
4637         nil make sure at least one text line and two text columns remain
4638         fully visible.
4639         (window-resize): Signal an error when window-resize-apply fails.
4640         (window--resize-child-windows): Fix calculation of by how many
4641         pixels a window can still be shrunk via window-new-normal.
4642         (adjust-window-trailing-edge): Call window--resizable with
4643         correct TRAIL argument.
4645         (with-temp-buffer-window): Don't evaluate BODY within
4646         with-current-buffer (Bug#16816).
4648 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
4650         * net/tramp.el (tramp-check-cached-permissions):
4651         Call `file-attributes' with `suffix' being a symbol but a string.
4653 2014-02-21  Daniel Colascione  <dancol@dancol.org>
4655         * net/dbus.el (dbus-init-bus-1): Declare new subr.
4656         (dbus-init-bus): New function: call into dbus-init-bus-1
4657         and installs a handler for the disconnect signal.
4658         (dbus-call-method): Rewrite to look for result in cons.
4659         (dbus-call-method-handler): Store result in cons.
4660         (dbus-check-event): Recognize events with nil sender as valid.
4661         (dbus-handle-bus-disconnect): New function.  React to bus
4662         disconnection signal by synthesizing dbus error for each
4663         pending synchronous or asynchronous call.
4664         (dbus-notice-synchronous-call-errors): New function.
4665         (dbus-handle-event): Raise errors directly only when `dbus-debug'
4666         is true, not all the time.
4668 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4670         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4671         Remove obsolescence declarations, these variables do not exist anymore.
4673         * savehist.el (savehist-save-minibuffer-history)
4674         (savehist-additional-variables, savehist-file, savehist-mode-hook)
4675         (savehist-save-hook, savehist-coding-system, savehist-loaded)
4676         (savehist-load, savehist-install, savehist-autosave): Fix typos;
4677         mostly, refer to "Savehist mode" when talking about the mode,
4678         and not the function.
4680         * saveplace.el (save-place): Remove redundant info in docstring.
4681         (save-place-forget-unreadable-files, toggle-save-place)
4682         (save-place-forget-unreadable-files, save-place-dired-hook):
4683         Fix typos and remove unneeded backslashes.
4685 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
4687         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
4688         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
4690         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4691         <insert-directory>: Use `tramp-handle-insert-directory'.
4692         (tramp-gvfs-handle-insert-directory): Remove function.
4694         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4695         Call `tramp-handle-insert-directory'.
4697 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
4699         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
4700         before the start of buffer/region (bug#16799).
4702 2014-02-20  Glenn Morris  <rgm@gnu.org>
4704         * isearch.el (search-invisible): Doc fix.
4706 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
4708         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
4709         (bug#16657).
4711 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4713         * frameset.el (frameset-restore): Delay removing an old frame's
4714         duplicate id until the new frame has been correctly created.
4716 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
4718         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
4719         (tramp-check-cached-permissions): Call `file-attributes' if the
4720         cache is empty.
4722         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4723         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4725         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4726         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4727         (tramp-gvfs-maybe-open-connection): Set always connection
4728         properties, even if target is mounted already.
4730         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
4731         Set tramp-autoload cookie.
4732         (tramp-get-remote-touch): New defun.
4733         (tramp-sh-handle-set-file-times): Use it.
4734         (tramp-sh-handle-directory-files-and-attributes):
4735         Use `tramp-handle-directory-files-and-attributes' if neither stat
4736         nor perl are available on the remote host.
4738         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
4739         "/".  Write long listing only when "l" belongs to the switches.
4741         * net/trampver.el: Update release number.
4743 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4745         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
4747 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
4749         * window.el (window-state-put): Allow WINDOW to refer to an
4750         internal window (Bug#16793).
4752 2014-02-19  Glenn Morris  <rgm@gnu.org>
4754         * textmodes/remember.el: Move provide statement to end.
4755         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
4756         (remember-notes): Doc fixes.
4758 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4760         * delsel.el (delete-char): Restore incorrectly erased property
4761         (bug#16795).
4763 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
4765         * frameset.el (frameset--restore-frame): When a frame is being reused
4766         and its root window is not alive, delete all the frame's windows before
4767         restoring the window state.  This works around the issue in bug#16793.
4769 2014-02-18  Glenn Morris  <rgm@gnu.org>
4771         * textmodes/remember.el (remember-data-directory)
4772         (remember-directory-file-name-format, remember-store-in-files)
4773         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
4774         (remember-notes-save-and-bury-buffer)
4775         (remember-notes--kill-buffer-query): Doc fixes.
4777         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
4779 2014-02-17  Alan Mackenzie  <acm@muc.de>
4781         Connect electric-indent-mode up with CC Mode.  Bug #15478.
4782         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
4783         to electric-indent-{,local-}-mode.
4784         (c-basic-common-init): Set electric-indent-inhibit.
4785         Initialise c-electric-flag from electric-indent-mode.
4786         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
4787         New hook functions which propagate electric-indent-mode to CC mode.
4789         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
4790         hit, toggle electric-indent-local-mode.
4792         * electric.el (electric-indent-mode-has-been-called):
4793         New variable.
4795 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
4797         * frameset.el (frameset-cfg-id): New function.
4798         (frameset--reuse-frame, frameset-restore): Use it.
4799         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
4801 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4803         * ido.el (ido-file-internal): Remove unused var `d'.
4804         Use \` for to match BoS.  Fit within 80n columns.
4806 2014-02-17  Daniel Colascione  <dancol@dancol.org>
4808         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
4809         dbus-call-method check for completion using a busy-wait loop with
4810         gradual backoff.
4812 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
4814         Sync with Tramp 2.2.9.
4816         * net/trampver.el: Update release number.
4818 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
4820         * ido.el (ido-file-internal): Don't add the name of an existing
4821         directory twice.  (Bug#16747)
4823 2014-02-16  Glenn Morris  <rgm@gnu.org>
4825         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4826         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
4828 2014-02-15  Michael R. Mauger  <michael@mauger.com>
4830         * progmodes/sql.el: Version 3.4
4831         (sql-oracle-options): New default value ("-L").
4832         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4833         (sql-placeholders-filter): Correct placeholder pattern.
4834         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
4835         (sql-login-delay): New variable.
4836         (sql-product-interactive): Use it.
4838 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
4840         * frameset.el (frameset--jump-to-register): Check that buffer is live
4841         (bug#16749).
4843 2014-02-15  Glenn Morris  <rgm@gnu.org>
4845         * info.el (info-initialize): Revert 2014-01-10 change.
4847 2014-02-14  Glenn Morris  <rgm@gnu.org>
4849         * replace.el (map-query-replace-regexp)
4850         (read-regexp-defaults-function, read-regexp): Doc fixes.
4852         * dired.el (dired-read-regexp):
4853         * faces.el (list-faces-display):
4854         * misearch.el (multi-isearch-read-matching-buffers)
4855         (multi-isearch-read-matching-files):
4856         * play/cookie1.el (cookie-apropos):
4857         * progmodes/grep.el (grep-read-regexp): Doc fixes.
4859         * textmodes/remember.el (remember): Use frameset-to-register
4860         rather than frame-configuration-to-register.
4862 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
4864         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4865         incorrect keybinding.
4867 2014-02-13  Daniel Colascione  <dancol@dancol.org>
4869         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4870         when adding overlays so that line numbers from compiler match line
4871         numbers we use.
4873 2014-02-13  Glenn Morris  <rgm@gnu.org>
4875         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
4877         * jit-lock.el (jit-lock-mode): Doc fix.
4879 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
4881         * apropos.el (apropos-read-pattern): When the user passes an empty
4882         string, give a more helpful error message than "Wrong type
4883         argument: stringp, nil".
4885 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4887         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4889 2014-02-13  Glenn Morris  <rgm@gnu.org>
4891         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4893 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4895         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4896         shift-select commands.
4898 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
4900         * progmodes/js.el (js-indent-line): Don't widen.
4901         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4903 2014-02-12  Glenn Morris  <rgm@gnu.org>
4905         * icomplete.el (icomplete): Add info-link to defgroup.
4906         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4907         (icomplete-minibuffer-map, icomplete-mode)
4908         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4910         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4911         (package-menu-filter): Rename from package-menu-filter-interactive.
4912         Doc fix.
4914 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
4916         * frameset.el (frameset--jump-to-register): Select the required
4917         window and buffer before restoring position (bug#16696).
4919 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
4921         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4923 2014-02-10  Glenn Morris  <rgm@gnu.org>
4925         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
4927 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
4929         * w32-common-fns.el (x-get-selection): Doc fix.
4930         * select.el (x-get-selection): Doc fix.  (Bug#15109)
4932         * face-remap.el (face-remap-add-relative)
4933         (face-remap-remove-relative, face-remap-reset-base)
4934         (face-remap-set-base): Call force-mode-line-update to redisplay
4935         the current buffer due to potential change in faces.  (Bug#16709)
4937 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
4939         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4940         script more robustly.
4942 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4944         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4946         * simple.el (choose-completion): Doc fix (bug#14160).
4948         * subr.el (event-start): Say what a nil EVENT value means.
4950         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4951         (bug#14197).
4953         * progmodes/grep.el (find-program): Doc fix (bug#14289).
4955         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4957         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4959         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4960         predicate function (bug#15455).
4962 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
4964         * ielm.el (inferior-emacs-lisp-mode): Instead of
4965         `comment-use-global-state', set `comment-use-syntax'.
4967 2014-02-10  Glenn Morris  <rgm@gnu.org>
4969         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4971 2014-02-09  Alan Mackenzie  <acm@muc.de>
4973         Fix c-invalidate-state-cache on narrowed buffers.
4974         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4975         Widen when setting and clearing the CPP delimiter properties.
4977 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
4979         * help.el (describe-bindings): Doc fix (bug#9888).
4981         * files.el (save-buffer): Use ARG as the parameter name for
4982         consistency (bug#10346).
4983         (save-buffer): Clarify the 0 argument (bug#10346).
4985         * cus-edit.el (customize-apropos): Fix error string.
4986         (custom-buffer-create): Doc fix (bug#11122).
4987         (custom-sort-items): Doc fix (bug#11121).
4989         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4991         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4992         (icomplete-simple-completing-p): Mention the previous variable.
4994         * font-lock.el (font-lock-value-in-major-mode): Clarify the
4995         meaning of the parameter (bug#12282).
4997         * files.el (find-file-noselect): Clarify prompt when changing
4998         readedness (bug#13261).
4999         (locate-file): Suffixes aren't returned, so don't say that they
5000         are (bug#12674).
5001         (backup-inhibited): Doc clarification (bug#12525).
5003         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5004         before we actually start to delete things (bug#16331).
5006         * subr.el (event-start): Doc fix (bug#14228).
5007         (event-end): Ditto.
5009 2014-02-09  Glenn Morris  <rgm@gnu.org>
5011         * emacs-lisp/warnings.el (lwarn):
5012         Empower help-enable-auto-load.  (Bug#15940)
5014 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5016         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5017         (Bug#16690)
5019 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
5021         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5022         Insert output at end of buffer.  (Bug#16120)
5024 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5026         * simple.el (choose-completion-string-functions): Document new
5027         calling convention (bug#14153).
5028         (execute-extended-command): Clarify doc string (bug#13373).
5030         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5032         * find-dired.el (find-name-dired): Doc fix (bug#14290).
5033         (find-grep-dired): Doc fix (bug#14288).
5035 2014-02-08  Juri Linkov  <juri@jurta.org>
5037         * isearch.el (isearch-quote-char): Check character validity
5038         like in `quoted-insert' (bug#16677).
5040 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5042         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5044         * isearch.el (isearch-hide-immediately): Doc clarification
5045         (bug#14723).
5047         * simple.el (line-move): Document utility function used many
5048         places in the Emacs sources (bug#14843).
5050         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5051         (dired-prev-marked-file): Doc fix (bug#14855).
5052         (dired-up-directory): Doc fix (bug#14848).
5054         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5056         * files.el (file-relative-name): Doc fix (bug#15159).
5058         * fringe.el (fringe-styles): Doc fix (bug#15239).
5060         * isearch.el (isearch-filter-predicate): Documentation typo fix
5061         (bug#15474).
5063         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5065         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5067         * replace.el (replace-match-maybe-edit): Doc clarification
5068         (bug#15632).
5070         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5072         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5074 2014-02-08  Glenn Morris  <rgm@gnu.org>
5076         * help-fns.el (describe-variable):
5077         Check {file,dir}-local-variables-alist, and buffer-file-name,
5078         in the correct buffer.
5080 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
5082         * help-fns.el (describe-variable): Fix the case where
5083         a value is directory-local with no dir-locals file.  (Bug#16635)
5085 2014-02-08  Glenn Morris  <rgm@gnu.org>
5087         * abbrev.el (edit-abbrevs-mode):
5088         Derive from fundamental-mode.  (Bug#16682)
5090 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
5092         * simple.el (quoted-insert): Check character validity (bug#16677).
5094 2014-02-07  Juri Linkov  <juri@jurta.org>
5096         * desktop.el (desktop-read): Claim the lock when the owner is not
5097         the current process.  (Bug#16157)
5099 2014-02-07  Juri Linkov  <juri@jurta.org>
5101         * desktop.el (desktop-buffers-not-to-save): Change default from nil
5102         to "\\` ".  (Bug#16651)
5104 2014-02-07  Juri Linkov  <juri@jurta.org>
5106         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5107         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5108         (desktop-auto-save-cancel-timer): New function with some code from
5109         `desktop-auto-save-set-timer'.
5110         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5111         Instead of setting `desktop-save-mode' to nil, call
5112         `desktop-save-mode' with arg 0.  (Bug#16630)
5114 2014-02-07  Glenn Morris  <rgm@gnu.org>
5116         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5117         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5118         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5120         * obsolete/iswitchb.el: Move to obsolete/.
5121         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5122         since obsolete/ is not scanned for autoloads.
5123         * emacs-lisp/authors.el (authors-valid-file-names):
5124         Add iswitchb.el.
5126         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5127         Disable now non-functional find-file-hook.
5129 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
5131         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5132         instead of ";" in order to avoid additional prompts.  Let heredoc
5133         scripts read from tty.  (Bug#16582)
5134         (tramp-send-command): No special handling of heredocs, it isn't
5135         necessary anymore.
5137 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5139         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5140         with a space (bug#16664).  Limit the symbols considered to the ones
5141         that are bound or fbound (bug#16646).
5143 2014-02-06  Glenn Morris  <rgm@gnu.org>
5145         * epa.el (epa-mail-aliases): Doc fix.
5147 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
5149         * emacs-lisp/lisp.el (lisp-completion-at-point):
5150         Use `completion-table-merge' instead of `completion-table-in-turn'
5151         (bug#16604).
5153         * minibuffer.el (completion-table-merge): New function.
5155 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
5157         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5158         (tramp-sh-handle-set-file-acl)
5159         (tramp-sh-handle-start-file-process)
5160         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5161         (tramp-find-executable, tramp-send-command): Use it.
5163 2014-02-05  Glenn Morris  <rgm@gnu.org>
5165         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
5167 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5169         * progmodes/python.el (python-shell-send-string)
5170         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5172 2014-02-04  Anders Lindgren  <andlind@gmail.com>
5174         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5175         the names (bug#16620).
5177 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
5179         * faces.el (window-divider): New default value.  Rewrite doc-string.
5180         (window-divider-first-pixel, window-divider-last-pixel): New faces.
5182 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
5184         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5185         `protected' and `public' can also be called without arguments.
5187 2014-02-03  Glenn Morris  <rgm@gnu.org>
5189         * register.el (window-configuration-to-register)
5190         (frame-configuration-to-register): Unadvertise unused argument.
5191         * frameset.el (frameset-to-register): Remove unused argument.
5193         * frameset.el (frameset-to-register):
5194         * kmacro.el (kmacro-to-register):
5195         * register.el (increment-register):
5196         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5197         (calc-append-to-register, calc-prepend-to-register):
5198         * play/gametree.el (gametree-layout-to-register)
5199         (gametree-apply-register-layout):
5200         * textmodes/picture.el (picture-clear-rectangle-to-register)
5201         (picture-yank-rectangle-from-register):
5202         * vc/emerge.el (emerge-combine-versions-register):
5203         Use register-read-with-preview to read registers.
5205 2014-02-03  João Távora  <joaotavora@gmail.com>
5207         * elec-pair.el (electric-pair-backward-delete-char): Don't error
5208         when at beginning of (possibly narrowed) buffer.
5210 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5212         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5213         Also try to display local help from just before point.
5215 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
5217         c-parse-state.  Don't "append-lower-brace-pair" in certain
5218         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
5219         recognised as a comment.
5221         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5222         as well as normal comment starter.
5223         (c-parse-state-get-strategy): Extra return possibility
5224         'back-and-forward.
5225         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5226         return value list to indicate replacement of a brace-pair cons
5227         with its car.
5228         (c-parse-state-1): With 'back-and-forward, only call
5229         c-append-lower-brace-pair-to state-cache when cons-separated.
5231 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
5233         * term/ns-win.el (ns-suspend-error): New function.
5234         (ns-initialize-window-system): Add ns-suspend-error to
5235         suspend-hook (Bug#16612).
5237 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5239         * progmodes/cc-defs.el (c-find-assignment-for-mode):
5240         Make loading cc-mode silent.
5242 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5244         * comint.el (comint-prompt-read-only): Change doc to suggest
5245         remap keybinding.
5247 2014-02-02  Glenn Morris  <rgm@gnu.org>
5249         * register.el (register-read-with-preview, point-to-register)
5250         (window-configuration-to-register, frame-configuration-to-register)
5251         (jump-to-register, number-to-register, view-register, insert-register)
5252         (copy-to-register, append-to-register, prepend-to-register)
5253         (copy-rectangle-to-register): Doc fixes.
5255 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5257         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5258         * emacs-lisp/find-func.el (find-function-C-source): Idem.
5259         * emacs-lisp/nadvice.el (advice--cd*r): New function.
5260         * help-fns.el (describe-function-1): Use it.
5262 2014-02-02  Glenn Morris  <rgm@gnu.org>
5264         * register.el (register-preview-default): New function,
5265         split from register-preview.
5266         (register-preview-function): Rename from register-preview-functions,
5267         make it not a hook.
5268         (register-preview): Use register-preview-function.
5269         (register-read-with-preview): Error on non-character event.  (Bug#16595)
5271 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
5273         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5274         `:' before binary operators (bug#16609).  Don't check for `:'
5275         before `[' and `(', or their syntax status.  A percent literal
5276         can't end with either.
5277         (ruby-font-lock-keywords): For built-ins that require arguments,
5278         check that they're followed by something that looks like argument
5279         (bug#16610).
5281 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
5283         * subr.el (butlast): Document what an omitted N means (bug#13437).
5284         (nbutlast): Ditto.
5286 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
5288         * net/shr.el (shr-generic): Make into a defsubst to make the stack
5289         depth shallower (bug#16587).
5290         (shr-tag-svg): Respect `shr-inhibit-images'.
5291         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5293 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
5295         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5296         (ruby-smie-grammar): Make "." right-associative.  Make its priority
5297         lower than the ternary and all binary operators.
5298         (ruby-smie-rules): Indent "(" relative to the first non-"."
5299         parent, or the first "." parent at indentation.
5300         Use `ruby-align-chained-calls' for indentation of "." tokens.
5301         (Bug#16593)
5303 2014-01-31  Juri Linkov  <juri@jurta.org>
5305         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5306         from `make-hash-table'.
5308         * textmodes/ispell.el (ispell-init-process): Change message format
5309         to be consistent with other messages.
5311 2014-01-31  Glenn Morris  <rgm@gnu.org>
5313         * delsel.el (delete-selection-mode): Doc fix.
5315         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5316         (trace-function-background): Doc fixes.
5318         * ido.el (ido-use-virtual-buffers): Doc fix.
5319         Reset :version, since the default value has not changed.
5321         * register.el (register-preview-delay, register-read-with-preview):
5322         Doc fixes.
5324         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5325         do not mess with mail-buffer position (fixes 2009-11-03 change).
5326         * progmodes/cc-mode.el (c-submit-bug-report):
5327         Check auto-fill-mode is bound.  (Bug#16592)
5329 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
5331         * startup.el (fancy-splash-image-file): New function,
5332         split from fancy-splash-head.
5333         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5334         so that we are both using the same image.  (Bug#16574)
5336 2014-01-30  Glenn Morris  <rgm@gnu.org>
5338         * simple.el (eval-expression): Doc fix.
5340         * hexl.el (hexl-mode-hook):
5341         * ielm.el (ielm-mode-hook):
5342         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5343         (lisp-interaction-mode-hook):
5344         * progmodes/cfengine.el (cfengine3-documentation-function):
5345         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5347 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5349         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5350         is a symbol (bug#16584).
5352 2014-01-30  Glenn Morris  <rgm@gnu.org>
5354         * help.el (help-for-help-internal): Add "P" to text.
5356 2014-01-29  Glenn Morris  <rgm@gnu.org>
5358         * simple.el (just-one-space, cycle-spacing): Doc fixes.
5360 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
5362         * window.el (fit-frame-to-buffer): Fix calculations for margins and
5363         height constraints.
5365 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
5367         * progmodes/hideif.el: Extend to full CPP expression syntax.
5368         (hif-token-alist): Add missing tokens.
5369         (hif-token-regexp): Add support for float/octal/hex immediates.
5370         (hif-string-literal-regexp): New const.
5371         (hif-tokenize): Recognize strings and float/octal/hex immediates.
5372         (hif-exprlist): New function.
5373         (hif-parse-if-exp): Use it.
5374         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5375         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5376         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5377         (hif-logxor, hif-comma): New functions.
5379 2014-01-28  Glenn Morris  <rgm@gnu.org>
5381         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5383         * indent.el (tab-stop-list): Doc fix.  Add :version.
5385         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5386         (cvs-append-to-ignore): Add compatibility alias.
5388 2014-01-27  Glenn Morris  <rgm@gnu.org>
5390         * dired.el (dired-hide-details-mode): Don't autoload it,
5391         since it cannot be used outside Dired buffers anyway.
5393         * emulation/cua-base.el (cua-mode): Doc fix.
5395         * dired.el (dired-hide-details-hide-symlink-targets)
5396         (dired-hide-details-hide-information-lines)
5397         (dired-hide-details-mode): Doc fixes.
5399         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5400         * strokes.el (strokes-file): Doc fix.  Bump :version.
5401         (strokes-help): Doc fix.
5402         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5403         * emulation/viper.el (viper): Doc fix for custom group.
5404         (top-level): Remove oh-so-no-longer-relevant text about vip.
5405         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5407         * ido.el (ido-save-directory-list-file):
5408         * saveplace.el (save-place-file):
5409         * calendar/timeclock.el (timeclock-file):
5410         * net/quickurl.el (quickurl-url-file):
5411         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5412         * progmodes/idlwave.el (idlwave-config-directory):
5413         * textmodes/remember.el (remember-data-file):
5414         Bump :version.
5416 2014-01-26  Glenn Morris  <rgm@gnu.org>
5418         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5419         Doc fix.  Make obsolete.
5420         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5422         * sort.el (delete-duplicate-lines): Doc fix.
5424 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5426         * progmodes/ada-mode.el (ada):
5427         * woman.el (woman): Link to info manual and Commentary section.
5429         * progmodes/flymake.el (flymake):
5430         * nxml/nxml-mode.el (nxml):
5431         * net/eww.el (eww):
5432         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5433         * htmlfontify.el (htmlfontify):
5434         * ses.el (ses):
5435         * epa.el (epa):
5436         * ido.el (ido): Link to info manual.
5438 2014-01-25  Leo Liu  <sdl.web@gmail.com>
5440         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5442 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
5444         * net/shr.el (shr-tag-img): Prefer the title over the alt text
5445         (bug#16537).
5447 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
5449         * net/eww.el (eww-download-callback):
5450         Fix reference to eww-download-directory.
5452         * emacs-lisp/bytecomp.el (byte-compile-file):
5453         Remove unused local variable `file-name'.
5455 2014-01-24  Glenn Morris  <rgm@gnu.org>
5457         * woman.el (woman-default-faces, woman-monochrome-faces):
5458         Fix obsolescence specification.
5460         * subr.el (with-demoted-errors): Doc fix.
5462 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5464         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5465         (cl--macroexp-fboundp): New function.
5466         (cl--make-type-test): Use it.
5468 2014-01-23  Glenn Morris  <rgm@gnu.org>
5470         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5471         * simple.el (eval-expression): Doc fixes.
5473 2014-01-22  Glenn Morris  <rgm@gnu.org>
5475         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
5477 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5479         * emacs-lisp/package.el: Write files silently.
5480         (package-autoload-ensure-default-file, package--write-file-no-coding)
5481         (package-generate-description-file, package--download-one-archive)
5482         (package-install-from-archive): Tell `write-region' to stay quiet.
5483         (package-menu-mode, package-menu--print-info): Omit the Archive column
5484         if there's only one archive.
5485         (package-all-keywords, package--has-keyword-p): Remove dead code.
5487 2014-01-22  Glenn Morris  <rgm@gnu.org>
5489         * version.el (emacs-bzr-version-bzr): Fix typo.
5491         * version.el (emacs-repository-get-version):
5492         Check either .bzr or .git, but not both.
5493         Make the git case actually use the DIR argument, and return nil
5494         rather than the empty string.
5495         Avoid error if .git exists but the git executable is not found.
5497 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
5499         Fixes in window size functions around Bug#16430 and Bug#16470.
5500         * window.el (window-total-size, window-size): New argument ROUND.
5501         (window--min-delta-1, window-min-delta, window--max-delta-1):
5502         Be more conservative when calculating the numbers of lines or
5503         columns a window can shrink (Bug#16430).
5504         (fit-window-to-buffer): Simplify code.
5505         * term.el (term-window-width): Call window-body-width again.
5507 2014-01-22  Glenn Morris  <rgm@gnu.org>
5509         * image.el (image-format-suffixes): Doc fix.
5511         * international/quail.el (quail-define-package): Doc fix.
5513         * emacs-lisp/authors.el (authors-valid-file-names)
5514         (authors-renamed-files-alist): Additions.
5516         * vc/vc-git.el (vc-git-print-log): Remove --follow;
5517         reverts 2014-01-09 change.  (Bug#16422)
5519         * calc/calc-embed.el (thing-at-point-looking-at):
5520         * emacs-lisp/map-ynp.el (x-popup-dialog):
5521         * obsolete/lmenu.el (x-popup-dialog):
5522         * emacs-lisp/package.el (url-recreate-url):
5523         * mail/mailclient.el (clipboard-kill-ring-save):
5524         * subr.el (x-popup-dialog): Update declaration.
5525         * mail/rmail.el (rmail-mime-message-p):
5526         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
5528 2014-01-21  Daniel Colascione  <dancol@dancol.org>
5530         * progmodes/sh-script.el (sh--inside-noncommand-expression):
5531         Correctly detect when we're inside an arithmetic expansion form
5532         containing nested parenthesis.
5533         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
5534         to detect cases where we shouldn't expand "<<" to a heredoc
5535         skeleton.
5537 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5539         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
5540         (eldoc--message-command-p): New function.
5541         (eldoc-display-message-p): Use it.
5542         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
5543         message is not automatically erased for us.
5544         (eldoc-print-current-symbol-info): Erase previous message, if any.
5546 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
5548         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
5549         specify it's an interactive function.
5551         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
5552         Fix regex used for scanning for citation keys which failed for
5553         citations with optional arguments.
5555 2014-01-21  Leo Liu  <sdl.web@gmail.com>
5557         * simple.el (read--expression): Don't enable eldoc-mode.
5559 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5561         * simple.el (move-beginning-of-line): Make sure we don't move forward
5562         (bug#16497).
5564 2014-01-20  Juri Linkov  <juri@jurta.org>
5566         * saveplace.el (toggle-save-place, save-place-to-alist)
5567         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5568         'dired-mode) before checking for dired-directory.  (Bug#16477)
5570 2014-01-20  Juri Linkov  <juri@jurta.org>
5572         * indent.el (indent-line-to): Use backward-to-indentation
5573         instead of back-to-indentation.  (Bug#16461)
5575 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
5577         Revert some of the CANNOT_DUMP fix (Bug#16494).
5578         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5579         but fixing this can wait until after the next release.
5580         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5582 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
5584         * eshell/esh-mode.el (eshell-password-prompt-regexp):
5585         Use `password-word-equivalents'.
5586         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5587         to t.  (Bug#5664, Bug#13124)
5589 2014-01-19  Alan Mackenzie  <acm@muc.de>
5591         Bind open-paren-in-column-0-is-defun-start to nil at some entry
5592         points.
5593         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5594         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5595         * progmodes/cc-mode.el (c-before-change, c-after-change)
5596         (c-font-lock-fontify-region): Bind it here.
5598 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
5600         * term.el (term-window-width): Call window-text-width instead of
5601         window-width (Bug#16470).
5603 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
5605         * simple.el (password-word-equivalents): Remove duplicates.
5606         Sort, to make this easier next time.
5607         Downcase.  Omit ": " after "jelszó".
5609 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
5611         * term/common-win.el (saved-region-selection): Defvar it.
5612         (x-select-text): Set saved-region-selection (Bug#16382).
5614 2014-01-18  Glenn Morris  <rgm@gnu.org>
5616         * emacs-lisp/authors.el (authors-aliases)
5617         (authors-renamed-files-alist): Add some entries.
5619 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
5621         * net/tramp.el (tramp-password-prompt-regexp):
5622         Use `password-word-equivalents' if available.
5623         (tramp-action-password, tramp-process-one-action)
5624         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
5626 2014-01-17  Chong Yidong  <cyd@gnu.org>
5628         * simple.el (password-word-equivalents): New defcustom.
5629         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
5630         to 24.4.
5631         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
5632         to t.  (Bug#13124)
5634 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
5636         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
5637         (ruby-align-to-stmt-keywords): Change the default value.
5638         Use `ruby-alignable-keywords' to generate the possible customization
5639         choices.
5640         (ruby-smie-rules): Instead of using a hardcoded list of alignable
5641         keywords, check against the value of `ruby-alignable-keywords'
5642         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
5644 2014-01-17  Glenn Morris  <rgm@gnu.org>
5646         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
5648         Make M-x authors return zero *Authors Errors* from current logs.
5649         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
5650         (authors-ignored-files): Add some entries, remove others.
5651         (authors-ambiguous-files, authors-valid-file-names):
5652         Add some entries.
5653         (authors-renamed-files-alist): Add, remove, and adjust entries.
5654         (authors-renamed-files-regexps): Add some entries.
5655         Remove some very broad ones.  Make some entries `lax'.
5656         (authors-lax-changelogs): New constant.
5657         (authors-disambiguate-file-name): Treat top-level specially.
5658         (authors-lax-changelog-p): New function.
5659         (authors-canonical-file-name): Check file as written against
5660         authors-valid-file-names.  Do not special-case etc/.
5661         Handle `lax' logs and authors-renamed-files-regexps elements.
5663 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
5665         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
5666         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
5667         callers.
5669 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5671         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
5672         Assume we're already in the proper buffer.
5673         Inspired by Anders Lindgren <andlind@gmail.com>.
5674         (follow-post-command-hook): Call it from the right buffer.
5675         (follow-comint-scroll-to-bottom): Adjust call.
5676         (follow-all-followers): Use get-buffer-window-list.
5678 2014-01-15  Daniel Colascione  <dancol@dancol.org>
5680         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
5681         `buffer-file-name' in interactive-form so that we don't leave
5682         pathless file names in `file-name-history'.
5684 2014-01-15  Juri Linkov  <juri@jurta.org>
5686         * indent.el (indent-rigidly): Set deactivate-mark to nil
5687         in transient indentation mode.  (Bug#16438)
5689 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
5691         * emacs-lisp/package.el (package-desc-keywords): New function
5692         (Bug#16222).
5693         (describe-package-1, package-all-keywords)
5694         (package--has-keyword-p): Use it.
5696 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5698         * simple.el (define-alternatives): When creating the
5699         COMMAND-alternatives variable, assign COMMAND as its definition
5700         name so that `describe-variable' can relocate it.
5702 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
5704         * font-lock.el (font-lock-keywords): Fix typo in docstring
5705         (bug#16307).
5707 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5709         * ispell.el (ispell-region): Reset `in-comment' for new line
5710         instead of wrongly reset `add-coment' (bug#13577).
5712 2014-01-14  Daiki Ueno  <ueno@gnu.org>
5714         * epa-file.el (epa-file-write-region): Encode the region according
5715         to `buffer-file-format'.  Problem reported at:
5716         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
5718 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5720         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
5721         so it applies in the right buffer (bug#16410).
5723 2014-01-13  Daniel Colascione  <dancol@dancol.org>
5725         * textmodes/rst.el (rst-define-key): Provide deprecated
5726         keybindings through named functions instead of anonymous ones so
5727         that "??" doesn't appear in describe-mode output.
5729 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5731         * simple.el (define-alternatives): Call the selected command
5732         interactively.  When setting `COMMAND--implementation' for the
5733         first time, tell the user how to chose another implementation.
5734         Enhance the docstring.
5736 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5738         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
5739         (log-edit--match-first-line): New function.
5740         (log-edit-font-lock-keywords): Use it.
5741         (log-edit-mode): Make jit-lock-defer-multiline work.
5743 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5745         * rect.el (rectangle-mark-mode): When the region is not active,
5746         display a message saying that the mark as been set and that
5747         rectangle mode is in use.
5748         (rectangle--highlight-for-redisplay): Only put an overlay with a
5749         visible vertical bar when (display-graphic-p) is non-nil.
5750         This partially fixes Bug#16403.
5752 2014-01-13  Juri Linkov  <juri@jurta.org>
5754         * info.el (Info-find-file): Go to DIR before displaying the error
5755         about a nonexistent file if no previous Info file is visited.
5756         Use `user-error' instead of `error' for "Info file %s does not exist".
5757         (Info-find-node-2): In case of a nonexistent node in unwind forms
5758         go to the Top node if there is no previous node to revert to.
5759         (Bug#16405)
5761 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
5763         fit-frame/window-to-buffer code fixes including one for Bug#14096.
5764         * window.el (fit-frame-to-buffer): Fix doc-string.
5765         Respect window-min-height/-width.  Fit pixelwise when
5766         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
5767         when avoiding that frame goes partially off-screen.
5768         (fit-window-to-buffer): Respect window-min-height/-width
5769         (Bug#14096).
5771 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5773         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
5774         after an empty line.
5776 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5778         * net/shr.el (shr-render-region): Autoload.
5780 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
5782         * net/eww.el (eww-download-directory): Rename from
5783         `eww-download-path' (Bug#16419).
5785 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5787         * dired-x.el (dired-mode-map): Fix last change.
5789         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
5791 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
5793         Spelling fixes.
5794         * emacs-lisp/generic.el (generic--normalize-comments):
5795         Rename from generic--normalise-comments.  All uses changed.
5796         * play/bubbles.el (bubbles--neighborhood-score)
5797         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
5798         (bubbles--neighborhood-available)
5799         (bubbles--update-neighborhood-score):
5800         Rename from names with 'neighbourhood'.  All uses changed.
5802 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5804         Re-implement the feature of showing eldoc info after editing.
5805         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
5806         (eldoc-edit-message-commands): New function.
5807         (eldoc-print-after-edit): New variable.
5808         (eldoc-pre-command-refresh-echo-area): Emit message only by
5809         eldoc-message-commands.
5810         (eldoc-mode): Restrict eldoc-message-commands to editing commands
5811         if eldoc-print-after-edit is set.  (Bug#16346)
5812         * simple.el (read--expression): Enable eldoc-mode.
5813         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
5815 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
5816             Eric S. Raymond  <esr@thyrsus.com>
5818         * version.el (emacs-repository-get-version): Enhance so the
5819         function works correctly in either a Bazaar or Git repo.
5821 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
5823         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
5824         Goes with removal of the joke manpages from /etc.
5826 2014-01-10  Kenichi Handa  <handa@gnu.org>
5828         * mail/rmail.el (rmail-get-coding-system):
5829         Check rmail-get-coding-function before "funcall"ing it.
5831 2014-01-10  Glenn Morris  <rgm@gnu.org>
5833         * emacs-lisp/authors.el (authors-fixed-entries):
5834         Update for files that no longer exist.
5836 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
5838         * version.el (emacs-bzr-get-version): Restore compatibilty with
5839         24.3 (Tested).
5841 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
5843         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5844         and Podfile.
5846 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
5848         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5850 2014-01-10  Chong Yidong  <cyd@gnu.org>
5852         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5854 2014-01-10  Anders Lindgren  <andlind@gmail.com>
5856         * follow.el (follow-cache-command-list): Include right-char and
5857         left-char.
5859 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5861         Spelling fixes.
5862         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5863         * woman.el (woman-mark-horizontal-position):
5864         Rename from woman-mark-horizonal-position.  Use changed.
5866 2014-01-10  Glenn Morris  <rgm@gnu.org>
5868         * info.el (info-initialize): If running uninstalled, ensure our
5869         own info files are always found first, even if INFOPATH is set.
5871         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5873 2014-01-09  David Engster  <deng@randomsample.de>
5875         * emacs-lisp/eieio-custom.el:
5876         * emacs-lisp/eieio-opt.el: Set generated autoload file to
5877         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5878         * emacs-lisp/eieio.el: Regenerate autoloads.
5880 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
5882         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5883         following renames.  (Bug#8756)
5885 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5887         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5888         (bug#16382).
5889         (activate-mark): Add `no-tmm' argument.
5890         (set-mark, push-mark-command): Use it instead of running
5891         activate-mark-hook by hand.
5893 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
5895         In preparation for the move to git, sanitize out some
5896         Bazaar-specific names.
5898         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5900         * version.el (emacs-bzr-version): Name changed to
5901         emacs-repository-version.  Obsolete-variable alias made.
5902         * loadup.el: Follow through on this name change.
5903         * mail/emacsbug.el (report-emacs-bug): Factor out any
5904         assumption about the version control system in use.
5906 2014-01-08  David Engster  <deng@randomsample.de>
5908         * help-fns.el (help-fns-describe-function-functions):
5909         New variable to call functions for augmenting help buffers.
5910         (describe-function-1): Remove explicit calls to
5911         `help-fns--compiler-macro', `help-fns--parent-mode' and
5912         `help-fns--obsolete'.  Put them in above new variable instead, and
5913         call them through `run-hook-with-args'.
5914         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5915         `eieio-describe-class'.  Not meant for interactive use anymore,
5916         but to augment existing help buffers.  Remove optional second
5917         argument.  Create proper button for file location.
5918         Rewrite function to use `insert' instead of `princ' and `prin1' where
5919         possible.
5920         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5921         (eieio-method-def, eieio-class-def): Move further up.
5922         (describe-method, describe-generic, eieio-describe-method):
5923         Remove aliases.
5924         (eieio-help-constructor, eieio-help-generic): Rename from
5925         `eieio-describe-constructor' and `eieio-describe-generic', resp.
5926         Rewrite to use `insert' in the current buffer and use proper help
5927         buttons.
5928         (eieio-help-find-method-definition)
5929         (eieio-help-find-class-definition): Also accept symbols as
5930         arguments.
5931         (eieio-help-mode-augmentation-maybee): Remove.
5932         (eieio-describe-class-sb): Use `describe-function'.
5933         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5934         Add `eieio-help-generic' and `eieio-help-constructor'.
5936 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
5938         Spelling fixes.
5939         * language/china-util.el (hz-ascii-designation):
5940         Rename from hz-ascii-designnation.
5941         (hz-ascii-designation): Rename from hz-ascii-designnation.
5942         All uses changed.
5944 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5946         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5947         package-alist.
5949 2014-01-08  Bastien Guerry  <bzg@gnu.org>
5951         * emacs-lisp/package.el (package-delete):
5952         Correctly delete the package from package-alist.
5954 2014-01-08  Daiki Ueno  <ueno@gnu.org>
5956         * emacs-lisp/package.el (url-recreate-url): Declare.
5957         (url-http-target-url): Declare.
5958         (package-handle-response): Include requested URL in the error message.
5959         (package--check-signature): Don't re-signal errors from
5960         package--with-work-buffer.  Suggested by Stefan Monnier.
5962 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5964         * minibuffer.el (completion--try-word-completion): When both a
5965         hyphen and a space are possible candidates for the character
5966         following a word, display both candidates.  (Bug#15980)
5968 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
5970         * window.el (balance-windows-2): While rounding don't give a
5971         window more than the remainder.  Bug#16351, bug#16383.
5973 2014-01-07  Glenn Morris  <rgm@gnu.org>
5975         * menu-bar.el (menu-bar-help-extra-packages): Remove.
5976         (menu-bar-help-menu): Use view-external-packages instead.
5978 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5980         * emacs-lisp/package.el (package-delete): Also delete the package
5981         name from `package-alist', not its description only.
5983 2014-01-07  Glenn Morris  <rgm@gnu.org>
5985         * help.el (view-external-packages):
5986         * menu-bar.el (menu-bar-help-extra-packages):
5987         Visit efaq.info rather than etc/MORE.STUFF.
5989 2014-01-07  Juri Linkov  <juri@jurta.org>
5991         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5992         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
5994         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5995         that shadows RET.  (Bug#16342)
5997 2014-01-07  Chong Yidong  <cyd@gnu.org>
5999         * isearch.el (isearch-yank-char, isearch-yank-word)
6000         (isearch-yank-line): Doc fix.
6002 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6004         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6005         * emacs-lisp/elint.el (elint-find-builtins):
6006         * emacs-lisp/eldoc.el (eldoc-symbol-function):
6007         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6008         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6009         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6010         * apropos.el (apropos-safe-documentation):
6011         * subr.el (symbol-file): Remove redundant fboundp.
6012         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6014 2014-01-06  Bastien Guerry  <bzg@gnu.org>
6016         * hl-line.el (global-hl-line-overlay): Make a local variable.
6017         (global-hl-line-overlays): New variable to store all overlays.
6018         (global-hl-line-mode): Don't delete overlays from the current
6019         buffer when `global-hl-line-sticky-flag' is non-nil.
6020         (global-hl-line-highlight): Add new overlays to
6021         `global-hl-line-overlays'.
6022         (global-hl-line-unhighlight-all): New function to delete all
6023         overlays when turning off `global-hl-line-mode'.
6024         This fixes Bug#16183.
6026 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6028         * subr.el (set-transient-map): Fix nested case and docstring.
6030 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
6032         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6033         `Texinfo' entry.
6035 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6037         Fix defun navigation in vc log view.
6039         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6040         like `beginning-of-defun'.
6041         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6042         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
6043         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6044         (log-view-extract-comment): Call `log-view-current-entry' directly
6045         instead of relying on broken `log-view-beginning-of-defun' behavior.
6047 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
6049         Spelling fixes.
6050         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6051         * emacs-lisp/debug.el (cancel-debug-on-entry):
6052         * epg.el (epg-error-to-string):
6053         * files.el (recover-file):
6054         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6055         * mail/emacsbug.el (report-emacs-bug-hook):
6056         * mail/sendmail.el (mail-recover):
6057         * ses.el (ses-yank-resize):
6058         * term/ns-win.el (ns-print-buffer):
6059         Spelling fixes in diagnostics, mostly for "canceled" with one L.
6060         * epg.el (epg-key-capability-alist): Rename from misspelled version.
6061         All uses changed.
6062         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6064 2014-01-06  Leo Liu  <sdl.web@gmail.com>
6066         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6067         to avoid shadowing global key.  (Bug#16354)
6069 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6071         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6072         rst-mode.
6074 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
6076         * window.el (balance-windows): Add mising t to fix Bug#16351.
6078 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6080         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6081         (bug#16285).
6082         (shr-insert): If we have a word that's longer than `shr-width',
6083         break after it anyway.  Otherwise we'll do no breaking once we get
6084         such a long word.
6086 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6088         * net/eww.el (eww): Support single/double quote for search.
6089         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6090         (eww-history-quit): Delete and use quit-window.
6091         (eww-history-kill): Delete, because it doesn't work well and
6092         not necessary.
6093         (eww-history-mode-map): Delete some keys and add easy-menu.
6095 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6097         Fix misspelling of 'chinese' in rx (Bug#16237).
6098         * emacs-lisp/rx.el (rx-categories): Correct spelling of
6099         chinese-two-byte.
6101         Change subword regexps back to vars (Bug#16296).
6102         * progmodes/subword.el (subword-forward-regexp)
6103         (subword-backward-regexp): Change these back to variables.
6105 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6107         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6108         syntax-begin-function (bug#16247).
6110 2014-01-03  Chong Yidong  <cyd@gnu.org>
6112         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6113         (advice--docstring): Delete variable.
6114         (advice--make-1): Leave the docstring empty.
6115         (advice-add): Use function-documentation for advised docstring.
6117         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6118         Ignore function-documentation property when getting documentation.
6119         (ad-activate-advised-definition): Use function-documentation
6120         generate the docstring.
6121         (ad-make-advised-definition): Don't call
6122         ad-make-advised-definition-docstring.
6123         (ad-make-advised-definition-docstring, ad-advised-definition-p):
6124         Delete functions.
6126         * progmodes/sql.el (sql-help): Use function-documentation instead
6127         of dynamic-docstring-function property.  No need to autoload now.
6128         (sql--help-docstring): New variable.
6129         (sql--make-help-docstring): Use it.
6131 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6133         * ielm.el (ielm-tab): Retarget.
6134         (ielm-map): Use ielm-tab for tab.
6135         (ielm-complete-filename): Use comint-filename-completion.
6136         (ielm-complete-symbol): Remove.
6137         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6138         remove ielm-tab from completion-at-point-functions (bug#16224).
6140         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6141         Beware signals raised by predicates (bug#16201).
6143 2014-01-02  Richard Stallman  <rms@gnu.org>
6145         * dired-aux.el (dired-do-print): Handle printer-name.
6147         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6148         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6149         (rmail-epa-decrypt): Turn off mime processing.
6151         * mail/rmail.el (rmail-make-in-reply-to-field):
6152         Add parens in message-id.
6154         * mail/rmail.el (rmail-get-coding-function): Variable.
6155         (rmail-get-coding-system): Use it.
6157 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
6159         * international/mule-conf.el: Unify the charset indian-is13194.
6160         (indian-is13194): Specify unify-map.
6162 2013-12-31  Leo Liu  <sdl.web@gmail.com>
6164         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
6166 2013-12-30  Daniel Colascione  <dancol@dancol.org>
6168         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6169         of printing a useless when we resume from sleep.
6171         * progmodes/sh-script.el
6172         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6173         in indentation code.  (Bug#16233)
6175 2013-12-28  João Távora  <joaotavora@gmail.com>
6177         * elec-pair.el (electric-pair-post-self-insert-function):
6178         Don't open extra newlines at beginning of buffer.  (Bug#16272)
6180 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
6182         * frame.el (window-system-for-display): Don't allow to create a
6183         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
6185 2013-12-28  Glenn Morris  <rgm@gnu.org>
6187         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6188         Update callers.
6190         * apropos.el (apropos-match-face):
6191         * calculator.el (calculator-displayer):
6192         * dabbrev.el (dabbrev-search-these-buffers-only):
6193         * face-remap.el (buffer-face-mode-face):
6194         * simple.el (yank-handled-properties):
6195         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6196         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6197         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6198         (hashcash-double-spend-database):
6199         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6200         (ruby-deep-indent-paren-style):
6201         * textmodes/flyspell.el (flyspell-auto-correct-binding):
6202         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6203         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6204         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6205         Specify custom types.
6207         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6208         * bookmark.el (bookmark-bmenu-use-header-line):
6209         * doc-view.el (doc-view-scale-internally):
6210         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6211         * register.el (register-preview-delay):
6212         * net/shr.el (shr-bullet):
6213         * progmodes/cfengine.el (cfengine-cf-promises)
6214         (cfengine-parameters-indent):
6215         * progmodes/octave.el (inferior-octave-error-regexp-alist):
6216         * textmodes/reftex-vars.el (reftex-label-regexps):
6217         * vc/log-edit.el (log-edit-setup-add-author): Add version.
6219         * net/tls.el (tls-certtool-program): Fix default value.
6221         * desktop.el (desktop-restore-in-current-display):
6222         * newcomment.el (comment-empty-lines):
6223         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6224         (idlwave-pad-keyword):
6225         * progmodes/tcl.el (tcl-tab-always-indent):
6226         * textmodes/reftex-vars.el (reftex-index-default-tag):
6227         * elec-pair.el (electric-pair-skip-whitespace):
6228         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6230         * emacs-lisp/authors.el (authors-ignored-files)
6231         (authors-valid-file-names, authors-renamed-files-alist): Additions.
6233 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
6235         * shell.el (shell-dynamic-complete-command): Doc fix.
6236         (shell--command-completion-data): Shell completion now matches
6237         executable filenames from the current buffer's directory, on
6238         systems in which this behavior is the default (windows-nt, ms-dos).
6240 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6242         * net/shr.el (shr-insert): Don't infloop if the width is zero.
6244 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6246         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6247         (bug#16251).
6249         * electric.el: Move all electric-pair-* to elec-pair.el.
6250         * elec-pair.el: New file, split from electric.el.
6252 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6254         * net/shr.el (shr-find-fill-point): Don't try to fill if the
6255         indentation level is larger than the width, because that will
6256         infloop.
6257         (shr-insert): Fill repeatedly long texts, so that Japanese is
6258         formatted correctly (bug#16263).
6259         (shr-find-fill-point): Off by one error in comparison with the
6260         indentation.
6262 2013-12-26  João Távora  <joaotavora@gmail.com>
6264         * electric.el (electric-pair-mode): More flexible engine for skip-
6265         and inhibit predicates, new options for pairing-related functionality.
6266         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6267         if that keeps or improves their balance in buffers.
6268         (electric-pair-delete-adjacent-pairs): Delete the pair when
6269         backspacing over adjacent matched delimiters.
6270         (electric-pair-open-extra-newline): Open extra newline when
6271         inserting newlines between adjacent matched delimiters.
6272         (electric--sort-post-self-insertion-hook):
6273         Sort post-self-insert-hook according to priority values when
6274         minor-modes are activated.
6275         * simple.el (newline-and-indent): Call newline with interactive
6276         set to t.
6277         (blink-paren-post-self-insert-function): Set priority to 100.
6278         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6279         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6280         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
6281         electric-pair-open-newline-between-pairs to nil.
6283 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6285         * progmodes/python.el: Use lexical-binding.
6286         (python-nav-beginning-of-defun): Stop searching ASAP.
6288 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
6290         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6291         Fix interactive spec.  Doc fix.  (Bug#15754)
6293 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
6295         * emacs-lisp/byte-run.el (eval-when-compile):
6296         * progmodes/cc-defs.el (cc-eval-when-compile):
6297         Fix edebug spec (bug#16184).
6299 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6301         * net/shr.el (shr-visit-file): Remove debugging function.
6302         (shr-insert): Don't infloop if we can't find a good place to break
6303         the line (bug#16256).
6305 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6307         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6308         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
6309         python-nav-lisp-forward-sexp-safe.
6310         (python-nav--forward-sexp): New argument SAFE allows switching
6311         forward sexp movement behavior for parens.
6312         (python-nav-forward-sexp): Throw errors on unterminated parens
6313         (Bug#16191).
6314         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6315         (python-nav-backward-sexp-safe): New functions.
6316         (python-shell-buffer-substring):
6317         Use `python-nav-forward-sexp-safe'.
6319 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6321         * net/shr.el (shr-find-fill-point): Don't break lines before a
6322         quotation mark.
6323         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6324         (shr-find-fill-point): Remove the special checks for the quotation
6325         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6327 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6329         * net/eww.el (eww-form-textarea): Use a different face for
6330         textareas than text input since they have different keymaps
6331         (bug#16142).
6333 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6335         * progmodes/python.el (python-nav-beginning-of-statement):
6336         Speed up (Bug#15295).
6338 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6340         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6341         the window configuration.
6343 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
6345         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6346         we run on MS-Windows or MS-DOS.
6348 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
6350         * window.el (balance-windows-area): Call window-size instead of
6351         window-height and window-width.  Bug#16241.
6353 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6355         * net/eww.el (eww-bookmark-quit): Remove.
6356         (eww-bookmark-browse): Restore the window configuration when you
6357         choose a bookmark (bug#16144).
6359 2013-12-24  Daniel Colascione  <dancol@dancol.org>
6361         * icomplete.el: Remove redundant :group arguments to `defcustom'
6362         throughout.
6363         (icomplete-show-matches-on-no-input): New customizable variable.
6364         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6365         we have something to show.
6366         (icomplete-exhibit): Compute completions even if we have no user input.
6368 2013-12-23  Daniel Colascione  <dancol@dancol.org>
6370         * icomplete.el: Move `provide' to end of file.
6372 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
6374         * net/gnutls.el (gnutls-verify-error): Add version tag.
6376 2013-12-23  Chong Yidong  <cyd@gnu.org>
6378         * subr.el (set-transient-map): Rename from
6379         set-temporary-overlay-map.  Doc fix.
6381         * face-remap.el (text-scale-adjust):
6382         * indent.el (indent-rigidly):
6383         * kmacro.el (kmacro-call-macro):
6384         * minibuffer.el (minibuffer-force-complete):
6385         * repeat.el (repeat):
6386         * simple.el (universal-argument--mode):
6387         * calendar/todo-mode.el (todo-insert-item--next-param):
6388         * progmodes/f90.el (f90-abbrev-start): Callers changed.
6390         * indent.el (indent-rigidly): Use substitute-command-keys.
6392 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6394         * net/eww.el (eww-tag-select): Add text-property to jump to next
6395         select field.
6396         (eww): Add non-supported ftp error.
6398 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6400         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6401         comments.  Handle electric indent after typing `?' and `!'.
6403 2013-12-22  Chong Yidong  <cyd@gnu.org>
6405         * faces.el (face-spec-recalc): If the theme specs are not
6406         applicable to a frame, fall back on the defface spec.
6407         This prevents themes from obliterating faces on low-color terminals.
6409 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6411         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6412         after `{'.  We need it after block openers, and it doesn't seem
6413         to hurt after hash openers.
6415 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6417         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6418         extracted from `ruby-smie-rules'.
6419         (ruby--electric-indent-chars): New variable.
6420         (ruby--electric-indent-p): New function.
6421         (ruby-mode): Use `electric-indent-functions' instead of
6422         `electric-indent-chars'.
6424 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6426         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6427         docstring.
6428         (ruby-smie-rules): Indent plus one level after `=>'.
6430 2013-12-21  Richard Stallman  <rms@gnu.org>
6432         * simple.el (newline): Doc fix.
6434 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6436         * net/eww.el (eww-list-histories, eww-list-histories)
6437         (eww-history-browse, eww-history-quit, eww-history-kill)
6438         (eww-history-mode-map, eww-history-mode): New command and
6439         functions to list browser histories.
6440         (eww-form-text): Support text form with disabled
6441         and readonly attributes.
6442         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6444 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6446         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6447         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6448         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6449         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6450         Use `user-error'.
6451         (eww-bookmark-mode-map): Add menu.
6452         (eww-render, eww-mode): Use `setq-local'.
6453         (eww-tool-bar-map): New variable.
6454         (eww-mode): Set `tool-bar-map'.
6455         (eww-view-source): Check for `html-mode' with `fboundp'.
6457 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6459         * net/shr.el (shr--extract-best-source): Don't bug out on audio
6460         elements with text inside.  Also remove debugging.
6462 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
6464         * cus-start.el (all): Add ns-use-srgb-colorspace.
6466 2013-12-21  Chong Yidong  <cyd@gnu.org>
6468         * custom.el (custom-theme-recalc-face): Do nothing if the face is
6469         undefined.  Thus, theme settings for undefined faces do not take
6470         effect until the faces are defined with defface, the same as with
6471         theme variables.
6473         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6474         (face-spec-reset-face): Don't assign extra properties in temacs.
6475         (face-spec-recalc): Apply X resources too.
6477 2013-12-21  Chong Yidong  <cyd@gnu.org>
6479         * faces.el (face-spec-set):
6480         * cus-face.el (custom-theme-set-faces, custom-set-faces):
6481         * custom.el (defface): Doc fixes (Bug#16203).
6483         * indent.el (indent-rigidly-map): Add docstring, and move commands
6484         into named functions.
6485         (indent-rigidly-left, indent-rigidly-right)
6486         (indent-rigidly-left-to-tab-stop)
6487         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
6488         indentation direction based on bidi direction, and accumulate
6489         sequential commands in a single undo boundary.
6490         (indent-rigidly--pop-undo): New utility function.
6492 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
6494         * faces.el (read-face-name): Require crm.el when using crm-separator.
6496 2013-12-20  Daniel Colascione  <dancol@dancol.org>
6498         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
6499         so that we don't reflow comments into the shebang line.
6501 2013-12-20  Juri Linkov  <juri@jurta.org>
6503         * saveplace.el (save-place-to-alist): Add `dired-filename' as
6504         a position when `dired-directory' is non-nil.  Check integer
6505         positions with `integerp'.
6506         (toggle-save-place, save-places-to-alist): Add check for
6507         `dired-directory'.
6508         (save-place-find-file-hook): Check integer positions with
6509         `integerp'.
6510         (save-place-dired-hook): Use `dired-goto-file' when
6511         `dired-filename' is found in the assoc list.  Check integer
6512         positions with `integerp'.
6513         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
6515         * dired.el (dired-initial-position-hook): Rename back from
6516         `dired-initial-point-hook'.
6517         (dired-initial-position): Rename `dired-initial-point-hook' to
6518         `dired-initial-position-hook'.
6519         (dired-file-name-at-point): Doc fix.  (Bug#15329)
6521 2013-12-20  Juri Linkov  <juri@jurta.org>
6523         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
6524         (read-regexp-suggestions): New function.
6525         (read-regexp): Use `read-regexp-defaults-function' to get default values.
6526         Use `read-regexp-suggestions'.  Add non-empty default to history
6527         for empty input.
6528         (occur-read-regexp-defaults-function): Remove function.
6529         (occur-read-primary-args): Use `regexp-history-last' instead of
6530         `occur-read-regexp-defaults-function'.
6532         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
6533         (hi-lock-line-face-buffer, hi-lock-face-buffer)
6534         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
6535         `hi-lock-read-regexp-defaults-function'.  Doc fix.
6536         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
6537         with `find-tag-default-as-symbol-regexp'.  Doc fix.
6538         (hi-lock-read-regexp-defaults): Remove function.
6539         (hi-lock-regexp-okay): Add check for null.
6541         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
6542         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
6544         * subr.el (find-tag-default-as-symbol-regexp): New function.
6545         (find-tag-default-as-regexp): Move symbol regexp formatting to
6546         `find-tag-default-as-symbol-regexp'.
6548 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
6550         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
6551         (Bug#14179)
6553 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6555         * calendar/todo-mode.el: New implementation of item insertion
6556         commands and key bindings.
6557         (todo-key-prompt): New face.
6558         (todo-insert-item): New command.
6559         (todo-insert-item--parameters): New defconst, replacing defvar
6560         todo-insertion-commands-args-genlist.
6561         (todo-insert-item--param-key-alist): New defconst, replacing
6562         defvar todo-insertion-commands-arg-key-list.
6563         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
6564         (todo-insert-item--argsleft, todo-insert-item--apply-args)
6565         (todo-insert-item--next-param): New functions.
6566         (todo-insert-item--args, todo-insert-item--argleft)
6567         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
6568         New variables.
6569         (todo-key-bindings-t): Change binding of "i" from
6570         todo-insertion-map to todo-insert-item.
6571         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
6572         (todo-insertion-command-name, todo-insertion-commands-names)
6573         (todo-define-insertion-command, todo-insertion-commands)
6574         (todo-insertion-key-bindings, todo-insertion-map): Remove.
6576 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6578         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
6579         (todo-toggle-item-highlighting): Use eval-and-compile instead of
6580         eval-when-compile.
6581         (todo-move-category): Allow choosing a non-existing todo file to
6582         move the category to, and create that file.
6583         (todo-default-priority): New user option.
6584         (todo-set-item-priority): Use it.
6585         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6586         (desktop-restore-file-buffer): Declare.
6587         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6588         (todo-modes-set-2): Locally set desktop-save-buffer to
6589         todo-desktop-save-buffer.
6590         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6591         (auto-mode-alist): Add autoload cookie.
6593 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
6595         * emacs-lisp/subr-x.el: Renamed from helpers.el.
6596         helpers.el was a poor choice of name.
6597         (string-remove-prefix): New function.
6598         (string-remove-suffix): New function.
6600 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
6602         Fix assignment for new window total sizes.
6603         * window.el (window--pixel-to-size): Remove function.
6604         (window--pixel-to-total-1, window--pixel-to-total):
6605         Fix calculation of new total sizes.
6607 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
6609         * comint.el (comint-output-filter): Fix rear-nonsticky property
6610         placement (Bug#16010).
6612 2013-12-20  Chong Yidong  <cyd@gnu.org>
6614         * faces.el (read-color): Minor fix for completion function.
6616 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
6618         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6619         New option.  (Bug#16182)
6620         (ruby-smie--indent-to-stmt-p): Use it.
6621         (ruby-smie-rules): Revert the logic in the handling of `when'.
6622         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6623         (ruby-deep-arglist, ruby-deep-indent-paren)
6624         (ruby-deep-indent-paren-style): Update docstrings to note that the
6625         vars don't have any effect with SMIE.
6627 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
6629         * calc/calc.el (calc-enter, calc-pop): Use the variable
6630         `calc-context-sensitive-enter'.
6632 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6634         * net/shr.el (shr-insert): Protect against infloops in degenerate
6635         tables.
6637 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6639         * progmodes/octave.el (octave): Add link to manual and octave
6640         homepage.
6641         (octave-mode-menu): Link to octave-mode manual.
6643 2013-12-20  Leo Liu  <sdl.web@gmail.com>
6645         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
6646         insertion using skeleton-end-newline.  (Bug#16138)
6648 2013-12-20  Juri Linkov  <juri@jurta.org>
6650         * replace.el (occur-engine): Use `add-face-text-property'
6651         to add the face property to matches and titles.  (Bug#14645)
6653         * hi-lock.el (hi-green): Use lighter color "light green" closer to
6654         the palette of other hi-lock colors.
6655         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
6657 2013-12-19  Juri Linkov  <juri@jurta.org>
6659         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
6660         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
6661         (minibuffer-history-symbol): Move variable declaration closer to
6662         its usage.
6664         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
6665         (Bug#14785)
6667 2013-12-19  Juri Linkov  <juri@jurta.org>
6669         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
6670         New function.
6671         (log-edit-hook): Add it to :options.  (Bug#16170)
6673 2013-12-19  Juri Linkov  <juri@jurta.org>
6675         * simple.el (eval-expression-print-format): Don't check for
6676         command names and the last command.  Always display additional
6677         formats of the integer result in the echo area, and insert them
6678         to the current buffer only with a zero prefix arg.
6679         Display character when char-displayable-p is non-nil.
6680         (eval-expression): With a zero prefix arg, set `print-length' and
6681         `print-level' to nil, and insert the integer values from
6682         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
6684         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
6685         `eval-last-sexp-arg-internal'.  Doc fix.
6686         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
6687         `eval-last-sexp-print-value'.  Doc fix.
6688         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
6689         Set `print-length' and `print-level' to nil when arg is zero.
6690         (eval-last-sexp): Doc fix.
6691         (eval-defun-2): Print the integer values from
6692         `eval-expression-print-format' at the end.
6694         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
6695         values from `eval-expression-print-format' at the end.
6697         * ielm.el (ielm-eval-input): Print the integer
6698         values from `eval-expression-print-format' at the end.
6700 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
6702         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
6703         2013-12-11T19:01:44Z!tzz@lifelogs.com.
6705 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6707         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
6708         (hl-line-highlight, global-hl-line-highlight): Use it.
6709         (hl-line-overlay): Use defvar-local.
6711 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
6713         * term/ns-win.el: Require dnd.
6714         (global-map): Remove drag items.
6715         (ns-insert-text, ns-set-foreground-at-mouse)
6716         (ns-set-background-at-mouse):
6717         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
6718         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
6719         New functions.
6721 2013-12-19  Glenn Morris  <rgm@gnu.org>
6723         * emacs-lisp/ert.el (ert-select-tests):
6724         Fix string/symbol mixup.  (Bug#16121)
6726 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6728         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
6729         keywords to their parent.
6731 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6733         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
6734         first arg to be a string (fixed dead code), or an operator symbol.
6735         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
6736         operator symbols.
6737         (ruby-smie-rules): Remove parent token check in the `.' clause, it
6738         did nothing.  Don't respond to `(:after ".")', it will be called
6739         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
6740         change anything.  Only return indentation for binary operators
6741         when they are hanging.  De-dent opening paren when its parent is
6742         `.', otherwise it looks bad when the dot is not at bol or eol
6743         (bug#16182).
6745 2013-12-19  Juri Linkov  <juri@jurta.org>
6747         * replace.el (query-replace-read-args): Split a non-negative arg
6748         and a negative arg into separate elements.
6749         (query-replace, query-replace-regexp, replace-string)
6750         (replace-regexp): Add arg `backward'.  Doc fix.
6751         (replace-match-maybe-edit): When new arg `backward' is non-nil,
6752         move point to the beginning of the match.
6753         (replace-search, replace-highlight): Use new arg `backward'
6754         to set the value of `isearch-forward'.
6755         (perform-replace): Add arg `backward' and use it to perform
6756         replacement backward.  (Bug#14979)
6758         * isearch.el (isearch-query-replace): Use a negative prefix arg
6759         to call `perform-replace' with a non-nil arg `backward'.
6761 2013-12-18  Juri Linkov  <juri@jurta.org>
6763         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
6764         to the default list.  Move `log-edit-show-files' to the end.
6765         Add more available functions to options.
6766         (log-edit): Move default specific settings to
6767         `log-edit-insert-message-template'.  Don't move point.
6768         (log-edit-insert-message-template): New function.
6769         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
6770         (Bug#16170)
6772 2013-12-18  Juri Linkov  <juri@jurta.org>
6774         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
6775         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
6777 2013-12-18  Leo Liu  <sdl.web@gmail.com>
6779         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
6780         (Bug#16186)
6782 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
6784         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
6785         formats for displaying file sizes when the -s switch is given.
6786         Instead, compute a separate format for displaying the size in
6787         blocks, which is displayed in addition to the "regular" size.
6788         When -h is given in addition to -s, produce size in blocks in
6789         human-readable form as well.  (Bug#16179)
6791 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
6793         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6794         Reference tables with ~\ref{...} instead of only \ref{...}.
6796 2013-12-18  Chong Yidong  <cyd@gnu.org>
6798         * cus-edit.el (custom-magic-alist): Fix "themed" description
6799         (Bug#14348).
6801         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
6802         is non-nil, do not create a new entry in the symbol's theme-value
6803         or theme-face property; update theme-settings only (Bug#14664).
6804         (custom-available-themes): Doc fix.
6806         * cus-theme.el (custom-new-theme-mode-map): Add bindings
6807         (Bug#15674).
6809         * replace.el (occur-engine): Avoid infloop (Bug#7593).
6811 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
6813         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
6814         (Bug#13914).
6816 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
6818         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
6820 2013-12-18  Glenn Morris  <rgm@gnu.org>
6822         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
6823         * cus-start.el (load-prefer-newer): New option.
6825 2013-12-18  Le Wang  <l26wang@gmail.com>
6827         * comint.el (comint-previous-matching-input-from-input):
6828         Retain point (Bug#13404).
6830 2013-12-18  Chong Yidong  <cyd@gnu.org>
6832         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6834 2013-12-18  Glenn Morris  <rgm@gnu.org>
6836         * mail/emacsbug.el (report-emacs-bug):
6837         Only mention enable-multibyte-characters if non-standard.
6839 2013-12-17  Juri Linkov  <juri@jurta.org>
6841         * arc-mode.el (archive-extract-by-file): Check if directory exists
6842         before deletion to not show irrelevant errors if it doesn't exist.
6844 2013-12-17  Juri Linkov  <juri@jurta.org>
6846         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6847         (Bug#14751)
6849         * net/eww.el (browse-web): Add alias to `eww'.
6850         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6851         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
6853         * net/browse-url.el (browse-url-browser-function): Move `eww'
6854         closer to similar functions.
6856         * startup.el (fancy-startup-screen, fancy-about-screen):
6857         Set browse-url-browser-function to eww-browse-url locally.
6858         (Bug#14751)
6860 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6862         * window.el (window--pixel-to-total): Remove unused `mini' var.
6863         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6864         (split-window): Remove unused `new' var.
6865         (window--display-buffer): Remove unused `frame' and `delta' vars.
6866         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6867         and display-width'.
6869 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
6871         * dired.el (dired-mark-pop-up):
6872         * register.el (register-preview): Don't bind
6873         split-height-threshold here since it's now done in
6874         display-buffer-below-selected.
6876 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
6878         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6879         xterm-rgb-convert-to-16bit.
6880         (rxvt-register-default-colors): Standardize with
6881         xterm-register-default-colors (Bug#14078).
6883 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
6885         * simple.el (kill-region): Pass mark first, then point, so that
6886         kill-append works right (Bug#12819).
6887         (copy-region-as-kill, kill-ring-save): Likewise.
6889 2013-12-17  Leo Liu  <sdl.web@gmail.com>
6891         * net/rcirc.el (rcirc-add-face):
6892         * eshell/em-prompt.el (eshell-emit-prompt):
6893         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6894         (Bug#16167)
6896 2013-12-17  Chong Yidong  <cyd@gnu.org>
6898         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6899         Suggested by Xue Fuqiao.
6901 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6903         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6905 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6907         * net/shr.el (shr-insert-document): Remove unused var
6908         `shr-preliminary-table-render'.
6909         (shr-rescale-image): Remove unused arg `force'.
6910         (shr-put-image): Update calls accordingly.
6911         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6913 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6915         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6916         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6917         :close-all, to see which indentation method to use (Bug#16116).
6918         (smie-rules-function): Document the method :close-all.
6920 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6922         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6924         * net/eww.el (eww-display-html): If we can't find the anchor we're
6925         looking for, then go to point-min.
6927 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
6929         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6930         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6931         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6932         Expand dir too, in case it's relative.
6934 2013-12-16  Juri Linkov  <juri@jurta.org>
6936         * desktop.el (desktop-auto-save-timeout): Change default to
6937         `auto-save-timeout'.  Doc fix.
6938         (desktop-save): Skip the timestamp in desktop-saved-frameset
6939         when checking for auto-save changes.
6940         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6941         `desktop-auto-save' is called repeatedly by the idle timer.
6942         (desktop-auto-save-set-timer): Replace `run-with-timer' with
6943         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
6944         (Bug#15331)
6946 2013-12-16  Juri Linkov  <juri@jurta.org>
6948         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6949         (Bug#16035)
6950         (isearch-pre-command-hook): Check `this-command' for symbolp.
6952 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6954         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6956 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
6958         * progmodes/cfengine.el (cfengine3--current-word): Remove.
6959         (cfengine3--current-function): Bring in the current-function
6960         functionality from `cfengine3--current-word'.
6961         (cfengine3-completion-function): Bring in the
6962         bounds-of-current-word functionality from
6963         `cfengine3--current-word'.
6965 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
6967         * window.el (display-buffer-below-selected):
6968         Bind split-height-threshold to 0 as suggested by Juri Linkov.
6970 2013-12-16  Leo Liu  <sdl.web@gmail.com>
6972         * progmodes/compile.el (compile-goto-error): Do not push-mark.
6973         Remove NOMSG arg and all uses changed.
6975 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6977         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6978         (cua--deactivate-rectangle): Don't deactivate the mark.
6979         (cua-set-rectangle-mark): Don't set mark-active since
6980         cua--activate-rectangle already does it for us.
6981         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6982         non-rectangular region.
6984         * emulation/cua-base.el (cua-repeat-replace-region):
6985         Use with-current-buffer.
6987         * net/gnutls.el: Use cl-lib.
6988         (gnutls-negotiate): `mapcan' -> cl-mapcan.
6990 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
6992         * emacs-lisp/package.el (package-built-in-p): Support both
6993         built-in and the package.el converted package descriptions.
6994         (package-show-package-list): Allow keywords.
6995         (package-keyword-button-action): Use it instead of
6996         `finder-list-matches'.
6997         (package-menu-filter-interactive): Interactive filtering (by
6998         keyword) function.
6999         (package-menu--generate): Support keywords and change keymappings
7000         and headers when they are given.
7001         (package--has-keyword-p): Helper function.
7002         (package-menu--refresh): Use it.
7003         (package--mapc): Helper function.
7004         (package-all-keywords): Use it.
7005         (package-menu-mode-map): Set up menu items and keybindings to
7006         provide a filtering UI.
7008 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7010         * net/gnutls.el (gnutls-verify-error): New defcustom to control
7011         the behavior when a certificate fails validation.  Defaults to
7012         old behavior: never abort, just warn.
7013         (gnutls-negotiate): Use it.
7015 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
7017         * window.el (display-buffer-below-selected): Never split window
7018         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
7020 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7022         * emacs-lisp/package.el (package--prepare-dependencies): New function.
7023         (package-buffer-info): Use it (bug#15108).
7025 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7027         * icomplete.el (icomplete-completions): Make sure the prefix is already
7028         displayed elsewhere before hiding it (bug#16219).
7030 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
7032         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7033         open-paren tokens when preceded by a open-paren, too.
7034         (ruby-smie-rules): Handle virtual indentation after open-paren
7035         tokens specially.  If there is code between it and eol, return the
7036         column where is starts (Bug#16118).
7038 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7040         * progmodes/cfengine.el: Fix `add-hook' doc.
7041         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7042         (cfengine3--current-word): Fix parameters.
7043         (cfengine3-make-syntax-cache): Simplify further.
7044         (cfengine3-completion-function, cfengine3--current-function):
7045         Use `assq' for symbols.
7046         (cfengine3--current-function): Fix `cfengine3--current-word' call.
7048 2013-12-13  Glenn Morris  <rgm@gnu.org>
7050         * loadup.el (load-path): Warn if site-load or site-init changes it.
7051         No more need to reset it when bootstrapping.
7053 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7055         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7056         locations for cf-promises.
7057         (cfengine-mode-syntax-functions-regex): New caching variable.
7058         (cfengine3-fallback-syntax): Fallback syntax for cases where
7059         cf-promises doesn't run.
7060         (cfengine3--current-word): Reimplement using
7061         `cfengine-mode-syntax-functions-regex'.
7062         (cfengine3-completion-function, cfengine3--current-function):
7063         Use `cfengine3-make-syntax-cache' directly.
7064         (cfengine3-clear-syntax-cache): New function.
7065         (cfengine3-make-syntax-cache): Simplify and create
7066         `cfengine-mode-syntax-functions-regex' on demand.
7067         (cfengine3-format-function-docstring): Don't call
7068         `cfengine3-make-syntax-cache' explicitly.
7070 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
7072         Fix windmove-find-other-window broken after pixelwise resizing
7073         (Bug#16017).
7074         * windmove.el (windmove-other-window-loc): Revert change from
7075         2013-12-04.
7076         (windmove-find-other-window): Call window-in-direction.
7077         * window.el (window-in-direction): New arguments SIGN, WRAP and
7078         MINI to emulate original windmove-find-other-window behavior.
7080 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
7082         * simple.el (blink-matching--overlay): New variable.
7083         (blink-matching-open): Instead of moving point, highlight the
7084         matching paren with an overlay
7085         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7087         * faces.el (paren-showing-faces, show-paren-match)
7088         (show-paren-mismatch): Move from paren.el.
7090 2013-12-13  Leo Liu  <sdl.web@gmail.com>
7092         * indent.el (indent-region): Disable progress reporter in
7093         minibuffer.  (Bug#16108)
7095         * bindings.el (visual-order-cursor-movement): Fix version.
7097 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7099         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7100         Also match after beginning of line.
7101         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7102         files.  Thanks to Russell Sim.  (Bug#15378)
7104 2013-12-13  Juri Linkov  <juri@jurta.org>
7106         * simple.el <Keypad support>: Remove key bindings duplicated
7107         with bindings.el.  (Bug#14397)
7109 2013-12-13  Juri Linkov  <juri@jurta.org>
7111         * comint.el (comint-mode-map): Replace `delete-char' with
7112         `delete-forward-char'.  (Bug#16109)
7114 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7116         * progmodes/python.el (python-indent-calculate-indentation):
7117         Fix de-denters cornercase.  (Bug#15731)
7119 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7121         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7122         (advice--make): Pay attention to `depth'.
7123         (advice--make-1): Don't autoload commands eagerly.
7124         * emacs-lisp/elp.el (elp-instrument-function):
7125         * emacs-lisp/trace.el (trace-function-internal):
7126         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7128         * iswitchb.el (iswitchb-mode): Don't belittle ido.
7130 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
7132         * term/w32-win.el (w32-handle-dropped-file):
7133         * startup.el (normal-top-level):
7134         * net/browse-url.el (browse-url-file-url):
7135         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7136         decode file names using 'utf-8' rather than
7137         file-name-coding-system.
7139 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7141         * progmodes/python.el (python-indent-context)
7142         (python-indent-calculate-indentation): Fix auto-identation
7143         behavior for comment blocks.  (Bug#15916)
7145 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7147         * progmodes/python.el (python-indent-calculate-indentation):
7148         When determining indentation, don't treat "return", "pass", etc., as
7149         operators when they are just string constituents.  (Bug#15812)
7151 2013-12-12  Juri Linkov  <juri@jurta.org>
7153         * uniquify.el (uniquify-buffer-name-style): Change default to
7154         `post-forward-angle-brackets'.
7156         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7157         `uniquify'.  Change default to `post-forward-angle-brackets'.
7159 2013-12-11  Glenn Morris  <rgm@gnu.org>
7161         * emacs-lisp/package.el (finder-list-matches):
7162         Autoload rather than falsely declaring.
7164 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
7166         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7167         (eww-mode-map): Use them.
7169 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
7171         * window.el (display-buffer-in-side-window): Fix doc-string
7172         (Bug#16115).
7174 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
7176         * vc/vc-git.el: Silence byte-compiler warnings.
7177         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7178         (log-edit-set-header): Declare.
7180 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
7182         * Makefile.in (custom-deps, finder-data): Run output file names
7183         through unmsys--file-name.  (Bug#16099)
7185 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7187         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7188         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7190         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7191         instead of deleting the selection "by hand" (bug#16098).
7192         Rely on insert-for-yank to yank rectangles.
7193         (cua-highlight-region-shift-only): Mark obsolete.
7194         (cua-mode): Don't enable/disable transient-mark-mode,
7195         shift-select-mode (cua-mode works both with and without them), and
7196         pc-selection-mode (obsolete).
7197         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7198         (cua--deactivate-rectangle): Deactivate it.
7200         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7201         (delete-selection-helper): Make sure yank starts at the top of the
7202         deleted region.
7203         (minibuffer-keyboard-quit): Use region-active-p.
7205         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7207         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7208         to `delete' (bug#16109).
7210 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7212         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7213         info manual and show keybindings and set `:group' keyword.
7215 2013-12-11  Juri Linkov  <juri@jurta.org>
7217         * delsel.el (delete-active-region): Let-bind `this-command'
7218         to prevent `kill-region' from changing its original value.
7219         (delete-selection-helper): Handle `overwrite-mode' for the type
7220         `kill' exactly the same way as for the type `t'.
7221         (insert-char, quoted-insert, reindent-then-newline-and-indent):
7222         Support more commands.  (Bug#13312)
7224 2013-12-11  Juri Linkov  <juri@jurta.org>
7226         * bindings.el: Map kp keys to non-kp keys systematically
7227         with basic modifiers control, meta and shift.  (Bug#14397)
7229 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7231         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7232         "Close browser" menu items.  Fix wrong function of "List
7233         bookmarks".
7235 2013-12-11  Juri Linkov  <juri@jurta.org>
7237         * misearch.el (multi-isearch-buffers): Set the value of
7238         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7239         arg of isearch-forward to t.
7240         (multi-isearch-buffers-regexp): Set the value of
7241         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7242         arg of isearch-forward-regexp to t.
7243         (multi-isearch-files): Set the value of
7244         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7245         arg of isearch-forward to t.
7246         (multi-isearch-files-regexp): Set the value of
7247         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7248         arg of isearch-forward-regexp to t.  (Bug#16035)
7250         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7251         arg of isearch-forward to t.
7252         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7253         arg of isearch-forward-regexp to t.
7254         (dired-isearch-filter-filenames): Remove unnecessary check for
7255         `dired-isearch-filenames'.
7257         * comint.el (comint-history-isearch-backward):
7258         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7259         (comint-history-isearch-backward-regexp):
7260         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7262 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
7264         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7265         unmsys--file-name.  (Bug#16099)
7267 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
7269         * emacs-lisp/package.el (package-keyword-button-action):
7270         Remove finder.el require dependency.
7272 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
7274         * emacs-lisp/package.el: Require finder.el.
7275         (describe-package-1): Add keyword buttons.
7276         (package-make-button): New convenience function.
7277         (package-keyword-button-action): Keyword button action using
7278         `finder-list-matches'.
7280 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
7282         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7283         last commit.
7285 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
7287         * autorevert.el (auto-revert-notify-add-watch): Do not handle
7288         symlinked files.
7290 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7292         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7293         after the end of a percent literal.
7295 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7297         * progmodes/ruby-mode.el (ruby-forward-string): Document.
7298         Handle caret-delimited strings (Bug#16079).
7300 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7302         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7303         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7304         `ruby-parse-partial' (Bug#16078).
7306 2013-12-09  Leo Liu  <sdl.web@gmail.com>
7308         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
7310 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
7312         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7313         (js-switch-indent-offset): New option.
7314         (js--proper-indentation): Use it.  And handle the case when
7315         "default" is actually a key in an object literal.
7316         (js--same-line): New function.
7317         (js--multi-line-declaration-indentation): Use it.
7318         (js--indent-in-array-comp, js--array-comp-indentation):
7319         New functions.
7320         (js--proper-indentation): Use them, to handle array comprehension
7321         continuations.
7323 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7325         * progmodes/flymake.el (flymake-highlight-line): Re-write.
7326         (flymake-make-overlay): Remove arg MOUSE-FACE.
7327         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7329 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7331         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7332         New function.
7333         (redisplay-highlight-region-function): Use it.
7335         * emulation/cua-base.el (cua--explicit-region-start)
7336         (cua--last-region-shifted): Remove.
7337         (cua--deactivate): Use deactivate-mark.
7338         (cua--pre-command-handler-1): Don't handle shift-selection.
7339         (cua--post-command-handler-1): Don't change transient-mark-mode.
7340         (cua--select-keymaps): Use region-active-p rather than
7341         cua--explicit-region-start or cua--last-region-shifted.
7342         (cua-mode): Enable shift-select-mode.
7344 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7346         * progmodes/flymake.el (flymake-popup-current-error-menu):
7347         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
7348         (flymake-posn-at-point-as-event, flymake-popup-menu)
7349         (flymake-make-emacs-menu): Remove.  (Bug#16077)
7351 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7353         * rect.el (rectangle-mark-mode): Activate mark even if
7354         transient-mark-mode is off (bug#16066).
7355         (rectangle--highlight-for-redisplay): Fix boundary condition when point
7356         is > mark and at bolp.
7358         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7359         (region-extract-function): Use it.
7360         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7361         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7362         Delete functions.
7363         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7364         kill-ring-save, kill-region, delete-char, delete-forward-char.
7365         Ignore self-insert-iso.
7367         * emulation/cua-gmrk.el (cua--init-global-mark):
7368         Ignore `self-insert-iso'.
7370         * emulation/cua-base.el (cua--prefix-copy-handler)
7371         (cua--prefix-cut-handler): Rely on region-extract-function rather than
7372         checking cua--rectangle.
7373         (cua-delete-region): Use region-extract-function.
7374         (cua-replace-region): Delete function.
7375         (cua-copy-region, cua-cut-region): Obey region-extract-function.
7376         (cua--pre-command-handler-1): Don't do the delete-selection thing.
7377         (cua--self-insert-char-p): Ignore `self-insert-iso'.
7378         (cua--init-keymaps): Don't remap delete-selection commands.
7379         (cua-mode): Use delete-selection-mode instead of rolling our own
7380         (bug#16085).
7382         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7383         Obey region-extract-function.
7385         Make registers and delete-selection-mode work on rectangles.
7386         * register.el (describe-register-1): Don't modify the register's value.
7387         (copy-to-register): Obey region-extract-function.
7388         * delsel.el (delete-active-region): Obey region-extract-function.
7390 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7392         * progmodes/flymake.el (flymake, flymake-error-bitmap)
7393         (flymake-warning-bitmap, flymake-fringe-indicator-position)
7394         (flymake-compilation-prevents-syntax-check)
7395         (flymake-start-syntax-check-on-newline)
7396         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7397         (flymake-start-syntax-check-on-find-file, flymake-log-level)
7398         (flymake-xml-program, flymake-master-file-dirs)
7399         (flymake-master-file-count-limit)
7400         (flymake-allowed-file-name-masks): Relocate.
7401         (flymake-makehash, flymake-float-time)
7402         (flymake-replace-regexp-in-string, flymake-split-string)
7403         (flymake-get-temp-dir): Remove.
7404         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7405         (flymake-current-row, flymake-selected-frame)
7406         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7407         related functions.  (Bug#16077)
7409 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
7411         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7413 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
7415         * help-fns.el (describe-function-1): Use new advice-* functions
7416         rather than old ad-* functions.  Fix function type description and
7417         source links for advised functions and subrs.
7419 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7421         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7423 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
7425         * progmodes/compile.el (compilation-start):
7426         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7428         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7429         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
7431 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7433         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7434         Touch up the last change.
7436 2013-12-06  Leo Liu  <sdl.web@gmail.com>
7438         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7439         (inferior-octave-startup): Always use "octave> " for prompt.
7440         (octave-goto-function-definition)
7441         (octave-sync-function-file-names)
7442         (octave-find-definition-default-filename): Remove redundant backquotes.
7444 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7446         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7447         syntax for `?'.
7448         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7449         where appropriate already.
7450         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7451         end of method names (Bug#15874).
7453 2013-12-06  Juri Linkov  <juri@jurta.org>
7455         * isearch.el (isearch--saved-overriding-local-map):
7456         New internal variable.
7457         (isearch-mode): Set it to the initial value of
7458         `overriding-terminal-local-map'.
7459         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7460         with `isearch--saved-overriding-local-map'.  (Bug#16035)
7462 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7464         * progmodes/octave.el (inferior-octave-completion-table):
7465         Turn back into function, use `completion-table-with-cache'
7466         (Bug#11906).  Update all references.
7468         * minibuffer.el (completion-table-with-cache): New function.
7470 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7472         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7474 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
7476         * net/eww.el (eww-current-source): New variable to store page
7477         source.
7478         (eww-display-html, eww-mode, eww-save-history)
7479         (eww-restore-history): Use it.
7480         (eww-view-source): New command to view page source.
7481         Opportunistically uses `html-mode' to highlight the buffer.
7482         (eww-mode-map): Install it.
7484 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
7486         * net/dbus.el (dbus-unregister-service)
7487         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
7488         Fix docstring.
7489         (dbus-unregister-service): Skip :serial entries in
7490         `dbus-registered-objects-table'.
7491         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
7493 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
7495         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
7496         around keywords with extra `split-string' argument.
7498 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
7500         * windmove.el (windmove-other-window-loc): Handle navigation
7501         between windows (excluding the minibuffer window - Bug#16017).
7503 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
7505         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
7506         in D-Bus type syntax.
7507         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
7508         preserve unibyte strings.  (Bug#16048)
7510 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7512         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7513         Call force-mode-line-update is the proper buffer (bug#16042).
7515 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
7517         * vc/log-edit.el (log-edit-add-new-comment): Rename to
7518         `log-edit-remember-comment', make argument optional.  Adjust all
7519         callers.
7520         (log-edit-mode): Add `log-edit-remember-comment' to
7521         `kill-buffer-hook' locally.
7522         (log-edit-kill-buffer): Don't remember comment explicitly since
7523         the buffer is killed anyway.
7525 2013-12-04  Juri Linkov  <juri@jurta.org>
7527         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
7528         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
7530 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
7532         * notifications.el (notifications-close-notification): Call the
7533         D-Bus method with ID being a `:uint32'.  (Bug#16030)
7535 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
7537         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
7539 2013-12-03  Juri Linkov  <juri@jurta.org>
7541         * progmodes/compile.el (compilation-start): Rename window alist
7542         entry `no-display-ok' to `allow-no-window'.
7544         * simple.el (shell-command): Add window alist entry
7545         `allow-no-window' to `display-buffer'.
7546         (async-shell-command): Doc fix.
7548         * window.el (display-buffer-no-window): New action function.
7549         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
7551 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7553         * vc/log-edit.el (log-edit-set-header): Extract from
7554         `log-edit-toggle-header'.
7555         (log-edit-extract-headers): Separate the summary, when extracted
7556         from header, from the rest of the message with an empty line.
7558         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
7559         line, if present, to the Summary header.
7561 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7563         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
7564         in current-buffer (bug#16029).
7566 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
7568         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
7569         (debugger-mode-map): Bind it.
7570         (debugger--backtrace-base): New function.
7571         (debugger-eval-expression): Use it.
7572         (debugger-frame-number): Skip local vars when present.
7573         (debugger--locals-visible-p, debugger--insert-locals)
7574         (debugger--show-locals, debugger--hide-locals): New functions.
7576 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
7578         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
7579         "LC_ALL".
7580         (tramp-get-remote-locale): New defun.
7581         (tramp-open-connection-setup-interactive-shell): Use it.
7583 2013-12-02  Leo Liu  <sdl.web@gmail.com>
7585         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
7587         * progmodes/sh-script.el (sh-shell-process):
7588         * progmodes/octave.el (inferior-octave-process-live-p):
7589         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7590         (gdb-inferior-io-sentinel):
7591         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7593 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7595         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7596         `save-selected-window' to `log-edit-hide-buf'.  This makes
7597         `log-edit-show-files' idempotent.
7598         (log-edit-show-files): Mark the new window as dedicated.
7600 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7602         * vc/log-edit.el (log-edit-mode-map): Add binding for
7603         `log-edit-kill-biffer'.
7604         (log-edit-hide-buf): Add a FIXME comment.
7605         (log-edit-add-new-comment): New function, extracted from
7606         `log-edit-done'.
7607         (log-edit-done, log-edit-add-to-changelog): Use it.
7608         (log-edit-kill-buffer): New command.
7610 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7612         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7613         instead of killing the buffer.
7615 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7617         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7619 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7621         * net/eww.el (eww-form-checkbox-selected-symbol)
7622         (eww-form-checkbox-symbol): New customizable variable.
7623         (eww-form-checkbox, eww-toggle-checkbox):
7624         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
7626         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
7627         (shr--get-media-pref, shr--extract-best-source): New function.
7628         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
7629         no :src tag was specified.
7631         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
7632         (eww-render): Handle `eww-use-external-browser-for-content-type'.
7633         Use \\` to match beginning of string instead of ^.
7634         (eww-browse-with-external-browser): Provide optional URL parameter.
7635         (eww-render): Set `eww-current-title' back to "".
7637         * net/shr.el (shr-tag-video): Display content for video if no
7638         poster is available.
7639         (shr-tag-audio): Add support for <audio> tag.
7641         * net/eww.el (eww-text-input-types): New const.
7642         (eww-process-text-input): Treat input types in
7643         `eww-text-input-types' as text.
7645         * net/shr.el (shr-tag-table): Fix comment typo.
7647 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7649         * net/eww.el (eww-follow-link): New command to avoid reloading
7650         pages when we follow #target links (bug#15243).
7651         (eww-quit): Special mode buffers shouldn't query before exiting.
7653 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7655         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
7656         forms.
7658 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7660         * net/eww.el (eww-restore-history): Update the window title after
7661         moving in the history.
7662         (eww-current-dom): New variable used to save the current DOM.
7664 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
7666         * vc/log-edit.el (log-edit-mode-map): Add binding for
7667         `log-edit-beginning-of-line'.
7668         (log-edit-setup-add-author): New user option.
7669         (log-edit-beginning-of-line): New command.
7670         (log-edit): Move major mode call above the contents setup so that
7671         the local variable values are already applied.
7672         (log-edit): Only insert "Author: " when
7673         `log-edit-setup-add-author' is non-nil.
7674         (log-edit): When SETUP is non-nil, position point after ": "
7675         instead of point-min.
7677 2013-12-01  Glenn Morris  <rgm@gnu.org>
7679         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
7681 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
7683         * startup.el (fancy-splash-frame): On MS-Windows, trigger
7684         redisplay to make sure the initial frame gets a chance to become
7685         visible.  (Bug#16014)
7687 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
7689         Support resizing frames and windows pixelwise.
7690         * cus-start.el (frame-resize-pixelwise)
7691         (window-resize-pixelwise): New entries.
7692         * emacs-lisp/debug.el (debug): Use window-total-height instead
7693         of window-total-size.
7694         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
7695         * help.el (describe-bindings-internal): Use help-buffer as
7696         argument for with-help-window.
7697         (temp-buffer-max-width): New option.
7698         (resize-temp-buffer-window, help-window-setup)
7699         (with-help-window): Rewrite.
7700         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
7701         dragging dividers.
7702         * window.el (frame-char-size, window-min-pixel-height)
7703         (window-safe-min-pixel-height, window-safe-min-pixel-width)
7704         (window-min-pixel-width, window-safe-min-pixel-size)
7705         (window-combination-p, window-safe-min-size)
7706         (window-resizable-p, window--size-to-pixel)
7707         (window--pixel-to-size, window--resize-apply-p): New functions.
7708         (window-safe-min-height): Fix doc-string.
7709         (window-size, window-min-size, window--min-size-1)
7710         (window-sizable, window-sizable-p, window--min-delta-1)
7711         (window-min-delta, window--max-delta-1, window-max-delta)
7712         (window--resizable, window--resizable-p, window-resizable)
7713         (window-full-height-p, window-full-width-p, window-at-side-p)
7714         (window--in-direction-2, window-in-direction)
7715         (window--resize-reset-1, window--resize-mini-window)
7716         (window-resize, window-resize-no-error)
7717         (window--resize-child-windows-normal)
7718         (window--resize-child-windows, window--resize-siblings)
7719         (window--resize-this-window, window--resize-root-window)
7720         (window--resize-root-window-vertically)
7721         (adjust-window-trailing-edge, enlarge-window, shrink-window)
7722         (maximize-window, minimize-window, delete-window)
7723         (quit-restore-window, window-split-min-size, split-window)
7724         (balance-windows-2, balance-windows)
7725         (balance-windows-area-adjust, balance-windows-area)
7726         (window--state-get-1, window-state-get, window--state-put-1)
7727         (window--state-put-2, window-state-put)
7728         (display-buffer-record-window, window--display-buffer):
7729         Make functions handle pixelwise sizing of windows.
7730         (display-buffer--action-function-custom-type)
7731         (display-buffer-fallback-action):
7732         Add display-buffer-in-previous-window.
7733         (display-buffer-use-some-window): Resize window to height it had
7734         before.
7735         (fit-window-to-buffer-horizontally): New option.
7736         (fit-frame-to-buffer): Describe new values.
7737         (fit-frame-to-buffer-bottom-margin): Replace with
7738         fit-frame-to-buffer-margins.
7739         (window--sanitize-margin): New function.
7740         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
7741         using window-text-pixel-size.
7743 2013-11-30  Glenn Morris  <rgm@gnu.org>
7745         * emacs-lisp/bytecomp.el (byte-compile-form):
7746         Make the `interactive-only' warning like the `obsolete' one.
7747         * comint.el (comint-run):
7748         * files.el (insert-file-literally, insert-file):
7749         * replace.el (replace-string, replace-regexp):
7750         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7751         (goto-line, insert-buffer, next-line, previous-line):
7752         Tweak `interactive-only' spec.
7754         Stop keeping (most) generated cedet grammar files in the repository.
7755         * Makefile.in (semantic): New.
7756         (compile-main): Depend on semantic.
7758 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7760         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
7761         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
7763         * uniquify.el (uniquify-buffer-name-style): Change default.
7765         * loadup.el: Preload "uniquify".
7767         * time.el (display-time-update): Update all mode lines (bug#15999).
7769         * electric.el (electric-indent-mode): Enable by default.
7770         * loadup.el: Preload "electric".
7772 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
7774         * emacs-lisp/helpers.el (string-empty-p): New function.
7775         (string-blank-p): New function.
7777 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
7779         * imenu.el (imenu--index-alist): Add missing dot to the docstring
7780         (Bug#14029).
7782 2013-11-29  Andreas Politz  <politza@fh-trier.de>
7783         * imenu.el (imenu--subalist-p): Don't error on non-conses and
7784         allow non-lambda lists as functions.
7785         (imenu--in-alist): Don't recurse into non-subalists.
7786         (imenu): Don't pass function itself as an argument (Bug#14029).
7788 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7790         * progmodes/python.el (python-mode-map): Remove binding for ":".
7791         (python-indent-electric-colon): Remove command.
7792         (python-indent-post-self-insert-function): Integrate the previous code
7793         of python-indent-electric-colon.  Make it conditional on
7794         electric-indent-mode.
7795         (python-mode): Add ?: to electric-indent-chars.
7796         Move python-indent-post-self-insert-function to the end of
7797         post-self-insert-hook.
7799 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7801         * doc-view.el (doc-view-goto-page): Update mode-line.
7803         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
7805 2013-11-27  Glenn Morris  <rgm@gnu.org>
7807         * international/charprop.el, international/uni-bidi.el:
7808         * international/uni-category.el, international/uni-combining.el:
7809         * international/uni-comment.el, international/uni-decimal.el:
7810         * international/uni-decomposition.el, international/uni-digit.el:
7811         * international/uni-lowercase.el, international/uni-mirrored.el:
7812         * international/uni-name.el, international/uni-numeric.el:
7813         * international/uni-old-name.el, international/uni-titlecase.el:
7814         * international/uni-uppercase.el:
7815         Remove generated files from VCS repository.
7817 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
7819         * filenotify.el (file-notify-add-watch): Don't special-case
7820         w32notify when computing the directory to watch.
7822 2013-11-27  Glenn Morris  <rgm@gnu.org>
7824         Make bootstrap without generated uni-*.el files possible again.
7825         * loadup.el: Update command-line-args checking for unidata-gen.
7826         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7827         * composite.el, international/characters.el:
7828         Handle unicode tables being undefined.
7830         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7831         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7832         (compile-main): Depend on leim rule.
7833         (leim): New rule.
7834         * loadup.el: Move leim-list.el to leim/ subdirectory.
7835         * startup.el (normal-top-level): No more leim directory.
7836         * international/ja-dic-cnv.el (skkdic-convert):
7837         Disable version-control and autoloads in output files.
7838         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7839         Disable version-control and autoloads in output files.
7840         * leim/quail: Move here from ../leim.
7841         * leim/quail/hangul.el (hangul-input-method-activate):
7842         Add autoload cookie.
7843         (generated-autoload-load-name): Set file-local value.
7844         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7845         (generated-autoload-load-name): Set file-local value.
7847 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
7849         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7850         (eww-add-bookmark): Ask confirmation when add to bookmarks.
7851         (eww-quit): Ask confirmation before quitting eww.
7853 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
7855         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7856         reading output from Diff on MS-Windows and MS-DOS.
7858 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
7860         * emacs-lisp/helpers.el (string-reverse): New function.
7862 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
7864         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7865         names on MS Windows, like "/[::1]:".
7867         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7868         SWITCHES.
7870 2013-11-26  Glenn Morris  <rgm@gnu.org>
7872         * progmodes/python.el (python-indent-guess-indent-offset):
7873         Avoid corner-case error.  (Bug#15975)
7875         Preload leim-list.el.  (Bug#4789)
7876         * loadup.el: Load leim-list.el when found.
7877         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7879 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
7881         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7883         * emacs-lisp/helpers.el (string-join): New function.
7885 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
7887         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7888         Mark as obsolete and replace it with a symbol property.
7889         (byte-compile-form): Use new 'interactive-only property.
7890         * comint.el, files.el, replace.el, simple.el:
7891         Apply new 'interactive-only properly.
7893 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
7895         * window.el (display-buffer-at-bottom): Make sure that
7896         split-window-sensibly creates the new window on bottom
7897         (Bug#15961).
7899 2013-11-23  David Kastrup  <dak@gnu.org>
7901         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7902         on the conflict markers when available.
7903         (smerge--get-marker): New function.
7904         (smerge-end-re, smerge-base-re): Add subgroup.
7906 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7908         * frame.el (handle-focus-in, handle-focus-out): Add missing
7909         interactive spec.
7911 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
7913         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7914         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7916 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7918         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
7919         (gomoku--last-pos): New var.
7920         (gomoku--intangible-chars): New const.
7921         (gomoku--intangible): New function.
7922         (gomoku-mode): Use it.  Derive from special-mode.
7923         (gomoku-move-up): Adjust line count.
7924         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7925         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7926         Simplify accordingly.
7928         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7929         Remove blink-cursor code.
7930         (blink-cursor-timer-function, blink-cursor-suspend):
7931         Don't special-case GUIs.
7932         (blink-cursor-mode): Use focus-in/out-hook.
7934 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
7936         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7937         work when annotation is invisible (Bug#13886).
7939 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
7941         * json.el (json-alist-p): Only return non-nil if the alist has
7942         simple keys (Bug#13518).
7944 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
7946         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7947         when control-statement is the first statement in a buffer (Bug#15956).
7949 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
7951         * imenu.el (imenu-generic-skip-comments-and-strings):
7952         New option (Bug#15560).
7953         (imenu--generic-function): Use it.
7955 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
7957         * minibuffer.el (completion--in-region-1): Scroll the correct window.
7958         (Bug#13898)
7960 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
7962         * emacs-lisp/helpers.el: Add some string helpers.
7963         (string-trim-left): Removes leading whitespace.
7964         (string-trim-right): Removes trailing whitespace.
7965         (string-trim): Removes leading and trailing whitespace.
7967         * subr.el (string-suffix-p): New function.
7969 2013-11-23  Glenn Morris  <rgm@gnu.org>
7971         * progmodes/python.el (python-shell-send-file):
7972         Add option to delete file when done.  (Bug#15647)
7973         (python-shell-send-string, python-shell-send-region): Use it.
7975 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
7977         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7978         to set buffer-read-only to t, never to nil.  (Bug#15938)
7980         * textmodes/tex-mode.el (latex-noindent-environments):
7981         Add safe-local-variable property.  (Bug#15936)
7983 2013-11-23  Glenn Morris  <rgm@gnu.org>
7985         * textmodes/enriched.el (enriched-mode): Doc fix.
7986         * emacs-lisp/authors.el (authors-renamed-files-alist):
7987         Add enriched.doc -> enriched.txt.
7989         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7991 2013-11-22  Leo Liu  <sdl.web@gmail.com>
7993         * progmodes/octave.el (inferior-octave-startup): Spit out error
7994         message.
7996 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
7998         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7999         Improve docstring.
8000         Add :version.
8001         (ruby-encoding-magic-comment-style): Add :version.
8003 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8005         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8006         (Bug#15076)
8007         (octave-help-mode): Adapt to change to help-mode-finish to use
8008         derived-mode-p on 2013-09-17.
8009         (inferior-octave-prompt): Also match octave-gui.
8010         (octave-kill-process): Don't ask twice.  (Bug#10564)
8012 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8014         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8015         (inferior-octave-startup, inferior-octave-check-process)
8016         (inferior-octave-track-window-width-change)
8017         (octave-completion-at-point, octave-eldoc-function): Use it.
8018         (octave-kill-process): Provide confirmation.  (Bug#10564)
8020 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8022         * progmodes/octave.el (octave-mode, inferior-octave-mode):
8023         Fix obsolete variable comment-use-global-state.
8025 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8027         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8028         Add `octave-source-file'.
8029         (octave-source-file): New function.  (Bug#15935)
8031 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
8033         * net/eww.el (eww-local-regex): New variable.
8034         (eww): Use it to detect localhost and similar.
8036 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8038         Add completion for command `ag'.
8039         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8040         (pcomplete/ag): New function.
8041         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
8043 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8045         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8046         (bug#14646).
8047         (make-obsolete): Remove interactive spec.
8049 2013-11-21  Glenn Morris  <rgm@gnu.org>
8051         * startup.el (command-line-1): Use path-separator with -L.
8053 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
8055         * emacs-lisp/package.el (describe-package-1): Add package archive
8056         to shown fields.
8058 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
8060         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8061         Change default to "# encoding: %s" to differentiate it from the
8062         default Ruby encoding comment template.
8064 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
8066         * ses.el (ses-mode): Doc fix.  (Bug#14748)
8068 2013-11-20  Leo Liu  <sdl.web@gmail.com>
8070         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
8072 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
8074         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8075         when rebase or bisect are in progress.
8077 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
8079         * filenotify.el (file-notify-add-watch): Doc fix.
8081 2013-11-19  Leo Liu  <sdl.web@gmail.com>
8083         * obsolete/rcompile.el: Mark obsolete.
8085         * progmodes/compile.el (compilation-start)
8086         (compilation-goto-locus, compilation-find-file):
8087         Pass no-display-ok and handle nil value from display-buffer.
8088         (Bug#13594)
8090         * window.el (display-buffer-alist, display-buffer): Document the
8091         new parameter no-display-ok.  Return either a window or nil
8092         but never a non-window value.
8094 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8096         * electric.el (electric-indent-mode-map): Remove.
8097         (electric-indent-mode): Change the global-map instead (bug#15915).
8099         * textmodes/text-mode.el (paragraph-indent-minor-mode):
8100         Use add-function.
8102 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8104         * emacs-lisp/nadvice.el (remove-function): Align with
8105         add-function's behavior.
8107         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8108         (gdb--string-regexp): New constant.
8109         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8110         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8111         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8112         submatch 1.
8113         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8114         Adjust use accordingly.
8115         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8117 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
8119         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8120         interpolation curlies (Bug#15914).
8122 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
8124         * calc/calc.el (calc-context-sensitive-enter): New variable.
8125         (calc-enter): Use `calc-context-sensitive-enter'.
8127 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
8129         * progmodes/cfengine.el: Version bump.
8130         (cfengine-cf-promises): New defcustom to locate cf-promises.
8131         (cfengine3-vartypes): Add new "data" type.
8132         (cfengine3--current-word): New function to get current name-like
8133         word or its bounds.
8134         (cfengine3--current-function): New function to look up a CFEngine
8135         function's definition.
8136         (cfengine3-format-function-docstring): New function.
8137         (cfengine3-make-syntax-cache): New function.
8138         (cfengine3-documentation-function): New function: ElDoc glue.
8139         (cfengine3-completion-function): New function: completion glue.
8140         (cfengine3-mode): Set `compile-command',
8141         `eldoc-documentation-function', and add to
8142         `completion-at-point-functions'.
8144 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
8146         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8147         `tramp-current-connection'.
8149 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
8151         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8152         nil/self/true/false with "end of symbol".
8154 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
8156         * subr.el (version-regexp-alist): Fix a typo.
8158 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
8160         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8161         "en_US.utf8" and "LC_CTYPE" to "".
8162         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8163         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8165 2013-11-15  Leo Liu  <sdl.web@gmail.com>
8167         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
8169 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8171         * progmodes/gud.el (ctl-x-map):
8172         Remove C-x SPC binding.  (Bug#12342)
8173         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8175 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
8177         * subr.el (version-regexp-alist):
8178         Recognize hg, svn and darcs versions as snapshot versions.
8180         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8181         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8182         (ruby--encoding-comment-required-p): Extract from
8183         `ruby-mode-set-encoding'.
8184         (ruby-mode-set-encoding): Add the ability to always insert an
8185         utf-8 encoding comment.  Fix and simplify coding comment update
8186         logic.
8188 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
8190         * net/tramp-gvfs.el (top): Run init code only when
8191         `tramp-gvfs-enabled' is not nil.
8192         (tramp-gvfs-enabled): Check also :system bus.
8194 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8196         Sync with upstream verilog-mode revision 78e66ba.
8197         * progmodes/verilog-mode.el (verilog-end-of-defun)
8198         (verilog-type-completion, verilog-get-list): Remove unused funcs.
8199         (verilog-get-end-of-defun): Remove unused argument.
8200         (verilog-comment-depth): Remove unused local `e'.
8201         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8202         Don't pass arg to verilog-get-end-of-defun.
8204 2013-11-14  Glenn Morris  <rgm@gnu.org>
8206         * obsolete/assoc.el (aget): Prefix dynamic variable.
8208         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8210 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8212         * widget.el, hfy-cmap.el: Remove bogus package version number.
8214 2013-11-13  Glenn Morris  <rgm@gnu.org>
8216         * replace.el (replace-eval-replacement):
8217         Try to give more helpful error message.  (Bug#15836)
8219         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8220         (archive-7z-update): Avoid custom type mismatches.
8222         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8224 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
8226         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8227         address can be empty.
8229         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8230         Accept nil SWITCHES.
8231         (tramp-gvfs-handle-write-region): Implement APPEND.
8233 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
8235         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8236         binary "|" operator and closing block args delimiter.
8237         Remove FIXME comment referring to Ruby 1.8-only syntax.
8238         (ruby-smie--implicit-semi-p): Not after "|" operator.
8239         (ruby-smie--closing-pipe-p): New function.
8240         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8241         (ruby-smie-rules): Indent after "|".
8243 2013-11-12  Glenn Morris  <rgm@gnu.org>
8245         * ps-print.el (ps-face-attribute-list):
8246         Handle anonymous faces.  (Bug#15827)
8248 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
8250         * window.el (display-buffer-other-frame): Fix doc-string.
8251         (Bug#15868)
8253 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8255         * subr.el (force-mode-line-update): Delete, move to buffer.c.
8257 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
8259         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8260         (tramp-sh-handle-file-local-copy): Don't write a message when
8261         saving temporary files.
8263         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8264         both directories are remote.
8265         (tramp-smb-handle-directory-files): Do not return double entries.
8266         Do not expand full file names.
8267         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8268         (tramp-smb-handle-write-region): Implement APPEND.
8269         (tramp-smb-get-stat-capability): Fix a stupid bug.
8271 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8273         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8275 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8277         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8278         throwing error over malformed let/let* (bug#15814).
8280 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8282         * iswitchb.el (iswitchb-mode): Mark obsolete.
8284 2013-11-11  Glenn Morris  <rgm@gnu.org>
8286         * international/uni-bidi.el, international/uni-category.el:
8287         * international/uni-name.el, international/uni-numeric.el:
8288         Regenerate for Unicode 6.3.0.
8290 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
8292         * net/tramp.el (tramp-methods):
8293         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8294         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8296 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
8298         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8299         Force highlighting text after Summary keyword in doc face for rpm.
8301 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
8303         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8304         available and the word has no wildcards, append one to the grep pattern.
8305         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8306         (ispell-complete-word): Call `ispell-lookup-words' with the value
8307         independent of `ispell-look-p'.
8309 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8311         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8312         Not after "||".
8313         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8314         their parent.
8316 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8318         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
8319         (ruby-font-lock-keywords): Use backquote.
8321 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8323         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8324         (ruby-smie--backward-token): Only consider full-string matches.
8326 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
8328         * faces.el (describe-face): Add distant-foreground.
8330 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
8332         * progmodes/ruby-mode.el: Improve encoding comment handling.
8333         (ruby-encoding-magic-comment-style): New option.
8334         (ruby-custom-encoding-magic-comment-template): New option.
8335         (ruby--insert-coding-comment, ruby--detect-encoding):
8336         New functions extracted from `ruby-mode-set-encoding'.
8337         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8338         to control the style of the auto-inserted encoding comment.
8340 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8342         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8343         Use `smie-backward-sexp' with token argument.
8345 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
8347         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8348         Remove instrumentation code.
8350 2013-11-08  Glenn Morris  <rgm@gnu.org>
8352         * progmodes/autoconf.el (autoconf-mode):
8353         Tweak comment-start-skip.  (Bug#15822)
8355 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8357         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8358         at bobp (bug#15826).
8359         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8361 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
8363         * man.el (Man-start-calling): New macro, extracted from
8364         Man-getpage-in-background.
8365         (Man-getpage-in-background): Use it.
8366         (Man-update-manpage): New command.
8367         (Man-mode-map): Bind it.
8369 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8371         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8372         of "and", "or", "&&" and "||".
8373         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8374         argument.  Prohibit opening curly brace because it could only be a
8375         block opener in that position.
8376         (ruby-smie--forward-token, ruby-smie--backward-token):
8377         Separate "|" from "&" or "*" going after it.  That can happen in block
8378         arguments.
8379         (ruby-smie--indent-to-stmt): New function, seeks the end of
8380         previous statement or beginning of buffer.
8381         (ruby-smie-rules): Use it.
8382         (ruby-smie-rules): Check if there's a ":" before a curly block
8383         opener candidate; if there is, it's a hash.
8385 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8387         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8388         (cl--block-wrapper): Fix last accidental change.
8390 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
8392         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8393         Instrument, in order to hunt failure on hydra.
8395 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8397         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8398         malformed bindings form (bug#15814).
8400 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
8402         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8403         "." compared to " @ ".  This incidentally fixes some indentation
8404         examples with "do".
8405         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8406         (ruby-smie-grammar): New tokens: "and" and "or".
8407         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8408         Exclude "and" and "or".  Remove "do" in order to work around token
8409         priorities.
8410         (ruby-smie-rules): Add all infix tokens.  Handle the case of
8411         beginning-of-buffer.
8413 2013-11-06  Glenn Morris  <rgm@gnu.org>
8415         * Makefile.in (setwins_almost, setwins_for_subdirs):
8416         Avoid accidental matches.
8418 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8420         * menu-bar.el (popup-menu): Use key-binding.
8422 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
8424         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8425         menus, support also the menus produced by minor modes.
8426         (Bug#15817)
8428 2013-11-06  Leo Liu  <sdl.web@gmail.com>
8430         * thingatpt.el (thing-at-point-looking-at): Add optional arg
8431         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
8433 2013-11-06  Glenn Morris  <rgm@gnu.org>
8435         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8436         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8437         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8439 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8441         * electric.el (electric-indent-just-newline): New command.
8442         (electric-indent-mode-map): New keymap.
8443         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8444         Re-add :group which weren't redundant.
8446         * electric.el (electric-indent-local-mode): New minor mode.
8447         (electric-indent-functions-without-reindent): New var.
8448         (electric-indent-post-self-insert-function): Use it.
8449         * emacs-lisp/gv.el (buffer-local-value): Add setter.
8451 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
8453         * international/quail.el (quail-help): Be more explicit about the
8454         meaning of the labels shown on the keys.  (Bug#15800)
8456         * startup.el (normal-top-level): Load the subdirs.el files before
8457         setting the locale environment.  (Bug#15805)
8459 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8461         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8462         via arguments so as to get the right ones (bug#15418).
8464         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8466 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
8468         Fix problems found while writing a test suite.
8470         * net/tramp-compat.el (tramp-compat-load): New defun.
8471         * net/tramp.el (tramp-handle-load): Use it.
8473         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8474         "(numberp ok-if-already-exists)" correctly.
8476 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
8478         * international/characters.el (glyphless-char-display-control):
8479         Add usage note.
8481 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
8483         * progmodes/python.el (python-mode):
8484         * progmodes/scheme.el (scheme-mode):
8485         * progmodes/prolog.el (prolog-mode):
8486         * progmodes/ruby-mode.el (ruby-mode):
8487         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
8488         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
8490 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8492         * rect.el (rectangle--highlight-for-redisplay):
8493         * emacs-lisp/smie.el (smie--next-indent-change):
8494         Use buffer-chars-modified-tick.
8496         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
8498         * electric.el (electric-indent-post-self-insert-function):
8499         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
8501 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
8503         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
8505 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8507         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
8508         (bug#15786).
8510 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8512         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
8514         * progmodes/python.el: Fix up last change.
8515         (python-shell--save-temp-file): New function.
8516         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
8517         `string' comes from the current buffer.
8518         (python-shell-send-string-no-output): Remove `msg' arg.
8519         (python--use-fake-loc): New var.
8520         (python-shell-buffer-substring): Obey it.  Try to compensate for the
8521         extra coding line added by python-shell--save-temp-file.
8522         (python-shell-send-region): Use python-shell--save-temp-file and
8523         python-shell-send-file directly.  Add `nomain' argument.
8524         (python-shell-send-buffer): Use python-shell-send-region.
8525         (python-electric-pair-string-delimiter): New function.
8526         (python-mode): Use it.
8528 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
8530         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
8531         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
8532         environment and decoding all of the default-directory's to here
8533         from command-line.
8534         (command-line): Decode also argv[0].
8536         * loadup.el: Error out if default-directory is a multibyte string
8537         when we are dumping.
8539         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
8541 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
8543         * emacs-lisp/package.el (package-menu-mode)
8544         (package-menu--print-info, package-menu--archive-predicate):
8545         Add Archive column to package list.
8547 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
8549         Fix problems found while writing a test suite.
8551         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
8552         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
8553         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8554         to nil when running original file name handler.  Otherwise,
8555         there are problems with constructs like "$$FOO".
8557         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
8558         for `localname'.
8560 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
8562         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
8564         * subr.el (version<, version<=, version=):
8565         Update docstrings with information for snapshot versions.
8567         * helpers.el: New library for misc helper functions.
8568         (hash-table-keys): New function returning a list of hash keys.
8569         (hash-table-values): New function returning a list of hash values.
8571 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
8573         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8574         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
8576 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
8578         * textmodes/fill.el (fill-single-char-nobreak-p): New function
8579         checking whether point is after a 1-letter word.
8581 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8583         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8584         Don't infloop when expanding region over `multiline' syntax-type that
8585         begins a line (bug#15778).
8587 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8589         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8590         Make it into a proper minor mode.
8591         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8592         (rectangle-mark-mode-map): New keymap.
8593         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8595 2013-11-04  Glenn Morris  <rgm@gnu.org>
8597         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8599 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8601         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8602         (ruby-smie-rules): Use smie-rule-parent instead.
8604         * emacs-lisp/smie.el (smie-rule-parent): Always call
8605         smie-indent-virtual rather than only for hanging tokens.
8606         (smie--next-indent-change): New helper command.
8608 2013-11-03  Glenn Morris  <rgm@gnu.org>
8610         * Makefile.in (abs_srcdir): Remove.
8611         (emacs): Unset EMACSLOADPATH.
8613 2013-11-02  Glenn Morris  <rgm@gnu.org>
8615         * Makefile.in (EMACS): Use a relative filename.
8616         (abs_top_builddir): Remove.
8617         (custom-deps, finder-data, autoloads): Use --chdir.
8619         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8621         Use relative filenames in TAGS files.
8622         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8623         (lisptagsfiles4, TAGS): Use relative file names.
8624         (TAGS-LISP): Remove.
8625         (maintainer-clean): No more TAGS-LISP file.
8627         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8628         (lisptagsfiles4): Use absolute filenames again.
8629         (TAGS, TAGS-LISP): Not everything needs to run in one line.
8630         Remove all *loaddefs files, not just the first.  Remove esh-groups.
8631         (maintainer-clean): Delete TAGS, TAGS-LISP.
8633 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8635         * emacs-lisp/package.el (package-version-join):
8636         Recognize snapshot versions.
8638 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8640         * subr.el (version-regexp-alist): Add support for snapshot versions.
8642 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8644         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
8645         New function, replacement for `smie-rule-parent' for when we want to
8646         skip over our direct parent if it's an assignment token..
8647         (ruby-smie-rules): Use it.
8649 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8651         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
8652         unconditionally.  Remove now unnecessary forward declarations.
8653         Remove XEmacs-specific setup.
8654         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8655         (ruby-font-lock-syntactic-keywords)
8656         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
8657         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8658         (ruby-here-doc-end-syntax): Remove.
8659         (ruby-mode): Don't check whether `syntax-propertize-rules' is
8660         defined as function.
8662 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8664         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
8666 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8668         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
8669         table and abbrev table, `define-derived-mode' does that for us
8670         anyway.
8672 2013-11-01  Glenn Morris  <rgm@gnu.org>
8674         * Makefile.in: Remove manual mh-e dependencies (writing .elc
8675         files is atomic for some time, so no parallel compilation issues).
8677 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
8679         * faces.el (face-x-resources): Add :distant-foreground.
8680         (region): Use :distant-foreground for gtk and ns.
8682 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
8684         Allow multiple bibliographies when BibLaTeX is used rather than
8685         BibTeX.
8686         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
8687         (reftex-locate-bibliography-files): Us it.
8689 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
8691         * image.el (image-type-header-regexps): Fix the 'pbm' part to
8692         allow comments in pbm files.
8694         * term/w32-win.el (dynamic-library-alist): Support newer versions
8695         of libjpeg starting with v7: look only for the DLL from the
8696         version against which Emacs was built.
8697         Support versions of libpng beyond 1.4.x.
8698         Support libtiff v4.x.
8700 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8702         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
8703         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
8704         Add property :safe.
8705         (ruby-deep-arglist): Add property :type.
8707 2013-10-31  Glenn Morris  <rgm@gnu.org>
8709         * Makefile.in (custom-deps, finder-data): No need to setq the target
8710         variables, we are in the right directory and the defaults work fine.
8712 2013-10-30  Glenn Morris  <rgm@gnu.org>
8714         * Makefile.in (autoloads): Do not use abs_lisp.
8716         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8717         `newline' does not respect `standard-output', so use `princ'.
8719 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
8721         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
8722         * buff-menu.el (Buffer-menu--unmark): New function.
8723         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
8725 2013-10-30  Glenn Morris  <rgm@gnu.org>
8727         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
8729         * emacs-lisp/package.el (lm-homepage): Declare.
8731         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
8732         Fix doc typos.
8734         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
8736         * Makefile.in (finder-data, autoloads, update-subdirs)
8737         (compile-main, compile-clean, compile-always, bootstrap-clean):
8738         Check return value of cd.
8739         (compile-calc): Remove.
8741 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8743         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
8745         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
8746         (byte-compile-and-folded): New function.
8747         (=, <, >, <=, >=): Use it.
8749         * dos-w32.el (minibuffer-history-case-insensitive-variables)
8750         (path-separator, null-device, buffer-file-coding-system)
8751         (lpr-headers-switches): Check system-type before modifying them.
8752         (find-buffer-file-type-coding-system): Mark obsolete.
8753         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
8754         find-file-not-found-set-buffer-file-coding-system.
8755         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
8756         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
8757         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
8758         (w32-direct-print-region-helper, w32-direct-print-region-function)
8759         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
8760         * startup.el (normal-top-level-add-subdirs-to-load-path):
8761         * ps-print.el (ps-print-region-function):
8762         * lpr.el (print-region-function): Use new name.
8764         * subr.el (custom-declare-variable-early): Remove function.
8765         (custom-declare-variable-list): Remove var.
8766         (error, user-error): Remove `while' loop.
8767         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
8768         (user-emacs-directory-warning, locate-user-emacs-file):
8769         Move to files.el.
8770         * simple.el (read-quoted-char-radix, read-quoted-char):
8771         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
8772         Move from subr.el.
8773         * custom.el (custom-declare-variable-list): Don't process
8774         custom-declare-variable-list.
8776         * progmodes/python.el (python-shell-get-buffer): New function.
8777         (python-shell-get-process): Use it.
8778         (python-shell-send-string): Always use utf-8 and add a cookie to tell
8779         Python which encoding was used.  Don't split-string since we only care
8780         about the first line.  Return the temp-file, if applicable.
8781         (python-shell-send-region): Tell compile.el how to turn locations in
8782         the temp-file into locations in the source buffer.
8784 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8786         * subr.el (undefined): Add missing behavior from the C code for
8787         unbound keys.
8789         * rect.el: Use lexical-binding.  Add new rectangular region support.
8790         (rectangle-mark): New command.
8791         (rectangle--region): New var.
8792         (deactivate-mark-hook): Reset rectangle--region.
8793         (rectangle--extract-region, rectangle--insert-for-yank)
8794         (rectangle--highlight-for-redisplay)
8795         (rectangle--unhighlight-for-redisplay): New functions.
8796         (region-extract-function, redisplay-unhighlight-region-function)
8797         (redisplay-highlight-region-function): Use them to handle
8798         rectangular region.
8799         * simple.el (region-extract-function): New var.
8800         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
8801         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
8802         (kill-region): Replace obsolete `yank-handler' arg with `region'.
8803         (copy-region-as-kill, kill-ring-save): Add `region' argument.
8804         (redisplay-unhighlight-region-function)
8805         (redisplay-highlight-region-function): New vars.
8806         (redisplay--update-region-highlight): New function.
8807         (pre-redisplay-function): Use it.
8808         (exchange-point-and-mark): Don't deactivate the mark before
8809         reactivate-it anyway.
8810         * comint.el (comint-kill-region): Remove yank-handler argument.
8811         * delsel.el (delete-backward-char, backward-delete-char-untabify)
8812         (delete-char): Remove property, since it's now part of their
8813         default behavior.
8814         (self-insert-iso): Remove property since this command doesn't exist.
8816         * emacs-lisp/package.el (package--download-one-archive)
8817         (describe-package-1): Don't query the user about final newline.
8819 2013-10-29  Daniel Colascione  <dancol@dancol.org>
8821         * net/tramp.el (tramp-methods): Document new functionality.
8822         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
8823         tramp-hostname-checker if method provides one instead of scanning
8824         argument list for "%h" to decide hostname acceptability.
8826 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
8828         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8829         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8830         Handle COPY-CONTENTS.  (Bug#15737)
8832 2013-10-28  Daiki Ueno  <ueno@gnu.org>
8834         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
8835         Document that this option has no effect with GnuPG 2.0 (bug#15552).
8837 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
8839         * image.el (defimage, image-load-path): Doc fixes.
8841 2013-10-27  Alan Mackenzie  <acm@muc.de>
8843         Indent statements in macros following "##" correctly.
8844         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8845         Modify the "#" arm of a cond form to handle "#" and "##" operators.
8847 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8849         * linum.el (linum-update-window): Fix boundary test (bug#13446).
8851 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
8853         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8854         after `=' is probably a new expression.
8856 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8858         * man.el (man-imenu-title): New option.
8859         (Man-mode-map): Add menu.  (Bug#15722)
8860         (Man-mode): Add imenu to menu.
8862 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
8864         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8865         specific in what the first arg can be: a non-keyword word,
8866         string/regexp/percent literal opener, opening paren, or unary
8867         operator followed directly by word.
8869 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8871         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8872         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8873         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8874         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8875         Remove vars, they do not apply any more.
8876         (prolog-mode-abbrev-table): Remove redundant declaration.
8877         (prolog-upper-case-string, prolog-lower-case-string): Remove.
8878         (prolog-use-smie): Remove.
8879         (prolog-smie-rules): Add indentation rule for the if-then-else layout
8880         supported by prolog-electric-if-then-else-flag.
8881         (prolog-mode-variables, prolog-menu): Use setq-local.
8882         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8883         Remove binding to `Backspace' since this key doesn't exist anyway.
8884         Remove bindings for electric self-inserting keys.
8885         (prog-mode): Assume it's defined.
8886         (prolog-post-self-insert): New function.
8887         (prolog-mode): Use it.
8888         (prolog-indent-line, prolog-indent-level)
8889         (prolog-find-indent-of-matching-paren)
8890         (prolog-indentation-level-of-line, prolog-goto-comment-column)
8891         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8892         (prolog-goto-next-paren, prolog-in-string-or-comment)
8893         (prolog-tokenize, prolog-inside-mline-comment)
8894         (prolog-find-start-of-mline-comment): Remove functions.
8895         (prolog-find-unmatched-paren, prolog-clause-end)
8896         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8897         (prolog-electric--if-then-else): Rename from
8898         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8899         (prolog-tokenize-searchkey): Remove const.
8900         (prolog-clause-info): Use forward-sexp.
8901         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8902         (prolog-electric-if-then-else): Remove commands.
8903         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8904         for use in post-self-insert-hook.
8905         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8906         for use in post-self-insert-hook.
8907         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8908         for use in post-self-insert-hook.
8909         (prolog-electric--underscore): Rename from prolog-electric--underscore;
8910         adapt it for use in post-self-insert-hook.
8912 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
8914         * emacs-lisp/ert.el (ert-run-tests-interactively):
8915         Use `completing-read'.  (Bug#9756)
8917 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
8919         * simple.el (line-move): Call line-move-1 instead of
8920         line-move-visual when the current window hscroll is zero, but
8921         temporary-goal-column indicates we will need to hscroll as result
8922         of the movement.  (Bug#15712)
8924 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
8926         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8927         capitalization.  Use :visible instead of :active.
8928         Fix `ruby-indent-exp' reference.  Add menu items for the generic
8929         commands that are used with SMIE.
8930         (ruby-do-end-to-brace): Insert space after `{'.
8932 2013-10-25  John Anthony  <john@jo.hnanthony.com>
8934         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
8936         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
8938 2013-10-25  Glenn Morris  <rgm@gnu.org>
8940         * vc/vc.el (vc-print-log): Don't use a working revision unless
8941         one was explicitly specified.  (Bug#15322)
8943 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8945         * subr.el (add-to-list): Preserve return value in compiler-macro
8946         (bug#15692).
8948 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8950         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8951         result.  Ask user to retry using '-all' flag.  (Bug#15701)
8953 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8955         * emacs-lisp/smie.el: New smie-config system.
8956         (smie-config): New defcustom.
8957         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8958         (smie-config-guess, smie-config-save): New commands.
8959         (smie-config--mode-local, smie-config--buffer-local)
8960         (smie-config--trace, smie-config--modefuns): New vars.
8961         (smie-config--advice, smie-config--mode-hook)
8962         (smie-config--setter, smie-config-local, smie-config--get-trace)
8963         (smie-config--guess-value, smie-config--guess): New functions.
8964         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8965         text properties.  Treat "string fence" syntax like string syntax.
8967         * progmodes/sh-script.el (sh-use-smie): Change default.
8968         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8969         (sh-var-value): Simplify by CSE.
8970         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8971         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8972         is used.
8973         (sh-guess-basic-offset): Use cl-incf.
8974         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8976 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
8978         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8979         (bug#15699).
8981 2013-10-24  Glenn Morris  <rgm@gnu.org>
8983         * Makefile.in (abs_top_srcdir): Remove.
8984         (update-subdirs): Use relative path to update-subdirs.
8986 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
8988         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8989         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8990         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8991         Call unmsys--file-name before expand-file-name, not after it.
8993 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
8995         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8996         (ert-test-skipped): New error.
8997         (ert-skip, ert-stats-skipped): New defuns.
8998         (ert--skip-unless): New macro.
8999         (ert-test-skipped): New struct.
9000         (ert--run-test-debugger, ert-test-result-type-p)
9001         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9002         (ert--stats-set-test-and-result, ert-char-for-test-result)
9003         (ert-string-for-test-result, ert-run-tests-batch)
9004         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9005         Handle skipped tests.  (Bug#9803)
9007 2013-10-24  Glenn Morris  <rgm@gnu.org>
9009         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9011         * Makefile.in (abs_top_srcdir): New, set by configure.
9012         (update-subdirs): Correct build-aux location.
9014 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
9016         * vc/vc.el (vc-print-root-log): Always set `default-directory'
9017         value, whether we could auto-deduce `backend', or not.
9019         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9020         with parameters" example.  Simplify the "is it block or is it
9021         hash" check, but also make it more thorough.
9023 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
9025         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
9027 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9029         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9030         { if it is hanging.
9032         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9033         :before ";".
9035 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
9037         * progmodes/compile.el (compilation-directory-matcher)
9038         (compilation-page-delimiter):
9039         Support GNU Make-4.0 directory quoting.  (Bug#15678)
9041 2013-10-23  Leo Liu  <sdl.web@gmail.com>
9043         * ido.el (ido-tidy): Handle read-only text.
9045 2013-10-23  Glenn Morris  <rgm@gnu.org>
9047         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9048         (emacs, compile, compile-always):
9049         Quote entities that might contain whitespace.
9050         (custom-deps, finder-data, autoloads): Use abs_lisp.
9051         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9052         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9053         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9055 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
9057         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9058         Use `following-char'.
9060 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9062         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9063         * progmodes/ruby-mode.el (ruby-smie-rules):
9064         Remove corresponding workaround.  Fix indentation rule of ";" so it
9065         also applies when ";" is the parent.
9067 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
9069         * frame.el (display-screens, display-pixel-height)
9070         (display-pixel-width, display-mm-width, display-backing-store)
9071         (display-save-under, display-planes, display-color-cells)
9072         (display-visual-class, display-monitor-attributes-list):
9073         Mention the optional ‘display’ argument in doc strings.
9075 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
9077         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9078         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
9080 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9082         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9083         TODO.  Add "." after " @ ".
9084         (ruby-smie--at-dot-call): New function.  Checks if point at method
9085         call with explicit target.
9086         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9087         to the method name tokens when it precedes them.
9088         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9089         (ruby-smie-rules): Add rule for indentation before and after "."
9090         token.
9092 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9094         * textmodes/remember.el (remember-diary-extract-entries):
9095         Avoid add-to-list.
9097         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9098         an instruction.
9100 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9102         * progmodes/ruby-mode.el (ruby-smie-grammar):
9103         Add (almost) all infix operators.
9104         (ruby-smie--implicit-semi-p): Add new operator chars.
9106         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9107         `smie-down-list'.
9108         (ruby-smie--args-separator-p): Check that there's no newline
9109         between method call and its arguments.
9111 2013-10-20  Alan Mackenzie  <acm@muc.de>
9113         Allow comma separated lists after Java "implements".
9115         * progmodes/cc-engine.el (c-backward-over-enum-header):
9116         Parse commas.
9117         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9118         from a "disallowed" list in enum fontification.
9120 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
9122         * startup.el (default-frame-background-mode): Remove unused defvar.
9124         * progmodes/verilog-mode.el (verilog-mode): Don't set
9125         comment-indent-function globally.
9127 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
9129         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9130         Move Info menu item creation to ns-win.el.
9132         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9133         in menu bar.
9135         * menu-bar.el: Move GNUstep specific menus...
9137         * term/ns-win.el (ns-initialize-window-system): ... to here.
9139 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9141         * simple.el (newline): Only run post-self-insert-hook when
9142         called interactively.
9144 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
9146         * icomplete.el (icomplete-with-completion-tables): Add :version.
9148 2013-10-19  Alan Mackenzie  <acm@muc.de>
9150         Fix fontification bugs with constructors and const.
9152         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9153         CASE 2) Remove the check for the absence of a suffix construct
9154         after a function declaration with only types (no identifiers) in
9155         the parentheses.  Also, accept a function declaration with just a
9156         type inside the parentheses, if this type can be positively
9157         recognised as such, or if a prefix keyword like "explicit" nails
9158         down the construct as a declaration.
9160 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
9162         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9163         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
9164         the problem whereby selecting a menu item that leads to a
9165         minibuffer prompt moves the cursor out of the minibuffer window,
9166         making it hard to type at the prompt.  Suggested by Stefan Monnier
9167         <monnier@iro.umontreal.ca>.
9169 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
9171         * menu-bar.el: Don't make Services menu.
9173 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9175         * ffap.el: Handle "/usr/include/c++/<version>" directories.
9176         (ffap-alist): Use ffap-c++-mode for c++-mode.
9177         (ffap-c++-path): New variable.
9178         (ffap-c++-mode): New function.
9180 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
9182         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
9184 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
9186         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9187         introduced on 2013-09-08, which results in an infinite loop
9188         requesting a password.
9190 2013-10-18  Glenn Morris  <rgm@gnu.org>
9192         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9194 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
9196         Sync with upstream verilog-mode revision 1a6ecec7.
9197         * progmodes/verilog-mode.el (verilog-mode-version): Update.
9198         (verilog-mode-release-date): Remove.
9199         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9200         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9201         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9202         (verilog-auto-tieoff-ignore-regexp)
9203         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9204         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9205         (verilog-signals-with, verilog-dir-cache-preserving)
9206         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9207         Doc fixes.
9208         (verilog-case-fold): New option, to control case folding in
9209         regexp searches, bug597.
9210         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9211         (verilog-string-match-fold, verilog-in-paren-count)
9212         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9213         (verilog-at-close-struct-p): New functions.
9214         (verilog-beg-block-re-ordered, verilog-extended-case-re)
9215         (verilog-forward-sexp, verilog-set-auto-endcomments)
9216         (verilog-leap-to-case-head): Handle "unique0" case.
9217         (verilog-in-constraint-re): New constant.
9218         (verilog-keywords, verilog-type-font-keywords):
9219         Add some SystemVerilog 1800-2012 keywords.
9220         (verilog-label-be): Remove unimplemented argument, bug669.
9221         (verilog-batch-execute-func): When batch expanding clear
9222         create-lockfiles to prevent spurious user locks when a file ends
9223         up not changing.
9224         (verilog-calculate-indent, verilog-calc-1)
9225         (verilog-at-close-constraint-p, verilog-at-constraint-p)
9226         (verilog-do-indent): Fix indentation of nested constraints
9227         and structures.
9228         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9229         (verilog-auto-inst-param): Use verilog-string-match-fold.
9230         (verilog-read-inst-module-matcher):
9231         Fix AUTOINST on gate primitives with #1.
9232         (verilog-read-decls): Fix double-declaring user-defined typed signals.
9233         Reads all user-defined typed variables.
9234         (verilog-read-defines): Fix reading definitions inside comments, bug647.
9235         (verilog-signals-matching-regexp)
9236         (verilog-signals-not-matching-regexp, verilog-auto):
9237         Respect verilog-case-fold.
9238         (verilog-diff-report): Fix line count.
9239         (verilog-auto-assign-modport): Remove unused local `modi'.
9240         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9241         better handle multidimensional arrays.
9242         Fix packed array ports misadding bit index in AUTOINST, bug637.
9243         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9244         to not double-declare existing outputs and inputs, respectively.
9245         (verilog-template-map): Bind U to verilog-sk-uvm-component.
9246         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9247         (verilog-sk-uvm-component): New skeleton.
9248         (verilog-submit-bug-report): Add verilog-case-fold,
9249         remove verilog-mode-release-date.
9251 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
9253         * subr.el (sit-for): Call (input-pending-p t) so as to behave
9254         as before.
9256 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
9258         * textmodes/remember.el (remember): Set buffer-offer-save in
9259         remember buffers (bug#13566).
9261 2013-10-18  Daniel Colascione  <dancol@dancol.org>
9263         When evaluating forms in ielm, direct standard output to ielm
9264         buffer.  Add new ielm-return-for-effect command.  Remove trailing
9265         whitespace throughout.
9267         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9268         (ielm-return-for-effect): New command.
9269         (ielm-send-input): Accept optional `for-effect' parameter.
9270         (ielm-eval-input): Accept optional `for-effect' parameter.
9271         Bind `standard-output' to stream we create using
9272         `ielm-standard-output-impl'.  Suppress printing result when
9273         `for-effect'.
9274         (ielm-standard-output-impl): New function.
9275         (inferior-emacs-lisp-mode): Explain new features in documentation.
9277 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
9279         Code cleanup.
9281         * net/tramp.el (tramp-debug-message): Do not check for connection
9282         buffer.
9283         (tramp-message): Use "vector" connection property.
9285         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9286         (tramp-equal-remote, tramp-eshell-directory-change)
9287         * net/tramp-adb.el (tramp-adb-handle-copy-file)
9288         (tramp-adb-handle-rename-file)
9289         * net/tramp-cmds.el (tramp-list-remote-buffers)
9290         (tramp-cleanup-connection, tramp-cleanup-this-connection)
9291         * net/tramp-compat.el (tramp-compat-process-running-p)
9292         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9293         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9294         (tramp-gvfs-handle-rename-file)
9295         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9296         (tramp-set-file-uid-gid)
9297         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9298         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9299         of `file-remote-p'.
9301         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9302         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9303         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9304         (tramp-gw-open-network-stream): Suppress unrelated traces.
9306         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9307         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9308         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9309         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9310         connection property.
9312         * net/tramp-cache.el (top): Suppress traces when reading
9313         persistency file.
9315         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9316         Refactor common code.  Improve debug message.
9317         (tramp-maybe-open-connection)
9318         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9319         connection buffer too early.
9321         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9322         from `tramp-smb-actions-with-acl'.
9323         (tramp-smb-actions-set-acl): New defconst.
9324         (tramp-smb-handle-copy-directory)
9325         (tramp-smb-action-get-acl): New defun, renamed from
9326         `tramp-smb-action-with-acl'.
9327         (tramp-smb-action-set-acl): New defun.
9328         (tramp-smb-handle-set-file-acl): Rewrite.
9330 2013-10-17  Glenn Morris  <rgm@gnu.org>
9332         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
9334 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9336         * skeleton.el (skeleton-newline): Remove.
9337         (skeleton-internal-1): Use (insert "\n") instead.
9339         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9340         let-bindings.
9342         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9343         forward-sexp-function while we redo its job (bug#15613).
9345 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
9347         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9348         represented by lists.
9350 2013-10-16  Glenn Morris  <rgm@gnu.org>
9352         * tmm.el (tmm--history): New dynamic variable.
9353         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
9355 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
9357         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9358         (tramp-smb-errors): Add error messages.
9359         (tramp-smb-actions-with-acl): New defconst.
9360         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9361         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9362         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9363         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9364         (tramp-smb-get-stat-capability): Fix tests.
9366 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9368         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9369         (bug#15580).
9371 2013-10-16  Glenn Morris  <rgm@gnu.org>
9373         * ansi-color.el (ansi-color-drop-regexp):
9374         Add 1J, 1K, 2K.  (Bug#15617)
9376         * files.el (hack-local-variables--warned-lexical): New.
9377         (hack-local-variables):
9378         Warn about misplaced lexical-binding.  (Bug#15616)
9380         * net/eww.el (eww-render): Always set eww-current-url,
9381         and update header line.  (Bug#15622)
9382         (eww-display-html): ... Rather than just doing it here.
9384 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
9386         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9387         menu navigations commands.
9389 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9391         * progmodes/subword.el (subword-capitalize): Be careful when
9392         the search for [[:alpha:]] fails (bug#15580).
9394 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
9396         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9397         to commands that scroll the menu.
9399 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
9401         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9402         Handle methods ending with `?' and `!'.
9404 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
9406         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9407         `japanese-cp932' to `cp932' to fix the problem where saving a
9408         source file written in Shift_JIS twice would end up having
9409         `coding: japanese-cp932' which Ruby could not recognize.
9410         (ruby-mode-set-encoding): Add support for encodings mapped to nil
9411         in `ruby-encoding-map'.
9412         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9413         doesn't need to be explicitly declared in magic comment.
9414         (ruby-encoding-map): Add type declaration for better customize UI.
9416 2013-10-13  Glenn Morris  <rgm@gnu.org>
9418         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9419         Occur buffers are read-only.  http://bugs.debian.org/720775
9421         * emacs-lisp/authors.el (authors-fixed-entries):
9422         Comment out old alpha stuff.
9424 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
9426         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9427         to `after-save-hook' instead of `before-save-hook'.
9428         (ruby-mode-set-encoding): Use the value of coding system used to
9429         write the file.  Call `basic-save-buffer-1' after modifying the
9430         buffer.
9432 2013-10-13  Alan Mackenzie  <acm@muc.de>
9434         Fix indentation/fontification of Java enum with
9435         "implements"/generic.
9437         * progmodes/cc-engine.el (c-backward-over-enum-header):
9438         Extracted from the three other places and enhanced to handle generics.
9439         (c-inside-bracelist-p): Uses new function above.
9440         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9441         function above.
9442         (c-font-lock-enum-tail): Uses new function above.
9444 2013-10-13  Kenichi Handa  <handa@gnu.org>
9446         * international/mule-cmds.el (select-safe-coding-system): Remove a
9447         superfluous condition in chekcing whether a coding system is safe
9448         or not.
9450 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
9452         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
9454 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
9456         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
9458 2013-10-13  Glenn Morris  <rgm@gnu.org>
9460         * menu-bar.el (menu-bar-update-buffers):
9461         Unify Buffers menu prompt string.  (Bug#15576)
9463         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
9465         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9466         Add some entries.
9467         (authors-fixed-entries): Use accented form of name.
9469 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9471         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9472         method calls (bug#15594).
9473         (ruby-smie--args-separator-p): New function.
9474         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
9475         recognize paren-free method calls.
9477         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
9478         internals of universal-argument.
9480 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
9482         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
9483         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
9484         dropped menu on second mouse click on the menu bar.
9486 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9488         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
9489         (explicit-shell-file-name): Declare.
9490         (sh--vars-before-point, sh--cmd-completion-table): New functions.
9491         (sh-completion-at-point-function): New function.
9492         (sh-mode): Use it.
9493         (sh-smie--keyword-p): Remove unused argument.
9494         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
9495         vars.
9496         (sh-set-shell): Always setup SMIE, even if we use the
9497         old indentation code.
9499 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
9501         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
9502         cases of ? and =.
9503         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
9504         predicate would return nil are almost non-existent.
9505         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
9507         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
9508         cache also after commands that modify the buffer but don't move
9509         point.
9511 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9513         * env.el (substitute-env-in-file-name): New function.
9514         (substitute-env-vars): Extend the meaning of the optional arg.
9516 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
9518         * term/w32-win.el (dynamic-library-alist): Define separate lists
9519         of GIF DLLs for versions before and after 5.0.0 of giflib.
9520         (Bug#15531)
9522 2013-10-10  João Távora  <joaotavora@gmail.com>
9524         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
9525         not locked, use last revision and current source as
9526         defaults.  (Bug#15569)
9528 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
9530         * menu-bar.el (menu-bar-open): Don't use popup-menu if
9531         menu-bar is hidden.
9533 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
9535         * window.el (pop-to-buffer-same-window): Fix doc-string.
9536         (Bug#15492)
9538 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9540         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
9542 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
9544         * calendar/icalendar.el (icalendar-import-file):
9545         Fix interactive spec.  (Bug#15482)
9547 2013-10-10  Glenn Morris  <rgm@gnu.org>
9549         * desktop.el (desktop-save): Default to saving in .emacs.d,
9550         since PWD is no longer in desktop-path by default.  (Bug#15319)
9552         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
9553         now that text mode has a menu with the same entry.
9554         (menu-bar-text-mode-auto-fill): Remove now unused func.
9555         * textmodes/text-mode.el (text-mode-map):
9556         Use auto-fill help text from menu-bar.el.
9558 2013-10-10  John Anthony  <john@jo.hnanthony.com>
9560         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
9562 2013-10-09  Juri Linkov  <juri@jurta.org>
9564         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
9565         instead of this-command-keys.  Add universal-argument-more and
9566         universal-argument-minus to the list of prefix commands.  (Bug#15568)
9568 2013-10-09  Glenn Morris  <rgm@gnu.org>
9570         * vc/vc-svn.el (vc-svn-create-repo):
9571         Expand paths in file://... url.  (Bug#15446)
9573         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
9574         Add some entries.
9575         (authors): Remove unused local variables.
9577 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9579         * profiler.el: Create a more coherent calltree from partial backtraces.
9580         (profiler-format): Hide the tail with `invisible' so that C-s can still
9581         find the hidden elements.
9582         (profiler-calltree-depth): Don't recurse so enthusiastically.
9583         (profiler-function-equal): New hash-table-test.
9584         (profiler-calltree-build-unified): New function.
9585         (profiler-calltree-build): Use it.
9586         (profiler-report-make-name-part): Indent the calltree less.
9587         (profiler-report-mode): Add visibility specs for profiler-format.
9588         (profiler-report-expand-entry, profiler-report-toggle-entry):
9589         Expand the whole subtree when provided with a prefix arg.
9591 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
9593         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9594         iuwu-mod token.
9595         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9596         hanging iuwu-mod token.
9597         (ruby-smie--forward-token): Do not include a dot after a token in
9598         that token.
9599         (ruby-smie--backward-token): Likewise.
9601 2013-10-08  Juri Linkov  <juri@jurta.org>
9603         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9604         to isearch-other-control-char.
9605         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9606         and isearch-post-command-hook to post-command-hook.
9607         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9608         and isearch-post-command-hook from post-command-hook.
9609         (isearch-unread-key-sequence)
9610         (isearch-reread-key-sequence-naturally)
9611         (isearch-lookup-scroll-key, isearch-other-control-char)
9612         (isearch-other-meta-char): Remove functions.
9613         (isearch-pre-command-hook, isearch-post-command-hook):
9614         New functions based on isearch-other-meta-char rewritten
9615         relying on the new behavior of overriding-terminal-local-map
9616         that does not replace the local keymaps any more.  (Bug#15200)
9618 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
9620         Support menus on text-mode terminals.
9621         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
9622         functionality.
9624         * tooltip.el (tooltip-mode): Don't error out on TTYs.
9626         * menu-bar.el (popup-menu, popup-menu-normalize-position):
9627         Move here from mouse.el.
9628         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
9629         and arrow keys.
9630         (tty-menu-navigation-map): New map for TTY menu navigation.
9632         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
9634         * frame.el (display-mouse-p): Report text-mode mouse as available
9635         on w32.
9636         (display-popup-menus-p): Report availability if mouse is
9637         available; don't condition on window-system.
9639         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
9640         (tty-menu-selected-face): New faces.
9642 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9644         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
9645         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
9646         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
9647         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
9648         New constants.
9649         (lisp-mode-variables): New `elisp' argument.
9650         (emacs-lisp-mode): Use it.
9651         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
9652         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
9654         * indent.el: Use lexical-binding.
9655         (indent-region): Add progress reporter.
9656         (tab-stop-list): Make it implicitly extend to infinity by repeating the
9657         last step.
9658         (indent--next-tab-stop): New function to implement this behavior.
9659         (tab-to-tab-stop, move-to-tab-stop): Use it.
9661 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
9663         * indent.el (indent-rigidly--current-indentation): New function.
9664         (indent-rigidly-map): New var.
9665         (indent-rigidly): Use it to provide interactive mode (bug#8196).
9667 2013-10-08  Bastien Guerry  <bzg@gnu.org>
9669         * register.el (insert-register): Fix 2013-10-07 change.
9671 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9673         * progmodes/perl-mode.el: Use lexical-binding.
9674         Remove redundant :group args.
9675         (perl-nochange): Change default to be closer to other major modes's
9676         standard behavior.
9677         (perl-indent-line): Don't consider text on current line as a
9678         valid beginning of function from which to indent.
9680         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
9681         with more than one argument (bug#15538).
9683         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
9685         * vc/pcvs.el: Use lexical-binding.
9686         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
9687         environment of `eval'.
9688         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
9689         than a list of expressions.  Adjust callers.
9690         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
9692 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
9694         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
9695         case of the dot in a chained method call being on the following line.
9697 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9699         * electric.el (electric-indent-inhibit): New var.
9700         (electric-indent-post-self-insert-function): Use it.
9701         * progmodes/python.el (python-mode): Set it.
9703         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
9704         open braces.
9706         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
9708         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
9709         (css-mode): Use electric-indent-chars.
9711         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
9712         (font-lock-beg, font-lock-end): Move before first use.
9713         (nxml-mode): Use syntax-propertize-function.
9714         (nxml-after-change, nxml-after-change1): Adjust accordingly.
9715         (nxml-extend-after-change-region): Remove.
9716         * nxml/xmltok.el: Use lexical-binding.
9717         (xmltok-save): Use `declare'.
9718         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
9719         * nxml/nxml-util.el: Use lexical-binding.
9720         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
9721         Use `declare'.
9722         * nxml/nxml-ns.el: Use lexical-binding.
9723         (nxml-ns-save): Use `declare'.
9724         (nxml-ns-prefixes-for): Avoid add-to-list.
9725         * nxml/rng-match.el: Use lexical-binding.
9726         (rng--ipattern): Use cl-defstruct.
9727         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
9728         (rng-cons-group-after, rng-subst-group-after)
9729         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
9730         Use closures instead of `(lambda...).
9732 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
9734         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
9735         of BEG and END.
9737         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9738         Use `tramp-handle-insert-file-contents'.
9739         (tramp-gvfs-handle-insert-file-contents): Remove function.
9741         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9742         Use `save-restriction' in order to keep markers.
9744         * net/trampver.el: Update release number.
9746 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9748         * progmodes/compile.el (compilation-parse-errors):
9749         Use compilation--put-prop.
9750         (compilation--ensure-parse): Check compilation-multiline.
9752         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
9754         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
9755         lexical-binding.
9757         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
9759         * progmodes/ruby-mode.el: Fix recently added tests.
9760         (ruby-smie-grammar): Add - and +.
9761         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
9762         (ruby-smie--backward-id): New functions.
9763         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
9764         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
9765         any more.
9767 2013-10-07  Leo Liu  <sdl.web@gmail.com>
9769         * register.el (register-preview-delay)
9770         (register-preview-functions): New variables.
9771         (register-read-with-preview, register-preview)
9772         (register-describe-oneline): New functions.
9773         (point-to-register, window-configuration-to-register)
9774         (frame-configuration-to-register, jump-to-register)
9775         (number-to-register, view-register, insert-register)
9776         (copy-to-register, append-to-register, prepend-to-register)
9777         (copy-rectangle-to-register): Use register-read-with-preview to
9778         read register.  (Bug#15525)
9780 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
9782         * net/network-stream.el (network-stream-open-starttls): Don't add
9783         --insecure if it's already present, because that gnutls-cli
9784         rejects getting that parameter twice.
9786 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
9788         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
9789         keyword, too.
9791 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
9793         * newcomment.el (comment-use-global-state): Change default value
9794         to t, mark obsolete (Bug#15251).
9795         (comment-beginning): In addition to `comment-to-syntax', check the
9796         value of `comment-use-global-state'.
9798 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9800         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
9801         (ruby-comment-column): Follow the global default, by default.
9802         (ruby-smie-grammar): Add assignment syntax.
9803         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
9804         open-paren, a comma, or a \.
9805         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
9806         and line continuations.
9807         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
9808         followed by implicit semi-colons.  Add rule for string concatenation
9809         and for indentation at BOB.
9810         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
9812         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
9813         calling next-sexp, since next-token may have skipped chars which
9814         next-sexp doesn't know should be skipped!
9816 2013-10-05  Leo Liu  <sdl.web@gmail.com>
9818         * progmodes/octave.el (octave-send-region):
9819         Call compilation-forget-errors.
9821 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9823         * vc/vc-svn.el (vc-svn-find-admin-dir):
9824         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9825         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9826         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9827         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9829 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9831         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9833 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9835         * subr.el (read-passwd): Hide chars even when called within a context
9836         where after-change-functions is disabled (bug#15501).
9837         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9838         until we removed ourself from overriding-terminal-local-map.
9840 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9842         * progmodes/octave.el (inferior-octave-mode):
9843         Call compilation-forget-errors.
9845 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9847         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9849 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
9851         * net/secrets.el (secrets-create-collection): Add optional
9852         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
9853         dbus-call-method argument.  (Bug#15516)
9855 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9857         * progmodes/octave.el (inferior-octave-error-regexp-alist)
9858         (inferior-octave-compilation-font-lock-keywords): New variables.
9859         (compilation-error-regexp-alist)
9860         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9861         (inferior-octave-mode): Use compilation-shell-minor-mode.
9863 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
9865         * minibuffer.el (completion--replace): Be careful that `end' might be
9866         a marker.
9868 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9870         Add support for package signature checking.
9871         * emacs-lisp/package.el (url-http-file-exists-p)
9872         (epg-make-context, epg-context-set-home-directory)
9873         (epg-verify-string, epg-context-result-for)
9874         (epg-signature-status, epg-signature-to-string)
9875         (epg-check-configuration, epg-configuration)
9876         (epg-import-keys-from-file): Declare.
9877         (package-check-signature): New user option.
9878         (package-unsigned-archives): New user option.
9879         (package-desc): Add `signed' field.
9880         (package-load-descriptor): Set `signed' field if .signed file exists.
9881         (package--archive-file-exists-p): New function.
9882         (package--check-signature): New function.
9883         (package-install-from-archive): Check package signature.
9884         (package--download-one-archive): Check archive signature.
9885         (package-delete): Remove .signed file.
9886         (package-import-keyring): New command.
9887         (package-refresh-contents): Import default keyring.
9888         (package-desc-status): Add "unsigned" status.
9889         (describe-package-1, package-menu--print-info)
9890         (package-menu-mark-delete, package-menu--find-upgrades)
9891         (package-menu--status-predicate): Support "unsigned" status.
9893 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9895         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9896         the new compilation scheme using the new byte-codes.
9898         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9899         (byte-pophandler): New byte codes.
9900         (byte-goto-ops): Adjust accordingly.
9901         (byte-compile--use-old-handlers): New var.
9902         (byte-compile-catch): Use new byte codes depending on
9903         byte-compile--use-old-handlers.
9904         (byte-compile-condition-case--old): Rename from
9905         byte-compile-condition-case.
9906         (byte-compile-condition-case--new): New function.
9907         (byte-compile-condition-case): New function that dispatches depending
9908         on byte-compile--use-old-handlers.
9909         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9910         when we can.
9912         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9913         Optimize under `condition-case' and `catch' if
9914         byte-compile--use-old-handlers is nil.
9915         (disassemble-offset): Handle new bytecodes.
9917 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9919         * subr.el (error): Use `declare'.
9920         (decode-char, encode-char): Use advertised-calling-convention instead
9921         of the docstring to discourage use of the `restriction' arg.
9923 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9925         * epg.el (epg-verify-file): Add a comment saying that it does not
9926         notify verification error as a return value nor a signal.
9927         (epg-verify-string): Ditto.
9929 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
9931         * progmodes/compile.el (compilation-start): Try globbing the arg to
9932         `cd' (bug#15417).
9934 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
9936         Sync with Tramp 2.2.8.
9938         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9939         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9940         * net/trampver.el: Update release number.
9942 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
9944         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9945         and default-process-coding-system for darwin only.
9947 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9949         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9951 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
9953         * vc/vc-git.el (vc-git-grep): Disable pager.
9955 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
9957         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9958         Use :url instead of :homepage, as per
9959         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9961         * newcomment.el (comment-beginning): When `comment-use-syntax' is
9962         non-nil, use `syntax-ppss' (Bug#15251).
9964 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9966         * progmodes/octave.el (inferior-octave-startup-file):
9967         Prefer ~/.emacs.d/init_octave.m.
9969 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
9971         * emacs-lisp/package.el (package-desc-from-define):
9972         Accept additional arguments as plist, convert them to an alist and store
9973         them in the `extras' slot.
9974         (package-generate-description-file): Convert extras alist back to
9975         plist and append to the `define-package' form arguments.
9976         (package--alist-to-plist): New function.
9977         (package--ac-desc): Add `extras' slot.
9978         (package--add-to-archive-contents): Check if the archive-contents
9979         vector is long enough, and if it is, pass its `extras' slot value
9980         to `package-desc-create'.
9981         (package-buffer-info): Call `lm-homepage', pass the returned value
9982         to `package-desc-from-define'.
9983         (describe-package-1): Render the homepage button (Bug#13291).
9985         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9986         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9988 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
9990         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9991         and default-process-coding-system to utf-8-unix (Bug#15402).
9993 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
9995         * subr.el (looking-back): Do not recommend using looking-back.
9997 2013-09-28  Alan Mackenzie  <acm@muc.de>
9999         Fix indentation/fontification of Java enum with "implements".
10001         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10002         regexp which matches "implements", etc., in Java.
10003         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10004         specifier clauses coming after "enum".
10005         * progmodes/cc-fonts.el (c-font-lock-declarations)
10006         (c-font-lock-enum-tail): Check for extra specifier clauses coming
10007         after "enum".
10009 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
10011         * faces.el (region): Change ns_selection_color to
10012         ns_selection_fg_color, add ns_selection_bg_color.
10014 2013-09-28  Leo Liu  <sdl.web@gmail.com>
10016         * progmodes/octave.el (inferior-octave-completion-table)
10017         (inferior-octave-completion-at-point): Minor tweaks.
10019         * textmodes/ispell.el (ispell-lookup-words): Rename from
10020         lookup-words.  (Bug#15460)
10021         (lookup-words): Obsolete.
10022         (ispell-complete-word, ispell-command-loop): All uses changed.
10024 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10026         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10027         (octave-mode-menu): Add octave-send-buffer.
10028         (octave-send-buffer): New function.
10030 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10032         * progmodes/octave.el (octave-mode-map): Add key binding for
10033         octave-lookfor.
10034         (octave-mode-menu): Add octave-lookfor.
10035         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10036         octave-lookfor.
10037         (octave-lookfor): New function.
10039 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10041         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10042         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10043         its convention.
10044         (cl--loop-set-iterator-function): New function.
10045         (cl-loop): Adjust accordingly, so as not to use cl-subst.
10046         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10047         Bind `it' with `let' instead of substituting it with `cl-subst'.
10048         (cl--unused-var-p): New function.
10049         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10050         Eliminate some unused variable warnings (bug#15326).
10052 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
10054         * doc-view.el (doc-view-scale-reset): Rename from
10055         `doc-view-reset-zoom-level'.
10056         (doc-view-scale-adjust): New command.
10057         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10058         `doc-view-scale-adjust'.
10060 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
10062         * doc-view.el (doc-view-reset-zoom-level): New command.
10063         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10064         zoom commands (bug#15466).
10066 2013-09-26  Kenichi Handa  <handa@gnu.org>
10068         * international/quail.el (quail-help): Make it not a command.
10070 2013-09-26  Leo Liu  <sdl.web@gmail.com>
10072         * minibuffer.el (completion-all-sorted-completions): Make args
10073         optional as they are.
10075 2013-09-25  Daniel Colascione  <dancol@dancol.org>
10077         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10078         specs are and that they're not evaluated.
10080 2013-09-24  Sam Steingold  <sds@gnu.org>
10082         * midnight.el (clean-buffer-list-kill-regexps)
10083         (clean-buffer-list-kill-buffer-names): Update for the new Man
10084         buffer naming which includes the object name.
10086 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10088         * eshell/esh-cmd.el (eshell--sep-terms): New var.
10089         (eshell-parse-command, eshell-parse-pipeline): Use it since
10090         eshell-separate-commands requires a dynamic scoped var.
10091         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10093 2013-09-23  Leo Liu  <sdl.web@gmail.com>
10095         * autoinsert.el (auto-insert-alist): Make the value of
10096         lexical-binding match its file setting.
10098 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
10100         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10102         * autoarg.el (autoarg-kp-digit-argument):
10103         * electric.el (Electric-command-loop):
10104         * kmacro.el (kmacro-step-edit-insert):
10105         Do not set universal-argument-num-events.
10107 2013-09-22  Leo Liu  <sdl.web@gmail.com>
10109         * files.el (interpreter-mode-alist): Add octave.
10111 2013-09-21  Alan Mackenzie  <acm@muc.de>
10113         C++: fontify identifier in declaration following "public:" correctly.
10114         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10115         to match "public", etc.
10116         (c-decl-prefix-re): Add ":" into the C++ value.
10117         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10118         bit.  Add a check for a ":" preceded by "public", etc.
10120 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
10122         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10123         recognized by GDB 7.5 and later.
10125 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
10127         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10129 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10131         * subr.el (internal--call-interactively): New const.
10132         (called-interactively-p): Use it (bug#3984).
10134 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
10136         * vc/pcvs.el (cvs-mode-ignore):
10137         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10138         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10140 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10142         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
10143         (eshell-ls-orig-insert-directory): Remove.
10144         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
10145         (eshell-ls-use-in-dired): Use advice-add/remove.
10146         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10147         Add `orig-fun' arg for use in :around advice.
10148         Make it check (redundantly) eshell-ls-use-in-dired.
10150 2013-09-19  Glenn Morris  <rgm@gnu.org>
10152         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10154         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10156         * emacs-lisp/eieio.el (class-parent): Undo previous change.
10158 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
10160         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10161         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10162         (tramp-get-remote-python): New defuns.
10163         (tramp-get-remote-uid-with-perl)
10164         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
10165         contributed by yary <not.com@gmail.com> (tiny change).
10166         (tramp-get-remote-uid-with-python)
10167         (tramp-get-remote-gid-with-python): New defuns.  Python code
10168         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10169         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10171 2013-09-19  Glenn Morris  <rgm@gnu.org>
10173         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10175         * eshell/em-unix.el (eshell-remove-entries):
10176         Rename argument to avoid name-clash with global `top-level'.
10178         * eshell/esh-proc.el (eshell-kill-process-function):
10179         Remove eshell-reset-after-proc from eshell-kill-hook if present.
10180         (eshell-reset-after-proc): Remove unused arg `proc'.
10182         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10183         (directory-files-and-attributes): Mark unused arg.
10185         * eshell/em-unix.el (eshell-remove-entries):
10186         Remove unused arg `path'.  Update callers.
10188         * eshell/em-hist.el (eshell-hist-parse-arguments):
10189         Remove unused arg `silent'.  Update callers.
10191         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10192         Fix (f)boundp mix-up.
10194         * eshell/em-smart.el (eshell-smart-scroll-window)
10195         (eshell-disable-after-change):
10196         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10198 2013-09-18  Alan Mackenzie  <acm@muc.de>
10200         Fix fontification of type when followed by "const".
10201         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10202         "known" types from fontification.
10204 2013-09-18  Glenn Morris  <rgm@gnu.org>
10206         * emacs-lisp/chart.el (x-display-color-cells): Declare.
10207         (chart-face-list): Drop Emacsen without display-color-p.
10209         * net/eww.el (libxml-parse-html-region): Declare.
10210         (eww-display-html): Explicit error if no libxml2 support.
10212         * doc-view.el (doc-view-mode): Silence --without-x compilation.
10214         * image.el (image-type-from-buffer, image-multi-frame-p):
10215         Remove --without-x warning/error.
10217         * mouse.el (mouse-yank-primary):
10218         * term.el (term-mouse-paste):
10219         Reorder to silence --without-x compilation.
10221         * mpc.el (doc-view-mode): Silence --without-x compilation.
10223         * mail/rmailmm.el (rmail-mime-set-bulk-data):
10224         Silence --without-x compilation.
10226         * progmodes/gud.el (gud-find-file, gud-mode):
10227         Silence --without-x compilation.
10228         (tooltip-mode): Declare.
10230         * wdired.el (dired-backup-overwrite): Remove declaration.
10231         (wdired-mode-map): Add doc string.
10233         * custom.el (x-get-resource): Declare.
10235         * eshell/em-glob.el (ange-cache):
10236         * eshell/em-unix.el (ange-cache): Declare.
10238         * faces.el (x-display-list, x-open-connection, x-get-resource):
10239         Declare.
10241         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10242         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10243         Declare.
10245         * frame.el (x-display-grayscale-p, x-display-name): Declare.
10247         * net/gnutls.el (gnutls-log-level): Declare.
10249         * net/shr.el (image-size, image-animate): Declare.
10251         * simple.el (font-info): Declare.
10253         * subr.el (x-popup-dialog): Declare.
10255         * term/common-win.el (x-select-enable-primary)
10256         (x-last-selected-text-primary, x-last-selected-text-clipboard):
10257         Declare.
10259         * term/ns-win.el (x-handle-args): Declare.
10261         * term/x-win.el (x-select-enable-clipboard): Declare.
10263         * term/w32-win.el (create-default-fontset): Declare.
10265         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10266         Declare.
10268         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10269         (fit-frame-to-buffer): Explicit error if --without-x.
10270         (mouse-autoselect-window-select): Silence compiler.
10272         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10274         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10275         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10276         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10277         * eshell/esh-util.el (eshell-sublist):
10278         Remove unused local variables.
10280         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10282         * textmodes/two-column.el: Make 2C-split work for --without-x.
10283         (scroll-bar-columns): Autoload.
10284         (top-level): Require fringe when compiling.
10286 2013-09-18  Leo Liu  <sdl.web@gmail.com>
10288         * subr.el (add-hook): Robustify to handle closure as well.
10290 2013-09-17  Glenn Morris  <rgm@gnu.org>
10292         * simple.el (messages-buffer-mode-map): Unbind "g".
10294 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10296         * help-mode.el (help-mode-finish): Use derived-mode-p.
10297         Remove obsolete highlighting.
10299         * play/life.el (life-mode): Use define-derived-mode.  Derive from
10300         special-mode.
10301         (life): Let-bind inhibit-read-only.
10302         (life-setup): Avoid `setq'.  Use `life-mode'.
10304         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10305         which should not be needed any more.
10306         (package-menu-refresh, package-menu-describe-package): Use user-error.
10308         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10309         (eshell-post-rewrite-command-hook): Make obsolete.
10310         (eshell-parse-command): Simplify.
10311         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10312         (eshell--cmd): Declare.
10313         (eshell-parse-pipeline): Remove unused var `final-p'.
10314         Pass a dynvar to eshell-post-rewrite-command-hook.
10315         Implement the new eshell-post-rewrite-command-function.
10316         (eshell-invoke-directly): Remove unused arg `input'.
10317         * eshell/esh-io.el (eshell-io-initialize):
10318         Use eshell-post-rewrite-command-function (bug#15399).
10319         (eshell--apply-redirections): Rename from eshell-apply-redirections;
10320         adjust to new calling convention.
10321         (eshell-create-handles): Rename args to avoid clashing with dynvar
10322         `standard-output'.
10324 2013-09-17  Glenn Morris  <rgm@gnu.org>
10326         * simple.el (messages-buffer-mode): New major mode.
10327         (messages-buffer): New function.
10328         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10329         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10330         (ert-run-test): Use `messages-buffer' function.
10331         (ert--force-message-log-buffer-truncation): Ignore read-only.
10332         * help.el (view-echo-area-messages): Use `messages-buffer' function.
10333         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10335 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10337         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10339         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10341 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10343         * icomplete.el (icomplete-in-buffer): New var.
10344         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10345         vars and replace them with functions.
10346         (icomplete-minibuffer-setup): Adjust accordingly.
10347         (icomplete--completion-table, icomplete--completion-predicate)
10348         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10349         New functions.
10350         (icomplete-forward-completions, icomplete-backward-completions)
10351         (icomplete-simple-completing-p, icomplete-exhibit)
10352         (icomplete-completions): Use them.
10353         (icomplete--in-region-buffer): New var.
10354         (icomplete--in-region-setup): New function.
10355         (icomplete-mode): Use it.
10357         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10358         (bug#15379).
10359         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10360         return args and options.
10361         (eshell-eval-using-options): Use the new return value of
10362         eshell--do-opts to set the options's vars in their scope.
10363         (eshell--set-option): Rename from eshell-set-option.
10364         Add arg `opt-vals'.
10365         (eshell--process-option): Rename from eshell-process-option.
10366         Add arg `opt-vals'.
10367         (eshell--process-args): Use an `opt-vals' alist to store the options's
10368         values during their processing and return them additionally to the
10369         remaining args.
10371 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
10373         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10374         continuation character an operator, as far as indentation is
10375         concerned (Bug#15369).
10377 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
10379         * window.el (window--state-put-2): Don't process buffer state
10380         when buffer doesn't exist any more (Bug#15382).
10382 2013-09-15  Glenn Morris  <rgm@gnu.org>
10384         * eshell/em-unix.el (eshell/rm):
10385         Make -f ignore missing files.  (Bug#15373)
10387         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
10388         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10389         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10391 2013-09-14  Glenn Morris  <rgm@gnu.org>
10393         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10395 2013-09-13  Glenn Morris  <rgm@gnu.org>
10397         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10398         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
10400 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
10402         * frame.el (x-focus-frame): Mark as declared in frame.c.
10404 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10406         * ls-lisp.el: Use advice-add.
10407         (original-insert-directory): Remove.
10408         (ls-lisp--insert-directory): Rename from insert-directory; add
10409         `orig-fun' argument.
10410         (insert-directory): Advise.
10412 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
10414         * term.el (term-emulate-terminal): Decode the command string
10415         before passing it to term-command-hook.  (Bug#15337)
10417 2013-09-13  Glenn Morris  <rgm@gnu.org>
10419         * eshell/esh-util.el (ange-cache): Move declaration earlier.
10421         * eshell/esh-ext.el (eshell-search-path): Declare.
10423         * eshell/em-prompt.el (eshell/pwd): Autoload it.
10424         Otherwise an error occurs if eshell-dirs module not loaded.
10426         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10428 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
10430         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10431         `tramp-check-proper-host'.  Check for a valid method name.
10433         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10434         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10435         * net/tramp-sh.el (tramp-maybe-open-connection):
10436         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10438         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10439         also for hash values.
10441 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10443         * term/ns-win.el (parameters): Don't declare as dynamic.
10444         (before-make-frame-hook): Don't add ineffective function.
10446         * eshell/*.el: Use lexical-binding (bug#15231).
10448 2013-09-12  Kenichi Handa  <handa@gnu.org>
10450         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10452 2013-09-12  Glenn Morris  <rgm@gnu.org>
10454         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10455         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10457         * subr.el (do-after-load-evaluation): Also give compiler warnings
10458         when obsolete files are used (except by obsolete files).
10460         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10461         in the status output, assume `filename' is the first.  (Bug#15322)
10463         * vc/vc.el (vc-deduce-fileset): Doc fix.
10465         * calc/calc-help.el (Info-goto-node):
10466         * progmodes/cperl-mode.el (Info-find-node):
10467         * vc/ediff.el (Info-goto-node): Update declarations.
10469         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10471         * vc/vc-bzr.el (vc-compilation-mode): Declare.
10472         (vc-bzr-pull): Require vc-dispatcher.
10473         * vc/vc-git.el (vc-compilation-mode): Declare.
10474         (vc-git-pull): Require vc-dispatcher.
10476         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
10478         * progmodes/octave.el (help-button-action): Declare.
10480         * shell.el (shell-directory-tracker): Output error as a message
10481         rather than just returning it as a string.
10482         (shell-process-pushd): Remove useless use of message.
10484         * dframe.el (dframe-timer-fn):
10485         * files.el (dir-locals-read-from-file):
10486         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
10487         (mpc-format):
10488         * reveal.el (reveal-post-command):
10489         * saveplace.el (load-save-place-alist-from-file):
10490         * shell.el (shell-resync-dirs):
10491         * w32-common-fns.el (x-get-selection-value):
10492         * emacs-lisp/copyright.el (copyright-find-copyright):
10493         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10494         * emulation/tpu-edt.el (tpu-copy-keyfile):
10495         * play/bubbles.el (bubbles--mark-neighbourhood):
10496         * progmodes/executable.el
10497         (executable-make-buffer-file-executable-if-script-p):
10498         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
10500 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10502         Cleanup Eshell to rely less on dynamic scoping.
10503         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
10504         last-value, and ext-command here.  Bind `args' closer to `body'.
10505         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
10506         (eshell--args): Declare new dynamic var.
10507         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
10508         last-value, and ext-command.  Pass `args' to `body'.
10509         (eshell-process-args): Bind eshell--args.
10510         (eshell-set-option): Use eshell--args.
10511         * eshell/eshell.el (eshell): Use derived-mode-p.
10512         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
10513         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
10514         (eshell-glob-function): Declare.
10515         * eshell/esh-util.el: Require cl-lib.
10516         (eshell-read-hosts-file): Avoid add-to-list.
10517         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
10518         `err'.
10519         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
10520         Declare.
10521         (eshell/diff): Remove unused var `err'.
10522         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
10523         `killflag'.
10524         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
10525         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
10526         first use.
10527         * eshell/em-glob.el (eshell-glob-matches, message-shown):
10528         Move declaration before first use.
10529         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
10530         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
10531         rely on cl-return.
10533 2013-09-12  Glenn Morris  <rgm@gnu.org>
10535         * term/ns-win.el (global-map): Remove binding for ispell-next,
10536         deleted 1999-05-29.  (Bug#15357)
10538 2013-09-11  Glenn Morris  <rgm@gnu.org>
10540         * echistory.el (electric-command-history): Remove call to deleted func.
10542         * play/landmark.el (landmark-mode): Fix typos.
10544         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
10545         Check cvs-sort-ignore-file is bound.
10547         * savehist.el: No need for cl when compiling on Emacs.
10549 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10551         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
10552         (bug#15338).
10553         (eshell-self-insert-command, eshell-send-invisible):
10554         Remove unused argument.
10555         (eshell-handle-control-codes): Remove unused var `orig'.
10556         Avoid delete-backward-char.
10558         * files.el (set-auto-mode): Simplify a bit further.
10560 2013-09-11  Glenn Morris  <rgm@gnu.org>
10562         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
10563         (set-auto-mode): Don't regexp-quote elements.
10564         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
10565         * progmodes/cc-mode.el (interpreter-mode-alist):
10566         * progmodes/ruby-mode.el (interpreter-mode-alist):
10567         Revert previous change.
10569 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10571         * play/snake.el (snake-mode):
10572         * play/mpuz.el (mpuz-mode):
10573         * play/landmark.el (lm-mode):
10574         * play/blackbox.el (blackbox-mode):
10575         * play/5x5.el (5x5-mode):
10576         * obsolete/options.el (Edit-options-mode):
10577         * net/quickurl.el (quickurl-list-mode):
10578         * net/newst-treeview.el (newsticker-treeview-mode):
10579         * mail/rmailsum.el (rmail-summary-mode):
10580         * mail/mspools.el (mspools-mode):
10581         * locate.el (locate-mode):
10582         * ibuffer.el (ibuffer-mode):
10583         * emulation/ws-mode.el (wordstar-mode):
10584         * emacs-lisp/debug.el (debugger-mode):
10585         * array.el (array-mode):
10586         * net/eudc.el (eudc-mode): Use define-derived-mode.
10587         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10588         Move initialization into declaration.
10589         (mairix-searches-mode): Use define-derived-mode.
10590         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10591         (eudc-edit-hotlist): Use dolist.
10592         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10593         (Man-mode): Use define-derived-mode.
10594         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10595         (Info-edit-mode): Use define-derived-mode.
10596         (Info-cease-edit): Use Info-mode.
10597         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10598         into declaration.
10599         (eshell-mode): Use define-derived-mode.
10600         * chistory.el (command-history-mode-map): Rename from
10601         command-history-map.
10602         (command-history-mode): Use define-derived-mode.
10603         (Command-history-setup): Remove function.
10604         * calc/calc.el (calc-trail-mode-map): New var.
10605         (calc-trail-mode): Use define-derived-mode.
10606         (calc-trail-buffer): Set calc-main-buffer manually.
10607         * bookmark.el (bookmark-insert-annotation): New function.
10608         (bookmark-edit-annotation): Use it.
10609         (bookmark-edit-annotation-mode): Make it a proper major mode.
10610         (bookmark-send-edited-annotation): Use derived-mode-p.
10611         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10612         closer to its ideal place.  Use \' to match EOS.
10614         * profiler.el (profiler-calltree-find): Use function-equal.
10616 2013-09-10  Glenn Morris  <rgm@gnu.org>
10618         * files.el (interpreter-mode-alist): Convert to regexps.
10619         (set-auto-mode): Adapt for this.  (Bug#15306)
10620         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10621         Comment out unused variable.
10622         * progmodes/cc-mode.el (interpreter-mode-alist):
10623         * progmodes/python.el (interpreter-mode-alist):
10624         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
10625         * progmodes/sh-script.el (sh-set-shell):
10626         No longer use interpreter-mode-alist to get list of shells.
10628         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
10630 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10632         * simple.el: Use set-temporary-overlay-map for universal-argument.
10633         (universal-argument-map): Don't use default-bindings (bug#15317).
10634         Bind switch-frame explicitly.  Replace universal-argument-minus with
10635         a conditional binding.
10636         (universal-argument-num-events, saved-overriding-map): Remove.
10637         (restore-overriding-map): Remove.
10638         (universal-argument--mode): Rename from save&set-overriding-map,
10639         and rewrite.
10640         (universal-argument, universal-argument-more, negative-argument)
10641         (digit-argument): Adjust accordingly.
10642         (universal-argument-minus): Remove.
10643         (universal-argument-other-key): Remove.
10645         * subr.el (with-demoted-errors): Add `format' argument.
10647 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
10649         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
10650         `tramp-cleanup-connection'.
10652         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
10653         parameters KEEP-DEBUG and KEEP-PASSWORD.
10655         * net/tramp.el (tramp-file-name-handler):
10656         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10657         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10658         (tramp-maybe-open-connection):
10659         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10660         Use `tramp-cleanup-connection'.
10662         * net/tramp-sh.el (tramp-maybe-open-connection):
10663         Catch 'uname-changed inside the progress reporter.
10665 2013-09-10  Glenn Morris  <rgm@gnu.org>
10667         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
10669         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
10670         returns "alternate access method" in mode (eg "-rw-r--r--.").
10672 2013-09-08  Glenn Morris  <rgm@gnu.org>
10674         * saveplace.el (load-save-place-alist-from-file):
10675         Demote errors.  (Bug#15305)
10677 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
10679         Improve compatibility with older Emacsen, and XEmacs.
10681         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
10682         only if it is bound.  It isn't for XEmacs.
10683         (with-tramp-progress-reporter): Do not let-bind `result'.
10684         This yields to scoping errors in XEmacs.
10685         (tramp-handle-make-auto-save-file-name): New function, moved from
10686         tramp-sh.el.
10688         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
10689         for `make-auto-save-file-name'.
10690         (tramp-adb--gnu-switches-to-ash):
10691         Use `tramp-compat-replace-regexp-in-string'.
10693         * net/tramp-cache.el (tramp-cache-print): Call
10694         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
10696         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
10697         bound.  It isn't for XEmacs.
10699         * net/tramp-compat.el (tramp-compat-copy-file):
10700         Catch `wrong-number-of-arguments' error.
10701         (tramp-compat-replace-regexp-in-string): New defun.
10703         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
10704         for `make-auto-save-file-name'.
10705         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
10706         `copy-file'.
10707         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
10708         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
10709         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
10711         * net/tramp-gw.el (tramp-gw-open-network-stream):
10712         Use `tramp-compat-replace-regexp-in-string'.
10714         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10715         Call `tramp-handle-make-auto-save-file-name'.
10716         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
10717         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10718         (tramp-sh-file-inotifywait-process-filter):
10719         Use `tramp-compat-replace-regexp-in-string'.
10720         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
10722         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
10723         for `make-auto-save-file-name'.
10724         (tramp-smb-handle-copy-directory):
10725         Call `tramp-compat-replace-regexp-in-string'.
10726         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
10727         (tramp-smb-handle-copy-file): Improve error message.
10728         (tramp-smb-handle-rename-file): Rename directly only in case
10729         `newname' does not exist yet.  This is a restriction of smbclient.
10730         (tramp-smb-maybe-open-connection): Rerun the function only when
10731         `auth-sources' is non-nil.
10733 2013-09-08  Kenichi Handa  <handa@gnu.org>
10735         * international/characters.el: Set category "^" (Combining) for
10736         more characters.
10738 2013-09-07  Alan Mackenzie  <acm@muc.de>
10740         Correctly fontify Java class constructors.
10741         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
10742         in Java Mode.
10743         (c-recognize-typeless-decls): Set the Java value to t.
10744         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10745         While handling a "(", add a check for, effectively, Java, and handle a
10746         "typeless" declaration there.
10748 2013-09-07  Roland Winkler  <winkler@gnu.org>
10750         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
10751         field subtitle for entry type book.
10753 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10755         * minibuffer.el: Make minibuffer-complete call completion-in-region
10756         rather than other way around.
10757         (completion--some, completion-pcm--find-all-completions):
10758         Don't delay signals when debugging.
10759         (minibuffer-completion-contents): Beware fields within the
10760         minibuffer contents.
10761         (completion-all-sorted-completions): Use defvar-local.
10762         (completion--do-completion, completion--cache-all-sorted-completions)
10763         (completion-all-sorted-completions, minibuffer-force-complete):
10764         Add args `beg' and `end'.
10765         (completion--in-region-1): New fun, extracted from minibuffer-complete.
10766         (minibuffer-complete): Use completion-in-region.
10767         (completion-complete-and-exit): New fun, extracted from
10768         minibuffer-complete-and-exit.
10769         (minibuffer-complete-and-exit): Use it.
10770         (completion--complete-and-exit): Rename from
10771         minibuffer--complete-and-exit.
10772         (completion-in-region--single-word): New function, extracted from
10773         minibuffer-complete-word.
10774         (minibuffer-complete-word): Use it.
10775         (display-completion-list): Make `common-substring' argument obsolete.
10776         (completion--in-region): Call completion--in-region-1 instead of
10777         minibuffer-complete.
10778         (completion-help-at-point): Pass boundaries to
10779         minibuffer-completion-help as args rather than via an overlay.
10780         (completion-pcm--string->pattern): Use `any-delim'.
10781         (completion-pcm--optimize-pattern): New function.
10782         (completion-pcm--pattern->regex): Handle `any-delim'.
10783         * icomplete.el (icomplete-forward-completions)
10784         (icomplete-backward-completions, icomplete-completions):
10785         Adjust calls to completion-all-sorted-completions and
10786         completion--cache-all-sorted-completions.
10787         (icomplete-with-completion-tables): Default to t.
10788         * emacs-lisp/crm.el (crm--current-element): Rename from
10789         crm--select-current-element.  Don't put an overlay but return the
10790         boundaries instead.
10791         (crm--completion-command): Take two new args to bind to the boundaries.
10792         (crm-completion-help): Adjust accordingly.
10793         (crm-complete): Use completion-in-region.
10794         (crm-complete-word): Use completion-in-region--single-word.
10795         (crm-complete-and-exit): Use completion-complete-and-exit.
10797 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10799         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
10800         than dynamically.
10802 2013-09-06  Juri Linkov  <juri@jurta.org>
10804         * info.el (Info-display-images-node): When image file doesn't exist
10805         display text version of the image if it's provided in the Info file.
10806         Otherwise, display the location of missing image from SRC attribute.
10807         Add help-echo text property from ALT attribute.  (Bug#15279)
10809 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10811         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
10812         (edit-abbrevs-mode): Use define-derived-mode.
10814         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
10815         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
10816         that it's defined.
10817         (epa-key-list-mode, epa-key-mode, epa-info-mode):
10818         Use define-derived-mode.
10820         * epg.el (epg-start-encrypt): Minor CSE simplification.
10822 2013-09-06  William Xu  <william.xwl@gmail.com>
10824         * arc-mode.el: Add support for 7za (bug#15264).
10825         (archive-7z-program): New var.
10826         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10827         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10828         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10830 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
10832         Remove URL syntax.
10834         * net/tramp.el (tramp-syntax, tramp-prefix-format)
10835         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10836         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10837         (tramp-postfix-host-format, tramp-file-name-regexp)
10838         (tramp-completion-file-name-regexp)
10839         (tramp-completion-dissect-file-name)
10840         (tramp-handle-substitute-in-file-name): Remove 'url case.
10841         (tramp-file-name-regexp-url)
10842         (tramp-completion-file-name-regexp-url): Remove constants.
10844 2013-09-06  Glenn Morris  <rgm@gnu.org>
10846         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
10848 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
10850         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10851         keywords" below "here-doc beginnings" (Bug#15270).
10853 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10855         * subr.el (pop): Use `car-safe'.
10856         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10857         to detect unused `pop' return value.
10859         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10860         var `block-regexp'.
10861         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10862         (python-fill-string): Remove unused var `marker'.
10863         (python-skeleton-add-menu-items): Remove unused var `items'.
10865         * international/mule-cmds.el: Require CL.
10866         (find-coding-systems-for-charsets): Avoid add-to-list.
10867         (sanitize-coding-system-list): New function, extracted from
10868         select-safe-coding-system-interactively.
10869         (select-safe-coding-system-interactively): Use it.
10870         (read-input-method-name): Accept symbols for `default'.
10872         * emacs-lisp/advice.el (defadvice): Add indent rule.
10874 2013-09-05  Daniel Hackney  <dan@haxney.org>
10876         * dired-x.el:
10877         * net/ange-ftp.el:
10878         * net/browse-url.el:
10879         * net/dbus.el:
10880         * net/eudc.el:
10881         * net/eudcb-ldap.el:
10882         * net/eww.el:
10883         * net/imap.el:
10884         * printing.el:
10885         * vc/ediff-diff.el:
10886         * vc/ediff-init.el:
10887         * vc/ediff-merg.el:
10888         * vc/ediff-mult.el:
10889         * vc/ediff-util.el:
10890         * vc/ediff-wind.el:
10891         * vc/ediff.el:
10892         * vc/emerge.el:
10893         * vc/pcvs.el:
10894         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10895         byte compiler.  Remove some unused let-bound variables.
10897 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10899         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10900         a "ref-cell", since it gets better optimized (bug#14883).
10902 2013-09-05  Glenn Morris  <rgm@gnu.org>
10904         * progmodes/cc-awk.el (c-forward-sws): Declare.
10906 2013-09-04  Glenn Morris  <rgm@gnu.org>
10908         * generic-x.el [rul-generic-mode]: Require cc-mode.
10909         (c++-mode-syntax-table): Declare.
10910         (rul-generic-mode-syntax-table): Init in the defvar.
10912 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10914         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10915         (vc-do-command, vc-set-async-update):
10916         * vc/vc-mtn.el (vc-mtn-dir-status):
10917         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10918         (vc-hg-pull, vc-hg-merge-branch):
10919         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10920         (vc-git-merge-branch):
10921         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10922         (vc-cvs-dir-status-files):
10923         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10924         (vc-bzr-dir-status-files):
10925         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10926         * vc/vc-annotate.el: Use lexical-binding.
10927         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10928         (vc-sentinel-movepoint): Declare.
10929         (vc-annotate): Don't use `goto-line'.
10930         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10931         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10932         (vc-sentinel-movepoint): Declare.
10933         * vc/vc-svn.el: Use lexical-binding.
10934         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10935         * vc/vc-sccs.el:
10936         * vc/vc-rcs.el: Use lexical-binding.
10938         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10939         `deleted'.  Don't drop errors silently.
10941         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10943 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
10945         * vc/vc.el (vc-ignore): Rewrite.
10946         (vc-default-ignore): New function.
10947         (vc-default-ignore-completion-table): Use find-ignore-file.
10949         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10950         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10951         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10952         Remove.  Most code moved to vc.el.
10954 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10956         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10957         * net/tramp-smb.el (tramp-smb-get-file-entries):
10958         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10959         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10961         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10962         Update call to it.
10963         (eww-change-select): Remove unused var `properties'.
10964         (eww-make-unique-file-name): Remove unused var `base'.
10966         * finder.el (finder-compile-keywords): Don't mess with windows.
10968         * calculator.el (calculator-funcall): Fix typo in last change.
10970         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10972         * emacs-lisp/package.el (package-activate-1): Don't let a missing
10973         <pkg>-autoloads.el file stop us.
10975         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10976         warnings, and factor out common code.
10978 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
10980         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10981         two-character operators and whether the character preceding them
10982         changes their meaning (Bug#15208).
10984 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10986         Format code sent to Python shell for robustness.
10987         * progmodes/python.el (python-shell-buffer-substring):
10988         New function.
10989         (python-shell-send-region, python-shell-send-buffer): Use it.
10991 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
10993         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10994         * net/tramp.el (tramp-user-error): ... here.
10995         (tramp-find-method, tramp-check-proper-host)
10996         (tramp-dissect-file-name, tramp-debug-message)
10997         (tramp-handle-shell-command):
10998         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10999         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11001         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11003 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
11005         * avoid.el (mouse-avoidance-point-position)
11006         (mouse-avoidance-too-close-p): Handle case where posn-at-point
11007         returns nil.
11009 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11011         * progmodes/python.el (python-shell-completion-get-completions):
11012         Drop use of deleted `comint-last-prompt-overlay'.
11013         (python-nav-if-name-main): New command.
11015 2013-09-01  Glenn Morris  <rgm@gnu.org>
11017         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11018         Avoid leading space in $wins.  Otherwise the sed command used by
11019         eg compile-main ends up containing "/*.el".  (Bug#15170)
11021         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
11023 2013-08-30  Glenn Morris  <rgm@gnu.org>
11025         * emacs-lisp/bytecomp.el (byte-recompile-directory):
11026         Fix is-this-a-directory logic.  (Bug#15220)
11028 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11030         * textmodes/css-mode.el: Use SMIE.
11031         (css-smie-grammar): New var.
11032         (css-smie--forward-token, css-smie--backward-token)
11033         (css-smie-rules): New functions.
11034         (css-mode): Use them.
11035         (css-navigation-syntax-table): Remove var.
11036         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11037         (css-indent-calculate, css-indent-line): Remove functions.
11039         Misc changes to reduce use of `(lambda...); and other cleanups.
11040         * cus-edit.el: Use lexical-binding.
11041         (customize-push-and-save, customize-apropos)
11042         (custom-buffer-create-internal): Use closures.
11043         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11044         * progmodes/ada-xref.el: Use setq.
11045         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11046         * dframe.el: Use lexical-binding.
11047         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
11048         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11049         * descr-text.el: Use lexical-binding.
11050         (describe-text-widget, describe-text-sexp, describe-property-list):
11051         Use closures.
11052         * comint.el (comint-history-isearch-push-state): Use a closure.
11053         * calculator.el: Use lexical-binding.
11054         (calculator-number-to-string): Make it work with lexical-binding.
11055         (calculator-funcall): Same and use cl-letf.
11057         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11058         (lisp--company-doc-string, lisp--company-location): New functions.
11059         (lisp-completion-at-point): Use them to improve Company support.
11061         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11062         params of lambda expressions.
11063         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11064         (ruby-smie--opening-pipe-p): New function.
11065         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11066         symbols and matched |...| for formal params.
11067         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11068         from being treated as hanging.  Handle "rescue".
11070 2013-08-29  Glenn Morris  <rgm@gnu.org>
11072         * progmodes/cc-engine.el (c-pull-open-brace):
11073         Move definition before use.
11075 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11077         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11078         are immutable.  Don't use `unsafe' any more.
11079         (cl--defsubst-expand): Don't substitute at the same time as keeping
11080         a residual unused let-binding.  Don't use `unsafe' any more.
11082 2013-08-29  Glenn Morris  <rgm@gnu.org>
11084         * calendar/cal-china.el (calendar-chinese-year-cache):
11085         Recenter on 2015.
11087         * nxml/nxml-util.el (nxml-debug-clear-inside):
11088         Use cl-loop rather than loop.
11090         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11092         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11094 2013-08-28  Glenn Morris  <rgm@gnu.org>
11096         * progmodes/antlr-mode.el: No need to require cc-mode twice.
11098         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11100         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11102 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11104         * simple.el (repeat-complex-command--called-interactively-skip):
11105         New function.
11106         (repeat-complex-command): Use it (bug#14136).
11108         * progmodes/cc-mode.el: Minor cleanup of var declarations.
11109         (c-define-abbrev-table): Add `doc' argument.
11110         (c-mode-abbrev-table, c++-mode-abbrev-table)
11111         (objc-mode-abbrev-table, java-mode-abbrev-table)
11112         (idl-mode-abbrev-table, pike-mode-abbrev-table)
11113         (awk-mode-abbrev-table): Use it.
11114         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11115         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11116         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11117         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11118         Move initialization into the declaration; and remove any
11119         autoload cookie.
11121         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11122         and dynamic let binding.
11124         * vc/smerge-mode.el: Remove redundant :group args.
11126         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11127         to load-path.
11129 2013-08-28  Juri Linkov  <juri@jurta.org>
11131         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11132         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11133         (isearch-other-meta-char): Handle an undefined shifted printing
11134         character by downshifting it.  (Bug#15200)
11136 2013-08-28  Juri Linkov  <juri@jurta.org>
11138         * isearch.el (isearch-search): Change regexp error message for
11139         non-regexp searches.  (Bug#15166)
11141 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
11143         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11144         for portability to hosts where /bin/sh has problems.
11146 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11148         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11150 2013-08-27  Juri Linkov  <juri@jurta.org>
11152         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11153         in the keyboard macro.  (Bug#15126)
11155 2013-08-27  Juri Linkov  <juri@jurta.org>
11157         * isearch.el (isearch-quote-char): Comment out converting unibyte
11158         to multibyte, thus syncing with its `quoted-insert' counterpart.
11159         (Bug#15166)
11161 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
11163         * window.el (display-buffer-use-some-window): Add missing
11164         argument in call of get-largest-window (Bug#15185).
11165         Reported by Stephen Leake.
11167 2013-08-27  Glenn Morris  <rgm@gnu.org>
11169         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11171 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11173         * progmodes/python.el (python-font-lock-keywords): Don't return nil
11174         from a matcher-function unless there's no more matches (bug#15161).
11176 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11178         * minibuffer.el: Revert change from 2013-08-20.
11180         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11181         with text property `tramp-default', if appropriate.
11182         (tramp-check-proper-host): New defun.
11183         (tramp-dissect-file-name): Do not check hostname.  Revert change
11184         of 2013-03-18.
11185         (tramp-backtrace): Make VEC-OR-PROC optional.
11187         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11188         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11189         * net/tramp-sh.el (tramp-maybe-open-connection):
11190         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11191         Apply `tramp-check-proper-host'.
11193 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
11195         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11196         lambda expression in order to have `describe-variable' display it.
11198 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11200         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11201         BUF can be optional.  (Bug#15186)
11203 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
11205         * progmodes/flymake.el (flymake-get-real-file-name-function):
11206         Fix broken customization.  (Bug#15184)
11208 2013-08-25  Alan Mackenzie  <acm@muc.de>
11210         Improve indentation of bracelists defined by macros (without "=").
11212         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11213         expansion begins with "{", regard it as bracelist when it doesn't
11214         contain a ";".
11216         Parse C++ inher-intro when there's a template split over 2 lines.
11218         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11219         rigorously the search for "class" etc. followed by ":".
11221         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11222         random languages a regexp which never matches rather than nil.
11224         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11226         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11227         (c-awk-regexp-one-line-possibly-open-char-list-re)
11228         (c-awk-one-line-possibly-open-regexp-re)
11229         (c-awk-one-line-non-syn-ws*-re): Remove.
11230         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11231         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11232         (c-awk-space*-unclosed-regexp-/-re): New constants.
11233         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11234         aren't regexp delimiters.
11236         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11237         handling for a rare situation in AWK Mode involving unterminated
11238         strings/regexps.
11240 2013-08-23  Glenn Morris  <rgm@gnu.org>
11242         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11244         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11246         * files.el (create-file-buffer): If the result would begin with
11247         spaces, prepend a "|" instead of removing them.  (Bug#15162)
11249 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11251         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11252         text-properties (bug#15155).
11254         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11255         exist any more.
11256         (calc-keypad-redraw): Remove unused var `pad'.
11257         (calc-keypad-press): Remove unused var `menu'.
11259 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
11261         * window.el (display-buffer-pop-up-frame):
11262         Call pop-up-frame-function with BUFFER current so `make-frame' will
11263         use it as the new frame's buffer (Bug#15133).
11265 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11267         * calendar/timeclock.el: Minor cleanups.
11268         (timeclock-ask-before-exiting, timeclock-use-display-time):
11269         Use `symbol'.
11270         (timeclock-modeline-display): Define as alias before the
11271         actual definition.
11272         (timeclock-mode-line-display): Use define-minor-mode.
11273         (timeclock-day-list-template): Make it a function, add an argument.
11274         (timeclock-day-list-required, timeclock-day-list-length)
11275         (timeclock-day-list-debt, timeclock-day-list-span)
11276         (timeclock-day-list-break): Adjust calls accordingly.
11278 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11280         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11281         Use read--expression so that completion works again.
11283 2013-08-21  Sam Steingold  <sds@gnu.org>
11285         Add rudimentary inferior shell interaction
11286         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11287         (sh-set-shell): Reset it.
11288         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11289         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11291 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11293         * align.el: Use lexical-binding.
11294         (align-region): Simplify accordingly.
11296 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
11298         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11300         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11301         `non-essential' up.
11303 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
11305         * net/tramp.el:
11306         * net/tramp-adb.el:
11307         * net/tramp-cmds.el:
11308         * net/tramp-ftp.el:
11309         * net/tramp-gvfs.el:
11310         * net/tramp-gw.el:
11311         * net/tramp-sh.el: Don't wrap external variable declarations by
11312         `eval-when-compile'.
11314 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11316         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11317         now that Emacs supports ImageMagick animations.
11319 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
11321         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11322         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11324 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
11326         * window.el (mouse-autoselect-window-select): Do autoselect when
11327         mouse pointer is on margin.
11329 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
11331         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
11333 2013-08-16  Glenn Morris  <rgm@gnu.org>
11335         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11336         Handle "Remote Directory" response of some clients.  (Bug#15058)
11338         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11339         Tweak warning.  (Bug#14926)
11341         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11342         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
11344         * image-mode.el (image-mode-map): Add menu items to reverse,
11345         increase, decrease, reset animation speed.
11346         (image--set-speed, image-increase-speed, image-decrease-speed)
11347         (image-reverse-speed, image-reset-speed): New functions.
11348         (image-mode-map): Add bindings for speed commands.
11350         * image.el (image-animate-get-speed, image-animate-set-speed):
11351         New functions.
11352         (image-animate-timeout): Respect image :speed property.
11354 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11356         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11357         previous line (bug#15101).
11358         (debugger-eval-expression, debugger-record-expression):
11359         Use read--expression (bug#15102).
11361 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
11363         Remove byte compiler warnings, visible when compiling with
11364         `byte-compile-force-lexical-warnings' set to t.
11366         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11367         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11368         (tramp-handle-unhandled-file-name-directory)
11369         (tramp-handle-file-notify-add-watch, tramp-action-login)
11370         (tramp-action-succeed, tramp-action-permission-denied)
11371         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11372         arguments with "_".
11374         * net/tramp-adb.el (tramp-adb-parse-device-names)
11375         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11376         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11377         (tramp-adb-handle-file-truename): Remove unused arguments.
11379         * net/tramp-cache.el (tramp-flush-directory-property)
11380         (tramp-flush-connection-property, tramp-list-connections)
11381         (tramp-parse-connection-properties): Prefix unused arguments with "_".
11383         * net/tramp-compat.el (tramp-compat-make-temp-file):
11384         Rename FILENAME to F.
11386         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11387         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11388         (tramp-zeroconf-parse-workstation-device-names)
11389         (tramp-zeroconf-parse-webdav-device-names)
11390         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11392         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11393         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11395         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11396         arguments.
11397         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11398         (tramp-sh-handle-insert-file-contents-literally)
11399         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11400         with "_".
11401         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11402         Remove unused variables.
11404         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11405         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11406         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11408         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11409         Make them a defconst.
11410         (tramp-uuencode-region): Remove unused variable.
11412 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
11414         * frameset.el (frameset--prop-setter): New function.
11415         (frameset-prop): Add gv-setter declaration.
11416         (frameset-filter-minibuffer): Deal with the case that the minibuffer
11417         parameter was already set in FILTERED.  Doc fix.
11418         (frameset--record-minibuffer-relationships): Allow saving a
11419         minibufferless frame without its corresponding minibuffer frame.
11420         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11421         frame, if the frame id matches.
11422         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11423         frames before orphaned ones.
11424         (frameset-restore): Warn about orphaned windows, instead of error out.
11426 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
11428         * window.el (window-make-atom): Don't overwrite parameter
11429         already present.
11430         (display-buffer-in-atom-window): Handle special case where we
11431         split an already atomic window.
11432         (window--major-non-side-window, display-buffer-in-side-window)
11433         (window--side-check): Ignore minibuffer window when walking
11434         window tree.
11435         (window-deletable-p): Return 'frame only if no other frame uses
11436         our minibuffer window.
11437         (record-window-buffer): Run buffer-list-update-hook.
11438         (split-window): Make sure window--check-frame won't destroy an
11439         existing atomic window in case the new window gets nested
11440         inside.
11441         (display-buffer-at-bottom): Ignore minibuffer window when
11442         walking window tree.  Don't split a side window.
11443         (pop-to-buffer): Don't set-buffer here, the select-window call
11444         should do that.
11445         (mouse-autoselect-window-select): Autoselect only if we are in the
11446         text portion of the window.
11448 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11450         * net/shr.el (shr-parse-image-data): New function to grab both the
11451         data itself and the Content-Type.
11452         (shr-put-image): Use it.
11454         * net/eww.el (eww-display-image): Ditto.
11456         * image.el (image-content-type-suffixes): New variable.
11458 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11460         * progmodes/python.el (python-imenu--build-tree)
11461         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11463 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
11465         * simple.el (backward-word): Mention the optional argument.
11467 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11469         * frameset.el (frameset--make): Rename constructor from make-frameset.
11470         (frameset-p, frameset-valid-p): Don't autoload.
11471         (frameset-valid-p): Use normal accessors.
11473 2013-08-13  Glenn Morris  <rgm@gnu.org>
11475         * progmodes/compile.el (compile-command): Tweak example in doc.
11476         * obsolete/scribe.el (scribe-mode):
11477         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
11479         * mail/feedmail.el (feedmail-confirm-outgoing)
11480         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
11482         * cus-start.el (truncate-partial-width-windows): Fix type.
11484         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
11486         * net/shr.el (shr-table-horizontal-line): Fix custom type.
11488 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11490         * emacs-lisp/timer.el (timer--time-setter): New function.
11491         (timer--time): Use it as gv-setter.
11493         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11494         setter is not a symbol.
11496 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
11498         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
11499         if sending fails.  This makes debugging easier.
11501 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
11503         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
11504         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
11505         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
11507 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
11509         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
11511 2013-08-12  Glenn Morris  <rgm@gnu.org>
11513         * format.el (format-annotate-function):
11514         Handle read-only text properties in the source.  (Bug#14887)
11516 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11518         * net/eww.el (eww-display-html): Ignore coding system errors.
11519         One web site uses "utf-8lias" as the coding system.
11521 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
11523         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
11525 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
11527         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
11528         (tutorial--detailed-help): Remove unused local variables.
11529         (tutorial--save-tutorial-to): Use ignore-errors.
11530         (help-with-tutorial): Use looking-at-p.
11532         * view.el (view-buffer-other-window, view-buffer-other-frame):
11533         Mark unused arguments.
11535         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
11536         (woman-select-symbol-fonts, woman, woman-find-file)
11537         (woman-insert-file-contents, woman-non-underline-faces):
11538         Use string-match-p.
11539         (woman1-unquote): Move declaration.
11541         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
11542         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
11543         argument.  Remove unused local variable.
11544         (xml-parse-elem-type): Use string-match-p.
11545         (xml-substitute-numeric-entities): Use ignore-errors.
11547         * calculator.el (calculator): Mark unused argument.
11548         (calculator-paste, calculator-quit, calculator-integer-p):
11549         Use ignore-errors.
11550         (calculator-string-to-number, calculator-decimal, calculator-exp)
11551         (calculator-op-or-exp): Use string-match-p.
11553         * dired.el (dired-buffer-more-recently-used-p): Declare.
11554         (dired-insert-set-properties, dired-insert-old-subdirs):
11555         Use ignore-errors.
11557         * dired-aux.el (dired-compress): Use ignore-errors.
11558         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
11559         (dired-do-async-shell-command, dired-do-shell-command)
11560         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
11561         (dired-insert-subdir-validate): Use string-match-p.
11562         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
11563         (dired-add-entry): Use string-match-p, looking-at-p.
11564         (dired-insert-subdir-newpos): Remove unused local variable.
11566         * filenotify.el (file-notify-callback): Remove unused local variable.
11568         * filesets.el (filesets-error): Mark unused argument.
11569         (filesets-which-command-p, filesets-filter-dir-names)
11570         (filesets-directory-files, filesets-get-external-viewer)
11571         (filesets-ingroup-get-data): Use string-match-p.
11573         * find-file.el (ff-other-file-name, ff-other-file-name)
11574         (ff-find-the-other-file, ff-cc-hh-converter):
11575         Remove unused local variables.
11576         (ff-get-file-name): Use string-match-p.
11577         (ff-all-dirs-under): Use ignore-errors.
11579         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
11580         (follow-select-if-visible): Remove unused local variable.
11582         * forms.el (read-file-filter): Move declaration.
11583         (forms--make-format, forms--make-parser, forms-insert-record):
11584         Quote function with #'.
11585         (forms--update): Use string-match-p.  Quote function with #'.
11587         * help-mode.el (help-dir-local-var-def): Mark unused argument.
11588         (help-make-xrefs): Use looking-at-p.
11589         (help-xref-on-pp): Use looking-at-p, ignore-errors.
11591         * ibuffer.el (ibuffer-ext-visible-p): Declare.
11592         (ibuffer-confirm-operation-on): Use string-match-p.
11594         * msb.el (msb-item-handler, msb-dired-item-handler):
11595         Mark unused arguments.
11597         * ses.el (ses-decode-cell-symbol)
11598         (ses-kill-override): Remove unused local variable.
11599         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11600         (ses-load): Use ignore-errors, looking-at-p.
11601         (ses-jump-safe): Use ignore-errors.
11602         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11604         * tabify.el (untabify, tabify): Mark unused arguments.
11606         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11607         Mark unused argument.
11608         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11609         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11611         * emacs-lisp/timer.el (timer--time): Define setter with
11612         gv-define-setter to avoid deprecation warning.
11614         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11615         (*record-cmpl-statistics-p*): Remove (was commented out).
11616         (cmpl-statistics-block): Remove (body was commented out).
11617         All callers changed.
11618         (add-completions-from-buffer, load-completions-from-file):
11619         Remove unused variables.
11621 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11623         * filecache.el (file-cache-delete-file-list):
11624         Print message only when told so.
11625         (file-cache-files-matching): Use #' in mapconcat argument.
11627         * ffap.el (ffap-url-at-point): Fix reference to variable
11628         thing-at-point-default-mail-uri-scheme.
11630 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11632         * subr.el (define-error): New function.
11633         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
11634         error-file-not-found and define with define-error.
11635         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
11636         and define with define-error.
11637         * userlock.el (file-locked, file-supersession):
11638         * simple.el (mark-inactive):
11639         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
11640         * progmodes/ada-mode.el (ada-mode-errors):
11641         * play/life.el (life-extinct):
11642         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
11643         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
11644         * nxml/rng-util.el (rng-error):
11645         * nxml/rng-uri.el (rng-uri-error):
11646         * nxml/rng-match.el (rng-compile-error):
11647         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
11648         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
11649         * nxml/nxml-rap.el (nxml-scan-error):
11650         * nxml/nxml-outln.el (nxml-outline-error):
11651         * net/soap-client.el (soap-error):
11652         * net/gnutls.el (gnutls-error):
11653         * net/ange-ftp.el (ftp-error):
11654         * mpc.el (mpc-proc-error):
11655         * json.el (json-error, json-readtable-error, json-unknown-keyword)
11656         (json-number-format, json-string-escape, json-string-format)
11657         (json-key-format, json-object-format):
11658         * jka-compr.el (compression-error):
11659         * international/quail.el (quail-error):
11660         * international/kkc.el (kkc-error):
11661         * emacs-lisp/ert.el (ert-test-failed):
11662         * calc/calc.el (calc-error, inexact-result, math-overflow)
11663         (math-underflow):
11664         * bookmark.el (bookmark-error-no-filename):
11665         * epg.el (epg-error): Define with define-error.
11667         * time.el (display-time-event-handler)
11668         (display-time-next-load-average): Don't call sit-for since it seems
11669         unnecessary (bug#15045).
11671         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
11672         Use #' instead of ' to quote functions.
11673         (checkdoc-output-mode): Use setq-local.
11674         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
11675         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
11676         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
11677         (checkdoc-ispell, checkdoc-ispell-current-buffer)
11678         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
11679         (checkdoc-ispell-message-text, checkdoc-ispell-start)
11680         (checkdoc-ispell-continue, checkdoc-ispell-comments)
11681         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
11683         * ido.el (ido-completion-help): Fix up compiler warning.
11685 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11687         * frameset.el (frameset-p): Add autoload cookie.
11688         (frameset--jump-to-register): New function, based on code moved from
11689         register.el.
11690         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
11692         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
11693         (frameset-restore, frameset-save, frameset-session-filter-alist):
11694         Remove declarations.
11695         (register-alist): Doc fix.
11696         (frameset-to-register): Move to frameset.el.
11697         (jump-to-register, describe-register-1): Remove frameset-specific code.
11699 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11701         * allout-widgets.el (allout-widgets-pre-command-business)
11702         (allout-widgets-post-command-business)
11703         (allout-widgets-after-change-handler)
11704         (allout-decorate-item-and-context, allout-set-boundary-marker)
11705         (allout-body-modification-handler)
11706         (allout-graphics-modification-handler): Mark ignored arguments.
11707         (allout-widgets-post-command-business)
11708         (allout-widgets-exposure-change-processor)
11709         (allout-widgets-exposure-undo-processor)
11710         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
11711         (allout-parse-item-at-point, allout-decorate-item-guides)
11712         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
11713         * allout.el (epa-passphrase-callback-function): Declare.
11714         (allout-overlay-insert-in-front-handler)
11715         (allout-overlay-interior-modification-handler)
11716         (allout-isearch-end-handler, allout-chart-siblings)
11717         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
11718         (allout-yank-processing, allout-process-exposed)
11719         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
11720         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
11721         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
11722         (lisp-indent-defform): Mark ignored arguments.
11723         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
11724         (calculate-lisp-indent): Remove unused variables.
11725         * international/characters.el (indian-2-column, arabic-2-column)
11726         (tibetan): Mark ignored arguments.
11727         (use-cjk-char-width-table): Mark ignored arguments.
11728         Remove unused variables.
11729         * international/fontset.el (build-default-fontset-data)
11730         (x-compose-font-name, create-fontset-from-fontset-spec):
11731         Mark ignored arguments.
11732         (fontset-plain-name): Remove unused variables.
11733         * international/mule.el (charset-id, charset-bytes, generic-char-p)
11734         (keyboard-coding-system): Mark ignored arguments.
11735         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
11736         * help.el (resize-temp-buffer-window):
11737         * window.el (display-buffer-in-major-side-window)
11738         (display-buffer-in-side-window, display-buffer-in-previous-window):
11739         Remove unused variables.
11740         * isearch.el (isearch-forward-symbol):
11741         * version.el (emacs-bzr-version-bzr):
11742         * international/mule-cmds.el (current-language-environment):
11743         * term/common-win.el (x-handle-iconic, x-handle-geometry)
11744         (x-handle-display):
11745         * term/pc-win.el (x-list-fonts, x-display-planes)
11746         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
11747         (x-server-version, x-display-screens, x-display-mm-height)
11748         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
11749         (x-selection-owner-p, x-own-selection-internal)
11750         (x-disown-selection-internal, x-get-selection-internal)
11751         (msdos-initialize-window-system):
11752         * term/tty-colors.el (tty-color-alist, tty-color-clear):
11753         * term/x-win.el (x-handle-no-bitmap-icon):
11754         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
11755         (vc-default-find-file-hook, vc-default-extra-menu):
11756         Mark ignored arguments.
11758 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11760         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
11761         break-condition in the context of the debugged code (bug#12685).
11763 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
11765         * comint.el:
11766         Do not use an overlay to highlight the last prompt.  (Bug#14744)
11767         (comint-mode): Make comint-last-prompt buffer local.
11768         (comint-last-prompt): New variable.
11769         (comint-last-prompt-overlay): Remove.  Superseded by
11770         comint-last-prompt.
11771         (comint-snapshot-last-prompt, comint-output-filter):
11772         Use comint-last-prompt.
11774 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11776         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
11777         (frameset-save): Check validity of the resulting frameset.
11779 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
11781         * ido.el (ido-record-command): Add doc string.
11783 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11785         * frameset.el (frameset): Do not disable creation of the default
11786         frameset-p predicate.  Doc fix.
11787         (frameset-valid-p): New function, copied from the old predicate-p.
11788         Add additional checks.
11789         (frameset-restore): Check with frameset-valid-p.
11790         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
11791         (frameset-name, frameset-description, frameset-properties)
11792         (frameset-states): Add docstring.
11793         (frameset-session-filter-alist, frameset-persistent-filter-alist)
11794         (frameset-filter-alist): Doc fixes.
11796 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11798         * frameset.el (frameset-p, frameset-prop): Doc fixes.
11800 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11802         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
11803         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
11804         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
11805         (byte-compile-normal-call): Remove obsolescence check.
11807 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11809         * frameset.el (frameset-restore): Doc fix.
11811         * register.el (frameset-frame-id, frameset-frame-with-id)
11812         (frameset-p, frameset-restore, frameset-save): Declare.
11813         (register-alist): Document framesets.
11814         (frameset-session-filter-alist): Declare.
11815         (frameset-to-register): New function.
11816         (jump-to-register): Implement jumping to framesets.  Doc fix.
11817         (describe-register-1): Describe framesets.
11819         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
11821 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
11823         * desktop.el (desktop-save-frameset): Use new frameset-save args.
11824         Use lexical-binding.
11826         * frameset.el (frameset): Use type vector, not list (incompatible
11827         change).  Do not declare a new constructor, use the default one.
11828         Upgrade suggested properties `app', `name' and `desc' to slots `app',
11829         `name' and `description', respectively, and add read-only slot
11830         `timestamp'.  Doc fixes.
11831         (frameset-copy, frameset-persistent-filter-alist)
11832         (frameset-filter-alist, frameset-switch-to-gui-p)
11833         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11834         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11835         (frameset-filter-iconified, frameset-keep-original-display-p):
11836         Doc fixes.
11837         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11838         Rename from frameset-filter-(save|restore)-param.  All callers changed.
11839         Doc fix.
11840         (frameset-p): Adapt to change to vector and be more thorough.
11841         Change arg name to OBJECT.  Doc fix.
11842         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
11843         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11844         All callers changed.
11845         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11846         All callers changed.
11847         (frameset--record-minibuffer-relationships): Rename from
11848         frameset--process-minibuffer-frames.  All callers changed.
11849         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11850         Use new default constructor (again).  Doc fix.
11851         (frameset--find-frame-if): Rename from `frameset--find-frame'.
11852         All callers changed.
11853         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11854         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11855         Doc fix.
11856         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11857         PARAMETERS and WINDOW-STATE, respectively.
11858         (frameset-restore): Add new keyword argument PREDICATE.
11859         Reset frameset--target-display to nil.  Doc fix.
11861 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11863         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11864         (bat-mode): Use it.
11865         (bat-mode-syntax-table): Mark \n as end-of-comment.
11866         (bat-font-lock-keywords): Remove comment rule.
11868         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
11869         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
11871         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11872         (byte-compile-callargs-warn): Use `push'.
11873         (byte-compile-arglist-warn): Ignore higher-order "calls".
11874         (byte-compile-file-form-autoload): Use `pcase'.
11875         (byte-compile-function-form): If quoting a symbol, check that it exists.
11877 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
11879         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11880         and add a few popular commands found in batch files.
11881         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11882         (dos-mode): Doc fixes.
11884 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11886         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11887         (dos-mode): Use setq-local.  Add space after "rem".
11888         (dos-mode-syntax-table): Don't use "w" for symbol chars.
11889         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11891 2013-08-07  Arni Magnusson  <arnima@hafro.is>
11893         * progmodes/dos.el: New file.
11894         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11895         dos-mode.
11897 2013-08-06  Glenn Morris  <rgm@gnu.org>
11899         * calendar/calendar.el: Add new faces, and day-header-array.
11900         (calendar-weekday-header, calendar-weekend-header)
11901         (calendar-month-header): New faces.
11902         (calendar-day-header-construct): New function.
11903         (calendar-day-header-width): Also :set calendar-day-header-array.
11904         (calendar-american-month-header, calendar-european-month-header)
11905         (calendar-iso-month-header): Use calendar- faces.
11906         (calendar-generate-month):
11907         Use calendar-day-header-array for day headers; apply faces to them.
11908         (calendar-mode): Check calendar-font-lock-keywords non-nil.
11909         (calendar-abbrev-construct): Add optional maxlen argument.
11910         (calendar-day-name-array): Doc fix.
11911         (calendar-day-name-array, calendar-abbrev-length)
11912         (calendar-day-abbrev-array):
11913         Also :set calendar-day-header-array, and maybe redraw.
11914         (calendar-day-header-array): New option.  (Bug#15007)
11915         (calendar-font-lock-keywords): Set to nil and make obsolete.
11916         (calendar-day-name): Add option to use header array.
11918 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11920         * net/shr.el (shr-render-td): Remove debugging.
11921         (shr-render-td): Make width computation consistent by defaulting
11922         all zero-width columns to 10 characters.  This may not be optimal,
11923         but it's at least consistent.
11924         (shr-make-table-1): Redo last change to fix the real problem in
11925         colspan handling.
11927 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11929         * files.el (cache-long-line-scans):
11930         Make obsolete alias to `cache-long-scans'.
11932 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11934         * frameset.el (frameset, frameset-filter-alist)
11935         (frameset-filter-params, frameset-save, frameset--reuse-frame)
11936         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11937         (frameset-compute-pos): Rename from frameset--compute-pos,
11938         and add docstring.
11939         (frameset-move-onscreen): Use frameset-compute-pos.
11940         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11942         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11943         Fix typos in docstrings.
11945 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11947         * frame.el (get-other-frame): Tiny cleanup.
11949 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11951         * vc/vc.el (vc-default-ignore-completion-table):
11952         Silence byte-compiler warning.
11954         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11955         slot, which can indeed be nil.
11956         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11957         Move entry for `left' from persistent to live filter alist.
11958         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11959         Doc fixes.
11960         (frameset-filter-params): When restoring a frame, copy items added to
11961         `filtered', to avoid unwittingly modifying the original parameters.
11962         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
11963         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11965         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11966         to use looking-at-p instead of looking-at.  (Bug#15028)
11968 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11970         Revert introduction of isearch-filter-predicates (bug#14714).
11971         Rely on add-function instead.
11972         * isearch.el (isearch-filter-predicates): Rename it back to
11973         isearch-filter-predicate.
11974         (isearch-message-prefix): Use advice-function-mapc and advice
11975         properties to get the isearch-message-prefix.
11976         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11977         instead of run-hook-with-args-until-failure.
11978         (isearch-filter-visible): Not obsolete any more.
11979         * loadup.el: Preload nadvice.
11980         * replace.el (perform-replace): Revert to funcall
11981         instead of run-hook-with-args-until-failure.
11982         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11983         * dired-aux.el (dired-isearch-filenames-mode): Rename from
11984         dired-isearch-filenames-toggle; make it into a proper minor mode.
11985         Use add/remove-function.
11986         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11987         Call the minor-mode rather than add/remove-hook.
11988         (dired-isearch-filter-filenames):
11989         Remove isearch-message-prefix property.
11990         * info.el (Info--search-loop): New function, extracted from Info-search.
11991         Funcall isearch-filter-predicate instead of
11992         run-hook-with-args-until-failure isearch-filter-predicates.
11993         (Info-search): Use it.
11994         (Info-mode): Use isearch-filter-predicate instead of
11995         isearch-filter-predicates.
11997 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
11999         Do not call to `selected-window' where it is assumed by default.
12000         Affected functions are `window-minibuffer-p', `window-dedicated-p',
12001         `window-hscroll', `window-width', `window-height', `window-buffer',
12002         `window-frame', `window-start', `window-point', `next-window'
12003         and `window-display-table'.
12004         * abbrev.el (abbrev--default-expand):
12005         * bs.el (bs--show-with-configuration):
12006         * buff-menu.el (Buffer-menu-mouse-select):
12007         * calc/calc.el (calc):
12008         * calendar/calendar.el (calendar-generate-window):
12009         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12010         (diary-make-entry):
12011         * comint.el (send-invisible, comint-dynamic-complete-filename)
12012         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12013         * completion.el (complete):
12014         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12015         * disp-table.el (describe-current-display-table):
12016         * doc-view.el (doc-view-insert-image):
12017         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12018         * ehelp.el (with-electric-help):
12019         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12020         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12021         * emacs-lisp/helper.el (Helper-help-scroller):
12022         * emulation/cua-base.el (cua--post-command-handler-1):
12023         * eshell/esh-mode.el (eshell-output-filter):
12024         * ffap.el (ffap-gnus-wrapper):
12025         * help-macro.el (make-help-screen):
12026         * hilit-chg.el (highlight-compare-buffers):
12027         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12028         * hl-line.el (global-hl-line-highlight):
12029         * icomplete.el (icomplete-simple-completing-p):
12030         * isearch.el (isearch-done):
12031         * jit-lock.el (jit-lock-stealth-fontify):
12032         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12033         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12034         * mpc.el (mpc-tagbrowser, mpc):
12035         * net/rcirc.el (rcirc-any-buffer):
12036         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12037         * play/landmark.el (landmark-max-width, landmark-max-height):
12038         * play/zone.el (zone):
12039         * progmodes/compile.el (compilation-goto-locus):
12040         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12041         * progmodes/etags.el (find-tag-other-window):
12042         * progmodes/fortran.el (fortran-column-ruler):
12043         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12044         * progmodes/verilog-mode.el (verilog-point-text):
12045         * reposition.el (reposition-window):
12046         * rot13.el (toggle-rot13-mode):
12047         * server.el (server-switch-buffer):
12048         * shell.el (shell-dynamic-complete-command)
12049         (shell-dynamic-complete-environment-variable):
12050         * simple.el (insert-buffer, set-selective-display)
12051         (delete-completion-window):
12052         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12053         (speedbar-recenter):
12054         * startup.el (fancy-splash-head):
12055         * textmodes/ispell.el (ispell-command-loop):
12056         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12057         * tutorial.el (help-with-tutorial):
12058         * vc/add-log.el (add-change-log-entry):
12059         * vc/compare-w.el (compare-windows):
12060         * vc/ediff-help.el (ediff-indent-help-message):
12061         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12062         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12063         (ediff-setup-control-frame):
12064         * vc/emerge.el (emerge-position-region):
12065         * vc/pcvs-util.el (cvs-bury-buffer):
12066         * window.el (walk-windows, mouse-autoselect-window-select):
12067         * winner.el (winner-set-conf, winner-undo): Related users changed.
12069 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12071         * frameset.el (frameset--set-id): Doc fix.
12072         (frameset-frame-id, frameset-frame-id-equal-p)
12073         (frameset-locate-frame-id): New functions.
12074         (frameset--process-minibuffer-frames, frameset--reuse-frame)
12075         (frameset-restore): Use them.
12077 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12079         Do not call to `selected-frame' where it is assumed by default.
12080         Affected functions are `raise-frame', `redraw-frame',
12081         `frame-first-window', `frame-terminal' and `delete-frame'.
12082         * calendar/appt.el (appt-disp-window):
12083         * epg.el (epg-wait-for-completion):
12084         * follow.el (follow-delete-other-windows-and-split)
12085         (follow-avoid-tail-recenter):
12086         * international/mule.el (set-terminal-coding-system):
12087         * mail/rmail.el (rmail-mail-return):
12088         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12089         * progmodes/f90.el (f90-add-imenu-menu):
12090         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12091         * server.el (server-switch-buffer):
12092         * simple.el (delete-completion-window):
12093         * talk.el (talk):
12094         * term/xterm.el (terminal-init-xterm-modify-other-keys)
12095         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12096         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12097         * vc/ediff.el (ediff-documentation): Related users changed.
12098         * frame.el (selected-terminal): Remove the leftover.
12100 2013-08-05  Glenn Morris  <rgm@gnu.org>
12102         * calendar/calendar.el (calendar-generate-month):
12103         Fix for calendar-column-width != 1 + calendar-day-digit-width.
12104         (calendar-generate-month, calendar-font-lock-keywords):
12105         Fix for calendar-day-header-width > length of any day name.
12107 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12109         * desktop.el (desktop-clear): Use new name of sort predicate.
12111         * frameset.el (frameset): Add docstring.  Move :version property to its
12112         own `version' slot.
12113         (frameset-copy): Rename from copy-frameset.
12114         (frameset-p): Check more thoroughly.
12115         (frameset-prop): Do not check for :version, which is no longer a prop.
12116         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12117         Use new :never value instead of t.
12118         (frameset-filter-alist): Expand and clarify docstring.
12119         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12120         (frameset-filter-minibuffer, frameset-filter-save-param)
12121         (frameset-filter-restore-param, frameset-filter-iconified):
12122         Add pointer to docstring of frameset-filter-alist.
12123         (frameset-filter-params): Rename filter values to be more meaningful:
12124         :never instead of t, and reverse the meanings of :save and :restore.
12125         (frameset--process-minibuffer-frames): Clarify error message.
12126         (frameset-save): Avoid unnecessary and confusing call to framep.
12127         Use new BOA constructor for framesets.
12128         (frameset--reuse-list): Doc fix.
12129         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
12130         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12131         (frameset-minibufferless-first-p): Doc fix.
12132         Rename from frameset-sort-frames-for-deletion.
12133         (frameset-restore): Doc fixes.  Use new function names.
12134         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12136 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12138         * desktop.el (desktop-restore-forces-onscreen)
12139         (desktop-restore-reuses-frames): Document :keyword constant values.
12140         (desktop-filter-parameters-alist): Remove, now identical to
12141         frameset-filter-alist.
12142         (desktop--filter-tty*): Remove, moved to frameset.el.
12143         (desktop-save-frameset, desktop-restore-frameset):
12144         Do not pass :filters argument.
12146         * frameset.el (frameset-live-filter-alist)
12147         (frameset-persistent-filter-alist): New variables.
12148         (frameset-filter-alist): Use them.  Add autoload cookie.
12149         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12150         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12151         `frameset--id' (it's supposed to be internal to frameset.el).
12152         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
12153         (frameset--initial-params): New function.
12154         (frameset--get-frame): Use it.  Doc fix.
12155         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12156         Accept :all, not 'all.
12157         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12158         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
12159         with fbound symbols.  Fix frame id matching, and remove matching ids if
12160         the frame being restored is deleted.  Obey :delete.
12162 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12164         * subr.el (macrop): New function.
12165         (text-clone--maintaining): New var.
12166         (text-clone--maintain): Rename from text-clone-maintain.  Use it
12167         instead of inhibit-modification-hooks.
12169         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12170         a proxy, so as handle autoloads and redefinitions of the target.
12171         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12173         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12174         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
12175         (pcase--mutually-exclusive-p): New function.
12176         (pcase--split-consp): Use it.
12177         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
12178         mutually exclusive with the current predicate.
12180         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12181         (edebug-macrop): Remove.  Use `macrop' instead.
12182         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
12183         (ad-macro-p):
12184         * eshell/esh-cmd.el (eshell-macrop):
12185         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
12187 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12189         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12190         (advice-mapc): New function, using it.
12191         (advice-function-member-p): New function.
12192         (advice--normalize): Store the cdr in advice--saved-rewrite since
12193         that's the part that will be changed.
12194         (advice--symbol-function): New function.
12195         (advice-remove): Handle removal before the function is defined.
12196         Adjust to new advice--saved-rewrite.
12197         (advice-member-p): Use advice-function-member-p and
12198         advice--symbol-function.
12200 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12202         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12203         (frameset-filter-minibuffer): Doc fix.
12204         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
12205         (frameset--set-id, frameset--process-minibuffer-frames)
12206         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12207         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12209         * desktop.el (desktop-clear): Only delete frames when called
12210         interactively and desktop-restore-frames is non-nil.  Doc fix.
12211         (desktop-read): Set desktop-saved-frameset to nil.
12213 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
12215         * vc/vc.el (vc-ignore): Rewrite.
12216         (vc-default-ignore-completion-table, vc--read-lines)
12217         (vc--add-line, vc--remove-regexp): New functions.
12219         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12220         (vc-svn-ignore-completion-table): New function.
12222         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12223         (vc-hg-ignore-completion-table)
12224         (vc-hg-find-ignore-file): New functions.
12226         * vc/vc-git.el (vc-git-ignore): Rewrite.
12227         (vc-git-ignore-completion-table)
12228         (vc-git-find-ignore-file): New functions.
12230         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12232         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12233         (vc-bzr-ignore-completion-table)
12234         (vc-bzr-find-ignore-file): New functions.
12236 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
12238         * frameset.el (frameset-prop): New function and setter.
12239         (frameset-save): Do not modify frame list passed by the caller.
12241 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12243         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12245 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12247         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12248         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12250         * custom.el (custom-initialize-default, custom-initialize-set)
12251         (custom-initialize-reset, custom-initialize-changed): Affect the
12252         toplevel-default-value (bug#6275, bug#14586).
12253         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12254         for bug#6275.
12256 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12258         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12259         Add cl-def* expressions.
12261         * frameset.el (frameset-filter-params): Fix order of arguments.
12263 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12265         Move code related to saving frames to frameset.el.
12266         * desktop.el: Require frameset.
12267         (desktop-restore-frames): Doc fix.
12268         (desktop-restore-reuses-frames): Rename from
12269         desktop-restoring-reuses-frames.
12270         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12271         (desktop-clear): Clear frames too.
12272         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12273         (desktop--filter-tty*, desktop-save, desktop-read):
12274         Use frameset functions.
12275         (desktop-before-saving-frames-functions, desktop--filter-*-color)
12276         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12277         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12278         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12279         (desktop--process-minibuffer-frames, desktop-save-frames)
12280         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12281         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12282         (desktop--sort-states, desktop-restoring-frames-p)
12283         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
12284         (desktop-restoring-frameset-p, desktop-restore-frameset)
12285         (desktop--check-dont-save, desktop-save-frameset): New functions.
12286         (desktop--app-id): New constant.
12287         (desktop-first-buffer, desktop-buffer-ok-count)
12288         (desktop-buffer-fail-count): Move before first use.
12289         * frameset.el: New file.
12291 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12293         * files.el: Use lexical-binding.
12294         (dir-locals-read-from-file): Remove unused `err' variable.
12295         (hack-dir-local-variables--warned-coding): New var.
12296         (hack-dir-local-variables): Use it to avoid repeated warnings.
12297         (make-backup-file-name--default-function): New function.
12298         (make-backup-file-name-function): Use it as default.
12299         (buffer-stale--default-function): New function.
12300         (buffer-stale-function): Use it as default.
12301         (revert-buffer-insert-file-contents--default-function): New function.
12302         (revert-buffer-insert-file-contents-function): Use it as default.
12303         (insert-directory): Avoid add-to-list.
12305         * autorevert.el (auto-revert-handler): Simplify.
12306         Use buffer-stale--default-function.
12308 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
12310         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12312         * whitespace.el (whitespace-ensure-local-variables): New function.
12313         (whitespace-cleanup-region): Call it.
12314         (whitespace-turn-on): Call it.
12316 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
12318         Complete file name handlers.
12320         * net/tramp.el (tramp-handle-set-visited-file-modtime)
12321         (tramp-handle-verify-visited-file-modtime)
12322         (tramp-handle-file-notify-rm-watch): New functions.
12323         (tramp-call-process): Do not bind `default-directory'.
12325         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12326         Order alphabetically.
12327         <access-file, add-name-to-file, dired-call-process>:
12328         <dired-compress-file, file-acl, file-notify-rm-watch>:
12329         <file-ownership-preserved-p, file-selinux-context>:
12330         <make-directory-internal, make-symbolic-link, set-file-acl>:
12331         <set-file-selinux-context, set-visited-file-modtime>:
12332         <verify-visited-file-modtime>: Add handler.
12333         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12335         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12336         <file-notify-add-watch, file-notify-rm-watch>:
12337         <set-file-times, set-visited-file-modtime>:
12338         <verify-visited-file-modtime>: Add handler.
12339         (with-tramp-gvfs-error-message)
12340         (tramp-gvfs-handle-set-visited-file-modtime)
12341         (tramp-gvfs-fuse-file-name): Remove.
12342         (tramp-gvfs-handle-file-notify-add-watch)
12343         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12344         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12346         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12347         Order alphabetically.
12348         <file-notify-rm-watch>: Use default Tramp handler.
12349         <executable-find>: Remove private handler.
12350         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12351         `default-directory'.
12352         (tramp-sh-handle-executable-find)
12353         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12354         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12355         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12356         Do not use `format' in `tramp-message'.
12358         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12359         <file-notify-rm-watch, set-visited-file-modtime>:
12360         <verify-visited-file-modtime>: Add handler.
12361         (tramp-smb-call-winexe): Do not bind `default-directory'.
12363 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
12365         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12367 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
12369         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12370         use it.
12371         (log-view-diff-changeset): Same.
12372         (log-view-diff-common): Call backend command `previous-revision'
12373         to find out the previous revision, in both cases.  Swap the
12374         variables `to' and `fr', so that `fr' usually refers to the
12375         earlier revision (Bug#14989).
12377 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
12379         * ibuf-ext.el (ibuffer-filter-by-filename):
12380         Make it work with dired buffers too.
12382 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
12384         * emacs-lisp/re-builder.el (reb-color-display-p):
12385         * files.el (save-buffers-kill-terminal):
12386         * net/browse-url.el (browse-url):
12387         * server.el (server-save-buffers-kill-terminal):
12388         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12389         Prefer nil to selected-frame for the first arg of frame-parameter.
12391 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
12393         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12395 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
12397         * minibuffer.el (completion--twq-all): Try and preserve each
12398         completion's case choice (bug#14907).
12400 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12402         * net/network-stream.el (open-network-stream): Mention the new
12403         :nogreeting parameter.
12404         (network-stream-open-starttls): Use the :nogreeting parameter
12405         (bug#14938).
12407         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12409         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12410         more natural than popping.
12412         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12413         (shr-urlify): Highlight under mouse.
12415 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12417         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12419         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12421         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
12422         buffer for output.
12424         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
12425         point-min==1.  Fix search string.  Fix parentheses missing.
12427         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
12428         assume point-min==1.  Fix search string.  Fix parentheses missing.
12430         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12432         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
12433         buffer for output.
12435 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
12437         * frame.el (frame-notice-user-settings): Avoid inflooping when the
12438         initial frame is minibuffer-less.  (Bug#14841)
12440 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
12442         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12443         option.
12445         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12446         (tramp-maybe-open-connection): Use it.
12448 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12450         * desktop.el (desktop--make-frame): Include `minibuffer' in the
12451         minimal set of parameters passed when creating a frame, because
12452         the minibuffer status of a frame cannot be changed later.
12454 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
12456         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12457         replace-regexp-in-string and inadvertent omissions in previous change.
12458         (todo-filter-items): Ensure only file names are comma-separated in
12459         name of filtered items buffer.
12461 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12463         * desktop.el: Optionally force offscreen frames back onscreen.
12464         (desktop-restoring-reuses-frames): New option.
12465         (desktop--compute-pos, desktop--move-onscreen): New functions.
12466         (desktop--make-frame): Use desktop--move-onscreen.
12468 2013-07-27  Alan Mackenzie  <acm@muc.de>
12470         Fontify a Java generic method as a function.
12471         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12472         value to t.
12474 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
12476         * calendar/todo-mode.el: Add command to rename todo files.
12477         (todo-rename-file): New command.
12478         (todo-key-bindings-t): Add key binding for it.  Change the
12479         bindings of todo-filter-regexp-items(-multifile) to use `x'
12480         instead of `r', since the latter is better suited to the new
12481         renaming command.
12483 2013-07-27  Alan Mackenzie  <acm@muc.de>
12485         Make Java try-with-resources statement parse properly.
12486         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
12487         (c-block-stmt-1-2-key): New language constants/variables.
12488         * progmodes/cc-engine.el (c-beginning-of-statement-1)
12489         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
12490         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
12491         with c-block-stmt-1-2-key.
12493 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
12495         * desktop.el (desktop--make-frame): Apply most frame parameters after
12496         creating the frame to force (partially or totally) offscreen frames to
12497         be restored as such.
12499 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
12501         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
12502         (Bug#14948)
12504 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12506         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
12507         `base' arg of backtrace-frame.
12509 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
12511         * simple.el (list-processes): Doc fix.
12513 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12515         * desktop.el (desktop--select-frame):
12516         Try harder to reuse existing frames.
12518 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12520         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
12521         (edebug-eval): Use backtrace-eval.
12522         (edebug--display, edebug--recursive-edit): Don't let-bind the
12523         edebug-outer-* vars that keep track of variables we locally let-bind.
12524         (edebug-outside-excursion): Don't restore outside values of locally
12525         let-bound vars.
12526         (edebug--display): Use user-error.
12527         (cl-lexical-debug, cl-debug-env): Remove.
12529 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12531         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
12532         are restored to be sure that they are visible before deleting any
12533         remaining ones.
12535 2013-07-26  Matthias Meulien  <orontee@gmail.com>
12537         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
12538         vc-print-root-log.  (Bug#14948)
12540 2013-07-26  Richard Stallman  <rms@gnu.org>
12542         Add aliases for encrypting mail.
12543         * epa.el (epa-mail-aliases): New option.
12544         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
12545         Bind inhibit-read-only so read-only text doesn't ruin everything.
12546         (epa-mail-default-recipients): New subroutine broken out.
12547         Handle epa-mail-aliases.
12549 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12551         Add support for lexical variables to the debugger's `e' command.
12552         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
12553         vars, except for debugger-outer-match-data.
12554         (debugger-frame-number): Move check for "on a function call" from
12555         callers into it.  Add `skip-base' argument.
12556         (debugger-frame, debugger-frame-clear): Simplify accordingly.
12557         (debugger-env-macro): Only reset the state stored in non-variables,
12558         i.e. current-buffer and match-data.
12559         (debugger-eval-expression): Rewrite using backtrace-eval.
12560         * subr.el (internal--called-interactively-p--get-frame): Remove.
12561         (called-interactively-p):
12562         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
12563         `base' arg of backtrace-frame instead.
12565 2013-07-26  Glenn Morris  <rgm@gnu.org>
12567         * align.el (align-regexp): Doc fix.  (Bug#14857)
12568         (align-region): Explicit error if subexpression missing/does not match.
12570         * simple.el (global-visual-line-mode):
12571         Do not duplicate the mode lighter.  (Bug#14858)
12573 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
12575         * window.el (display-buffer): In display-buffer bind
12576         split-window-keep-point to t, bug#14829.
12578 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12580         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12581         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12582         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12583         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12584         Change accordingly.
12585         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12586         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12588 2013-07-25  Glenn Morris  <rgm@gnu.org>
12590         * dired-x.el (dired-mark-extension): Convert comment to doc string.
12592 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12594         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12595         parameter to modify-frame-parameters if the value has not changed;
12596         this is a workaround for bug#14949.
12597         (desktop--make-frame): On cl-delete-if call, check parameter name,
12598         not full parameter.
12600 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12602         * vc/vc.el (vc-ignore): New function.
12604         * vc/vc-svn.el (vc-svn-ignore): New function.
12606         * vc/vc-hg.el (vc-hg-ignore): New function.
12608         * vc/vc-git.el (vc-git-ignore): New function.
12610         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12611         (vc-dir-ignore): New function.
12613         * vc/vc-cvs.el (vc-cvs-ignore): New function.
12614         (cvs-append-to-ignore): Move here from pcvs.el.
12616         * vc/vc-bzr.el (vc-bzr-ignore): New function.
12618         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12620 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
12622         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12623         (desktop-restore-frames): Warn when deleting an existing frame failed.
12625 2013-07-24  Glenn Morris  <rgm@gnu.org>
12627         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
12629 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
12631         * filenotify.el (file-notify-supported-p):
12632         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12633         Remove functions.
12635         * autorevert.el (auto-revert-use-notify)
12636         (auto-revert-notify-add-watch):
12637         * net/tramp.el (tramp-file-name-for-operation):
12638         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12639         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12640         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12641         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12642         Remove `file-notify-supported-p' entry.
12644 2013-07-24  Glenn Morris  <rgm@gnu.org>
12646         * printing.el: Replace all uses of deleted ps-windows-system,
12647         ps-lp-system, ps-flatten-list with lpr- versions.
12649 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12651         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
12652         checked with memq (bug#14935).
12654         * files.el (revert-buffer-function): Use a non-nil default.
12655         (revert-buffer-preserve-modes): Declare var to
12656         provide access to the `preserve-modes' argument.
12657         (revert-buffer): Let-bind it.
12658         (revert-buffer--default): New function, extracted from revert-buffer.
12660 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12662         * lpr.el: Signal print errors more prominently.
12663         (print-region-function): Don't default to nil.
12664         (lpr-print-region): New function, extracted from print-region-1.
12665         Check lpr's return value and signal an error in case of problem.
12666         (print-region-1): Use it.
12667         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
12668         versions instead.
12669         (ps-printer-name): Default to nil.
12670         (ps-printer-name-option): Default to lpr-printer-switch.
12671         (ps-print-region-function): Don't default to nil.
12672         (ps-postscript-code-directory): Simplify default.
12673         (ps-do-despool): Use lpr-print-region to properly check the outcome.
12674         (ps-string-list, ps-eval-switch, ps-flatten-list)
12675         (ps-flatten-list-1): Remove.
12676         (ps-multibyte-buffer): Avoid setq.
12677         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
12678         (print-region-function, ps-print-region-function): Don't set them here.
12680 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
12682         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
12683         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
12684         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
12685         (ido-decorations): Doc fix.
12687         * ansi-color.el: Fix old URL.
12689 2013-07-23  Michael R. Mauger  <michael@mauger.com>
12691         * progmodes/sql.el: Version 3.3
12692         (sql-product-alist): Improve oracle :prompt-cont-regexp.
12693         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
12694         (sql-interactive-remove-continuation-prompt): Rewrite, use
12695         functions above.  Fix continuation prompt and complete output line
12696         handling.
12697         (sql-redirect-one, sql-execute): Use `read-only-mode' on
12698         redirected output buffer.
12699         (sql-mode): Restore deleted code (Bug#13591).
12701 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12703         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
12705 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
12707         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
12709         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12710         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12711         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
12713 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12715         * desktop.el (desktop-clear): Simplify; remove useless checks
12716         against invalid buffer names.
12717         (desktop-list*): Use cl-list*.
12718         (desktop-buffer-info, desktop-create-buffer): Simplify.
12720 2013-07-23  Leo Liu  <sdl.web@gmail.com>
12722         * bookmark.el (bookmark-make-record): Restore NAME as a default
12723         value.  (Bug#14933)
12725 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12727         * emacs-lisp/autoload.el (autoload--setup-output): New function,
12728         extracted from autoload--insert-text.
12729         (autoload--insert-text): Remove.
12730         (autoload--print-cookie-text): New function, extracted from
12731         autoload--insert-cookie-text.
12732         (autoload--insert-cookie-text): Remove.
12733         (autoload-generate-file-autoloads): Adjust calls accordingly.
12735         * winner.el (winner-hook-installed-p): Remove.
12736         (winner-mode): Simplify accordingly.
12738         * subr.el (add-to-list): Fix compiler-macro when `append' is
12739         not constant.  Don't use `cl-member' for the base case.
12741         * progmodes/subword.el: Fix boundary case (bug#13758).
12742         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
12743         own group.
12744         (subword-backward-regexp): Make it a constant.
12745         (subword-forward-internal): Don't treat a trailing capital as the
12746         beginning of a word.
12748 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
12750         * emacs-lisp/package.el (package-menu-mode): Don't modify the
12751         global value of tabulated-list-revert-hook (bug#14930).
12753 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
12755         * desktop.el: Require 'cl-lib.
12756         (desktop-before-saving-frames-functions): New hook.
12757         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
12758         for frames being saved.  Rename from desktop--save-minibuffer-frames.
12759         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
12760         Do not save frames with non-nil `desktop-dont-save' parameter.
12761         Filter out deleted frames.
12762         (desktop--find-frame): Use cl-find-if.
12763         (desktop--select-frame): Use cl-(first|second|third) to access values
12764         of desktop-mini.
12765         (desktop--make-frame): Use cl-delete-if.
12766         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
12767         (desktop-restore-frames): Use cl-(first|second|third) to access values
12768         of desktop-mini.  Look for visible frame at the end, not while
12769         restoring frames.
12771         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
12772         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
12773         Use string-match-p, looking-at-p (bug#14927).
12775 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
12777         * desktop.el (desktop-saved-frame-states):
12778         Rename from desktop--saved-states; all users changed.
12779         (desktop-save-frames): Rename from desktop--save-frames.
12780         Do not save state to desktop file.
12781         (desktop-save): Save desktop-saved-frame-states to desktop file
12782         and reset to nil.
12783         (desktop-restoring-frames-p): New function.
12784         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
12785         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
12786         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
12788         * desktop.el: Correctly restore iconified frames.
12789         (desktop--filter-iconified-position): New function.
12790         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
12792 2013-07-20  Glenn Morris  <rgm@gnu.org>
12794         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
12795         Let `message' do the formatting.
12796         (def-gdb-preempt-display-buffer): Add explicit format.
12798         * image-dired.el (image-dired-track-original-file):
12799         Use with-current-buffer.
12800         (image-dired-track-thumbnail): Use with-current-buffer.
12801         Avoid changing point of wrong window.
12803         * image-dired.el (image-dired-track-original-file):
12804         Avoid changing point of wrong window.  (Bug#14909)
12806 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
12808         * progmodes/gdb-mi.el (gdb-done-or-error):
12809         Guard against "%" in gdb output.  (Bug#14127)
12811 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
12813         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
12814         (Bug#14826)
12816         * international/mule.el (coding-system-iso-2022-flags): Fix last
12817         change.
12819 2013-07-20  Kenichi Handa  <handa@gnu.org>
12821         * international/mule.el (coding-system-iso-2022-flags):
12822         Add `8-bit-level-4'.  (Bug#8522)
12824 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12826         * net/shr.el (shr-mouse-browse-url): New command and keystroke
12827         (bug#14815).
12829         * net/eww.el (eww-process-text-input): Allow inputting when the
12830         point is at the start of the line, as the properties aren't
12831         front-sticky.
12833         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12834         degenerate widths.
12836 2013-07-19  Richard Stallman  <rms@gnu.org>
12838         * epa.el (epa-popup-info-window): Doc fix.
12840         * subr.el (split-string): New arg TRIM.
12842 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
12844         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12845         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12847 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
12849         * filenotify.el (file-notify--library): Rename from
12850         `file-notify-support'.  Do not autoload.  Adapt all uses.
12851         (file-notify-supported-p): New defun.
12853         * autorevert.el (auto-revert-use-notify):
12854         Use `file-notify-supported-p' instead of `file-notify-support'.
12855         Adapt docstring.
12856         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12858         * net/tramp.el (tramp-file-name-for-operation):
12859         Add `file-notify-supported-p'.
12861         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12862         New defun.
12863         (tramp-sh-file-name-handler-alist): Add it as handler for
12864         `file-notify-supported-p '.
12866         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12867         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12868         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12869         Add `ignore' as handler for `file-notify-*' functions.
12871 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
12873         * simple.el (line-move-partial, line-move): Don't start vscroll or
12874         scroll-up if the current line is not taller than the window.
12875         (Bug#14881)
12877 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
12879         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12880         highlight question marks in the method names as strings.
12881         (ruby-block-beg-keywords): Inline.
12882         (ruby-font-lock-keyword-beg-re): Extract from
12883         `ruby-font-lock-keywords'.
12885 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
12887         * frame.el (blink-cursor-blinks): New defcustom.
12888         (blink-cursor-blinks-done): New defvar.
12889         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12890         (blink-cursor-timer-function): Check if number of blinks has been
12891         done on X and NS.
12892         (blink-cursor-suspend, blink-cursor-check): New defuns.
12894 2013-07-15  Glenn Morris  <rgm@gnu.org>
12896         * edmacro.el (edmacro-format-keys): Fix previous change.
12898 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
12900         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12901         The hack didn't work outside English locales anyway.
12903 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
12905         * simple.el (define-alternatives): Rename from alternatives-define,
12906         per RMS' suggestion.
12908 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
12910         * desktop.el (desktop-restore-frames): Change default to t.
12911         (desktop-restore-in-current-display): Now offer more options.
12912         (desktop-restoring-reuses-frames): New customization option.
12913         (desktop--saved-states): Doc fix.
12914         (desktop-filter-parameters-alist): New variable, renamed and expanded
12915         from desktop--excluded-frame-parameters.
12916         (desktop--target-display): New variable.
12917         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12918         (desktop--filter-tty*, desktop--filter-*-color)
12919         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12920         (desktop--filter-save-desktop-parm)
12921         (desktop-restore-in-original-display-p): New functions.
12922         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12923         (desktop--save-minibuffer-frames): New function, inspired by a similar
12924         function from Martin Rudalics.
12925         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12926         (desktop--restore-in-this-display-p): Remove.
12927         (desktop--find-frame): Rename from desktop--find-frame-in-display
12928         and add predicate argument.
12929         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12930         (desktop--reuse-list): New variable.
12931         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12932         New functions.
12933         (desktop--restore-frames): Add support for "minibuffer-special" frames.
12935 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
12937         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12939 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
12941         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12942         Highlight conversion methods on Kernel.
12944 2013-07-13  Alan Mackenzie  <acm@muc.de>
12946         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12947         and comment it out.  This out-commenting enables certain C++
12948         declarations to be parsed correctly.
12950 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
12952         * international/mule.el (define-coding-system): Doc fix.
12954         * simple.el (default-font-height): Don't call font-info if the
12955         frame's default font didn't change since the frame was created.
12956         (Bug#14838)
12958 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12960         * ido.el (ido-read-file-name): Guard against non-symbol value.
12962 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12964         * progmodes/python.el (python-imenu--build-tree): Fix corner case
12965         in nested defuns.
12967 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12969         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12970         ido-set-matches call.  (Bug#6852)
12972 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
12974         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12975         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12976         Ruby 2.0.
12977         (ruby-font-lock-keywords): Distinguish calls to functions with
12978         module-like names from module references.  Highlight character
12979         literals.
12981 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
12983         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12984         (gdb-send): Handle continued commands.  (Bug#14847)
12986 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
12988         * desktop.el (desktop--v2s): Remove unused local variable.
12989         (desktop-save-buffer): Make defvar-local; adjust docstring.
12990         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12991         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12993 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
12995         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12997 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
12999         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13000         (Bug#14842)
13002 2013-07-12  Glenn Morris  <rgm@gnu.org>
13004         * doc-view.el: Require cl-lib at runtime too.
13005         (doc-view-remove-if): Remove.
13006         (doc-view-search-next-match, doc-view-search-previous-match):
13007         Use cl-remove-if.
13009         * edmacro.el: Require cl-lib at runtime too.
13010         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13011         (edmacro-mismatch, edmacro-subseq): Remove.
13013         * shadowfile.el: Require cl-lib.
13014         (shadow-remove-if): Remove.
13015         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13016         Use cl-remove-if.
13018         * wid-edit.el: Require cl-lib.
13019         (widget-choose): Use cl-remove-if.
13020         (widget-remove-if): Remove.
13022         * progmodes/ebrowse.el: Require cl-lib at runtime too.
13023         (ebrowse-delete-if-not): Remove.
13024         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13025         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13026         Use cl-delete-if-not.
13028 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13030         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13031         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13033 2013-07-12  Leo Liu  <sdl.web@gmail.com>
13035         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
13037 2013-07-11  Glenn Morris  <rgm@gnu.org>
13039         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13040         (edebug-gensym-index, edebug-gensym):
13041         Remove reimplementation of cl-gensym.
13042         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13044         * thumbs.el: Require cl-lib at run-time too.
13045         (thumbs-gensym-counter, thumbs-gensym):
13046         Remove reimplementation of cl-gensym.
13047         (thumbs-temp-file): Use cl-gensym.
13049         * emacs-lisp/ert.el: Require cl-lib at runtime too.
13050         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13051         (ert--intersection, ert--set-difference, ert--set-difference-eq)
13052         (ert--union, ert--gensym-counter, ert--gensym-counter)
13053         (ert--coerce-to-vector, ert--remove*, ert--string-position)
13054         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13055         (ert-make-test-unbound, ert--expand-should-1)
13056         (ert--expand-should, ert--should-error-handle-error)
13057         (should-error, ert--explain-equal-rec)
13058         (ert--plist-difference-explanation, ert-select-tests)
13059         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13060         Use cl-lib functions rather than reimplementations.
13062 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
13064         * net/tramp.el (tramp-methods): Extend docstring.
13065         (tramp-connection-timeout): New defcustom.
13066         (tramp-error-with-buffer): Reset timestamp only when appropriate.
13067         (with-tramp-progress-reporter): Simplify.
13068         (tramp-process-actions): Improve messages.
13070         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13071         * net/tramp-sh.el (tramp-maybe-open-connection):
13072         Use `tramp-connection-timeout'.
13073         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13074         (Bug#14808)
13076 2013-07-11  Leo Liu  <sdl.web@gmail.com>
13078         * ido.el (ido-read-file-name): Conform to the requirements of
13079         read-file-name.  (Bug#11861)
13080         (ido-read-directory-name): Conform to the requirements of
13081         read-directory-name.
13083 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
13085         * subr.el (delay-warning): New function.
13087 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
13089         * simple.el (default-line-height): New function.
13090         (line-move-partial, line-move): Use it instead of computing the
13091         line height inline.
13092         (line-move-partial): Always compute ROWH.  If the last line is
13093         partially-visible, but its text is completely visible, allow
13094         cursor to enter such a partially-visible line.
13096 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
13098         Improve error messages.  (Bug#14808)
13100         * net/tramp.el (tramp-current-connection): New defvar, moved from
13101         tramp-sh.el.
13102         (tramp-message-show-progress-reporter-message): Remove, not
13103         needed anymore.
13104         (tramp-error-with-buffer): Show message in minibuffer.
13105         Discard input before waiting.  Reset connection timestamp.
13106         (with-tramp-progress-reporter): Improve messages.
13107         (tramp-process-actions): Use progress reporter.  Delete process in
13108         case of error.  Improve messages.
13110         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13111         Call `tramp-error-with-buffer' with vector and buffer.
13112         (tramp-current-connection): Remove.
13113         (tramp-maybe-open-connection): The car of
13114         `tramp-current-connection' are the first 3 slots of the vector.
13116 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
13118         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13119         inside continued strings.
13121 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
13123         Timestamp fixes for undo (Bug#14824).
13124         * files.el (clear-visited-file-modtime): Move here from fileio.c.
13126 2013-07-10  Leo Liu  <sdl.web@gmail.com>
13128         * files.el (require-final-newline): Allow safe local value.
13129         (Bug#14834)
13131 2013-07-09  Leo Liu  <sdl.web@gmail.com>
13133         * ido.el (ido-read-directory-name): Handle fallback.
13134         (ido-read-file-name): Update DIR to ido-current-directory.
13135         (Bug#1516)
13136         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
13138 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
13140         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13141         "autoload".  Remove "warn lower camel case" section, previously
13142         commented out.  Highlight negation char.  Do not highlight the
13143         target in singleton method definitions.
13145 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13147         * faces.el (tty-setup-hook): Declare the hook.
13149         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13150         and detect when a guard/pred depends on local vars (bug#14773).
13151         (pcase--u1): Adjust caller.
13153 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
13155         * simple.el (line-move-partial, line-move): Account for
13156         line-spacing.
13157         (line-move-partial): Avoid setting vscroll when the last
13158         partially-visible line in window is of default height.
13160 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13162         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13163         been used a while.
13165 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
13167         * subr.el (read-quoted-char): Remove unused local variable `char'.
13169 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13171         * vc/ediff.el (ediff-version): Version update.
13172         (ediff-files-command, ediff3-files-command, ediff-merge-command)
13173         (ediff-merge-with-ancestor-command, ediff-directories-command)
13174         (ediff-directories3-command, ediff-merge-directories-command)
13175         (ediff-merge-directories-with-ancestor-command): New functions.
13176         All are command-line interfaces to ediff: to facilitate calling
13177         Emacs with the appropriate ediff functions invoked.
13179         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13180         New function.
13181         (viper-save-kill-buffer): Check if buffer is modified.
13183         * emulation/viper.el (viper-version): Version update.
13184         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13186 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13188         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13189         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13190         (viper-intercept-ESC-key): Simplify.
13191         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13192         don't use kbd.
13193         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13194         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13195         (viper-setup-ESC-to-escape): New functions.
13196         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13197         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
13199 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
13201         * simple.el (default-font-height, window-screen-lines):
13202         New functions.
13203         (line-move, line-move-partial): Use them instead of
13204         frame-char-height and window-text-height.  This makes scrolling
13205         text smoother when the buffer's default face uses a font that is
13206         different from the frame's default font.
13208 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
13210         * files.el (write-file): Do not display confirm dialog for NS,
13211         it does its own dialog, which can't be canceled (Bug#14578).
13213 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
13215         * simple.el (line-move-partial): Adjust the row returned by
13216         posn-at-point for the current window-vscroll.  (Bug#14567)
13218 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
13220         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13221         (tramp-sh-file-inotifywait-process-filter): Handle file names with
13222         spaces.
13224 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
13226         * window.el (window-state-put-stale-windows): New variable.
13227         (window--state-put-2): Save list of windows without matching buffer.
13228         (window-state-put): Remove "bufferless" windows if possible.
13230 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13232         * simple.el (alternatives-define): Remove leftover :group keyword.
13233         Tweak docstring.
13235 2013-07-06  Leo Liu  <sdl.web@gmail.com>
13237         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13238         (ido-enable-virtual-buffers): New variable.
13239         (ido-buffer-internal, ido-toggle-virtual-buffers)
13240         (ido-make-buffer-list): Use it.
13241         (ido-exhibit): Support turning on and off virtual buffers
13242         automatically.
13244 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13246         * simple.el (alternatives-define): New macro.
13248 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13250         * subr.el (read-quoted-char): Use read-key.
13251         (sit-for): Let read-event decode tty input (bug#14782).
13253 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
13255         * calendar/todo-mode.el: Add handling of file deletion, both by
13256         mode command and externally.  Fix various related bugs.
13257         Clarify Commentary and improve some documentation strings and code.
13258         (todo-delete-file): New command.
13259         (todo-check-file): New function.
13260         (todo-show): Handle external deletion of the file we're trying to
13261         show (bug#14688).  Replace called-interactively-p by an optional
13262         prefix argument to avoid problematic interaction with catch form
13263         when byte compiled (bug#14702).
13264         (todo-quit): Handle external deletion of the archive's todo file.
13265         Make sure the buffer that was visiting the archive file is still
13266         live before trying to bury it.
13267         (todo-category-completions): Handle external deletion of any
13268         category completion files.
13269         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13270         of todo files, in case of external deletion.
13271         (todo-add-file): Replace unnecessary setq by let-binding.
13272         (todo-find-archive): Check whether there are any archives.
13273         Replace unnecessary setq by let-binding.
13274         (todo-archive-done-item): Use find-file-noselect to get the
13275         archive buffer whether or not the archive already exists.
13276         Remove superfluous code.  Use file size instead of buffer-file-name to
13277         check if the archive is new; if it is, update list of archives.
13278         (todo-default-todo-file): Allow nil to be a valid value for when
13279         there are no todo files.
13280         (todo-reevaluate-default-file-defcustom): Use corrected definition
13281         of todo-default-todo-file.
13282         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13283         (todo-delete-category, todo-show-categories-table)
13284         (todo-category-number): Clarify comment.
13285         (todo-filter-items): Clarify documentation string.
13286         (todo-show-current-file, todo-display-as-todo-file)
13287         (todo-reset-and-enable-done-separator): Tweak documentation string.
13288         (todo-done-separator): Make separator length window-width, since
13289         bug#2749 is now fixed.
13291 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
13293         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13294         Support both "gvfs-monitor-dir" and "inotifywait".
13295         (tramp-sh-file-inotifywait-process-filter): Rename from
13296         `tramp-sh-file-notify-process-filter'.
13297         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13298         (tramp-get-remote-gvfs-monitor-dir): New defuns.
13300 2013-07-05  Leo Liu  <sdl.web@gmail.com>
13302         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13304 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13306         * frame.el (display-pixel-height, display-pixel-width)
13307         (display-mm-height, display-mm-width): Mention behavior on
13308         multi-monitor setups in docstrings.
13309         (w32-display-monitor-attributes-list): Declare function.
13310         (display-monitor-attributes-list): Use it.
13312 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
13314         * filenotify.el: New package.
13316         * autorevert.el (top): Require filenotify.el.
13317         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
13318         instead.
13319         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13320         (auto-revert-notify-handler): Use `file-notify-*' functions.
13322         * subr.el (file-notify-handle-event): Move function to filenotify.el.
13324         * net/tramp.el (tramp-file-name-for-operation):
13325         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13327         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13328         for `file-notify-add-watch' and `file-notify-rm-watch'.
13329         (tramp-process-sentinel): Improve trace.
13330         (tramp-sh-handle-file-notify-add-watch)
13331         (tramp-sh-file-notify-process-filter)
13332         (tramp-sh-handle-file-notify-rm-watch)
13333         (tramp-get-remote-inotifywait): New defuns.
13335 2013-07-03  Juri Linkov  <juri@jurta.org>
13337         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13338         call of `occur-read-primary-args' to interactive spec.
13340         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13341         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
13343 2013-07-03  Matthias Meulien  <orontee@gmail.com>
13345         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13346         `Buffer-menu-multi-occur'.  Add it to the menu.
13347         (Buffer-menu-mode): Document it in docstring.
13348         (Buffer-menu-multi-occur): New command.  (Bug#14673)
13350 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13352         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13353         keywords and built-ins.
13355 2013-07-03  Glenn Morris  <rgm@gnu.org>
13357         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
13359         Make info-xref checks case-sensitive by default
13360         * info.el (Info-find-node, Info-find-in-tag-table)
13361         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13362         Add option for exact case matching of nodes.
13363         * info-xref.el (info-xref): New custom group.
13364         (info-xref-case-fold): New option.
13365         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13367 2013-07-03  Leo Liu  <sdl.web@gmail.com>
13369         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13371 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13373         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13374         middle of block statement initially, lower the depth.  Remove
13375         FIXME comment, not longer valid.  Remove middle of block statement
13376         detection, no need to do that anymore since we've been using
13377         `ruby-parse-region' here.
13379 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
13381         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13383 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
13385         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13387 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
13389         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13390         (desktop-restore-in-current-display): New customization option.
13391         (desktop--excluded-frame-parameters): Add `font'.
13392         (desktop--save-frames): Rename from desktop--save-windows.
13393         (desktop--restore-in-this-display-p): New function.
13394         (desktop--make-full-frame): Remove unwanted width/height from
13395         full(width|height) frames.
13396         (desktop--restore-frames): Rename from desktop--restore-windows.
13397         Obey desktop-restore-current-display.  Do not delete old frames or
13398         select a new frame unless we were able to restore at least one frame.
13400 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
13402         * files.el (find-file-noselect): Simplify conditional expression.
13404         * textmodes/remember.el (remember-append-to-file):
13405         Don't mix `find-buffer-visiting' and `get-file-buffer'.
13407         Add `remember-notes' function to store random notes across Emacs
13408         restarts.
13409         * textmodes/remember.el (remember-data-file): Add :set callback to
13410         affect notes buffer (if any).
13411         (remember-notes): New command.
13412         (remember-notes-buffer-name, bury-remember-notes-on-kill):
13413         New defcustoms for the `remember-notes' function.
13414         (remember-notes-save-and-bury-buffer): New command.
13415         (remember-notes-mode-map): New variable.
13416         (remember-mode): New minor mode.
13417         (remember-notes--kill-buffer-query): New function.
13418         * startup.el (initial-buffer-choice): Add notes to custom type.
13420 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
13422         * bindings.el (right-char, left-char): Don't call sit-for, this is
13423         no longer needed.  Use arithmetic comparison only for numerical
13424         arguments.
13426         * international/mule-cmds.el (select-safe-coding-system):
13427         Handle the case of FROM being a string correctly.  (Bug#14755)
13429 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13431         * net/shr.el (shr-make-table-1): Add a sanity check that allows
13432         progression on degenerate tables.
13433         (shr-rescale-image): ImageMagick animated images currently don't work.
13435 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
13437         Some fixes and improvements for desktop frame restoration.
13438         It is still experimental and disabled by default.
13439         * desktop.el (desktop--save-windows): Put the selected frame at
13440         the head of the list.
13441         (desktop--make-full-frame): New function.
13442         (desktop--restore-windows): Try to re-select the frame that was
13443         selected upon saving.  Do not abort if some frames fail to restore,
13444         just show an error message and continue.  Set up maximized frames
13445         so they have default non-maximized dimensions.
13447 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
13449         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13450         Don't start heredoc inside a string or comment.
13452 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
13454         * bindings.el (visual-order-cursor-movement): New defcustom.
13455         (right-char, left-char): Provide visual-order cursor motion by
13456         calling move-point-visually.  Update the doc strings.
13458 2013-06-28  Kenichi Handa  <handa@gnu.org>
13460         * international/mule.el (define-coding-system): New coding system
13461         properties :inhibit-null-byte-detection,
13462         :inhibit-iso-escape-detection, and :prefer-utf-8.
13463         (set-buffer-file-coding-system): If :charset-list property of
13464         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13465         appropriate for setting.
13467         * international/mule-cmds.el (select-safe-coding-system):
13468         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13469         multibyte characters, return utf-8 (or one of its siblings).
13471         * international/mule-conf.el (prefer-utf-8): New coding system.
13472         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13473         files.
13475 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
13477         * net/shr.el (shr-render-region): New function.
13479         * net/eww.el: Autoload `eww-browse-url'.
13481 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
13483         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13484         Adapt to `package-desc-version' being a list.
13485         Use `package--ac-desc-version' to retrieve version from a package
13486         archive element.
13488 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
13490         New experimental feature to save&restore window and frame setup.
13491         * desktop.el (desktop-save-windows): New defcustom.
13492         (desktop--saved-states): New var.
13493         (desktop--excluded-frame-parameters): New defconst.
13494         (desktop--filter-frame-parms, desktop--find-frame-in-display)
13495         (desktop--restore-windows, desktop--save-windows): New functions.
13496         (desktop-save): Call `desktop--save-windows'.
13497         (desktop-read): Call `desktop--restore-windows'.
13499 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13501         * net/shr.el (add-face-text-property): Remove compat definition.
13503 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13505         * info.el (Info-try-follow-nearest-node): Move search for footnote
13506         above search for node name to prevent missing a footnote (bug#14717).
13508 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13510         * obsolete/otodo-mode.el: Add obsolescence info to file header.
13512 2013-06-27  Leo Liu  <sdl.web@gmail.com>
13514         * net/eww.el (eww-read-bookmarks): Check file size.
13516 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13518         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
13519         advice--pending if newdef is nil or an autoload (bug#13820).
13520         (advice-mapc): New function.
13522 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13524         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
13525         probably.
13526         (eww-mode-map): Add a menu bar.
13527         (eww-add-bookmark): New command.
13528         (eww-bookmark-mode): New mode and commands.
13529         (eww-add-bookmark): Remove newlines from the title.
13530         (eww-bookmark-browse): Don't bug out if it's the only window.
13532 2013-06-26  Glenn Morris  <rgm@gnu.org>
13534         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
13535         (hfy-size): Handle ttys.  (Bug#14668)
13537         * info-xref.el: Update for Texinfo 5 change in *note format.
13538         (info-xref-node-re, info-xref-note-re): New constants.
13539         (info-xref-check-buffer): Use info-xref-note-re.
13541 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13543         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
13545         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
13546         nil terminate the loop (bug#14718).
13548 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13550         * net/eww.el: Rework history traversal.  When going forward/back,
13551         put these actions into the history, too, so that they can be
13552         replayed.
13553         (eww-render): Move the history reset to the correct buffer.
13555 2013-06-25  Juri Linkov  <juri@jurta.org>
13557         * files-x.el (modify-dir-local-variable): Change the header comment
13558         in the file with directory local variables.  (Bug#14692)
13560         * files-x.el (read-file-local-variable-value): Add `default'.
13561         (Bug#14710)
13563 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13565         * net/eww.el (eww-make-unique-file-name): Create a unique file
13566         name before saving to entering `y' accidentally asynchronously.
13568 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
13570         * net/eww.el (eww-download): New command and keystroke.
13572 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13574         * net/eww.el (eww-copy-page-url): Change name of command.
13576         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
13577         be more consistent with Info and dired.
13579         * net/eww.el (eww-mode-map): Ditto.
13581 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13583         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
13584         packages from archives.
13585         (package-archive-contents): Change format; include obsolete packages.
13586         (package-desc): Use `dir' to mark builtin packages.
13587         (package--from-builtin): Set the `dir' field to `builtin'.
13588         (generated-autoload-file, version-control): Declare.
13589         (package-compute-transaction): Change first arg and return value to be
13590         lists of package-descs.  Adjust to new package-archive-contents format.
13591         (package--add-to-archive-contents): Adjust to new
13592         package-archive-contents format.
13593         (package-download-transaction): Arg is now a list of package-descs.
13594         (package-install): If `pkg' is a package name, pass it as
13595         a requirement, so it is subject to the usual (e.g. disabled) checks.
13596         (describe-package): Accept package-desc as well.
13597         (describe-package-1): Describe a specific package-desc.  Add links to
13598         other package-descs for the same package name.
13599         (package-menu-describe-package): Pass the actual package-desc.
13600         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13601         works correctly.
13602         (package-desc-status): New function.
13603         (package-menu--refresh): New function, extracted
13604         from package-menu--generate.
13605         (package-menu--generate): Use it.
13606         (package-delete): Update package-alist.
13607         (package-menu-execute): Don't call package-initialize.
13609         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13610         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13611         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13612         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13613         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13614         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13616 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
13618         * window.el (window--state-get-1): Workaround for bug#14527.
13619         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13621 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13623         * net/eww.el (eww-back-url): Implement the history by stashing all
13624         the data into a list.
13625         (eww-forward-url): Allow going forward in the history, too.
13627 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13629         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
13630         for values and use read--expression for expressions (bug#14710).
13631         (read-file-local-variable): Avoid setq.
13632         (read-file-local-variable-mode): Use minor-mode-list.
13634 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13636         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
13637         for DOI URLs.
13639 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13641         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
13642         Update imenu-support when dialect changes.
13644 2013-06-25  Leo Liu  <sdl.web@gmail.com>
13646         * ido.el (ido-read-internal): Allow forward slash on windows.
13648 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13650         * net/eww.el (eww): Start of strings is \\`, not ^.
13652 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13654         * net/shr.el (shr-browse-url): Fix interactive spec.
13656         * net/eww.el (eww): Add a trailing slash to domain names.
13658 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
13660         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
13662 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13664         * net/shr.el (shr-browse-url): Use an external browser if given a
13665         prefix.
13667         * net/eww.el (eww-external-browser): Move to shr.
13669 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13671         * net/eww.el (eww): Work more correctly for file: URLs.
13672         (eww-detect-charset): Allow quoted charsets.
13673         (eww-yank-page-url): New command and keystroke.
13675 2013-06-24  Daiki Ueno  <ueno@gnu.org>
13677         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
13678         file name of gpg executable.
13679         (epg-context-program): New function.
13680         (epg-context-home-directory): New function.
13681         (epg-context-set-program): New function.
13682         (epg-context-set-home-directory): New function.
13683         (epg--start): Use `epg-context-program' instead of
13684         'epg-gpg-program'.
13685         (epg--list-keys-1): Likewise.
13687 2013-06-24  Leo Liu  <sdl.web@gmail.com>
13689         * ido.el (ido-read-internal): Fix bug#14620.
13691 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13693         * faces.el (face-documentation): Simplify.
13694         (read-face-attribute, tty-find-type, x-resolve-font-name):
13695         Use `string-match-p'.
13696         (list-faces-display): Use `string-match-p'.  Simplify.
13697         (face-spec-recalc): Check face to avoid face alias loops.
13698         (read-color): Use `string-match-p' and non-capturing parenthesis.
13700 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13702         * net/shr.el (shr-rescale-image): Use the new
13703         :max-width/:max-height functionality.
13705 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
13707         * net/eww.el (eww-search-prefix): New variable.
13708         (eww): Use it.
13709         (eww-external-browser): New variable.
13710         (eww-mode-map): New keystroke.
13711         (eww-browse-with-external-browser): New command.
13713         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
13715 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13717         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13718         Don't skip aligning the next header field when padding is 0;
13719         otherwise, field width is not respected unless the title is as
13720         wide as the field.
13722 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13724         * emacs-lisp/package.el (package-el-version): Remove.
13725         (package-process-define-package): Fix inf-loop.
13726         (package-install): Allow symbols as arguments again.
13728 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13730         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
13731         add some more keyword-like methods.
13732         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
13734 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
13736         * bs.el (bs-buffer-show-mark): Make defvar-local.
13737         (bs-mode): Use setq-local.
13739         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
13740         (emacs-lock--try-unlocking): Make defvar-local.
13742 2013-06-22  Glenn Morris  <rgm@gnu.org>
13744         * play/cookie1.el (cookie-apropos): Minor simplification.
13746         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
13748 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13750         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
13751         `regexp-opt', it breaks the build during dumping.
13753 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
13755         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13756         Highlight keyword-like methods on Kernel and Module with
13757         font-lock-builtin-face.
13758         (auto-mode-alist): Consolidate different entries into one regexp
13759         and add more *file-s.
13761 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
13763         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
13765         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
13766         (diary-entry): Use it in the action of this button type instead of
13767         diary-goto-entry.
13769         * calendar/todo-mode.el: New version.
13770         (todo-add-category): Append new category to end of file and give
13771         it the highest number, instead of putting it at the beginning and
13772         giving it 0.  Incorporate noninteractive functionality.
13773         (todo-forward-category): Adapt to 1-based category numbering.
13774         Allow skipping over archived categories.
13775         (todo-backward-category): Derive from todo-forward-category.
13776         (todo-backward-item, todo-forward-item): Make noninteractive and
13777         delegate interactive part to new commands.  Make sensitive to done items.
13778         (todo-categories): Make value an alist of category names and
13779         vectors of item counts.
13780         (todo-category-beg): Make a defconst.
13781         (todo-category-number): Use 1 instead of 0 as initial value.
13782         (todo-category-select): Make sensitive to overlays, optional item
13783         highlighting and done items.
13784         (todo-delete-item): Make sensitive to overlays and marked and done items.
13785         (todo-edit-item): Make sensitive to overlays and editing of
13786         date/time header optional.  Add format checks.
13787         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
13788         no-op if point is not on an item.  Advertise using todo-edit-quit.
13789         (todo-edit-mode): Make sensitive to new format, font-locking, and
13790         multiple todo files.
13791         (todo-insert-item, todo-insert-item-here): Derive from
13792         todo-basic-insert-item and extend functionality.
13793         (todo-item-end, todo-item-start): Make sensitive to done items.
13794         (todo-item-string): Don't return text properties.  Restore point.
13795         (todo-jump-to-category): Make sensitive to multiple todo files and
13796         todo archives.  Use extended category completion.
13797         (todo-lower-item, todo-raise-item): Rename to *-priority and
13798         derive from todo-set-item-priority.
13799         (todo-mode): Derive from special-mode.  Make sensitive to new
13800         format, font-locking and multiple todo files.  Make read-only.
13801         (todo-mode-map): Don't suppress digit keys, so they can supply
13802         prefix arguments.  Add many new key bindings.
13803         (todo-prefix): Insert as an overlay instead of file text.
13804         Change semantics from diary date expression to purely visual mark.
13805         (todo-print): Rename to todo-print-buffer.  Make buffer display
13806         features printable.  Remove option to restrict number of items
13807         printed.  Add option to print to file.
13808         (todo-print-function): Rename to todo-print-buffer-function.
13809         (todo-quit): Extend to handle exiting new todo modes.
13810         (todo-remove-item): Make sensitive to overlays.
13811         (todo-save): Extend to buffers of filtered items.
13812         (todo-show): Make sensitive to done items, multiple todo files and
13813         new todo modes.  Offer to convert legacy todo file before creating
13814         first new todo file.
13815         (todo-show-priorities): Rename to todo-top-priorities.
13816         Change semantics of value 0.
13817         (todo-top-priorities): Rename to todo-filter-top-priorities,
13818         derive from todo-filter-items and extend functionality.
13819         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
13820         and extend functionality to other types of filtered items.
13821         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
13822         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
13823         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
13824         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13825         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13826         (todo-edit-mode-hook, todo-entry-prefix-function)
13827         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13828         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13829         (todo-initials, todo-insert-threshold, todo-item-string-start)
13830         (todo-line-string, todo-menu, todo-mode-hook)
13831         (todo-more-important-p, todo-previous-answer, todo-previous-line)
13832         (todo-print-priorities, todo-remove-separator)
13833         (todo-save-top-priorities-too, todo-string-count-lines)
13834         (todo-string-multiline-p, todo-time-string-format)
13835         (todo-tmp-buffer-name): Remove.
13836         (todo-add-file, todo-archive-done-item, todo-choose-archive)
13837         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13838         (todo-edit-category-diary-inclusion)
13839         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13840         (todo-edit-file, todo-edit-item-date-day)
13841         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13842         (todo-edit-item-date-month, todo-edit-item-date-to-today)
13843         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13844         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13845         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13846         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13847         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13848         (todo-filter-top-priorities-multifile, todo-find-archive)
13849         (todo-find-filtered-items-file, todo-go-to-source-item)
13850         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13851         (todo-jump-to-archive-category, todo-lower-category)
13852         (todo-mark-category, todo-marked-item-p, todo-merge-category)
13853         (todo-move-category, todo-move-item, todo-next-button)
13854         (todo-next-item, todo-padded-string, todo-powerset)
13855         (todo-previous-button, todo-previous-item)
13856         (todo-print-buffer-to-file, todo-raise-category)
13857         (todo-rename-category, todo-repair-categories-sexp, todo-search)
13858         (todo-set-category-number, todo-set-item-priority)
13859         (todo-set-top-priorities-in-category)
13860         (todo-set-top-priorities-in-file, todo-show-categories-table)
13861         (todo-sort-categories-alphabetically-or-numerically)
13862         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13863         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13864         (todo-toggle-item-header, todo-toggle-item-highlighting)
13865         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13866         (todo-toggle-view-done-items, todo-toggle-view-done-only)
13867         (todo-unarchive-items, todo-unmark-category): New commands.
13868         (todo-absolute-file-name, todo-add-to-buffer-list)
13869         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13870         (todo-basic-insert-item, todo-category-completions)
13871         (todo-category-number, todo-category-string-matcher-1)
13872         (todo-category-string-matcher-2, todo-check-filtered-items-file)
13873         (todo-check-format, todo-clear-matches)
13874         (todo-comment-string-matcher, todo-convert-legacy-date-time)
13875         (todo-current-category, todo-date-string-matcher)
13876         (todo-define-insertion-command, todo-diary-expired-matcher)
13877         (todo-diary-goto-entry, todo-diary-item-p)
13878         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13879         (todo-display-categories, todo-display-sorted, todo-done-item-p)
13880         (todo-done-item-section-p, todo-done-separator)
13881         (todo-done-string-matcher, todo-files, todo-filter-items)
13882         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13883         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13884         (todo-insert-category-line, todo-insert-item-from-calendar)
13885         (todo-insert-sort-button, todo-insert-with-overlays)
13886         (todo-insertion-command-name, todo-insertion-key-bindings)
13887         (todo-label-to-key, todo-longest-category-name-length)
13888         (todo-make-categories-list, todo-mode-external-set)
13889         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13890         (todo-modes-set-3, todo-multiple-filter-files)
13891         (todo-nondiary-marker-matcher, todo-prefix-overlays)
13892         (todo-read-category, todo-read-date, todo-read-dayname)
13893         (todo-read-file-name, todo-read-time)
13894         (todo-reevaluate-category-completions-files-defcustom)
13895         (todo-reevaluate-default-file-defcustom)
13896         (todo-reevaluate-filelist-defcustoms)
13897         (todo-reevaluate-filter-files-defcustom)
13898         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13899         (todo-reset-done-separator, todo-reset-done-separator-string)
13900         (todo-reset-done-string, todo-reset-global-current-todo-file)
13901         (todo-reset-highlight-item, todo-reset-nondiary-marker)
13902         (todo-reset-prefix, todo-set-categories)
13903         (todo-set-date-from-calendar, todo-set-show-current-file)
13904         (todo-set-top-priorities, todo-short-file-name)
13905         (todo-show-current-file, todo-sort, todo-time-string-matcher)
13906         (todo-total-item-counts, todo-update-buffer-list)
13907         (todo-update-categories-display, todo-update-categories-sexp)
13908         (todo-update-count, todo-validate-name, todo-y-or-n-p):
13909         New functions.
13910         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13911         New major modes.
13912         (todo-categories, todo-display, todo-edit, todo-faces)
13913         (todo-filtered): New defgroups.
13914         (todo-archived-only, todo-button, todo-category-string, todo-date)
13915         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13916         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13917         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13918         (todo-add-item-if-new-category, todo-always-add-time-string)
13919         (todo-categories-align, todo-categories-archived-label)
13920         (todo-categories-category-label, todo-categories-diary-label)
13921         (todo-categories-done-label, todo-categories-number-separator)
13922         (todo-categories-todo-label, todo-categories-totals-label)
13923         (todo-category-completions-files, todo-completion-ignore-case)
13924         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13925         (todo-done-separator-string, todo-done-string)
13926         (todo-files-function, todo-filter-done-items, todo-filter-files)
13927         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13928         (todo-initial-category, todo-initial-file, todo-item-mark)
13929         (todo-legacy-date-time-regexp, todo-mode-line-function)
13930         (todo-nondiary-marker, todo-number-prefix)
13931         (todo-print-buffer-function, todo-show-current-file)
13932         (todo-show-done-only, todo-show-first, todo-show-with-done)
13933         (todo-skip-archived-categories, todo-top-priorities-overrides)
13934         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13935         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13936         New defcustoms.
13937         (todo-category-done, todo-date-pattern, todo-date-string-start)
13938         (todo-diary-items-buffer, todo-done-string-start)
13939         (todo-filtered-items-buffer, todo-item-start)
13940         (todo-month-abbrev-array, todo-month-name-array)
13941         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13942         (todo-top-priorities-buffer): New defconsts.
13943         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13944         (todo-categories-with-marks, todo-category-string-face)
13945         (todo-comment-face, todo-comment-string, todo-current-todo-file)
13946         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13947         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13948         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13949         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13950         (todo-font-lock-keywords, todo-global-current-todo-file)
13951         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13952         (todo-insertion-commands-args)
13953         (todo-insertion-commands-args-genlist)
13954         (todo-insertion-commands-names, todo-insertion-map)
13955         (todo-key-bindings-t, todo-key-bindings-t+a)
13956         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13957         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13958         (todo-nondiary-face, todo-print-buffer, todo-time-face)
13959         (todo-visited): New variables.
13961 2013-06-21  Glenn Morris  <rgm@gnu.org>
13963         * play/cookie1.el (cookie-apropos): Add optional display argument.
13964         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13965         (psychoanalyze-pinhead): Use cookie-doctor.
13967 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13969         * emacs-lisp/package.el (tar-get-file-descriptor)
13970         (tar--extract): Declare.
13972 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
13974         Extend flymake's warning predicate to be a function (bug#14217).
13975         * progmodes/flymake.el (flymake-warning-predicate): New.
13976         (flymake-parse-line): Use it.
13977         (flymake-warning-re): Make obsolete alias to
13978         `flymake-warning-predicate'.
13980 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13982         * emacs-lisp/package.el (package-alist): Include obsolete packages.
13983         (package-obsolete-list): Remove.
13984         (package-activate): Remove min-version argument.  Add `force' argument.
13985         Adjust to new package-alist format.
13986         (package-mark-obsolete): Remove.
13987         (package-unpack): Force reload of the package's autoloads.
13988         (package-installed-p): Check builtins if the installed package is not
13989         recent enough.
13990         (package-initialize): Don't reset package-obsolete-list.
13991         Don't specify which package version to activate.
13992         (package-process-define-package, describe-package-1)
13993         (package-menu--generate): Adjust to new package-alist format.
13995 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13997         * allout-widgets.el (allout-widgets-mode-off)
13998         (allout-widgets-mode-on, allout-widgets-pre-command-business)
13999         (allout-widgets-post-command-business)
14000         (allout-widgets-after-copy-or-kill-function)
14001         (allout-widgets-after-undo-function, allout-test-range-overlaps)
14002         (allout-decorate-item-and-context)
14003         (allout-graphics-modification-handler): Fix typos in docstrings.
14004         (allout-get-or-create-parent-widget): Use `looking-at-p'.
14006         * cmuscheme.el (scheme-start-file): Doc fix.
14007         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14008         (scheme-input-filter): Use `string-match-p'.
14010         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14012         * dired-x.el: Use Dired consistently in docstrings.
14014         * dired.el: Use Dired consistently in docstrings.
14015         (dired-readin, dired-mode): Use `setq-local'.
14016         (dired-switches-alist): Make defvar-local.
14017         (dired-buffers-for-dir): Use `zerop'.
14018         (dired-safe-switches-p, dired-switches-escape-p)
14019         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14020         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14021         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14022         (dired-goto-next-nontrivial-file): Use `string-match-p'.
14023         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14024         (dired-toggle-marks, dired-mark-files-containing-regexp)
14025         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14026         (dired-flag-auto-save-files, dired-flag-backup-files):
14027         Use `looking-at-p'.
14028         (dired-mark-files-regexp, dired-build-subdir-alist):
14029         Use `string-match-p', `looking-at-p'.
14031         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14032         (direct-print-region-helper): Use `string-match-p'.
14034 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14036         * comint.el (comint-redirect-results-list-from-process):
14037         Fix infinite loop.
14039 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14041         * net/eww.el (eww-update-header-line-format): Quote % characters.
14043 2013-06-21  Glenn Morris  <rgm@gnu.org>
14045         * play/cookie1.el (cookie): New custom group.
14046         (cookie-file): New option.
14047         (cookie-check-file): New function.
14048         (cookie): Make it interactive.  Make start and end messages optional.
14049         Interactively, display the result.  Default to cookie-file.
14050         (cookie-insert): Default to cookie-file.
14051         (cookie-snarf): Make start and end messages optional.
14052         Default to cookie-file.  Use with-temp-buffer.
14053         (cookie-read): Rename from read-cookie.
14054         Make start and end messages optional.  Default to cookie-file.
14055         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
14056         Do not autoload it.
14057         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14058         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14060 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14062         * progmodes/octave.el (octave-mode): Backward compatibility fix.
14064 2013-06-21  Glenn Morris  <rgm@gnu.org>
14066         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14068 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14069             Daniel Hackney  <dan@haxney.org>
14071         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14072         Consolidate the single-file vs tarball code.
14073         (package-desc-suffix): New function.
14074         (package-desc-full-name): Don't bother inlining it.
14075         (package-load-descriptor): Return the new package-desc.
14076         (package-mark-obsolete): Remove unused arg `package'.
14077         (package-unpack): Make it work for single files as well.
14078         Make it update package-alist.
14079         (package--make-autoloads-and-stuff): Rename from
14080         package--make-autoloads-and-compile.  Don't compile any more.
14081         (package--compile): New function.
14082         (package-generate-description-file): New function, extracted from
14083         package-unpack-single.
14084         (package-unpack-single): Remove.
14085         (package--with-work-buffer): Add indentation and debugging info.
14086         (package-download-single): Remove.
14087         (package-install-from-archive): Rename from package-download-tar, make
14088         it take a pkg-desc, and make it work for single files as well.
14089         (package-download-transaction): Simplify.
14090         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
14091         external tar program.
14092         (package-install-from-buffer): Remove `pkg-desc' argument.
14093         Use package-tar-file-info for tar-mode buffers.
14094         (package-install-file): Simplify accordingly.
14095         (package-archive-base): Change to take a pkg-desc.
14096         * tar-mode.el (tar--check-descriptor): New function, extracted from
14097         tar-get-descriptor.
14098         (tar-get-descriptor): Use it.
14099         (tar-get-file-descriptor): New function.
14100         (tar--extract): New function, extracted from tar-extract.
14101         (tar--extract): Use it.
14102         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14103         case the summary uses non-ascii.  Adjust to new calling convention of
14104         package-tar-file-info.
14106 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14108         * comint.el (comint-redirect-results-list-from-process):
14109         Fix random delay.  (Bug#14681)
14111 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14113         * profiler.el (profiler-format-number): Use log, not log10.
14115 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14117         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14119 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14121         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14122         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14123         yet available.
14124         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14125         (AUTOGENEL): ... here.
14126         * emacs-lisp/cl-macs.el (cl--sublis): New function.
14127         (cl--defsubst-expand): Use it.
14129 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
14131         * subr.el (log10): Move here from C code, and declare as obsolete.
14132         All uses of (log10 X) replaced with (log X 10).
14134 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14136         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14137         Declare with `defvar-local'.
14138         (tabulated-list-use-header-line, tabulated-list-entries)
14139         (tabulated-list-padding, tabulated-list-printer)
14140         (tabulated-list-sort-key): Declare with `defvar-local'.
14141         (tabulated-list-init-header, tabulated-list-print-fake-header):
14142         Use `setq-local'.
14144 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
14146         * arc-mode.el (archive-mode): Add `archive-write-file' to
14147         `write-contents-functions' also for remote files.  (Bug#14652)
14149 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14151         * cus-edit.el (custom-commands): Fix typos.
14152         (custom-display): Fix tooltip text.
14153         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14154         Fix typos in docstrings.
14155         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14156         (custom-unlispify-menu-entry, custom-magic-value-create)
14157         (custom-add-see-also, custom-group-value-create): Use ?\s.
14158         (custom-guess-type, customize-apropos, editable-field)
14159         (custom-face-value-create): Use `string-match-p'.
14160         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14162         * custom.el (custom-load-symbol): Use `string-match-p'.
14164         * ansi-color.el: Convert to lexical binding.
14165         (ansi-colors): Fix URL.
14166         (ansi-color-context, ansi-color-context-region): Use defvar-local.
14167         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14168         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14170 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14172         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14174         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14176 2013-06-19  Tom Tromey  <tromey@redhat.com>
14178         * net/eww.el (eww-top-url): Remove.
14179         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14180         (eww-render): Set new variables.  Don't set eww-top-url.
14181         (eww-handle-link): Handle "prev", "home", and "contents".
14182         Downcase the rel text.
14183         (eww-top-url): Choose best top URL.
14185 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14187         * net/eww.el: Rewrite to implement form elements "by hand" instead of
14188         relying in widget.el.  Using widget.el leads to too many
14189         user interface inconsistencies.
14190         (eww-self-insert): Implement entering commands in text fields.
14191         (eww-process-text-input): New function to make text input field editing
14192         work.
14193         (eww-submit): Rewrite to use the new-style form methods.
14194         (eww-select-display): Display the correct selected item.
14195         (eww-change-select): Implement changing the select value.
14196         (eww-toggle-checkbox): Implement radio/checkboxes.
14197         (eww-update-field): Fix compilation error.
14198         (eww-tag-textarea): Implement <textarea>.
14200         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14201         we don't shadow mode-specific bindings.
14203         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14204         nothing to push.
14206         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14208 2013-06-19  Glenn Morris  <rgm@gnu.org>
14210         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14212 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14214         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14215         not needed.
14217         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14219 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14221         * net/browse-url.el (browse-url-browser-function):
14222         `eww-browse-url' has the right calling signature, `eww' does not.
14224 2013-06-19  Glenn Morris  <rgm@gnu.org>
14226         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14227         Only eval autoloaded macros.
14228         (byte-compile-autoload): Only give the macro warning for macros.
14230         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14231         (ps-underlined-faces): Declare.
14233         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14234         (speedbar-add-supported-extension): Declare.
14236         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14237         Don't include a date stamp in the header of the generated file;
14238         it leads to needless differences between output files.
14240 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14242         * net/secrets.el (secrets-struct-secret-content-type):
14243         Replace check of introspection data by a test call of "CreateItem".
14244         Some servers do not offer introspection.
14246 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14248         * electric.el (electric-pair-mode): Improve interaction with
14249         electric-layout-mode.
14250         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14251         (electric-pair-syntax): Use text-mode-syntax-table in comments
14252         and strings.
14253         (electric-pair--insert): New function.
14254         (electric-pair-post-self-insert-function): Use it and
14255         electric--after-char-pos.
14257 2013-06-19  Leo Liu  <sdl.web@gmail.com>
14259         * progmodes/octave.el (octave-help): Fix regexp.
14261 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14263         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14264         (shr-table-horizontal-line): Allow nil as a value, and change the
14265         default.
14266         (shr-insert-table-ruler): Respect the nil value.
14268 2013-06-18  Tom Tromey  <tromey@barimba>
14270         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14271         New defvars.
14272         (eww-open-file): New defun.
14273         (eww-render): Initialize new variables.
14274         (eww-display-html): Handle "link" and "a".
14275         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14276         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
14277         (eww-back-url): Rename from eww-previous-url.
14278         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14279         New defuns.
14281 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
14283         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14284         Distinguish ternary operator tokens from slash symbol and slash
14285         char literal.
14287 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14289         Convert symbol prettification into minor mode and global minor mode.
14291         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14292         `prog-prettify-symbols', and make a local defvar instead of defcustom.
14293         (prettify-symbols--keywords): Rename from
14294         `prog-prettify-symbols-alist' and make a local defvar.
14295         (prettify-symbols--compose-symbol): Rename from
14296         `prog--prettify-font-lock-compose-symbol'.
14297         (prettify-symbols--make-keywords): Rename from
14298         `prog-prettify-font-lock-symbols-keywords' and simplify.
14299         (prog-prettify-install): Remove.
14300         (prettify-symbols-mode): New minor mode, based on
14301         `prog-prettify-install'.
14302         (turn-on-prettify-symbols-mode): New function.
14303         (global-prettify-symbols-mode): New globalized minor mode.
14305         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14306         * progmodes/cfengine.el (cfengine3-mode):
14307         * progmodes/perl-mode.el (perl-mode): Don't call
14308         `prog-prettify-install'; set `prettify-symbols-alist' instead.
14310 2013-06-18  Juri Linkov  <juri@jurta.org>
14312         * files-x.el (modify-file-local-variable-message): New function.
14313         (modify-file-local-variable)
14314         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14315         and call `modify-file-local-variable-message' when it's non-nil.
14316         (add-file-local-variable, delete-file-local-variable)
14317         (add-file-local-variable-prop-line)
14318         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14319         and use it.  (Bug#9820)
14321 2013-06-18  Juri Linkov  <juri@jurta.org>
14323         * emulation/vi.el (vi-shell-op):
14324         * emulation/vip.el (vip-execute-com, ex-command):
14325         * emulation/viper-cmd.el (viper-exec-bang):
14326         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14327         the call of `shell-command-on-region'.  (Bug#14637)
14329         * simple.el (shell-command-on-region): Doc fix.
14331 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14333         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14334         (bug#14633).
14336 2013-06-18  Glenn Morris  <rgm@gnu.org>
14338         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14340         * newcomment.el (comment-search-forward, comment-search-backward):
14341         Doc fix.  (Bug#14376)
14343 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14345         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14346         (buffer-face-mode-invoke): Doc fix.
14348 2013-06-18  Matthias Meulien  <orontee@gmail.com>
14350         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14351         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14353 2013-06-18  Glenn Morris  <rgm@gnu.org>
14355         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14356         Replace obsolete function generic-make-keywords with its expansion.
14358         * progmodes/python.el (ffap-alist): Declare.
14360         * textmodes/reftex.el (bibtex-mode-map): Declare.
14362 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14364         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14365         (package-unpack, package-unpack-single): Return the pkg-dir.
14366         (package-download-transaction): Use it to update package-alist.
14368 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14370         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14371         possible choice.
14373 2013-06-17  Juri Linkov  <juri@jurta.org>
14375         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14377 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14379         * emacs-lisp/package.el (package-load-descriptor):
14380         Remove `with-syntax-table' call, `read' doesn't need it.
14381         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14383 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14385         * startup.el (command-line): Expand package name returned by
14386         `package--description-file' (bug#14639).
14388 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14390         * emacs-lisp/package.el (package-load-descriptor): Do not call
14391         `emacs-lisp-mode', just use its syntax table.
14393 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14395         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14396         `font-lock-extra-managed-props' if any prettifying keyword is added.
14397         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14398         (prog-mode): Use `setq-local'.
14400 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14402         * international/characters.el (standard-case-table): Set syntax of ?»
14403         and ?« to punctuation.
14405 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
14407         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14408         Save relevant match data before calling `syntax-ppss' (bug#14595).
14410 2013-06-15  Juri Linkov  <juri@jurta.org>
14412         * files-x.el (modify-file-local-variable-prop-line): Add local
14413         variables to the end of the existing comment on the first line.
14414         Use `file-auto-mode-skip' to skip interpreter magic line,
14415         and also skip XML declaration.
14417 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14419         * startup.el (package--builtin-versions): New var.
14420         (package-subdirectory-regexp): Remove.
14421         (package--description-file): Hard code its value instead.
14423         * emacs-lisp/package.el: Don't activate packages older than builtin.
14424         (package-obsolete-list): Rename from package-obsolete-alist, and make
14425         it into a simple list of package-desc.
14426         (package-strip-version): Remove.
14427         (package-built-in-p): Use package--builtin-versions.
14428         (package-mark-obsolete): Simplify.
14429         (package-process-define-package): Mark it obsolete if older than the
14430         builtin version.
14431         (package-handle-response): Use line-end-position.
14432         (package-read-archive-contents, package--download-one-archive):
14433         Simplify.
14434         (package--add-to-archive-contents): Skip if older than the builtin or
14435         installed version.
14436         (package-menu-describe-package): Fix last change.
14437         (package-list-unversioned): New var.
14438         (package-menu--generate): Use it.
14440         * emacs-lisp/autoload.el: Manage package--builtin-versions.
14441         (autoload--insert-text, autoload--insert-cookie-text): New functions.
14442         (autoload-builtin-package-versions): New variable.
14443         (autoload-generate-file-autoloads): Use them.
14444         Remove the list of autoloaded functions/macros from the
14445         (autoload...) comments.
14447         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14449 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
14451         * simple.el (line-move-partial): Don't jump to the next screen
14452         line as soon as it becomes visible.  Instead, continue enlarging
14453         the vscroll until the portion of a tall screen line that's left on
14454         display is about the height of the frame's default font.
14455         (Bug#14567)
14457 2013-06-15  Glenn Morris  <rgm@gnu.org>
14459         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14460         compilation-error-regexp-alist void, or local while let-bound.
14462         * progmodes/make-mode.el (makefile-mode-syntax-table):
14463         Treat "=" as punctuation.  (Bug#14614)
14465 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
14467         * help-fns.el (describe-variable):
14468         Add extra line for permanent-local variables.
14470 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
14472         * progmodes/scheme.el (scheme-font-lock-keywords-2):
14473         Add export, import, library.  (Bug#9164)
14474         (library): Set indent function.
14476 2013-06-14  Glenn Morris  <rgm@gnu.org>
14478         * term/xterm.el (xterm--query):
14479         Stop after first matching handler.  (Bug#14615)
14481 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
14483         Add support for dired in saveplace.
14484         * dired.el (dired-initial-position-hook): New variable.
14485         (dired-initial-position): Call hook to place cursor position.
14486         * saveplace.el (save-place-to-alist): Add dired position.
14487         (save-place-dired-hook): New function.
14489 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14491         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
14492         through a symbol rather than letrec.
14494         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
14495         (package-desc): Add `dir' field.
14496         (package-desc-full-name): New function.
14497         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
14498         (package-maybe-load-descriptor): Remove.
14499         (package-load-all-descriptors): Just call package-load-descriptor.
14500         (package--disabled-p): New function.
14501         (package-desc-vers, package-desc-doc): Remove aliases.
14502         (package--dir): Remove function.
14503         (package-activate): Check if a package is disabled.
14504         (package-process-define-package): New function, extracted from
14505         define-package.
14506         (define-package): Turn into a place holder.
14507         (package-unpack-single, package-tar-file-info):
14508         Use package--description-file.
14509         (package-compute-transaction): Use package--disabled-p.
14510         (package-download-transaction): Don't call
14511         package-maybe-load-descriptor since they're all loaded anyway.
14512         (package-install): Change argument to be a pkg-desc.
14513         (package-delete): Use a single pkg-desc argument.
14514         (describe-package-1): Use package-desc-dir instead of package--dir.
14515         Use package-desc property instead of package-symbol.
14516         (package-install-button-action): Adjust accordingly.
14517         (package--push): Rewrite.
14518         (package-menu--print-info): Adjust accordingly.  Change the ID format
14519         to be a pkg-desc.
14520         (package-menu-describe-package, package-menu-get-status)
14521         (package-menu--find-upgrades, package-menu-mark-upgrades)
14522         (package-menu-execute, package-menu--name-predicate):
14523         Adjust accordingly.
14524         * startup.el (package--description-file): New function.
14525         (command-line): Use it.
14526         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14527         Use package-desc-version.
14529         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
14530         (byte-compile-preprocess): Use it.
14531         (byte-compile-file-form-defalias): Try a bit harder to use macros we
14532         can't quite recognize.
14533         (byte-compile-add-to-list): Remove.
14534         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
14535         (cconv-closure-convert): Add assertion.
14537         * emacs-lisp/map-ynp.el: Use lexical-binding.
14538         (map-y-or-n-p): Remove unused vars `tail' and `object'.
14539         Factor out some repeated code.
14541 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14543         * subr.el (with-eval-after-load): New macro.
14544         (eval-after-load): Allow form to be a function.
14545         take advantage of lexical-binding.
14546         (do-after-load-evaluation): Use dolist and adjust to new format.
14547         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
14549 2013-06-13  Juri Linkov  <juri@jurta.org>
14551         * replace.el (perform-replace): Display "symbol " and other search
14552         modes from `isearch-message-prefix' in the *Help* buffer.
14554         * isearch.el (isearch-query-replace): Add " symbol" and other
14555         possible search modes from `isearch-message-prefix' to the prompt.
14556         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
14557         when reading a regexp to collect.
14559 2013-06-13  Juri Linkov  <juri@jurta.org>
14561         * isearch.el (word-search-regexp): Match whitespace if the search
14562         string begins or ends in whitespace.  The LAX arg is applied to
14563         both ends of the search string.  Use `regexp-quote' and explicit
14564         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
14565         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
14566         boundaries are replaced with symbol boundaries, and characters
14567         between symbols match non-word non-symbol syntax.  (Bug#14602)
14569 2013-06-13  Juri Linkov  <juri@jurta.org>
14571         * isearch.el (isearch-del-char): Don't exceed the length of
14572         `isearch-string' by the prefix arg.  (Bug#14563)
14574 2013-06-13  Juri Linkov  <juri@jurta.org>
14576         * isearch.el (isearch-yank-word, isearch-yank-line)
14577         (isearch-char-by-name, isearch-quote-char)
14578         (isearch-printing-char, isearch-process-search-char):
14579         Add optional count prefix arg.  (Bug#14563)
14581         * international/isearch-x.el
14582         (isearch-process-search-multibyte-characters):
14583         Add optional count prefix arg.
14585 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14587         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14588         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14589         lexical-binding.
14591 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
14593         * subr.el (set-temporary-overlay-map): Add on-exit argument.
14595 2013-06-13  Glenn Morris  <rgm@gnu.org>
14597         * startup.el (tty-handle-args):
14598         Don't just discard "--" and anything after.  (Bug#14608)
14600         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14602 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
14604         Implement changes in Secret Service API.  Make it backward compatible.
14605         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14606         (secrets-create-item): Use it.  Prefix properties with interface.
14608 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
14610         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
14611         (term-emulate-terminal): Respect term-suppress-hard-newline.
14613 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
14615         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14616         Only remove a `thumb-file' overlay.  (Bug#14548)
14618 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
14620         * mail/reporter.el (reporter-submit-bug-report):
14621         Handle missing package-name.  (Bug#14600)
14623 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14625         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
14626         (reftex-citation-prompt, reftex-default-bibliography)
14627         (reftex-bib-or-thebib, reftex-get-bibfile-list)
14628         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
14629         (reftex-bib-sort-author, reftex-bib-sort-year)
14630         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
14631         (reftex-extract-bib-entries-from-thebibliography)
14632         (reftex-get-bibkey-default, reftex-get-bib-names)
14633         (reftex-parse-bibtex-entry, reftex-get-bib-field)
14634         (reftex-format-bib-entry, reftex-parse-bibitem)
14635         (reftex-format-bibitem, reftex-do-citation)
14636         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
14637         (reftex-restrict-bib-matches, reftex-extract-bib-file)
14638         (reftex-insert-bib-matches, reftex-format-citation)
14639         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
14640         (reftex-create-bibtex-file): Add docstrings, mostly by converting
14641         existing comments into docstrings.
14643 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14645         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
14647 2013-06-12  Andreas Schwab  <schwab@suse.de>
14649         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
14650         for auto-save files.
14652 2013-06-12  Glenn Morris  <rgm@gnu.org>
14654         * ido.el (ido-delete-ignored-files): Remove.
14655         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
14656         Go back to calling ido-ignore-item-p directly.
14658 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
14660         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
14662         * ido.el (ido-delete-ignored-files): New function,
14663         split from ido-make-file-list-1.
14664         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
14665         (ido-make-file-list-1): Use ido-delete-ignored-files.
14667 2013-06-12  Leo Liu  <sdl.web@gmail.com>
14669         * progmodes/octave.el (inferior-octave-startup)
14670         (inferior-octave-completion-table)
14671         (inferior-octave-track-window-width-change)
14672         (octave-eldoc-function-signatures, octave-help)
14673         (octave-find-definition): Use single quoted strings.
14674         (inferior-octave-startup-args): Change default value.
14675         (inferior-octave-startup): Do not hard code "-i" and
14676         "--no-line-editing".
14677         (inferior-octave-resync-dirs): Add optional arg NOERROR.
14678         (inferior-octave-directory-tracker): Use it.
14679         (octave-goto-function-definition): Robustify.
14680         (octave-help): Support highlighting operators in 'See also'.
14681         (octave-find-definition): Find subfunctions only in Octave mode.
14683 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14685         * help-fns.el (help-fns--compiler-macro): If the handler function is
14686         named, then put a link to it.
14687         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
14688         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
14689         (cl-typep): Use it.
14690         (cl-eval-when): Simplify debug spec.
14691         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
14692         compiler-macro function instead of setting `compiler-macro-file'.
14694 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14696         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
14697         * vc/vc-hooks.el (vc-stay-local): Doc fix.
14699 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14700             Daniel Hackney  <dan@haxney.org>
14702         First part of Daniel Hackney's patch to package.el.
14703         * emacs-lisp/package.el: Use defstruct.
14704         (package-desc): New, main struct.
14705         (package--bi-desc, package--ac-desc): New structs, used to describe the
14706         format in external files.
14707         (package-desc-vers): Replace with package-desc-version accessor.
14708         (package-desc-doc): Replace with package-desc-summary accessor.
14709         (package-activate-1): Remove `package' arg since the pkg-vec now
14710         includes the name.
14711         (define-package): Use package-desc-from-define.
14712         (package-unpack-single): Change file-name arg to be a symbol.
14713         (package--add-to-archive-contents): Use package-desc-create and new
14714         accessor functions to package--ac-desc.
14715         (package-buffer-info, package-tar-file-info): Return a package-desc.
14716         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
14717         arg to be a package-desc.
14718         (package-install-file): Adjust accordingly.  Use \' to match EOS.
14719         (package--from-builtin): New function.
14720         (describe-package-1, package-menu--generate): Use it.
14721         (package--make-autoloads-and-compile): Change name arg to be a symbol.
14722         (package-generate-autoloads): Idem and return the name of the file.
14723         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14724         Change pkg-info arg to be a package-desc.
14725         Use package-make-ac-desc.
14726         (package-upload-file): Use \' to match EOS.
14727         * finder.el (finder-compile-keywords): Use package-make-builtin.
14729 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14731         * vc/vc.el (vc-deduce-fileset): Change error message.
14732         (vc-read-backend): New function.
14733         (vc-next-action): Use it.
14735         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
14737         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
14738         (prolog-font-lock-keywords): Use regexp-opt instead.
14739         Don't manually highlight strings.
14740         (prolog-mode-variables): Simplify comment-start-skip.
14741         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
14743         * emacs-lisp/generic.el (generic--normalise-comments)
14744         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
14745         (generic-mode-set-comments): Use them.
14746         (generic-bracket-support): Use setq-local.
14747         (generic-make-keywords-list): Declare obsolete.
14749 2013-06-11  Glenn Morris  <rgm@gnu.org>
14751         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14752         Prettify after setting font-lock-defaults.  (Bug#14574)
14754 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
14756         * replace.el (query-replace, occur-read-regexp-defaults-function)
14757         (replace-search):
14758         * subr.el (declare-function, number-sequence, local-set-key)
14759         (substitute-key-definition, locate-user-emacs-file)
14760         (with-silent-modifications, split-string, eval-after-load):
14761         Fix typos, remove unneeded backslashes and reflow some docstrings.
14763 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14765         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
14766         default for Elisp files.
14768 2013-06-11  Glenn Morris  <rgm@gnu.org>
14770         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
14771         although define-derived-mode was doing this anyway.  (Bug#14583)
14773 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
14775         * allout.el (allout-encryption-plaintext-sanitization-regexps):
14776         Fix make-variable-buffer-local call to refer to the correct variable.
14778 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
14780         * eshell/em-term.el (eshell-visual-commands)
14781         (eshell-visual-subcommands, eshell-visual-options):
14782         Add summary line to docstrings.  Add cross-references.
14784 2013-06-10  Glenn Morris  <rgm@gnu.org>
14786         * epa.el (epa-read-file-name): New function.  (Bug#14510)
14787         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
14789 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14791         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
14792         output redirection to be ignored with visual commands.
14794 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14796         * eshell/em-term.el (eshell-visual-command-p): New function.
14797         (eshell-term-initialize): Move long lambda to separate function
14798         eshell-visual-command-p.
14799         * eshell/em-dirs.el (eshell-dirs-initialize):
14800         * eshell/em-script.el (eshell-script-initialize):
14801         Add missing #' to lambda.
14803 2013-06-08  Leo Liu  <sdl.web@gmail.com>
14805         * progmodes/octave.el (octave-add-log-current-defun): New function.
14806         (octave-mode): Set add-log-current-defun-function.
14807         (octave-goto-function-definition): Do not move point if not found.
14808         (octave-find-definition): Enhance to try subfunctions first.
14810 2013-06-08  Glenn Morris  <rgm@gnu.org>
14812         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14813         (byte-compile-backward-char, byte-compile-backward-word):
14814         Improve previous change, to handle non-explicit nil.
14816 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14818         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
14819         (smie--opener/closer-at-point): New function.
14820         (smie--matching-block-data): Use it.  Don't match from right after an
14821         opener or right before a closer.  Obey smie-blink-matching-inners.
14822         Don't signal a mismatch for repeated inners like "switch..case..case".
14824 2013-06-07  Leo Liu  <sdl.web@gmail.com>
14826         * progmodes/octave.el (octave-mode): Set comment-use-global-state
14827         to t.  (Bug#14303)
14828         (octave-function-header-regexp): Fix.  (Bug#14570)
14829         (octave-help-mode-finish-hook, octave-help-mode-finish):
14830         Remove.  Just use temp-buffer-show-hook.
14832         * newcomment.el (comment-search-backward): Revert last change.
14833         (Bug#14434)
14835         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14837 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
14839         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14840         through xargs, to avoid failure due to MS-Windows limitations on
14841         command-line length.
14843 2013-06-06  Glenn Morris  <rgm@gnu.org>
14845         * font-lock.el (lisp-font-lock-keywords-2):
14846         Treat user-error like error.
14848         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14849         (byte-compile-backward-char, byte-compile-backward-word):
14850         Handle explicit nil arguments.  (Bug#14565)
14852 2013-06-05  Alan Mackenzie  <acm@muc.de>
14854         * isearch.el (isearch-allow-prefix): New user option.
14855         (isearch-other-meta-char): Don't exit isearch when a prefix
14856         argument is typed whilst `isearch-allow-prefix' is non-nil.
14857         (Bug#9706)
14859 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14861         * autorevert.el (auto-revert-notify-handler): Use memq.
14862         Hide assertion failure.
14864         * skeleton.el: Use cl-lib.
14865         (skeleton-further-elements): Use defvar-local.
14866         (skeleton-insert): Use cl-progv.
14868 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14870         * progmodes/prog-mode.el (prog-prettify-symbols)
14871         (prog-prettify-install): Update docstrings.
14873 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         * simple.el: Move all the prog-mode code to prog-mode.el.
14876         * progmodes/prog-mode.el: New file.
14877         * loadup.el: Add prog-mode.el.
14879 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14881         * simple.el (prog-prettify-symbols): Add version.
14882         (prog-prettify-install): Add convenience function to prettify symbols.
14884         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14885         (perl--augmented-font-lock-keywords-1)
14886         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14887         variables and use it.
14889         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14890         (cfengine3-mode): Remove unneeded variable and use it.
14892         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14893         (lisp--augmented-font-lock-keywords-1)
14894         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14895         Remove unneeded variables and use it.
14897 2013-06-05  João Távora  <joaotavora@gmail.com>
14899         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14900         to point when opening the connection.  (Bug#14380)
14902 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14904         * subr.el (load-history-regexp, load-history-filename-element)
14905         (eval-after-load, after-load-functions, do-after-load-evaluation)
14906         (eval-next-after-load, display-delayed-warnings)
14907         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14908         definition of save-match-data.
14909         (overriding-local-map): Remove accidental obsolescence declaration.
14911         * emacs-lisp/edebug.el (edebug-result): Move before first use.
14913 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14915         Generalize symbol prettify support to prog-mode and implement it
14916         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14917         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14918         (prog--prettify-font-lock-compose-symbol)
14919         (prog-prettify-font-lock-symbols-keywords): New variables and
14920         functions to support symbol prettification.
14921         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14922         (lisp--augmented-font-lock-keywords-1)
14923         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14924         (lisp--prettify-symbols-alist): Implement prettify of lambda.
14925         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14926         (cfengine3--prettify-symbols-alist, cfengine3-mode):
14927         Implement prettify of -> => :: strings.
14928         * progmodes/perl-mode.el (perl-prettify-symbols)
14929         (perl--font-lock-compose-symbol)
14930         (perl--font-lock-symbols-keywords): Move to prog-mode.
14931         (perl--prettify-symbols-alist): Prettify -> => :: strings.
14932         (perl-font-lock-keywords-1)
14933         (perl-font-lock-keywords-2): Remove explicit prettify support.
14934         (perl--augmented-font-lock-keywords)
14935         (perl--augmented-font-lock-keywords-1)
14936         (perl--augmented-font-lock-keywords-2, perl-mode):
14937         Implement prettify support.
14939 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14941         Re-implement SMIE matching block highlight using
14942         show-paren-data-function.  (Bug#14395)
14943         * emacs-lisp/smie.el (smie-matching-block-highlight)
14944         (smie--highlight-matching-block-overlay)
14945         (smie--highlight-matching-block-lastpos)
14946         (smie-highlight-matching-block)
14947         (smie-highlight-matching-block-mode): Remove.
14948         (smie--matching-block-data-cache): New variable.
14949         (smie--matching-block-data): New function.
14950         (smie-setup): Use smie--matching-block-data for
14951         show-paren-data-function.
14953         * progmodes/octave.el (octave-mode-menu): Fix.
14954         (octave-find-definition): Skip garbage lines.
14956 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14958         Fix compilation error with simultaneous dynamic+lexical scoping.
14959         Add warning when a defvar appears after the first let-binding.
14960         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14961         (byte-compile-close-variables): Initialize it.
14962         (byte-compile--declare-var): New function.
14963         (byte-compile-file-form-defvar)
14964         (byte-compile-file-form-define-abbrev-table)
14965         (byte-compile-file-form-custom-declare-variable): Use it.
14966         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
14967         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14968         (byte-compile-bind): Handle dynamic bindings that shadow
14969         lexical bindings.
14970         (byte-compile-unbind): Make arg non-optional.
14971         (byte-compile-let): Simplify.
14972         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14973         (cconv--analyse-function, cconv-analyse-form): Populate it.
14974         Protect byte-compile-bound-variables to limit the scope of defvars.
14975         (cconv-analyse-form): Add missing rule for (defvar <foo>).
14976         Remove unneeded rule for `declare'.
14978         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14979         so as to avoid depending on cl-adjoin at run-time.
14980         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14982         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14983         (macroexp--warn-and-return): Use it.
14985 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14987         * subr.el: Convert to lexical binding.
14988         (overriding-local-map): Make obsolete.
14989         (add-to-list): Doc fix.  Add compiler macro.
14990         (read-key): Swap values of local maps.
14992 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14994         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14996 2013-06-04  Leo Liu  <sdl.web@gmail.com>
14998         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14999         (compilation-auto-jump): Suppress the "Mark set" message to give
15000         way to exit message.
15002 2013-06-04  Alan Mackenzie  <acm@muc.de>
15004         Remove faulty optimisation from indentation calculation.
15005         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15006         search limit based on 2000 characters back from indent-point.
15008 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15010         * eshell/em-term.el (cl-lib): Require `cl-lib'.
15012 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15014         * emacs-lisp/lisp.el: Use lexical-binding.
15015         (lisp--local-variables-1, lisp--local-variables): New functions.
15016         (lisp--local-variables-completion-table): New var.
15017         (lisp-completion-at-point): Use it complete let-bound vars.
15019         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15020         eagerly (bug#14422).
15022 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
15024         * autorevert.el (auto-revert-notify-enabled)
15025         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15026         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15027         (auto-revert-notify-handler): Handle also gfilenotify.
15029         * subr.el (file-notify-handle-event): New defun.  Replacing ...
15030         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15031         Remove.
15033 2013-06-03  Juri Linkov  <juri@jurta.org>
15035         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15036         `M-s h .'.  (Bug#14427)
15038         * hi-lock.el (highlight-symbol-at-point): New alias for the new
15039         command `hi-lock-face-symbol-at-point'.
15040         (hi-lock-face-symbol-at-point): New command.
15041         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15042         (hi-lock-menu): Add `highlight-symbol-at-point'.
15043         (hi-lock-mode): Doc fix.
15045         * isearch.el (isearch-forward-symbol-at-point): New command.
15046         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15047         (isearch-highlight-regexp): Add a regexp which matches
15048         words/symbols for word/symbol mode.
15050         * subr.el (find-tag-default-bounds): New function with the body
15051         mostly moved from `find-tag-default'.
15052         (find-tag-default): Move most code to `find-tag-default-bounds',
15053         call it and apply `buffer-substring-no-properties' afterwards.
15055 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15057         * eshell/em-term.el (eshell-term-initialize):
15058         Use `cl-intersection' rather than `intersection'.
15060 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
15062         * vc/log-view.el: Doc fix.
15063         (log-view-mode-map): Copy keymap from `special-mode-map'.
15065 2013-06-02  Eric Ludlam  <zappo@gnu.org>
15067         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15068         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15069         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15070         (eieio-unbound, eieio-default-superclass)
15071         (eieio--define-field-accessors, method-static, method-before)
15072         (method-primary, method-after, method-num-lists)
15073         (method-generic-before, method-generic-primary)
15074         (method-generic-after, method-num-slots)
15075         (eieio-specialized-key-to-generic-key)
15076         (eieio--check-type, class-v, class-p)
15077         (eieio-class-name, define-obsolete-function-alias)
15078         (eieio-class-parents-fast, eieio-class-children-fast)
15079         (same-class-fast-p, class-constructor, generic-p)
15080         (generic-primary-only-p, generic-primary-only-one-p)
15081         (class-option-assoc, class-option, eieio-object-p)
15082         (class-abstract-p, class-method-invocation-order)
15083         (eieio-defclass-autoload-map, eieio-defclass-autoload)
15084         (eieio-class-un-autoload, eieio-defclass)
15085         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15086         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15087         (eieio--defgeneric-init-form, eieio-defgeneric-form)
15088         (eieio-defgeneric-reset-generic-form)
15089         (eieio-defgeneric-form-primary-only)
15090         (eieio-defgeneric-reset-generic-form-primary-only)
15091         (eieio-defgeneric-form-primary-only-one)
15092         (eieio-defgeneric-reset-generic-form-primary-only-one)
15093         (eieio-unbind-method-implementations)
15094         (eieio--defmethod, eieio--typep)
15095         (eieio-perform-slot-validation, eieio-validate-slot-value)
15096         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15097         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15098         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15099         (eieio-slot-name-index, eieio-class-slot-name-index)
15100         (eieio-set-defaults, eieio-initarg-to-attribute)
15101         (eieio-attribute-to-initarg, eieio-c3-candidate)
15102         (eieio-c3-merge-lists, eieio-class-precedence-c3)
15103         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15104         (eieio-class-precedence-list, eieio-generic-call-methodname)
15105         (eieio-generic-call-arglst, eieio-generic-call-key)
15106         (eieio-generic-call-next-method-list)
15107         (eieio-pre-method-execution-functions, eieio-generic-call)
15108         (eieio-generic-call-primary-only, eieiomt-method-list)
15109         (eieiomt-optimizing-obarray, eieiomt-install)
15110         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15111         (eieio-generic-form, eieio-defmethod, make-obsolete)
15112         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15113         (defclass): Remove `eval-and-compile' from macro.
15114         (call-next-method, shared-initialize): Instead of using
15115         `scoped-class' variable, use new eieio--scoped-class, and
15116         eieio--with-scoped-class.
15117         (initialize-instance): Rename local variable 'scoped-class' to
15118         'this-class' to remove ambiguitity from old global.
15120         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
15121         eieio.el.
15122         (eieio--scoped-class-stack): New variable.
15123         (eieio--scoped-class): New fcn.
15124         (eieio--with-scoped-class): New scoping macro.
15125         (eieio-defclass): Use pushnew instead of add-to-list.
15126         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15127         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15128         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15129         `scoped-class' variable, use new eieio--scoped-class, and
15130         eieio--with-scoped-class.
15132         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15134 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
15136         * eshell/esh-ext.el (eshell-external-command): Pass args to
15137         `eshell-find-interpreter'.
15138         (eshell-find-interpreter): Add new second parameter ARGS.
15140         * eshell/em-script.el (eshell-script-initialize): Add second arg
15141         to the function added as MATCH to `eshell-interpreter-alist'.
15143         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15144         the function added as MATCH to `eshell-interpreter-alist'.
15146         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15147         (eshell-visual-options): New defcustom.
15148         (eshell-escape-control-x): Adapt docstring.
15149         (eshell-term-initialize): Test `eshell-visual-subcommands' and
15150         `eshell-visual-options' in addition to `eshell-visual-commands'.
15151         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15153 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15155         * progmodes/python.el (python-indent-block-enders): Add break,
15156         continue and raise keywords.
15158 2013-06-01  Glenn Morris  <rgm@gnu.org>
15160         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15162         Plain (f)boundp silences compilation warnings since Emacs 22.1.
15163         * progmodes/cc-cmds.el (delete-forward-p):
15164         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15165         * progmodes/cc-engine.el (buffer-syntactic-context):
15166         * progmodes/cc-fonts.el (face-property-instance):
15167         * progmodes/cc-mode.el (set-keymap-parents):
15168         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15169         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15170         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15171         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15172         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15174         * progmodes/cc-vars.el (other): Emacs has this widget since
15175         at least 21.1, so don't (re)define it.
15177         * eshell/em-cmpl.el (eshell-cmpl-initialize):
15178         Replace the obsolete alias pcomplete-arg-quote-list.
15180 2013-06-01  Leo Liu  <sdl.web@gmail.com>
15182         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15183         punctuation syntax.
15184         (inferior-octave-minimal-columns)
15185         (inferior-octave-last-column-width): New variables.
15186         (inferior-octave-track-window-width-change): New function.
15187         (inferior-octave-mode): Adjust column width so that Octave output,
15188         for example from 'ls', can fit into the window nicely.
15190 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15192         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15193         Highlight expansions inside regexp literals.
15195 2013-05-31  Glenn Morris  <rgm@gnu.org>
15197         * obsolete/sym-comp.el (symbol-complete):
15198         Replace obsolete completion-annotate-function.
15200         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15202 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15204         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15205         New function, checks if point is inside a literal that allows
15206         expression expansion.
15207         (ruby-syntax-propertize-expansion): Use it.
15208         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15209         around the body.
15211 2013-05-30  Juri Linkov  <juri@jurta.org>
15213         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15214         to "\M-si".
15215         (isearch-invisible): New variable.
15216         (isearch-forward): Doc fix.
15217         (isearch-mode): Set `isearch-invisible'
15218         to the value of `search-invisible'.
15219         (isearch-toggle-case-fold): Doc fix.
15220         (isearch-toggle-invisible): New command.
15221         (isearch-query-replace): Let-bind `search-invisible'
15222         to the value of `isearch-invisible'.
15223         (isearch-search): Use `isearch-invisible' instead of
15224         `search-invisible'.  Let-bind `search-invisible'
15225         to the value of `isearch-invisible'.  (Bug#11378)
15227 2013-05-30  Juri Linkov  <juri@jurta.org>
15229         * replace.el (perform-replace): Avoid `isearch-range-invisible'
15230         call when `query-flag' is nil and `search-invisible' is non-nil.
15231         (Bug#11746)
15233 2013-05-30  Glenn Morris  <rgm@gnu.org>
15235         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15237         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15238         (cc-require): Suppress spurious "noruntime" warnings.
15239         (cc-require-when-compile): Use fboundp, for sake of compiler.
15241         * progmodes/cc-mode.el: Move load of cc-vars before that of
15242         cc-langs (which in turn loads cc-vars), to quieten compiler.
15244 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15246         * paren.el: Simplify the code.
15247         (show-paren-mode): Always start the timer.
15248         (show-paren--idle-timer): Rename from show-paren-idle-timer.
15249         (show-paren--overlay, show-paren--overlay-1): Rename from
15250         show-paren-overlay and show-paren-overlay-1, and initialize to an
15251         overlay rather than to nil.
15252         (show-paren-function): Misc cleanup and simplifications.
15254 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15256         * paren.el (show-paren-data-function): New hook.
15257         (show-paren--default): New function, extracted from show-paren-function.
15258         (show-paren-function): Use show-paren-data-function.
15260 2013-05-30  Glenn Morris  <rgm@gnu.org>
15262         * ielm.el (ielm-map, ielm-complete-symbol):
15263         Use completion-at-point rather than obsolete functions.
15264         (inferior-emacs-lisp-mode): Doc fix.
15265         Set completion-at-point-functions, rather than
15266         comint-dynamic-complete-functions.
15268         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15269         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15270         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15272         * image.el (image-animated-p): Tweak definition.
15274         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15275         (rlogin-process-connection-type): Tweak default.  Add set-after.
15276         (rlogin-host): Doc fix.
15277         (rlogin): Tweak prompt.
15278         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15280         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15281         * progmodes/tcl.el (inferior-tcl-mode-map):
15282         Use completion-at-point rather than obsolete alias.
15284         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15286         * minibuffer.el (read-file-name-completion-ignore-case):
15287         Move before completion--in-region, for eager macro expansion.
15289 2013-05-29  Juri Linkov  <juri@jurta.org>
15291         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15292         for total count of matching lines.  Add `global-matches' for total
15293         count of matches.  Rename `matches' to `lines' for count of
15294         matching lines.  Add `matches' for count of matches.
15295         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
15296         to `prev-line' for line number of prev match endpt.
15297         Increment `matches' for every match.  Print the number of
15298         matching lines in the header.
15299         (occur-context-lines): Rename `lines' to `curr-line'.
15300         Rename `prev-lines' to `prev-line'.  (Bug#14017)
15302 2013-05-29  Juri Linkov  <juri@jurta.org>
15304         * replace.el (perform-replace): Add `skip-read-only-count',
15305         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15306         Increment them for corresponding conditions and report the number
15307         of skipped occurrences in the final message.  (Bug#11746)
15308         (query-replace, query-replace-regexp, query-replace-regexp-eval)
15309         (replace-string, replace-regexp): Doc fix.
15311 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15313         * emacs-lisp/trace.el (trace--read-args): Provide a default.
15315         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15316         prog-mode-map (bug#14504).
15318 2013-05-29  Leo Liu  <sdl.web@gmail.com>
15320         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15321         (octave-help): Small simplification.
15323         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15324         off the highlight first.
15326 2013-05-29  Glenn Morris  <rgm@gnu.org>
15328         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15329         Handle idlwave-last-system-routine-info-cons-cell being nil.
15331         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15332         (idlwave-write-paths): Simplify via with-temp-buffer.
15334         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15335         * emulation/cua-rect.el: Also load cua-base at run time.
15337         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15338         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15339         (cperl-imenu-on-info): Require imenu.
15341 2013-05-28  Alan Mackenzie  <acm@muc.de>
15343         Handle "capitalised keywords" correctly.
15344         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15346 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
15348         * eshell/em-unix.el: Add -r option to cp.
15350 2013-05-28  Glenn Morris  <rgm@gnu.org>
15352         * vc/vc-arch.el (vc-exec-after): Declare.
15353         (vc-switches): Autoload.
15354         * vc/vc-bzr.el: No need to require vc when compiling.
15355         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15356         (vc-resynch-buffer, vc-dir-refresh): Declare.
15357         (vc-setup-buffer, vc-switches): Autoload.
15358         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15359         (vc-resynch-buffer): Declare.
15360         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15361         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15362         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15363         (grep-read-regexp, grep-read-files, grep-expand-template)
15364         (vc-dir-refresh): Declare.
15365         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15366         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15367         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15368         * vc/vc-mtn.el (vc-exec-after): Declare.
15369         (vc-switches): Autoload.
15370         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15371         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15372         (vc-file-tree-walk): Declare.
15373         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15374         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15375         (vc-tag-precondition, vc-rename-master): Autoload.
15376         * vc/vc-svn.el (vc-exec-after): Declare.
15377         (vc-switches, vc-setup-buffer): Autoload.
15378         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15379         Autoload.
15380         (vc-resynch-buffer): Declare.
15382         * obsolete/fast-lock.el (byte-compile-warnings):
15383         Don't warn about obsolete features in this obsolete file.
15385         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15386         Move definition before use.
15388         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15389         (dun-unix-verbs): Remove dun-zippy.
15390         (dun-zippy): Remove function.
15392         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15394 2013-05-27  Juri Linkov  <juri@jurta.org>
15396         * replace.el (replace-search): New function with code moved out
15397         from `perform-replace'.
15398         (replace-highlight, replace-dehighlight): Move function definitions
15399         up closer to `replace-search'.  (Bug#11746)
15401 2013-05-27  Juri Linkov  <juri@jurta.org>
15403         * replace.el (perform-replace): Ignore invisible matches.
15404         In addition to checking `query-replace-skip-read-only', also
15405         filter out matches by calling `run-hook-with-args-until-failure'
15406         on `isearch-filter-predicates', and also check `search-invisible'
15407         for t or call `isearch-range-invisible'.
15408         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
15410 2013-05-27  Juri Linkov  <juri@jurta.org>
15412         * isearch.el (isearch-filter-predicates): Rename from
15413         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
15414         (isearch-message-prefix): Display text from the property
15415         `isearch-message-prefix' of the currently active filters.
15416         (isearch-search): Don't compare `isearch-filter-predicate' with
15417         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
15418         on `isearch-filter-predicates'.  Also check `search-invisible' for t
15419         or call `isearch-range-invisible'.
15420         (isearch-filter-visible): Make obsolete.
15421         (isearch-lazy-highlight-search):
15422         Call `run-hook-with-args-until-failure' on
15423         `isearch-filter-predicates' and use `isearch-range-invisible'.
15425         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15426         `isearch-filter-predicates' instead of `funcall'ing
15427         `isearch-filter-predicate'.
15428         (Info-mode): Set `Info-isearch-filter' to
15429         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15431         * dired-aux.el (dired-isearch-filter-predicate-orig):
15432         Remove variable.
15433         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15434         (dired-isearch-filenames-end): Add and remove
15435         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15436         instead of changing the value of `isearch-filter-predicate'.
15437         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15438         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15439         Put property `isearch-message-prefix' to "filename " on
15440         `dired-isearch-filter-filenames'.
15442         * wdired.el (wdired-change-to-wdired-mode):
15443         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15444         locally instead of changing `isearch-filter-predicate'.
15445         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15447 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
15449         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15450         return the commit hash (Bug#14459).  Also set the
15451         `vc-git-detached' property.
15452         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15453         (vc-git-mode-line-string): Use the same help-echo format whether
15454         in detached mode or not, because we know the actual revision now.
15455         When in detached mode, shorten the revision to 7 chars.
15457 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15459         * emacs-lisp/easy-mmode.el (define-minor-mode):
15460         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15461         mode hook and provide a docstring.
15463 2013-05-27  Alan Mackenzie  <acm@muc.de>
15465         Remove spurious syntax-table text properties inserted by C-y.
15466         * progmodes/cc-mode.el (c-after-change): Also clear hard
15467         syntax-table property with value nil.
15469 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
15471         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15472         when reading the events; the buffer layout shall not be changed.
15474 2013-05-27  Leo Liu  <sdl.web@gmail.com>
15476         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15477         New variable.
15478         (inferior-octave-directory-tracker): Automatically re-sync
15479         default-directory.
15480         (octave-help): Improve handling of 'See also'.
15482 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15484         * doc-view.el: Minor naming convention tweaks.
15485         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
15487         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15488         even if there's no `display' property yet (bug#14435).
15490 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
15492         * subr.el (unmsys--file-name): Rename from reveal-filename.
15494         * Makefile.in (custom-deps, finder-data, autoloads)
15495         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15496         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15497         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
15499 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15501         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
15502         error-completion on the first 2 args of condition-case (bug#14446).
15503         Don't burp at EOB.
15505 2013-05-25  Leo Liu  <sdl.web@gmail.com>
15507         * comint.el (comint-previous-matching-input): Do not flood the
15508         *Messages* buffer with trivial messages.
15510 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15512         * progmodes/flymake.el (flymake-nop): Don't return a string.
15513         (flymake-set-at): Fix typo.
15515         * simple.el (read--expression): New function, extracted from
15516         eval-expression.  Set completion-at-point-functions (bug#14465).
15517         (eval-expression, eval-minibuffer): Use it.
15519 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
15521         * progmodes/flymake.el (flymake-save-buffer-in-file)
15522         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
15523         (flymake-selected-frame, flymake-log, flymake-ins-after)
15524         (flymake-set-at, flymake-get-buildfile-from-cache)
15525         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
15526         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
15527         Refine the doc string.
15528         (flymake-get-file-name-mode-and-masks): Reformat.
15529         (flymake-get-real-file-name-function): Fix a minor bug.
15531 2013-05-24  Juri Linkov  <juri@jurta.org>
15533         * progmodes/grep.el (grep-mode-font-lock-keywords):
15534         Support =linenumber= format used by git-grep for lines with
15535         function names.  (Bug#13549)
15537 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15539         * progmodes/octave.el (octave-smie-rules): Return nil rather than
15540         0 after a semi-colon; it works better for smie-auto-fill.
15541         (octave--indent-new-comment-line): New function.
15542         (octave-indent-new-comment-line): Use it (indirectly).
15543         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
15544         modify comment-line-break-function.
15546         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
15547         (smie-setup): Use add-function to set it.
15549 2013-05-24  Sam Steingold  <sds@gnu.org>
15551         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
15552         argument (before the `interactive' argument).
15554 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15556         * image-mode.el (image-mode-winprops): Add winprops to
15557         image-mode-winprops-alist before running
15558         image-mode-new-window-functions.
15559         * doc-view.el (doc-view-new-window-function): Don't delay
15560         doc-view-goto-page via timers (bug#14435).
15562 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
15564         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
15565         (doc-view-desktop-save-buffer): New function.
15566         (doc-view-restore-desktop-buffer): New function.
15567         (desktop-buffer-mode-handlers):
15568         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
15569         handler.
15570         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
15571         `desktop-save-buffer' function.
15573 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
15575         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
15576         (tramp-gvfs-file-name-handler): Raise a user error when
15577         `tramp-gvfs-enabled' is nil.
15578         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
15579         Do not raise a user error when loading package.  (Bug#14447)
15581         * net/xesam.el: Move to obsolete/.
15583 2013-05-24  Glenn Morris  <rgm@gnu.org>
15585         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15587         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15589         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15590         (Info-find-node, Man-getpage-in-background): Declare.
15592         * mail/unrmail.el (unrmail):
15593         Replace obsolete detect-coding-with-priority.
15595         * net/socks.el (socks-split-string): Use this rather than split-string.
15596         (socks-nslookup-host): Update for above change.
15597         (dynamic-choice, s5-dynamic-choice-match)
15598         (s5-dynamic-choice-match-inline, s5-widget-value-create):
15599         Comment out unused code.
15601         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15602         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15603         (gud-tooltip-echo-area): Make obsolete.
15604         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15606         * progmodes/js.el (js--optimize-arglist): Declare.
15608         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15610         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15611         (ediff-window-C): Declare.
15613         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15614         Tweak requires to silence compiler.
15616         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15617         (he-search-string, he-tried-table, he-expand-list)
15618         (he-init-string, he-string-member, he-substitute-string)
15619         (he-reset-string): Declare.
15621         * obsolete/options.el (list-options): Use custom-variable-p,
15622         rather than obsolete alias.
15624 2013-05-23  Sam Steingold  <sds@gnu.org>
15626         * simple.el (shell-command-on-region): Pass the `replace' argument
15627         down to `call-process-region' to comply with the doc as reported on
15628         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
15630 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15632         * emacs-lisp/smie.el (smie-indent-forward-token)
15633         (smie-indent-backward-token): Handle string tokens (bug#14381).
15635 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15637         * ielm.el (ielm-menu): New menu.
15638         (inferior-emacs-lisp-mode): Set comment-start.
15640 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15642         * textmodes/reftex.el (reftex-ref-style-toggle):
15643         Fix deactivate action.
15645         * textmodes/reftex-vars.el (reftex-ref-style-alist):
15646         Add cleveref macros.
15648         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
15649         Accept options for bibliography commands.
15650         * textmodes/reftex-vars.el (reftex-bibliography-commands):
15651         Add addbibresource.  Basic Biblatex support.
15653 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
15655         * net/tramp-gvfs.el (top):
15656         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
15657         when loading package.  (Bug#14447)
15659 2013-05-23  Glenn Morris  <rgm@gnu.org>
15661         * progmodes/js.el: No need to load comint when compiling.
15662         (ring-insert, comint-send-string, comint-send-input)
15663         (comint-last-input-end, ido-chop): Declare.
15665         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
15666         * vc/ediff-mult.el: Adjust requires.
15667         (ediff-directories-internal, ediff-directory-revisions-internal)
15668         (ediff-patch-file-internal): Declare.
15669         * vc/ediff-ptch.el: Adjust requires.
15670         (ediff-use-last-dir, ediff-buffers-internal): Declare.
15671         (ediff-find-file): Autoload.
15672         * vc/ediff-util.el: No need to load ediff when compiling.
15673         (ediff-regions-internal): Declare.
15674         * vc/ediff-wind.el: Adjust requires.
15675         (ediff-compute-toolbar-width): Define when compiling.
15676         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
15677         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
15678         (dired-get-filename, dired-get-marked-files)
15679         (ediff-last-dir-patch, ediff-patch-default-directory)
15680         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
15681         (ediff-patch-buffer-internal): Declare.
15683         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
15684         (ispell-process, ispell-buffer-local-words, lm-summary)
15685         (lm-section-start, lm-section-end): Declare.
15686         (checkdoc-ispell-init): Simplify.
15688         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
15689         (he-string-member, he-reset-string, he-substitute-string): Declare.
15691         * eshell/em-ls.el: Adjust requires.
15692         (eshell-glob-regexp): Declare.
15693         * eshell/em-tramp.el: Adjust requires.
15694         (eshell-parse-command): Autoload.
15695         * eshell/em-xtra.el: Adjust requires.
15696         (eshell-parse-command): Autoload.
15697         * eshell/esh-ext.el: Adjust requires.
15698         (eshell-parse-command, eshell-close-handles): Autoload.
15699         * eshell/esh-io.el: Adjust requires.
15700         (eshell-output-filter): Autoload.
15701         * eshell/esh-util.el: No need to load tramp when compiling.
15702         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
15703         Declare.
15704         (eshell-parse-ange-ls): Require ange-ftp and tramp.
15705         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
15706         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
15707         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
15708         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
15709         * eshell/esh-opt.el, eshell/esh-proc.el:
15710         * eshell/esh-var.el: Adjust requires.
15711         * eshell/eshell.el: Do not require esh-util twice.
15712         (eshell-add-input-to-history): Declare.
15713         (eshell-command): Check history module is active before using it.
15715         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
15717 2013-05-22  Leo Liu  <sdl.web@gmail.com>
15719         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
15721 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
15723         * autorevert.el (auto-revert-notify-add-watch)
15724         (auto-revert-notify-handler): Add `attrib' for the inotify case,
15725         it indicates changes in file modification time.
15727 2013-05-22  Glenn Morris  <rgm@gnu.org>
15729         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15730         Always delete the autoloaded function from the noruntime and
15731         unresolved functions lists.
15733         * allout.el: No need to load epa, epg, overlay when compiling.
15734         (epg-context-set-passphrase-callback, epg-list-keys)
15735         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
15736         (epg-key-user-id-list): Declare.
15738         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15739         (viper-set-parsing-style-toggling-macro)
15740         (viper-set-emacs-state-searchstyle-macros):
15741         Use called-interactively-p on Emacs.
15742         (viper-looking-back): Make it an obsolete alias.  Update callers.
15743         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
15744         Use looking-back rather than viper-looking-back.
15745         (viper-tmp-insert-at-eob, viper-enlarge-region)
15746         (viper-read-string-with-history, viper-register-to-point)
15747         (viper-append-to-register, viper-change-state-to-vi)
15748         (viper-backward-char-carefully, viper-forward-char-carefully)
15749         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
15750         (viper-change-state-to-emacs): Declare.
15751         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
15752         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
15753         * emulation/viper-mous.el: Do not load viper-cmd.
15754         (viper-backward-char-carefully, viper-forward-char-carefully)
15755         (viper-forward-word, viper-adjust-window): Declare.
15757         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
15759         * progmodes/idlw-help.el (idlwave-help-fontify):
15760         Use called-interactively-p.
15762         * term/w32console.el (w32-get-console-codepage)
15763         (w32-get-console-output-codepage): Declare.
15765         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
15766         Remove unnecessary declarations.
15767         (dframe-message): Doc fix.
15769         * info.el (dframe-select-attached-frame, dframe-current-frame):
15770         Declare.
15772         * speedbar.el (speedbar-message): Make it an obsolete alias.
15773         Update all callers.
15774         (speedbar-with-attached-buffer)
15775         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
15776         (speedbar-with-writable): Use backquote.
15777         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
15778         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
15779         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
15780         rather than speedbar- aliases.
15781         * mail/rmail.el: Load dframe rather than speedbar when compiling.
15782         (speedbar-make-specialized-keymap, speedbar-insert-button)
15783         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
15784         (speedbar-do-function-pointer): Declare.
15785         (rmail-speedbar-button, rmail-speedbar-find-file)
15786         (rmail-speedbar-move-message):
15787         Use dframe-with-attached-buffer rather than speedbar- alias.
15788         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
15789         (dframe-message, speedbar-make-specialized-keymap)
15790         (speedbar-add-expansion-list, speedbar-mode-functions-list)
15791         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
15792         (speedbar-insert-button, dframe-select-attached-frame)
15793         (dframe-maybee-jump-to-attached-frame)
15794         (speedbar-change-initial-expansion-list)
15795         (speedbar-previously-used-expansion-list-name): Declare.
15796         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
15797         Use dframe-message, dframe-with-attached-buffer rather than
15798         speedbar- aliases.
15799         (gud-sentinel): Silence compiler.
15800         * progmodes/vhdl-mode.el (speedbar-refresh)
15801         (speedbar-do-function-pointer, speedbar-add-supported-extension)
15802         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
15803         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
15804         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
15805         (speedbar-file-lists, speedbar-make-tag-line)
15806         (speedbar-line-directory, speedbar-goto-this-file)
15807         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
15808         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
15809         (speedbar-make-button, speedbar-reset-scanners)
15810         (speedbar-files-item-info, speedbar-line-text)
15811         (speedbar-find-file-in-frame, speedbar-set-timer)
15812         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
15813         (speedbar-with-writable): Do not (re)define it.
15814         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
15815         rather than speedbar- alias.
15817 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15819         * progmodes/octave.el (octave-mode-menu): Update and re-organize
15820         menu items.
15821         (octave-mode): Tweak fill-nobreak-predicate.
15822         (inferior-octave-startup): Check process to avoid infinite loop.
15823         (inferior-octave): Pop to buffer first to show abornmal process
15824         exit information.
15826 2013-05-21  Glenn Morris  <rgm@gnu.org>
15828         * printing.el (pr-menu-bar): Define when compiling.
15830 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15832         * progmodes/octave.el (octave-auto-fill): Remove.
15833         (octave-indent-new-comment-line): Improve.
15834         (octave-mode): Use auto fill mode through
15835         comment-line-break-function and fill-nobreak-predicate.
15836         (octave-goto-function-definition): Support DEFUN_DLD.
15837         (octave-beginning-of-defun): Small tweak.
15838         (octave-help): Show parent directory.
15840 2013-05-21  Glenn Morris  <rgm@gnu.org>
15842         * files.el (dired-unmark):
15843         * progmodes/gud.el (gdb-input): Update declarations.
15845         * calculator.el (electric, ehelp): No need to load when compiling.
15846         (Electric-command-loop, electric-describe-mode): Declare.
15848         * doc-view.el (doc-view-current-converter-processes): Move before use.
15850         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15851         Move MODE-set-explicitly definition before use.
15853         * international/mule-diag.el (mule-diag):
15854         Don't use obsolete window-system-version.
15856         * mail/feedmail.el (smtpmail): No need to load when compiling.
15857         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15859         * mail/mail-utils.el (rfc822): No need to load when compiling.
15860         (rfc822-addresses): Autoload it.
15861         (mail-strip-quoted-names): Trivial simplification.
15863         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15864         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15866         * net/snmp-mode.el (tempo): Don't duplicate requires.
15868         * progmodes/prolog.el (info): No need to load when compiling.
15869         (comint): Require before shell requires it.
15870         (Info-goto-node): Autoload it.
15871         (Info-follow-nearest-node): Declare.
15872         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15874         * textmodes/artist.el (picture-mode-exit): Declare.
15876         * textmodes/reftex-parse.el (reftex-parse-from-file):
15877         Trivial rewrite so the compiler can parse it better.
15879 2013-05-20  Leo Liu  <sdl.web@gmail.com>
15881         * progmodes/octave.el (octave-help-mode-map)
15882         (octave-help-mode-finish-hook): New variables.
15883         (octave-help-mode, octave-help-mode-finish): New functions.
15884         (octave-help): Use octave-help-mode.
15886 2013-05-20  Glenn Morris  <rgm@gnu.org>
15888         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
15890 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
15892         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15893         start at point, so that expansion starting right after opening
15894         slash in a regexp is recognized.
15895         (ruby-syntax-before-regexp-re): New defvar, extracted from
15896         ruby-syntax-propertize-function.  Since the value of this regexp
15897         is looked up at runtime now, we should be able to turn
15898         `ruby-syntax-methods-before-regexp' into a defcustom later.
15899         (ruby-syntax-propertize-function): Split regexp matching into two
15900         parts, for opening and closing slashes.  That allows us to skip
15901         over string interpolations and support multiline regexps.
15902         Don't call `ruby-syntax-propertize-expansions', instead use another rule
15903         for them, which calls `ruby-syntax-propertize-expansion'.
15904         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15905         call to `ruby-syntax-propertize-function'.
15906         (ruby-syntax-propertize-expansion): Extracted from
15907         `ruby-syntax-propertize-expansions'.  Handles one expansion.
15908         (ruby-syntax-propertize-percent-literal): Leave point right after
15909         the percent symbol, so that the expression expansion rule can
15910         propertize the contents.
15911         (ruby-syntax-propertize-heredoc): Leave point at bol following the
15912         heredoc openers.
15913         (ruby-syntax-propertize-expansions): Remove.
15915 2013-05-18  Juri Linkov  <juri@jurta.org>
15917         * man.el (Man-default-man-entry): Remove `-' from the end
15918         of the default value.  (Bug#14400)
15920 2013-05-18  Glenn Morris  <rgm@gnu.org>
15922         * comint.el (comint-password-prompt-regexp):
15923         Allow "password for XXX" where XXX contains colons (eg https://...).
15925 2013-05-18  Leo Liu  <sdl.web@gmail.com>
15927         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15928         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
15929         (octave-source-directories): Don't check process.
15930         (octave-source-directories, octave-find-definition): Doc fix.
15932 2013-05-18  Glenn Morris  <rgm@gnu.org>
15934         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15935         Remove backspace/delete bindings.  (Bug#14392)
15937         * cus-dep.el (custom-make-dependencies): Sort the output.
15938         (custom-versions-load-alist): Convert comment to doc.
15940 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15942         * newcomment.el (comment-search-backward): Stricter in finding
15943         comment start.  (Bug#14303)
15945         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15946         (octave-comment-start-skip): Properly anchored.
15948 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15950         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15951         Clean up when turned off.  (Bug#14395)
15952         (smie--highlight-matching-block-overlay): No longer buffer-local.
15953         (smie-highlight-matching-block): Adjust.
15955 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
15957         Doc string fix for "nanoseconds" (Bug#14406).
15958         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15959         Fix doc string typo that had "nanoseconds" instead of "microseconds".
15961 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
15963         * calc/calc-units.el (math-extract-units): Preserve powers
15964         of units.
15966 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15968         * subr.el (delete-consecutive-dups): New function.
15969         * ido.el (ido-set-matches-1): Use it.
15970         * progmodes/octave.el (inferior-octave-completion-table): Use it.
15971         * ido.el (ido-remove-consecutive-dups): Remove.
15973 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15975         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15976         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15977         regexp-opt's `words'.
15979 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15981         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15982         (smie--highlight-matching-block-overlay)
15983         (smie--highlight-matching-block-lastpos)
15984         (smie--highlight-matching-block-timer): New variables.
15985         (smie-highlight-matching-block): New function.
15986         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
15987         (smie-setup): Conditionally enable smie-blink-matching-open.
15989 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
15991         Sync with upstream verilog-mode r840.
15992         * progmodes/verilog-mode.el (verilog-mode-version)
15993         (verilog-mode-release-date): Update.
15994         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15995         (verilog-sig-tieoff): Fix string error on
15996         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
15997         (verilog-read-decls): Fix parameters confusing
15998         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
16000 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
16002         * subr.el (reveal-filename): New function.
16004         * loadup.el: Compute Emacs executable versions on MS-Windows,
16005         where executables have the .exe extension.  Add a hard link
16006         emacs-XX.YY.ZZ.exe on MS-Windows.
16008         * Makefile.in (XARGS_LIMIT): New variable.
16009         (custom-deps, finder-data, autoloads)
16010         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16011         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16012         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16013         (compile-main): Limit xargs according to $(XARGS_LIMIT).
16015 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16017         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16018         (octave-mode-menu, octave-mode-map): Remove its uses.
16020 2013-05-16  Reto Zimmermann  <reto@gnu.org>
16022         Sync with upstream vhdl mode v3.34.2.
16023         * progmodes/vhdl-mode.el: Use `push' throughout.
16024         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16025         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16026         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
16027         (vhdl-actual-generic-name): New option to derive actual generic name.
16028         (vhdl-port-paste-signals): Replace formal by actual generics.
16029         (vhdl-beautify): New name for old group vhdl-align.  Update users.
16030         (vhdl-beautify-options): New option.
16031         (vhdl-last-input-event): New compat alias.  Use throughout.
16032         (vhdl-goto-line): Replace user level function `goto-line'.
16033         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16034         vhdl-fix-statement-buffer.
16035         (vhdl-create-mode-menu): Add some entries.
16036         (vhdl-align-region-groups): Respect vhdl-beautify-options.
16037         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16038         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16039         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16040         to force statements on one line.
16041         (vhdl-remove-trailing-spaces-region):
16042         New, split from vhdl-remove-trailing-spaces.
16043         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16044         Respect vhdl-beautify-options.
16045         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16046         (vhdl-update-sensitivity-list): Not add with index if exists without.
16047         Not include array index with signal.  Ignore keywords in comments.
16048         (vhdl-get-visible-signals): Regexp tweaks.
16049         (vhdl-template-component-inst): Handle empty library.
16050         (vhdl-template-type): Add template for 'enum' type.
16051         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16052         Use vhdl-replace-string.
16053         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16054         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16055         (vhdl-speedbar-initialize): Update for above name change.
16056         (vhdl-compose-wire-components): Fix in handling of constants.
16057         (vhdl-error-regexp-emacs-alist): New variable.
16058         (vhdl-error-regexp-add-emacs): New function;
16059         adds support for new compile.el (Emacs 22+)
16060         (vhdl-generate-makefile-1): Change target order for single lib. units.
16061         Allow use of absolute file names.
16063 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16065         * simple.el (prog-indent-sexp): Indent enclosing defun.
16067 2013-05-15  Glenn Morris  <rgm@gnu.org>
16069         * cus-start.el (show-trailing-whitespace): Move to editing basics.
16070         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16071         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16072         (whitespace-highlight): Move to whitespace group.
16074         * comint.el (comint-source):
16075         * pcmpl-linux.el (pcmpl-linux):
16076         * shell.el (shell-faces):
16077         * eshell/esh-opt.el (eshell-opt):
16078         * international/ccl.el (ccl): Remove empty custom groups.
16080         * completion.el (dynamic-completion-mode):
16081         * jit-lock.el (jit-lock-debug-mode):
16082         * minibuffer.el (completion-in-region-mode):
16083         * type-break.el (type-break-mode-line-message-mode)
16084         (type-break-query-mode):
16085         * emulation/tpu-edt.el (tpu-edt-mode):
16086         * progmodes/subword.el (global-subword-mode, global-superword-mode):
16087         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16088         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16090         * term/xterm.el (xterm): Change parent group to terminals.
16092         * master.el (master): Remove empty custom group.
16093         (master-mode): Remove unused :group argument.
16094         * textmodes/refill.el (refill): Remove empty custom group.
16095         (refill-mode): Remove unused :group argument.
16097         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16099         * cus-dep.el: Provide a feature.
16100         (custom-make-dependencies): Ignore dotfiles (dir-locals).
16101         Don't mistakenly ignore files whose basenames match a basename
16102         from preloaded-file-list (eg cedet/ede/simple.el).
16103         Add a fallback method for getting :group.
16105 2013-05-15  Juri Linkov  <juri@jurta.org>
16107         * isearch.el (isearch-char-by-name): Rename from
16108         `isearch-insert-char-by-name'.  Doc fix.
16109         (isearch-forward): Mention `isearch-char-by-name' in
16110         the docstring.  (Bug#13348)
16112         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16113         `exit-minibuffer' instead of
16114         `isearch-nonincremental-exit-minibuffer'.
16115         (isearch-edit-string): Remove mention of
16116         `isearch-nonincremental-exit-minibuffer' from docstring.
16117         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16118         (isearch-forward-exit-minibuffer)
16119         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
16121 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16123         * loadup.el: Just use unversioned DOC.
16125         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16126         literals as extending to EOB.
16127         (nxml-last-fontify-end): Remove unused variable.
16128         (nxml-after-change1): Use with-silent-modifications.
16129         (nxml-extend-after-change-region): Simplify.
16130         (nxml-extend-after-change-region1): Remove function.
16131         (nxml-after-change1): Don't adjust for dependent regions.
16132         (nxml-fontify-matcher): Simplify.
16133         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16134         (xmltok-add-dependent): Remove function.
16135         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16136         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16137         (xmltok-scan-prolog-after-processing-instruction-open): Treat
16138         unclosed <[[, <?, comment, and other literals as extending to EOB.
16139         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16140         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16141         Remove functions.
16142         (rng-do-some-validation-1): Don't mark dependent regions.
16143         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16144         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16145         (nxml-clear-dependent-regions): Remove functions.
16146         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16147         (nxml-ensure-scan-up-to-date):
16148         Don't clear&mark dependent regions.
16150 2013-05-15  Leo Liu  <sdl.web@gmail.com>
16152         * progmodes/octave.el (octave-goto-function-definition):
16153         Improve and fix callers.
16155 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16157         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16158         the setter (bug#14387).
16160         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16161         surrounding group (bug#14402).
16163 2013-05-14  Juri Linkov  <juri@jurta.org>
16165         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16166         (Bug#14390)
16168 2013-05-14  Glenn Morris  <rgm@gnu.org>
16170         * progmodes/f90.el (f90-imenu-generic-expression):
16171         Fix typo in 2013-05-08 change.  (Bug#14402)
16173 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16175         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16176         Remove signals for which replies are never received.
16178 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16180         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16181         (gdb-handler-alist, gdb-handler-number): Remove variables.
16182         (gdb-handler-list): New variable.
16183         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16184         (gdb-pending-handler-p, gdb-handle-reply)
16185         (gdb-remove-all-pending-triggers): New functions.
16186         (gdb-discard-unordered-replies): New defcustom.
16187         (gdb-handler): New defstruct.
16188         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
16189         instead of gdb-pending-triggers.  Update docstring.
16190         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
16191         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16192         (gdb-var-update-handler, def-gdb-auto-update-trigger)
16193         (def-gdb-auto-update-handler, gdb-get-changed-registers)
16194         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16195         (gdb-frame-handler): Pending triggers are now automatically managed.
16196         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16197         Remove argument.
16198         (gdb-input): Automatically handles pending triggers.  Update docstring.
16199         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16200         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16201         Update comments.
16202         (gdb-done-or-error): Now use gdb-handle-reply.
16204 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16206         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16207         gdb-debug-log.
16209 2013-05-14  Glenn Morris  <rgm@gnu.org>
16211         * subr.el (user-emacs-directory-warning): New option.
16212         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
16214 2013-05-14  Leo Liu  <sdl.web@gmail.com>
16216         * progmodes/octave.el (octave-font-lock-keywords): Fix error
16217         during redisplay.
16218         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16219         (octave-font-lock-texinfo-comment): Fix invalid search bound
16220         error: wrong side of point.
16222 2013-05-14  Glenn Morris  <rgm@gnu.org>
16224         * progmodes/flymake.el (flymake-xml-program): New option.
16225         (flymake-xml-init): Use it.
16227         * term/xterm.el: Provide a feature.
16229         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
16231 2013-05-13  Glenn Morris  <rgm@gnu.org>
16233         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16234         Add compat aliases as a hack workaround.  (Bug#14384)
16236 2013-05-13  Leo Liu  <sdl.web@gmail.com>
16238         * progmodes/octave.el (octave-indent-comment): Fix indentation for
16239         ###, and %!.
16240         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16241         C-M-q.
16242         (octave-comment-start-skip): Include %!.
16243         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16245 2013-05-12  Leo Liu  <sdl.web@gmail.com>
16247         * progmodes/octave.el (inferior-octave-startup): Store the value
16248         of __octave_srcdir__ for octave-source-directories.
16249         (inferior-octave-check-process): New function refactored out of
16250         inferior-octave-send-list-and-digest.
16251         (octave-source-directories)
16252         (octave-find-definition-filename-function): New variables.
16253         (octave-source-directories)
16254         (octave-find-definition-default-filename): New functions.
16255         (octave-find-definition): Improve to find functions implemented in C++.
16257 2013-05-12  Glenn Morris  <rgm@gnu.org>
16259         * calendar/diary-lib.el (diary-outlook-format-1):
16260         Don't include dayname in the output.  (Bug#14349)
16262 2013-05-11  Glenn Morris  <rgm@gnu.org>
16264         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16266         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16267         Treat cc-provide like provide.
16269 2013-05-11  Kevin Ryde  <user42@zip.com.au>
16271         * cus-dep.el (custom-make-dependencies):
16272         Use generated-autoload-load-name for the sake of files such
16273         such cedet/semantic/bovine/c.el, where the base file name
16274         is not in load-path.  (Bug#5277)
16276 2013-05-11  Glenn Morris  <rgm@gnu.org>
16278         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16279         Provide features.
16281 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16283         * progmodes/octave.el (octave-indent-comment): Improve.
16284         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16285         (octave-eldoc-function-signatures, octave-eldoc-function):
16286         New functions.
16287         (octave-mode, inferior-octave-mode): Add eldoc support.
16289 2013-05-11  Richard Stallman  <rms@gnu.org>
16291         * epa.el (epa-decrypt-file): Take output file name as argument
16292         and read it using `interactive'.
16294 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16296         * progmodes/octave.el (octave-beginning-of-line)
16297         (octave-end-of-line): Check before using up-list because it jumps
16298         out of more syntactic contructs since moving to smie.
16299         (octave-indent-comment): New function.
16300         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
16301         (octave-begin-keywords, octave-end-keywords)
16302         (octave-reserved-words, octave-smie-bnf-table)
16303         (octave-smie-rules): Add new keywords from Octave 3.6.4.
16305 2013-05-11  Glenn Morris  <rgm@gnu.org>
16307         * faces.el (internal-face-x-get-resource):
16308         * frame.el (ns-display-monitor-attributes-list):
16309         * calc/calc-aent.el (math-to-radians-2):
16310         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16311         Fix declarations.
16313         * calc/calc-menu.el: Make it loadable in isolation.
16315         * net/eudcb-bbdb.el: Make it loadable without bbdb.
16316         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16317         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16318         (eudc-bbdb-query-internal): Require 'bbdb.
16320         * lpr.el (lpr-headers-switches):
16321         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16323         * progmodes/sql.el (sql-login-params): Fix and improve :type.
16325         * emulation/edt-mapper.el: In batch mode, error rather than hang.
16327         * term.el (term-set-escape-char): Make it idempotent.
16329 2013-05-10  Leo Liu  <sdl.web@gmail.com>
16331         * progmodes/octave.el (inferior-octave-completion-table):
16332         No longer a function and all uses changed.  Use cache to speed up
16333         completion due to bug#11906.
16334         (octave-beginning-of-defun): Re-write to be more general.
16336 2013-05-10  Glenn Morris  <rgm@gnu.org>
16338         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16340 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16342         * comint.el (comint-redirect-send-command-to-process): Use :around
16343         rather than :override for comint-redirect-filter.
16344         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16345         Call it instead of comint-redirect-original-filter-function (which
16346         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
16348 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
16350         * frame.el (display-monitor-attributes-list): Add NS case.
16351         (ns-display-monitor-attributes-list): Declare.
16353 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
16355         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
16357 2013-05-09  Glenn Morris  <rgm@gnu.org>
16359         * international/fontset.el (vertical-centering-font-regexp):
16360         Set standard-value.
16362         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16364         * bookmark.el (bookmark-search-delay):
16365         * cus-start.el (vertical-centering-font-regexp):
16366         * ps-mule.el (ps-mule-font-info-database-default):
16367         * ps-print.el (ps-default-fg, ps-default-bg):
16368         * type-break.el (type-break-good-break-interval):
16369         * whitespace.el (whitespace-indentation-regexp)
16370         (whitespace-space-after-tab-regexp):
16371         * emacs-lisp/testcover.el (testcover-1value-functions)
16372         (testcover-noreturn-functions, testcover-progn-functions)
16373         (testcover-prog1-functions):
16374         * emulation/viper-init.el (viper-emacs-state-cursor-color):
16375         * eshell/em-glob.el (eshell-glob-translate-alist):
16376         * play/tetris.el (tetris-tty-colors):
16377         * progmodes/cpp.el (cpp-face-default-list):
16378         * progmodes/flymake.el (flymake-allowed-file-name-masks):
16379         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16380         (idlwave-help-browser-generic-args):
16381         * progmodes/make-mode.el (makefile-special-targets-list):
16382         * progmodes/python.el (python-shell-virtualenv-path):
16383         * progmodes/verilog-mode.el (verilog-active-low-regexp)
16384         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16385         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16386         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16387         * textmodes/reftex-vars.el (reftex-format-label-function):
16388         * textmodes/remember.el (remember-diary-file): Fix custom types.
16390         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16391         Add :version.
16393 2013-05-09  Leo Liu  <sdl.web@gmail.com>
16395         * progmodes/octave.el (inferior-octave-completion-at-point):
16396         Restore file completion.  (Bug#14300)
16397         (inferior-octave-startup): Fix incorrect highlighting for the
16398         first prompt.
16400 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16402         * progmodes/ruby-mode.el: First cut at SMIE support.
16403         (ruby-use-smie): New var.
16404         (ruby-smie-grammar): New constant.
16405         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16406         (ruby-smie--forward-token, ruby-smie--backward-token)
16407         (ruby-smie-rules): New functions.
16408         (ruby-mode-variables): Setup SMIE if applicable.
16410 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
16412         * simple.el (line-move-visual): Signal beginning/end of buffer
16413         only if vertical-motion moved less than it was requested.  Avoids
16414         silly incorrect error messages when there are display strings with
16415         multiple newlines at EOL.
16417 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16419         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16420         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16421         (prolog-char-quote-workaround):
16422         * progmodes/cperl-mode.el (cperl-under-as-char):
16423         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16424         Mark as obsolete.
16425         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16426         their declaration.
16427         (vhdl-mode-syntax-table-init): Remove.
16429         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16430         last change.
16432         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16433         syntax for "_".
16434         (ld-script-font-lock-keywords):
16435         Change regexps to use things like \_< and \_>.
16437         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16438         Change all regexps to use things like \_< and \_>.
16440         * progmodes/autoconf.el (autoconf-definition-regexp)
16441         (autoconf-font-lock-keywords, autoconf-current-defun-function):
16442         Handle a _ with symbol syntax.
16443         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16445         * progmodes/ada-mode.el (ada-mode-abbrev-table):
16446         Consolidate declaration.
16447         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16448         the declaration.
16449         (ada-create-syntax-table): Remove.
16450         (ada-capitalize-word): Don't mess with the syntax of "_" since it
16451         already has the right syntax nowadays.
16452         (ada-goto-next-word): Don't change the syntax of "_".
16454         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16455         with-wrapper-hook.
16457 2013-05-08  Sam Steingold  <sds@gnu.org>
16459         * thingatpt.el (thing-at-point): Accept optional second argument
16460         NO-PROPERTIES to strip the text properties from the return value.
16461         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16462         to `thing-at-point' instead of stripping the properties ourselves.
16463         Also, when `thing-at-point' fails to find a url, prepend "http://"
16464         to the filename at point on the assumption that the user is
16465         pointing at something like gnu.org/gnu.
16467 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
16469         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16470         * faces.el (crm-separator):
16471         Silence byte-compiler.
16473         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16474         (tool-bar-map): Remove unneeded defvars.
16476 2013-05-08  Leo Liu  <sdl.web@gmail.com>
16478         Re-work a fix for bug#10994 based on Le Wang's patch.
16479         * ido.el (ido-remove-consecutive-dups): New helper.
16480         (ido-completing-read): Use it.
16481         (ido-chop): Revert fix for bug#10994.
16483 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
16485         * cus-edit.el (custom-save-variables):
16486         Pretty-print long values.  (Bug#14187)
16488 2013-05-08  Glenn Morris  <rgm@gnu.org>
16490         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
16491         (m4-mode-syntax-table): Init in the defvar.
16492         (m4-mode-abbrev-table): Let define-derived-mode define it.
16494 2013-05-08  Tom Tromey  <tromey@redhat.com>
16496         * progmodes/m4-mode.el (m4-mode-syntax-table):
16497         Do not treat "_" as word constituent.  (Bug#14167)
16499 2013-05-07  Glenn Morris  <rgm@gnu.org>
16501         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
16502         Remove explicit eshell-isearch-cancel-map.
16504         * progmodes/f90.el (f90-smart-end-names): New option.
16505         (f90-smart-end): Doc fix.
16506         (f90-end-block-optional-name): New constant.
16507         (f90-block-match): Respect f90-smart-end-names.
16509 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16511         * progmodes/octave.el (octave-smie-forward-token): Be more careful
16512         about implicit semi-colons (bug#14218).
16514 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16516         * frame.el (display-monitor-attributes-list)
16517         (frame-monitor-attributes): New functions.
16519 2013-05-06  Leo Liu  <sdl.web@gmail.com>
16521         * progmodes/octave.el (octave-syntax-propertize-function): Change
16522         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
16523         (octave-font-lock-keywords): Use octave-operator-regexp.
16524         (octave-completion-at-point): Rename from
16525         octave-completion-at-point-function.
16526         (inferior-octave-directory-tracker): Robustify.
16527         (octave-text-functions): Remove and fix its uses.  No such things
16528         any more.
16530 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16532         * emacs-lisp/trace.el (trace--display-buffer): New function.
16533         (trace-make-advice): Use it.
16535 2013-05-06  Juri Linkov  <juri@jurta.org>
16537         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
16538         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
16539         Doc fix.
16540         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
16541         in the help string.  (Bug#12985)
16543 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
16545         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
16547 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16549         * progmodes/perl-mode.el: Add support for here documents.
16550         (perl-syntax-propertize-function): Match here-doc markers.
16551         (perl-syntax-propertize-special-constructs): Find their end.
16552         (perl-imenu-generic-expression): Use [:alnum:].
16554         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
16555         (advice--add-function): Refresh the advice if already present
16556         (bug#14317).
16558 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
16560         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
16562 2013-05-06  Glenn Morris  <rgm@gnu.org>
16564         * w32-fns.el (w32-charset-info-alist): Declare.
16566         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
16567         of its defcustom properties.
16568         (eshell-cmpl-initialize): No need to load pcomplete.
16570         * generic-x.el: No need to require comint when compiling.
16572         * net/eudc-export.el: Make it loadable without bbdb.
16573         (top-level): Use require rather than load-library.
16574         (eudc-create-bbdb-record, eudc-bbdbify-phone)
16575         (eudc-batch-export-records-to-bbdb)
16576         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
16577         Require bbdb.
16579 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16581         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16582         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16583         some tweaks, instead.
16585 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16587         * progmodes/octave.el (octave-font-lock-keywords)
16588         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16589         (inferior-octave-send-list-and-digest): Improve error message.
16590         (octave-mode, inferior-octave-mode): Use setq-local.
16591         (octave-help): Set info-lookup-mode.
16593 2013-05-05  Richard Stallman  <rms@gnu.org>
16595         * vc/compare-w.el (compare-windows-whitespace):
16596         Treat no-break space as whitespace.
16598         * mail/rmailsum.el (rmail-summary-rmail-update):
16599         Detect empty summary and don't change selected message.
16600         (rmail-summary-goto-msg): Likewise.
16602         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16603         Doc fixes, rename args.
16605 2013-05-05  Alan Mackenzie  <acm@muc.de>
16607         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16609 2013-05-05  Juri Linkov  <juri@jurta.org>
16611         * info.el (Info-read-subfile): Use (point-min) instead of (point)
16612         to not add the length of the summary segment to the return value.
16613         (Bug#14125)
16615 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16617         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16618         (inferior-octave-output-filter): Remove.
16619         (octave-send-region, inferior-octave-startup): Fix callers.
16620         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16621         (octave-binary-file-extensions): New user variable.
16622         (octave-find-definition): Confirm if opening binary files.
16623         (octave-help-file): Use octave-find-definition to get the binary
16624         confirmation.
16625         (octave-help): Adjust for octave-help-file change.
16627 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16629         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
16630         Merge the two entries that handle function definitions.
16631         (pascal--syntax-propertize): New const.
16632         (pascal-mode): Use it.  Use setq-local.
16634 2013-05-04  Glenn Morris  <rgm@gnu.org>
16636         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
16637         (diary-from-outlook): Respect diary-from-outlook-function.
16639 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16641         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
16642         Move the declaration from C.
16643         (read-minibuffer, eval-minibuffer): Move from C.
16644         (completion-setup-function): Avoid minibuffer-completion-contents.
16646 2013-05-03  Leo Liu  <sdl.web@gmail.com>
16648         * progmodes/octave.el (octave-font-lock-keywords): Do not
16649         dehighlight 'end' in comments or strings.
16650         (octave-completing-read, octave-goto-function-definition):
16651         New helpers.
16652         (octave-help-buffer): New user variable.
16653         (octave-help-file, octave-help-function): New button types.
16654         (octave-help): New command and bind it to C-h ;.
16655         (octave-find-definition): New command and bind it to M-.
16656         (user-error): Alias to error if not defined.
16658 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16660         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
16661         for \.  (bug#14332)
16662         (octave-font-lock-keywords): Include [ and {.
16664 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16666         * progmodes/octave.el (inferior-octave-startup-file): Change default.
16667         (inferior-octave): Remove calling comint-mode and return the buffer.
16668         (inferior-octave-startup): Cosmetic changes.
16670 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16672         * progmodes/octave.el (octave-syntax-propertize-function):
16673         Include the case when ' is at line beginning.  (Bug#14336)
16675 2013-05-02  Glenn Morris  <rgm@gnu.org>
16677         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
16678         * desktop.el (vc-dir-mode): Just autoload it here.
16680 2013-05-02  Alan Mackenzie  <acm@muc.de>
16682         Eliminate variable c-standard-font-lock-fontify-region-function.
16683         * progmodes/cc-mode.el
16684         (c-standard-font-lock-fontify-region-function): Remove.
16685         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
16687 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16689         * progmodes/octave.el: Compatible with older emacs-24 releases.
16690         (inferior-octave-has-built-in-variables): Remove.  Built-in
16691         variables were removed from Octave in 2007.
16692         (inferior-octave-startup): Fix uses.
16693         (comint-line-beginning-position): Remove compatibility code for
16694         emacs 21.
16696 2013-05-01  Juri Linkov  <juri@jurta.org>
16698         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
16700 2013-05-01  Juri Linkov  <juri@jurta.org>
16702         * comint.el (comint-previous-matching-input): Don't print message
16703         "History item: %d" when `isearch-mode' is active.
16704         (comint-history-isearch-message): Print message "History item: %d"
16705         when `comint-input-ring-index' is not empty and this function is
16706         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
16708 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16710         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
16711         definitions.  Use completion-at-point to insert keywords.
16712         (octave-abbrev-start): Remove.
16713         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
16715 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16717         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
16718         change.
16720 2013-04-30  Alan Mackenzie  <acm@muc.de>
16722         Handle arbitrarily long C++ member initialisation lists.
16723         * progmodes/cc-engine.el (c-back-over-member-initializers):
16724         new function.
16725         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
16726         (most) member init lists.
16728 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16730         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
16731         variable.
16733 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16735         * progmodes/octave.el (octave-variables): Remove.  No builtin
16736         variables any more.  All converted to functions.
16737         (octave-font-lock-keywords, octave-completion-at-point-function):
16738         Fix uses.
16739         (octave-font-lock-texinfo-comment): New user variable.
16740         (octave-texinfo-font-lock-keywords): New variable for texinfo
16741         comment block.
16742         (octave-function-comment-block): New face.
16743         (octave-font-lock-texinfo-comment): New function.
16744         (octave-mode): Font lock texinfo comment block.
16746 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16748         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
16749         indexing expression.
16750         (octave-continuation-string): Do not use \.
16751         (inferior-octave-complete-impossible): Remove.
16752         (inferior-octave-completion-table)
16753         (inferior-octave-completion-at-point): Remove its uses.
16754         (inferior-octave-startup): completion_matches was introduced to
16755         Octave in 1996 so safe to assume it.
16756         (octave-function-file-comment): Improve to follow how Octave does it.
16757         (octave-update-function-file-comment): Tweak.
16759 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16761         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
16762         (inferior-octave-startup): Remove inferior-octave-startup-hook.
16763         (octave-function-file-comment): Fix typo.
16764         (octave-sync-function-file-names): Use read-char-choice.
16766 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
16768         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
16769         to t for the less important warnings.
16771 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
16773         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
16775 2013-04-27  Glenn Morris  <rgm@gnu.org>
16777         * vc/log-view.el (log-view-current-entry):
16778         Treat "---" separator lines as part of the following rev.  (Bug#14169)
16780 2013-04-27  Juri Linkov  <juri@jurta.org>
16782         * subr.el (read-number): Doc fix about using it by interactive
16783         code letter `n'.  (Bug#14254)
16785 2013-04-27  Juri Linkov  <juri@jurta.org>
16787         * desktop.el (desktop-auto-save-timeout): New option.
16788         (desktop-file-checksum): New variable.
16789         (desktop-save): Add optional arg `auto-save' and don't auto-save
16790         if nothing changed.
16791         (desktop-auto-save-timer): New variable.
16792         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
16793         (after-init-hook): Call `desktop-auto-save-set-timer'.
16794         Suggested by Reuben Thomas <rrt@sc3d.org> in
16795         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
16797 2013-04-27  Leo Liu  <sdl.web@gmail.com>
16799         * progmodes/octave.el (octave-function-file-p)
16800         (octave-skip-comment-forward, octave-function-file-comment)
16801         (octave-update-function-file-comment): New functions.
16802         (octave-mode-map): Bind C-c ; to
16803         octave-update-function-file-comment.
16804         (octave-mode-menu): Add octave-update-function-file-comment.
16805         (octave-mode, inferior-octave-mode): Fix doc-string.
16806         (octave-insert-defun): Conform to Octave's coding convention.
16807         (Bug#14285)
16809         * files.el (basic-save-buffer): Don't let errors in
16810         before-save-hook prevent saving buffer.
16812 2013-04-20  Roland Winkler  <winkler@gnu.org>
16814         * faces.el (read-face-name): Use completing-read if arg multiple
16815         is nil.
16817 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
16819         * ls-lisp.el (ls-lisp-insert-directory): If no files are
16820         displayed, move point to after the totals line.
16821         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
16822         for the details.
16824 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16826         * emacs-lisp/package.el (package-autoload-ensure-default-file):
16827         Add current dir to the load-path.
16828         (package-generate-autoloads): Don't rely on
16829         autoload-ensure-default-file.
16831 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
16833         * textmodes/remember.el (remember-store-in-files): Document that
16834         the file name format is passed to `format-time-string'.
16836 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16838         * progmodes/octave.el (octave-sync-function-file-names): New function.
16839         (octave-mode): Use it in before-save-hook.
16841 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16843         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16844         (bug#14274).
16846         * progmodes/octave.el (octave-smie-forward-token): Properly skip
16847         \n and comment, even if it's not an implicit ; (bug#14218).
16849 2013-04-26  Glenn Morris  <rgm@gnu.org>
16851         * subr.el (read-number): Once more use `read' rather than
16852         `string-to-number', to trap non-numeric input.  (Bug#14254)
16854 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
16856         * emacs-lisp/syntax.el (syntax-propertize-multiline):
16857         Use `syntax-multiline' text property consistently instead of
16858         `font-lock-multiline'.  (Bug#14237)
16860 2013-04-26  Glenn Morris  <rgm@gnu.org>
16862         * emacs-lisp/shadow.el (list-load-path-shadows):
16863         No longer necessary to check for duplicate simple.el, since
16864         2012-07-07 change to init_lread to not include installation lisp
16865         directories in load-path when running uninstalled.  (Bug#14270)
16867 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16869         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16870         (octave-mode, inferior-octave-mode): Use setq-local.
16871         (octave-not-in-string-or-comment-p): Rename to
16872         octave-in-string-or-comment-p.
16873         (octave-in-comment-p, octave-in-string-p)
16874         (octave-in-string-or-comment-p): Replace defsubst with defun.
16876 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
16878         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16880 2013-04-25  Bastien Guerry  <bzg@gnu.org>
16882         * textmodes/remember.el (remember-data-directory)
16883         (remember-directory-file-name-format): Fix custom types.
16885 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16887         * progmodes/octave.el (octave-completion-at-point-function):
16888         Make use of inferior octave process.
16889         (octave-initialize-completions): Remove.
16890         (inferior-octave-completion-table): New function.
16891         (inferior-octave-completion-at-point): Use it.
16892         (octave-completion-alist): Remove.
16894 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16896         * progmodes/opascal.el: Use font-lock and syntax-propertize.
16897         (opascal-mode-syntax-table): New var.
16898         (opascal-literal-kind, opascal-is-literal-end)
16899         (opascal-literal-token-at): Rewrite.
16900         (opascal--literal-start-re, opascal-font-lock-keywords)
16901         (opascal--syntax-propertize): New constants.
16902         (opascal-font-lock-defaults): Adjust.
16903         (opascal-mode): Use them.  Set comment-<foo> variables as well.
16904         (delphi-comment-face, opascal-comment-face, delphi-string-face)
16905         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16906         (delphi-other-face, opascal-other-face): Remove face variables.
16907         (opascal-save-state): Remove macro.
16908         (opascal-fontifying-progress-step): Remove constant.
16909         (opascal--ignore-changes): Remove var.
16910         (opascal-set-token-property, opascal-parse-next-literal)
16911         (opascal-is-stable-literal, opascal-complete-literal)
16912         (opascal-is-literal-start, opascal-face-of)
16913         (opascal-parse-region, opascal-parse-region-until-stable)
16914         (opascal-fontify-region, opascal-after-change)
16915         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16916         (opascal-debug-parse-region, opascal-debug-parse-window)
16917         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16918         (opascal-debug-fontify-buffer): Remove.
16919         (opascal-debug-mode-map): Adjust accordingly.
16921 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16923         Merge octave-mod.el and octave-inf.el into octave.el with some
16924         cleanups.
16925         * progmodes/octave.el: New file renamed from octave-mod.el.
16926         * progmodes/octave-inf.el: Merged into octave.el.
16927         * progmodes/octave-mod.el: Renamed to octave.el.
16929 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
16931         * textmodes/reftex-vars.el
16932         (reftex-label-ignored-macros-and-environments): New defcustom.
16934         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16936 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16938         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16939         (smie-indent-keyword): Improve the check to ensure that the next
16940         comment is really on the same line.
16941         (smie-indent-comment): Don't align with a subsequent closer (or eob).
16943         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16944         semi-colons if the line is not otherwise empty (bug#14218).
16946 2013-04-25  Glenn Morris  <rgm@gnu.org>
16948         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16950 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16952         * progmodes/opascal.el (opascal-set-token-property): Rename from
16953         opascal-set-text-properties and only set `token' (bug#14134).
16954         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16955         (opascal-literal-text-properties): Remove.
16956         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16957         Adjust callers.
16959 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
16961         * textmodes/remember.el (remember-handler-functions): Add an
16962         option for a new handler `remember-store-in-files'.
16963         (remember-data-directory, remember-directory-file-name-format):
16964         New options.
16965         (remember-store-in-files): New function to store remember notes
16966         as separate files within a directory.
16968 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
16970         * progmodes/compile.el (compilation-next-error-function):
16971         Pass "formats" to compilation-find-file (bug#11777).
16973 2013-04-24  Glenn Morris  <rgm@gnu.org>
16975         * vc/vc-bzr.el (vc-bzr-print-log):
16976         * vc/vc-hg.el (vc-hg-print-log):
16977         * vc/vc-svn.el (vc-svn-print-log):
16978         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
16980         * vc/vc-bzr.el (vc-bzr-print-log):
16981         * vc/vc-cvs.el (vc-cvs-print-log):
16982         * vc/vc-git.el (vc-git-print-log):
16983         * vc/vc-hg.el (vc-hg-print-log):
16984         * vc/vc-mtn.el (vc-mtn-print-log):
16985         * vc/vc-rcs.el (vc-rcs-print-log):
16986         * vc/vc-sccs.el (vc-sccs-print-log):
16987         * vc/vc-svn.el (vc-svn-print-log):
16988         * vc/vc.el (vc-print-log-internal): Doc fixes.
16990 2013-04-23  Glenn Morris  <rgm@gnu.org>
16992         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16993         Remove venerable code attempting to avoid substitute-command-keys.
16995 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
16997         * textmodes/reftex-vars.el (reftex-label-regexps):
16998         Call `reftex-compile-variables' after changes to this variable.
17000 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17002         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17003         Use lexical-binding.
17004         (jit-lock-force-redisplay): Use markers, check buffer's continued
17005         existence and beware narrowed buffers.
17006         (jit-lock-fontify-now): Adjust call accordingly.
17008 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17010         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17011         to avoid misleading the user.
17013 2013-04-22  Leo Liu  <sdl.web@gmail.com>
17015         * info-look.el: Prefer latex2e.info.  (Bug#14240)
17017 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
17019         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
17021         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17022         * net/tramp.el (tramp-call-process): ... here.
17023         (tramp-set-completion-function, tramp-parse-putty):
17024         * net/tramp-adb.el (tramp-adb-execute-adb-command):
17025         * net/tramp-gvfs.el (tramp-gvfs-send-command):
17026         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17027         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17028         (tramp-call-local-coding-command): Use `tramp-call-process'
17029         instead of `tramp-compat-call-process'.
17031         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17032         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17033         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17034         (tramp-find-inline-compress): Improve traces.
17035         (tramp-maybe-send-script): Check for Perl binary.
17036         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17038 2013-04-22  Daiki Ueno  <ueno@gnu.org>
17040         * epg.el (epg-context-pinentry-mode): New function.
17041         (epg-context-set-pinentry-mode): New function.
17042         (epg--start): Pass --pinentry-mode option to gpg command.
17044 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
17046         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17047         `comint-dynamic-complete' is obsolete since 24.1, replaced by
17048         `completion-at-point'.  (Bug#13774)
17050         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17051         default key binding for `describe-distribution' has been moved to
17052         `C-h C-o'.  (Bug#13970)
17054 2013-04-21  Glenn Morris  <rgm@gnu.org>
17056         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17057         Add doc strings.
17058         (vc-print-log): Clarify interactive prompt.
17060 2013-04-20  Glenn Morris  <rgm@gnu.org>
17062         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17063         No longer include timestamp etc information.
17065 2013-04-20  Roland Winkler  <winkler@gnu.org>
17067         * faces.el (read-face-name): Bug fix, return just one face if arg
17068         multiple is nil.  (Bug#14209)
17070 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17072         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17073         (remove-function): Autoload.
17075         * comint.el (comint-redirect-original-filter-function): Remove.
17076         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17077         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17078         (vc-cvs-annotate-command):
17079         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17080         * progmodes/prolog.el (prolog-consult-compile):
17081         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17082         Use add/remove-function instead.
17083         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17084         (gud-tooltip-process-output, gud-tooltip-tips):
17085         Use add/remove-function instead.
17086         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17087         (scheme-interaction-mode, exit-scheme-interaction-mode):
17088         Use add/remove-function instead.
17090         * vc/vc-dispatcher.el: Use lexical-binding.
17091         (vc--process-sentinel): Rename from vc-process-sentinel.
17092         Change last arg to be the code to run.  Don't use vc-previous-sentinel
17093         and vc-sentinel-commands any more.
17094         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
17095         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17097 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
17099         * progmodes/sh-script.el (sh-imenu-generic-expression):
17100         Handle function names with a single character.  (Bug#14111)
17102 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17104         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17105         for subroutines defined in an eval (bug#14182).
17107 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17109         * bookmark.el (bookmark-completing-read): Improve handling of empty
17110         string (bug#14176).
17112 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17114         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17116 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17118         New faster Imenu implementation (bug#14058).
17119         * progmodes/python.el (python-imenu-prev-index-position)
17120         (python-imenu-format-item-label-function)
17121         (python-imenu-format-parent-item-label-function)
17122         (python-imenu-format-parent-item-jump-label-function):
17123         New vars.
17124         (python-imenu-format-item-label)
17125         (python-imenu-format-parent-item-label)
17126         (python-imenu-format-parent-item-jump-label)
17127         (python-imenu--put-parent, python-imenu--build-tree)
17128         (python-imenu-create-index, python-imenu-create-flat-index)
17129         (python-util-popn): New functions.
17130         (python-mode): Set imenu-create-index-function to
17131         python-imenu-create-index.
17133 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17135         * winner.el (winner-active-region): Use region-active-p, activate-mark
17136         and deactivate-mark (bug#14225).
17138         * simple.el (deactivate-mark): Don't inline it.
17140 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
17142         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17144 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
17146         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17147         file extensions from the archive-mode entry in order to prefer
17148         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17150 2013-04-18  Leo Liu  <sdl.web@gmail.com>
17152         * bindings.el (help-event-list): Add ?\?.
17154 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17156         * subr.el (with-wrapper-hook): Declare obsolete.
17157         * simple.el (filter-buffer-substring-function): New hook.
17158         (filter-buffer-substring): Use it.
17159         (filter-buffer-substring-functions): Mark obsolete.
17160         * minibuffer.el (completion-in-region-function): New hook.
17161         (completion-in-region): Use it.
17162         (completion-in-region-functions): Mark obsolete.
17163         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17164         * abbrev.el (abbrev-expand-function): New hook.
17165         (expand-abbrev): Use it.
17166         (abbrev-expand-functions): Mark obsolete.
17167         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17168         and :filter-return.
17170 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17172         * progmodes/python.el (python-nav--syntactically): Fix cornercases
17173         and do not care about match data.
17175 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17177         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17178         completion tables when completing error conditions and
17179         `declare' arguments.
17180         (lisp-complete-symbol, field-complete): Mark as obsolete.
17181         (check-parens): Unmatched parens are user errors.
17182         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17184 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
17186         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17187         command changed buffer (ie. `flyspell-pre-buffer' is not current
17188         buffer), which prevents making decisions based on invalid value of
17189         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
17190         cause an error when `flyspell-pre-point' was nil after switching
17191         buffers.
17192         (flyspell-post-command-hook): No longer needs to change buffers when
17193         checking pre-word.  While at it remove unnecessary progn.
17195 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
17197         * textmodes/ispell.el (ispell-add-per-file-word-list):
17198         Fix `flyspell-correct-word-before-point' error when accepting
17199         words and `coment-padding' is an integer by using
17200         `comment-normalize-vars' (Bug #14214).
17202 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17204         New defun movement commands.
17205         * progmodes/python.el (python-nav--syntactically)
17206         (python-nav--forward-defun, python-nav-backward-defun)
17207         (python-nav-forward-defun): New functions.
17209 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17211         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17212         (python-syntax-context): Use named compiler-macro for backwards
17213         compatibility with Emacs 24.x.
17215 2013-04-17  Leo Liu  <sdl.web@gmail.com>
17217         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17218         octave-hide-process-buffer.
17220 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17222         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17223         (bug#14216).
17225 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
17227         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17228         Fix adjustment of offset when receiving incomplete responses from GDB
17229         (bug#14129).
17231 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17233         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17234         python-mode-abbrev-table.
17235         (python-skeleton-define): Adjust accordingly.
17236         (python-mode-abbrev-table): New table that inherits from it so that
17237         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17239         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17240         (abbrev-symbol): Use it.
17241         (abbrev--before-point): Use it since we already handle inheritance.
17243 2013-04-16  Leo Liu  <sdl.web@gmail.com>
17245         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17246         binding to info-lookup-symbol.
17248 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
17250         * minibuffer.el (completion--twq-all):
17251         * term/ns-win.el (ns-initialize-window-system):
17252         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17254 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17256         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17257         global bindings.
17259         * doc-view.el (doc-view-start-process): Handle url-handler directories.
17261 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
17263         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17264         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17265         to nil.
17266         (ruby-end-of-defun): Remove the unused arg, change the docstring
17267         to reflect that this function is only used as the value of
17268         `end-of-defun-function'.
17269         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17270         to reflect an earlier change that beginning/end-of-defun functions
17271         jump between methods in a class definition, as well as top-level
17272         functions.
17274 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17276         * minibuffer.el (minibuffer-complete): Don't just scroll
17277         a *Completions* that's been iconified.
17278         (minibuffer-force-complete): Make sure repetitions do cycle when going
17279         through completion-in-region -> minibuffer-complete.
17281 2013-04-15  Alan Mackenzie  <acm@muc.de>
17283         Correct the placement of c-cpp-delimiters when there're #s not at
17284         col 0.
17286         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17287         place a submatch around the #.
17288         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17289         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
17290         on the #, not BOL.
17292 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17294         * emacs-lisp/nadvice.el: Properly test names when adding advice.
17295         (advice--member-p): New arg `name'.
17296         (advice--add-function, advice-member-p): Use it (bug#14202).
17298 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
17300         Reformulate java imenu-generic-expression.
17301         The old expression contained ill formed regexps.
17303         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17304         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17305         (cc-imenu-java-method-arg-regexp): New defconsts.
17306         (cc-imenu-java-build-type-args-regex): New defun.
17307         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17308         handling of spaces in the regexp.
17310 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17312         * textmodes/ispell.el (ispell-command-loop): Remove
17313         flyspell highlight of a word when ispell accepts it (bug #14178).
17315 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
17317         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17318         uses code from the previous `ange-ftp-run-real-handler'.
17319         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17320         only in case that function exist.  This is needed for proper
17321         unloading of Tramp.
17323 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
17325         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17327         * textmodes/reftex.el (reftex-compile-variables): Use it.
17329 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17331         * files.el (normal-mode): Only use default major-mode if no other mode
17332         was specified.
17334         * emacs-lisp/trace.el (trace-values): New function.
17336         * files.el: Allow : in local variables (bug#14089).
17337         (hack-local-variable-regexp): New var.
17338         (hack-local-variables-prop-line, hack-local-variables): Use it.
17340 2013-04-13  Roland Winkler  <winkler@gnu.org>
17342         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
17343         data before it gets modified by bibtex-beginning-of-entry.
17345 2013-04-13  Roland Winkler  <winkler@gnu.org>
17347         * textmodes/bibtex.el (bibtex-url): Doc fix.
17349 2013-04-13  Roland Winkler  <winkler@gnu.org>
17351         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17352         does not visit a BibTeX file, exclude it from the list of buffers
17353         returned by bibtex-initialize.
17355 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
17357         * window.el (split-window): Remove interactive form, since as a
17358         command this function is a special case of split-window-below.
17359         Correct doc string.
17361 2013-04-12  Roland Winkler  <winkler@gnu.org>
17363         * faces.el (read-face-name): Do not override value of arg default.
17364         Allow single faces and strings as default values.  Remove those
17365         elements from return value that are not faces.
17366         (describe-face): Simplify.
17367         (face-at-point): New optional args thing and multiple so that this
17368         function can provide the same functionality previously provided by
17369         read-face-name.
17370         (make-face-bold, make-face-unbold, make-face-italic)
17371         (make-face-unitalic, make-face-bold-italic, invert-face)
17372         (modify-face, read-face-and-attribute): Use face-at-point.
17374         * cus-edit.el (customize-face, customize-face-other-window)
17375         * cus-theme.el (custom-theme-add-face)
17376         * face-remap.el (buffer-face-set)
17377         * facemenu.el (facemenu-set-face): Use face-at-point.
17379 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
17381         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17383 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
17385         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17386         off leading { and trailing } from field values.
17388 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17390         * emacs-lisp/timer.el (timer--check): New function.
17391         (timer--time, timer-set-function, timer-event-handler): Use it.
17392         (timer-set-idle-time): Simplify.
17393         (timer--activate): CSE.
17394         (timer-event-handler): Give more info in error message.
17395         (internal-timer-start-idle): New function, moved from C.
17397         * mpc.el (mpc-proc): Add `restart' argument.
17398         (mpc-proc-cmd): Use it.
17399         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17400         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17401         less often.
17403 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
17405         * progmodes/sh-script.el: Implement `sh-mode' own
17406         `add-log-current-defun-function' (bug#14112).
17407         (sh-current-defun-name): New function.
17408         (sh-mode): Use the function.
17410 2013-04-09  Bastien Guerry  <bzg@gnu.org>
17412         * simple.el (choose-completion-string): Fix docstring (bug#14163).
17414 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17416         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17418         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17419         timer (bug#14156).
17421 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
17423         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17424         declaration.
17426 2013-04-07  Leo Liu  <sdl.web@gmail.com>
17428         * pcmpl-x.el: New file.
17430 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
17432         Do not set x-display-name until X connection is established.
17433         This is needed to prevent from weird situation described at
17434         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17435         * frame.el (make-frame): Set x-display-name after call to
17436         window system initialization function, not before.
17437         * term/x-win.el (x-initialize-window-system): Add optional
17438         display argument and use it.
17439         * term/w32-win.el (w32-initialize-window-system):
17440         * term/ns-win.el (ns-initialize-window-system):
17441         * term/pc-win.el (msdos-initialize-window-system):
17442         Add compatible optional display argument.
17444 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
17446         * files.el (normal-backup-enable-predicate): On MS-Windows and
17447         MS-DOS compare truenames of temporary-file-directory and of the
17448         file, so that 8+3 aliases (usually found in $TEMP on Windows)
17449         don't fail comparison by compare-strings.  Also, compare file
17450         names case-insensitively on MS-Windows and MS-DOS.
17452 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17454         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17455         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17457 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
17459         * whitespace.el (whitespace-color-on, whitespace-color-off):
17460         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17462 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
17464         * ispell.el (ispell-set-spellchecker-params):
17465         Really set `ispell-args' for all equivs.
17467 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17469         * ido.el (ido-completions): Use extra elements of ido-decorations
17470         (bug#14143).
17471         (ido-decorations): Update docstring.
17473 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
17475         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17476         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
17477         nil during initialization, in order not to miss changes since the
17478         file was opened.  (Bug#14140)
17480 2013-04-05  Leo Liu  <sdl.web@gmail.com>
17482         * kmacro.el (kmacro-call-macro): Fix bug#14135.
17484 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
17486         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
17488 2013-04-04  Glenn Morris  <rgm@gnu.org>
17490         * electric.el (electric-pair-inhibit-predicate): Add :version.
17492 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17494         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
17495         when a package is required several times (bug#14082).
17497 2013-04-04  Roland Winkler  <winkler@gnu.org>
17499         * faces.el (read-face-name): Behave as promised by the docstring.
17500         Assume that arg default is a list of faces.
17501         (describe-face): Call read-face-name with list of default faces.
17503 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17505         * bookmark.el: Fix deletion of bookmarks (bug#13972).
17506         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
17507         (bookmark-bmenu-execute-deletions): Only skip first line if it's
17508         the header.
17509         (bookmark-exit-hook-internal): Save even if list is empty.
17511 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
17513         * emacs-lisp/package.el (package-pinned-packages): New var.
17514         (package--add-to-archive-contents): Obey it (bug#14118).
17516 2013-04-03  Alan Mackenzie  <acm@muc.de>
17518         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
17519         Also adapt to the new values of element 7 of a parse state.
17521         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
17522         parameter `not-in-delimiter'.  Handle being inside comment opener.
17523         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
17524         character in case we're typing a '*' after a '/'.
17525         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
17526         instead by passing the parameter to c-state-pp-to-literal.
17528         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
17529         for elt. 7 of a parse state.
17531 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
17533         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
17534         * international/latin1-disp.el, international/mule-util.el:
17535         * language/cyril-util.el, language/european.el, language/ind-util.el:
17536         * language/lao-util.el, language/thai.el, language/tibet-util.el:
17537         * language/tibetan.el, language/viet-util.el:
17538         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
17540 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17542         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
17543         (electric-pair-post-self-insert-function): Use it.
17544         (electric-pair-default-inhibit): New function, extracted from
17545         electric-pair-post-self-insert-function.
17547 2013-03-31  Roland Winkler  <winkler@gnu.org>
17549         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
17551 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17553         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
17555 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
17557         Un-indent after "pass" and "return" statements (Bug#13888)
17558         * progmodes/python.el (python-indent-block-enders): New var.
17559         (python-indent-calculate-indentation): Use it.
17561 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
17563         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
17564         defun.  Defining it as defalias could introduce too eager
17565         byte-compiler optimization.  (Bug#14030)
17567 2013-03-30  Chong Yidong  <cyd@gnu.org>
17569         * iswitchb.el (iswitchb-read-buffer): Fix typo.
17571 2013-03-30  Leo Liu  <sdl.web@gmail.com>
17573         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
17574         (kmacro-execute-from-register): Pass the keyboard macro to
17575         kmacro-call-macro or repeating won't work correctly.
17577 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
17579         * progmodes/subword.el: Back to using `forward-symbol'.
17581         * subr.el (forward-whitespace, forward-symbol)
17582         (forward-same-syntax): Move from thingatpt.el.
17584 2013-03-29  Leo Liu  <sdl.web@gmail.com>
17586         * kmacro.el (kmacro-to-register): New command.
17587         (kmacro-execute-from-register): New function.
17588         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
17590 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17592         * mpc.el: Use defvar-local and setq-local.
17593         (mpc--proc-connect): Connection failures are not bugs.
17594         (mpc-mode-map): `follow-link' only applies to the buffer's content.
17595         (mpc-volume-map): Bind to the up-events.
17597 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
17599         * progmodes/subword.el (superword-mode): Use `forward-sexp'
17600         instead of `forward-symbol'.
17602 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17604         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17605         (edebug--recursive-edit): Use it.
17606         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17607         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17609 2013-03-28  Leo Liu  <sdl.web@gmail.com>
17611         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
17613 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
17615         * facemenu.el (list-colors-callback): New defvar.
17616         (list-colors-redisplay): New function.
17617         (list-colors-display): Install list-colors-redisplay as the
17618         revert-buffer-function.  (Bug#14063)
17620 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17622         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17623         and suffixes don't overlap (bug#14061).
17625         * case-table.el: Use lexical-binding.
17626         (case-table-get-table): New function.
17627         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
17629 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
17631         * progmodes/subword.el: Add `superword-mode' to do word motion
17632         over symbol_words (parallels and leverages `subword-mode' which
17633         does word motion inside MixedCaseWords).
17635 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
17637         * eshell/em-unix.el: Move su and sudo to...
17638         * eshell/em-tramp.el: ...Eshell tramp module.
17640 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17642         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
17643         Change return value to be a sexp.  Delay `get-buffer' to after
17644         restoring the desktop (bug#13951).
17646 2013-03-26  Leo Liu  <sdl.web@gmail.com>
17648         * register.el: Move semantic tag handling back to
17649         cedet/semantic/senator.el.  (Bug#14052)
17651 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17653         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
17654         into the prompt either (bug#13963).
17656 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17658         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
17659         part of "(error-foo)".
17661 2013-03-24  Juri Linkov  <juri@jurta.org>
17663         * replace.el (list-matching-lines-prefix-face): New defcustom.
17664         (occur-1): Pass `list-matching-lines-prefix-face' to the function
17665         `occur-engine' if `face-differs-from-default-p' returns t.
17666         (occur-engine): Add `,' inside backquote construct to evaluate
17667         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
17668         Pass `prefix-face' to the functions `occur-context-lines' and
17669         `occur-engine-add-prefix'.
17670         (occur-engine-add-prefix, occur-context-lines): Add optional arg
17671         `prefix-face' and propertize the prefix with `prefix-face'.
17672         (Bug#14017)
17674 2013-03-24  Leo Liu  <sdl.web@gmail.com>
17676         * nxml/rng-valid.el (rng-validate-while-idle)
17677         (rng-validate-quick-while-idle): Guard against deleted buffer.
17678         (Bug#13999)
17680         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
17681         is the last entry in kill-buffer-hook.
17683         * files.el (kill-buffer-hook): Doc fix.
17685 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
17687         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
17688         Make it safe-local.
17690         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
17692 2013-03-23  Leo Liu  <sdl.web@gmail.com>
17694         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
17695         Remove.
17697         * nxml/rng-valid.el (rng-validate-mode)
17698         (rng-after-change-function, rng-do-some-validation):
17699         * nxml/rng-maint.el (rng-validate-buffer):
17700         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
17701         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
17702         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
17703         (nxml-extend-after-change-region): Use with-silent-modifications.
17705         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
17706         timer-idle-list.
17708         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
17709         (rng-next-error-1, rng-previous-error-1): Do not let-bind
17710         timer-idle-list.  (Bug#13999)
17712 2013-03-23  Juri Linkov  <juri@jurta.org>
17714         * info.el (info-index-match): New face.
17715         (Info-index, Info-apropos-matches): Add a nested subgroup to the
17716         main pattern and add text properties with the new face to matches
17717         in index entries relative to the beginning of the index entry.
17718         (Bug#14015)
17720 2013-03-21  Eric Ludlam  <zappo@gnu.org>
17722         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
17723         Inhibit read only while inserting objects.
17725 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
17727         * progmodes/cfengine.el: Update docs to mention
17728         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
17729         symbol motion.  Remove "_" from the word syntax.
17731 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
17733         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
17734         syntax for both `cfengine2-mode' and `cfengine3-mode'.
17736 2013-03-20  Juri Linkov  <juri@jurta.org>
17738         * info.el (Info-next-reference-or-link)
17739         (Info-prev-reference-or-link): New functions.
17740         (Info-next-reference, Info-prev-reference): Use them.
17741         (Info-try-follow-nearest-node): Handle footnote navigation.
17742         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
17744 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17746         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
17747         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
17749 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
17751         Suppress unnecessary non-ASCII chatter during build process.
17752         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
17753         (batch-skkdic-convert): Suppress most of the chatter.
17754         It's not needed so much now that machines are faster,
17755         and its non-ASCII component was confusing; see Dmitry Gutov in
17756         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
17758 2013-03-20  Leo Liu  <sdl.web@gmail.com>
17760         * ido.el (ido-chop): Fix bug#10994.
17762 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17764         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
17765         Remove vars.
17766         (whitespace-color-on, whitespace-color-off):
17767         Use `font-lock-fontify-buffer' (Bug#13817).
17769 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17771         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
17772         remapping in mode-line.
17773         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
17775 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17777         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
17778         value for `whitespace-line' face (Bug#13875).
17779         (whitespace-font-lock-keywords): Change description.
17780         (whitespace-color-on): Don't save `font-lock-keywords' value, save
17781         the constructed keywords instead.
17782         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
17784 2013-03-19  Leo Liu  <sdl.web@gmail.com>
17786         * progmodes/compile.el (compilation-display-error): New command.
17787         (compilation-mode-map, compilation-minor-mode-map): Bind it to
17788         C-o.  (Bug#13992)
17790 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17792         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
17794 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
17796         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
17798 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
17800         * net/tramp-compat.el (tramp-compat-user-error): New defun.
17802         * net/tramp-adb.el (tramp-adb-handle-shell-command):
17803         * net/tramp-gvfs.el (top):
17804         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
17805         (tramp-handle-shell-command): Use it.
17806         (tramp-dissect-file-name): Raise an error when hostname is a
17807         method name, and neither method nor user is specified.
17809         * net/trampver.el: Update release number.
17811 2013-03-18  Leo Liu  <sdl.web@gmail.com>
17813         Make sure eldoc can be turned off properly.
17814         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
17815         eldoc-mode.
17816         (eldoc-display-message-p): Revert last change.
17817         (eldoc-display-message-no-interference-p)
17818         (eldoc-print-current-symbol-info): Tweak.
17820 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
17822         * doc-view.el (doc-view-new-window-function): Check the new window
17823         overlay's display property instead the char property of the
17824         buffer's first char.  Use `with-selected-window' instead of
17825         `save-window-excursion' with `select-window'.
17826         (doc-view-document->bitmap): Check the current doc-view overlay's
17827         display property instead the char property of the buffer's first char.
17829 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17831         Automate the build of ja-dic.el (Bug#13984).
17832         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17833         from the input, rather than assume that it's been done for us by the
17834         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
17835         the current date into a ja-dic.el comment, as that complicates
17836         regression testing.
17838 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17840         * whitespace.el: Fix double evaluation.
17841         (whitespace-space, whitespace-hspace, whitespace-tab)
17842         (whitespace-newline, whitespace-trailing, whitespace-line)
17843         (whitespace-space-before-tab, whitespace-indentation)
17844         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17845         obsolete defvars.
17846         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17847         (whitespace-color-on): Use a single font-lock-add-keywords call.
17848         Fix double-evaluation of face variables.
17850 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
17852         * net/tramp-adb.el (tramp-adb-parse-device-names):
17853         Use `start-process' instead of `call-process'.  Otherwise, the
17854         function might be blocked under MS Windows.  (Bug#13299)
17856 2013-03-17  Leo Liu  <sdl.web@gmail.com>
17858         Extend eldoc to display info in the mode-line.  (Bug#13978)
17859         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17860         (eldoc-mode-line-string): New variable.
17861         (eldoc-minibuffer-message): New function.
17862         (eldoc-message-function): New variable.
17863         (eldoc-message): Use it.
17864         (eldoc-display-message-p)
17865         (eldoc-display-message-no-interference-p):
17866         Support eldoc-post-insert-mode.
17868         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17869         (eval-expression): Run it.
17871 2013-03-17  Roland Winkler  <winkler@gnu.org>
17873         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17874         strings in the list of return values.
17876 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17878         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17879         radix before checking for HMS forms.
17881 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17883         * progmodes/scheme.el: Add indentation and font-locking for λ.
17884         (Bug#13975)
17886 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17888         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17889         token before point (bug#13942).
17891 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17893         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
17895 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
17897         * startup.el (command-line-normalize-file-name): Fix handling of
17898         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
17899         <xfq.free@gmail.com> in
17900         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17902 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
17904         Sync with Tramp 2.2.7.
17906         * net/trampver.el: Update release number.
17908 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
17910         * doc-view.el: Fix bug#13887.
17911         (doc-view-insert-image): Don't modify overlay associated to
17912         non-live windows, and implement horizontal centering of image in
17913         case it's smaller than the window.
17914         (doc-view-new-window-function): Force redisplay of new windows on
17915         doc-view buffers.
17917 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
17919         * saveplace.el (save-place-alist-to-file): Don't sort
17920         `save-place-alist', just pretty-print it (bug#13882).
17922 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
17924         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17925         Check whether `default-file-name-coding-system' is bound.
17926         It isn't in XEmacs.
17928 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17930         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17931         backquotes for `obsolete' (bug#13929).
17933         * international/mule.el (find-auto-coding): Include file name in
17934         obsolescence warning (bug#13922).
17936 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
17938         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17939         for CFEngine 3-specific indentation.
17940         (cfengine3-indent-line): Use it.  Fix up category regex.
17941         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17943 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17945         * type-break.el (type-break-file-name):
17946         * textmodes/remember.el (remember-data-file):
17947         * strokes.el (strokes-file):
17948         * shadowfile.el (shadow-initialize):
17949         * saveplace.el (save-place-file):
17950         * ps-bdf.el (bdf-cache-file):
17951         * progmodes/idlwave.el (idlwave-config-directory):
17952         * net/quickurl.el (quickurl-url-file):
17953         * international/kkc.el (kkc-init-file-name):
17954         * ido.el (ido-save-directory-list-file):
17955         * emulation/viper.el (viper-custom-file-name):
17956         * emulation/vip.el (vip-startup-file):
17957         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17958         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17960 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
17962         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17963         * language/thai-word.el: Switch to UTF-8.
17965 See ChangeLog.16 for earlier changes.
17967 ;; Local Variables:
17968 ;; coding: utf-8
17969 ;; End:
17971   Copyright (C) 2011-2014 Free Software Foundation, Inc.
17973   This file is part of GNU Emacs.
17975   GNU Emacs is free software: you can redistribute it and/or modify
17976   it under the terms of the GNU General Public License as published by
17977   the Free Software Foundation, either version 3 of the License, or
17978   (at your option) any later version.
17980   GNU Emacs is distributed in the hope that it will be useful,
17981   but WITHOUT ANY WARRANTY; without even the implied warranty of
17982   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17983   GNU General Public License for more details.
17985   You should have received a copy of the GNU General Public License
17986   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.