Fix Bug#15408 (icalendar time zone problem)
[emacs.git] / lisp / ChangeLog
blobae2fcc5d11cbd9a279665e8c7dcbd686e162708a
1 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
3         * calendar/icalendar.el (icalendar--diarytime-to-isotime): 
4         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
5         (Bug#13750).
8 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10         * image-mode.el (image-toggle-display-image): Always rescale images
11         to not be bigger than the current window.
13 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
15         * net/eww.el (eww-bookmarks-directory): New variable.
16         (eww-write-bookmarks): Use it.
17         (eww-read-bookmarks): Ditto.
19 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21         * net/shr.el (shr-copy-url): Also copy the image URL.
23 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
25         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
26         also for Tramp working buffers.
28 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
30         * progmodes/python.el: Fix completions inside (i)pdb.
31         (python-shell-completion-pdb-string-code): Make obsolete.
32         (python-shell-completion-get-completions): Use
33         python-shell-completion-string-code resending setup code
34         continuously for (i)pdb.
36 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
38         * rect.el (rectangle--default-line-number-format): Rename
39         from misspelled rectange--default-line-number-format (Bug#18045).
40         All uses changed.
42 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
44         Don't mishandle year-9999 dates (Bug#18176).
45         * calendar/parse-time.el (parse-time-rules):
46         Allow years up to most-positive-fixnum.
47         * calendar/time-date.el (date-to-time):
48         Pass "Specified time is not representable" errors through.
50 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
52         * progmodes/python.el: Completion code cleanups.
53         (python-shell-completion-get-completions): Detect and send import
54         statements directly to completion function.
55         (python-shell-completion-at-point): Simplify prompt calculation
56         and import vs input completion logic.
58 2014-08-02  Alan Mackenzie  <acm@muc.de>
60         Fix confusion in C++ file caused by comma in "= {1,2},".  Bug
61         #17756.
62         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
63         for a statement boundary marked by "}", check there's no "="
64         before the "{".
65         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
66         non-nil `comma-delim' argument.
67         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
68         initializer expression more accurately.
70         Correct loop termination condition in c-syntactic-skip-backward.
71         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
72         the situation where, after moving back out of a literal,
73         skip-chars-backward doesn't move further, yet checks have still to
74         be done.
76 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
78         * tutorial.el (tutorial--display-changes): Accept punctuation
79         characters before the key binding.  (Bug#18146)
81 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
83         * progmodes/python.el: Shell output capture enhancements.
84         (python-shell-accept-process-output): New function.
85         (inferior-python-mode)
86         (python-shell-send-setup-code): Use it.
88 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
90         * calendar/icalendar.el (icalendar--decode-isodatetime): Use
91         actual current-time-zone when converting to local time. (Bug#15408)
93 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
95         * window.el (window--state-put-2): Handle horizontal scroll
96         bars, if present.
98 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
100         * menu-bar.el (menu-bar-update-buffers): Update item list format
101         in `buffers-menu' to confirm with changes to `get_keyelt'
102         (r117463).  (Bug#18016)
104 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
106         * progmodes/python.el (inferior-python-mode): Make input prompts
107         read-only.
109 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
111         * net/tramp-sh.el (tramp-get-remote-python): Also search for
112         executables named "python2" or "python3".
113         (tramp-get-remote-uid-with-python): Use parentheses around
114         arguments to `print' to make it compatible with Python 3.
115         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
117 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
119         * window.el (window--pixel-to-total): Use FRAME's root window, not
120         that of the selected frame.  (Bug#18112, Bug#16674)
122 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
124         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
125         (Bug#18117)
127 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
129         * progmodes/python.el (inferior-python-mode): Doc fix.
131 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
133         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
134         not a character, ignore it instead of raising an error.
136         * calendar/todo-mode.el: Fix handling of marked items and make
137         minor code improvements.
138         (todo-edit-item): If there are marked items, ensure user can only
139         invoke editing commands that work with marked items.
140         (todo-edit-item--text): When there are marked items, make it a
141         noop if invoked with point not on an item; otherwise, ensure it
142         applies only to item at point.
143         (todo-item-undone): If there are marked not-done items, return
144         point to its original position before signaling user error.
145         (todo--user-error-if-marked-done-item): New function.
146         (todo-edit-item--header, todo-edit-item--diary-inclusion)
147         (todo-item-done): Use it.
149 2014-07-28  Glenn Morris  <rgm@gnu.org>
151         * files.el (toggle-read-only): Re-add basic doc-string.
152         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
154         * progmodes/prolog.el (prolog-mode-keybindings-edit):
155         Replace missing `switch-to-prolog' with `run-prolog'.
156         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
158 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
160         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
161         of file-wide setting when changing category-wide setting.
163 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
165         * doc-view.el (doc-view-open-text): Don't require that the
166         document is saved in a file (e.g., email attachment).
168 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
170         Parse completion input in a iPython friendly way.  (Bug#18084)
171         * progmodes/python.el
172         (python-shell-completion-at-point): Rename from
173         python-shell-completion-complete-at-point.
174         (inferior-python-mode): Use it.
175         (python-completion-at-point): Rename from
176         python-completion-complete-at-point.  Parse input up to first
177         backward occurrence of whitespace, open-paren, close-paren or
178         string delimiter.
179         (python-mode): Use it.
181 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
183         Prevent Python process shell buffer to pop twice.
184         * progmodes/python.el (python-shell-switch-to-shell): Do not call
185         pop-to-buffer.
187 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
189         * progmodes/python.el
190         (python-shell-with-shell-buffer): New macro.
191         (python-shell-font-lock-get-or-create-buffer)
192         (python-shell-font-lock-kill-buffer)
193         (python-shell-font-lock-with-font-lock-buffer)
194         (python-shell-font-lock-cleanup-buffer)
195         (python-shell-font-lock-toggle): Use it.
196         (python-shell-font-lock-turn-on)
197         (python-shell-font-lock-turn-off): Use it.  Make command.
199 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
201         Grab all Python process output before inferior-python-mode hooks.
202         * progmodes/python.el (inferior-python-mode): Call
203         accept-process-output and sit-for to ensure all output for process
204         has been received before running hooks.
205         (python-shell-internal-get-or-create-process): Cleanup
206         accept-process-output and sit-for calls.
208 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
210         More robust shell startup and code setup.
211         * progmodes/python.el (python-shell-make-comint): Remove
212         accept-process-output call.
213         (python-shell-get-buffer): Return current buffer if major-mode is
214         inferior-python-mode.
215         (python-shell-get-or-create-process): Use it.
216         (python-shell-send-setup-code): Send all setup code in one string,
217         output success message and accept-process-output.
219 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
221         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll): Add
222         rudimentary support for bidirectional text.
224 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
226         * frame.el (frame-notice-user-settings): Rewrite using
227         frame-initial-frame-tool-bar-height.
228         * menu-bar.el (menu-bar-horizontal-scroll-bar)
229         (menu-bar-no-horizontal-scroll-bar): New functions.
230         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
231         scroll bars.
232         * scroll-bar.el (scroll-bar-lines)
233         (set-horizontal-scroll-bar-mode)
234         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
235         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
236         (scroll-bar-toolkit-horizontal-scroll): New functions.
237         (horizontal-scroll-bar-mode)
238         (previous-horizontal-scroll-bar-mode)
239         (horizontal-scroll-bar-mode-explicit): New variables.
240         (horizontal-scroll-bar-mode): New option.
241         (toggle-horizontal-scroll-bar): Do something.
242         (top-level): Bind horizontal-scroll-bar mouse-1.
243         * startup.el (tool-bar-originally-present): Remove variable.
244         (command-line): Don't set tool-bar-originally-present.
245         * window.el (window-min-height): Update doc-string.
246         (window--dump-frame): Dump horizontal scroll bar values.
247         (window--min-size-1): Handle minibuffer window separately.
248         Count in margins and horizontal scroll bar.  Return safe value
249         iff IGNORE equals 'safe.
250         (frame-windows-min-size): New function (used by frame resizing
251         routines).
252         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
253         scroll bars.
254         (window--sanitize-window-sizes): New function.
255         (window-split-min-size): Remove.
256         (split-window): Count divider-width.  Don't use
257         `window-split-min-size' any more.  Reword error messages.
258         Sanitize windows sizes after splitting.
260 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
262         Use `defvar-local' more.
263         * progmodes/hideshow.el
264         (hs-c-start-regexp, hs-block-start-regexp)
265         (hs-block-start-mdata-select, hs-block-end-regexp)
266         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
267         remove corresponding `make-variable-buffer-local' top-level calls.
269 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
271         Cleanup error signals.  (Bug#18067)
272         * progmodes/python.el
273         (python-indent-shift-left): Use user-error instead.
274         (python-shell-prompt-detect): Use lwarn with python group.
275         (python-completion-complete-at-point)
276         (python-eldoc--get-doc-at-point): Don't signal error.
278 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
280         Support for packages in Python shell.  (Bug#13570)
281         * progmodes/python.el (python-shell--package-depth): New var.
282         (python-shell-package-enable): New command.
283         (python-util-list-directories, python-util-list-files)
284         (python-util-list-packages): New functions.
286 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
288         Faster comint output.  (Bug#16875)
289         * progmodes/python.el:
290         (python-comint-output-filter-function): Make obsolete.
291         (python-comint-postoutput-scroll-to-bottom): New function.
292         (inferior-python-mode): Set comint-output-filter-functions to a
293         minimum.
295 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
297         * progmodes/python.el (python-shell-font-lock-post-command-hook):
298         Safeguard current point and undo history.
300 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
302         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
303         * progmodes/python.el:
304         (python-shell-prompt-input-regexps): Add iPython block prompt.
305         (python-shell-output-syntax-table): Delete var.
306         (python-shell-font-lock-with-font-lock-buffer): New macro.
307         (python-shell-font-lock-get-or-create-buffer)
308         (python-shell-font-lock-kill-buffer)
309         (python-shell-font-lock-cleanup-buffer)
310         (python-shell-font-lock-post-command-hook)
311         (python-shell-font-lock-turn-off): New functions.
312         (python-shell-font-lock-turn-on): New function.
313         (inferior-python-mode): Use it.
314         (python-shell-font-lock-toggle): New command.
315         (python-shell-font-lock-enable): Rename from
316         python-shell-enable-font-lock.
317         (run-python-internal): Use it.
318         (python-shell-font-lock-comint-output-filter-function): New function.
319         (python-shell-comint-end-of-output-p): New function.
320         (python-shell-output-filter): Use it.
321         (python-util-comint-last-prompt): New function.
322         (python-util-text-properties-replace-name): New function.
324 2014-07-25  Glenn Morris  <rgm@gnu.org>
326         * vc/ediff-init.el (ediff-toggle-read-only-function):
327         * vc/ediff-util.el (ediff-toggle-read-only):
328         Replace obsolete toggle-read-only with read-only-mode.
330 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
332         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
333         with `save-match-data'.  (Bug#18095)
335 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
337         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
338         order to ensure that row and col are lexically bound inside the
339         evaluated sexp.
341 2014-07-21  Glenn Morris  <rgm@gnu.org>
343         * progmodes/hideif.el (hide-ifdef-mode-submap):
344         Also substitute read-only-mode.
345         * bindings.el (mode-line-toggle-read-only):
346         * bs.el (bs-toggle-readonly):
347         * buff-menu.el (Buffer-menu-toggle-read-only):
348         * dired.el (dired-toggle-read-only):
349         * files.el (view-read-only, find-file-read-only)
350         (find-file-read-only-other-window)
351         (find-file-read-only-other-frame):
352         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
353         Doc fixes re toggle-read-only.
355 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
357         * progmodes/python.el: Add comment about pipe buffering and
358         solutions for missing/delayed output in inferior Python shells.
359         (Bug#17304)
361         * progmodes/python.el (python-mode): Don't set
362         mode-require-final-newline.  (Bug#17990)
364         Make python.el work with IPython automatically.  (Bug#15510)
365         * progmodes/python.el:
366         (python-shell-completion-setup-code): New value supporting iPython.
367         (python-shell-completion-string-code): New value supporting iPython.
368         (python-shell-completion-get-completions): Use them.
369         (python-shell-completion-module-string-code): Make obsolete.
370         (python-shell-prompt-input-regexps)
371         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
372         (python-shell-output-filter): Fix comment typo.
374         Fix Python shell prompts detection for remote hosts.
375         * progmodes/python.el (python-shell-prompt-detect): Replace
376         call-process with process-file and make it more robust.
378         Autodetect Python shell prompts.  (Bug#17370)
379         * progmodes/python.el:
380         (python-shell-interpreter-interactive-arg)
381         (python-shell-prompt-detect-enabled)
382         (python-shell-prompt-detect-failure-warning)
383         (python-shell-prompt-input-regexps)
384         (python-shell-prompt-output-regexps): New vars.
385         (python-shell-prompt-calculated-input-regexp)
386         (python-shell-prompt-calculated-output-regexp): New vars.
387         (python-shell-get-process-name)
388         (python-shell-internal-get-process-name)
389         (python-shell-output-filter)
390         (python-shell-completion-get-completions): Use them.
391         (python-shell-prompt-detect)
392         (python-shell-prompt-validate-regexps): New functions.
393         (python-shell-prompt-set-calculated-regexps): New function.
394         (inferior-python-mode): Use it.  Also honor overriden
395         python-shell-interpreter and python-shell-interpreter-args.
396         (python-shell-make-comint): Honor overriden
397         python-shell-interpreter and python-shell-interpreter-args.
398         (python-shell-get-or-create-process): Make it testable by allowing
399         to call run-python non-interactively.
400         (python-util-valid-regexp-p): New function.
401         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
402         (python-shell-prompt-output-regexp)
403         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
405 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
407         * emacs-lisp/smie.el (smie-config--guess-1): Split from
408         smie-config--guess.
409         (smie-config--guess): Use it.
411         * emacs-lisp/edebug.el: Use nadvice.
412         (edebug-original-read): Remove.
413         (edebug--read): Rename from edebug-read and add `orig' arg.
414         (edebug-uninstall-read-eval-functions)
415         (edebug-install-read-eval-functions): Use nadvice.
416         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
417         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
418         (edebug-read-string, edebug-read-function): Use just `read'.
419         (edebug-original-debug-on-entry): Remove.
420         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
421         `orig' arg.
422         (debug-on-entry): Override with nadvice.
424         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
425         it also makes sense to bind it to a non-mouse event.
427         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
429 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
431         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
432         (bug#18015).
434         * rect.el (rectangle--string-preview): Don't assume there
435         a non-nil default (bug#17984).
437 2014-07-16  Glenn Morris  <rgm@gnu.org>
439         * desktop.el (after-init-hook): Disable startup frame restoration
440         in non-graphical situations.  (Bug#17693)
442         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
443         if it was "empty", or used for a different set of files.  (Bug#17884)
445 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
447         * bindings.el (mode-line-remote): If default-directory is not a
448         string, don't call file-remote-p on it; instead state in the
449         help-echo that it is nil.  (Bug#17986)
451 2014-07-14  Daniel Colascione  <dancol@dancol.org>
453         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
454         to `macroexpand-all'
456         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
457         Use `macroexpand-all' instead of `cl-macroexpand-all'.
459 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
461         Fix bug: C-x v v discarded existing log message (Bug#17884).
462         * vc/vc-dispatcher.el (vc-log-edit):
463         Don't clobber an already-existing log message.
465 2014-07-12  Glenn Morris  <rgm@gnu.org>
467         * vc/log-edit.el (log-edit-changelog-entries):
468         Check for a visited-but-never-saved ChangeLog.
470 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
472         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
473         a non-existing file (bug#17970).
475         * faces.el (face-name): Undo last change.
476         (x-resolve-font-name): Don't call face-name (bug#17956).
478 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
480         Fix dedenters and electric colon handling. (Bug#15163)
481         * progmodes/python.el
482         (python-rx-constituents): Add dedenter and block-ender.
483         (python-indent-dedenters, python-indent-block-enders): Delete.
484         (python-indent-context): Return new case for dedenter-statement.
485         (python-indent-calculate-indentation): Handle new case.
486         (python-indent-calculate-levels): Fix levels calculation for
487         dedenter statements.
488         (python-indent-post-self-insert-function): Fix colon handling.
489         (python-info-dedenter-opening-block-message): New function.
490         (python-indent-line): Use it.
491         (python-info-closing-block)
492         (python-info-closing-block-message): Remove.
493         (python-info-dedenter-opening-block-position)
494         (python-info-dedenter-opening-block-positions)
495         (python-info-dedenter-statement-p): New functions.
497 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
499         * files.el (out-of-memory-warning-percentage): New defcustom.
500         (warn-maybe-out-of-memory): Use it.
502 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
504         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
505         when calling `read-string'.  (Bug#17839)
507 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
509         * files.el (warn-maybe-out-of-memory): Fix the wording of the
510         warning.
512 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
514         * files.el (warn-maybe-out-of-memory): New function.
515         (find-file-noselect): Use it.
517 2014-07-09  Sam Steingold  <sds@gnu.org>
519         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
520         `constant' like `bless', `return' &c
522 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
524         * rect.el (apply-on-rectangle): Check forward-line really moved to the
525         next line.
527 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
529         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
530         the middle of a line (bug#17896).
532 2014-07-09  Juri Linkov  <juri@jurta.org>
534         * startup.el (command-line): Append displaying the warning about
535         the errors in the init file to the end of `after-init-hook'.
536         (Bug#17927)
538         * faces.el (face-name): Return input arg `face' as-is
539         when it's not a symbol.
540         (x-resolve-font-name): Don't check if the face is a symbol.
541         (Bug#17956)
543         * facemenu.el (list-colors-print): In help-echo format use %.2f
544         instead of %d because now HSV values are floating-point components
545         between 0.0 and 1.0.
547 2014-07-09  Glenn Morris  <rgm@gnu.org>
549         * emulation/cua-rect.el (cua--activate-rectangle):
550         Avoid setting cua--rectangle to nil.  (Bug#17877)
552 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
554         * calendar/todo-mode.el: Fix wrong-type-argument error when
555         marking multiple consecutive items.
556         (todo-toggle-mark-item): Don't try to mark the empty lines at the
557         end of the todo and done items sections.  Note in doc string that
558         items marked by passing a numeric prefix argument can include the
559         last todo and first done items.
560         (todo-mark-category): Don't try to mark the empty line between the
561         todo and done items sections.
563 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
565         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
566         proper Lisp quoting (bug#17934).
568         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
569         require-final-newline since prog-mode already took care of it (bug#17947).
571 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
573         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
574         refer to the Todo mode Info manual.  Update the comment on
575         requiring cl-lib.
576         (todo-find-filtered-items-file): Add todo-prefix overlays.
577         (todo-filter-items): Reorder a let-bound variable to avoid a
578         wrong-type-argument error on canceling the file choice dialog.
580 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
582         * progmodes/octave.el (inferior-octave-mode):
583         Set comint-input-ring-size to a number (bug#17912).
585 2014-07-09  Juri Linkov  <juri@jurta.org>
587         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
588         and `isearch-mode' associated with nil.  (Bug#17849)
590 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
592         * linum.el (linum--face-height): New function (bug#17813).
593         (linum-update-window): Use it to adjust margin to linum's width.
595         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
596         * eshell/em-smart.el (eshell-smart-scroll-window): Use
597         with-selected-window.
599         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
600         Remove also pointless window&mark manipulation.
602         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
603         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
604         (perl-continuation-line-p): Don't skip over anything else than labels.
605         Return the previous char.
606         (perl-calculate-indent): Use syntax-ppss instead of parse-start
607         and update callers accordingly.  For continuation lines, check the
608         the case of array hashes.
609         (perl-backward-to-noncomment): Make it non-interactive.
610         (perl-backward-to-start-of-continued-exp): Rewrite.
612 2014-07-08  Sam Steingold  <sds@gnu.org>
614         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
615         New user commands.
617 2014-07-08  Juri Linkov  <juri@jurta.org>
619         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
620         (vc-annotate-color-map): Use less saturated colors (20%) for
621         background-mode.
622         (vc-annotate-very-old-color): Add default value for background-mode.
623         (vc-annotate-background): Set default value to nil since now text on
624         the default backgrounds should be legible in light and dark modes.
625         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
626         (Bug#17808)
628 2014-07-08  Juri Linkov  <juri@jurta.org>
630         * simple.el (transpose-chars): Don't move point into read-only area.
631         (Bug#17829)
633 2014-07-08  Juri Linkov  <juri@jurta.org>
635         * window.el (with-displayed-buffer-window): New macro.
636         (with-temp-buffer-window, with-current-buffer-window):
637         Use `macroexp-let2' to evaluate and bind variables
638         in the same order as macro arguments.
639         (display-buffer--action-function-custom-type):
640         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
642         * minibuffer.el (minibuffer-completion-help): Replace
643         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
644         with actions that display *Completions* at-bottom when called
645         from the minibuffer, or below-selected in a normal buffer.
646         Associate `window-height' with `fit-window-to-buffer'.
647         Let-bind `pop-up-windows' to nil.
649         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
650         instead of `with-current-buffer-window'.  (Bug#17809)
652 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
654         * progmodes/hideif.el (hide-ifdef-env): Change to global.
655         (hide-ifdef-env-backup): New variable.
656         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
657         New customizable variables.
658         (hif-clear-all-ifdef-defined): New defun.
659         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
660         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
661         (hif-tokenize): Fix for MS-DOS/Win EOL style.
662         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
663         Fix bug to hide the correct #elif region(s).
664         (hif-range-elif): New defun.
665         (hif-recurse-level): New var.
666         (hif-evaluate-region, hif-evaluate-macro): New defun.
667         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
668         fully hidden.
669         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
670         Better interaction.
672 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
674         * net/dbus.el (dbus-peer-handler): New defun.
675         (dbus-register-service): Register it.  (Bug#17858)
676         (dbus-managed-objects-handler): Fix docstring.
678 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
680         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
681         (narrow-to-defun): New arg include-comments, defaulting to it
682         (bug#16328).
684 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
686         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
687         different calling convention to rectangle--unhighlight-for-redisplay.
689 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
691         * net/tramp.el (tramp-call-process): Handle error strings.
693         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
695         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
696         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
698         * net/trampver.el: Update release number.
700 2014-07-03  Juri Linkov  <juri@jurta.org>
702         * desktop.el (desktop-save): Rename arg `auto-save' to
703         `only-if-changed'.  Doc fix.  (Bug#17873)
705 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
707         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
708         Use insert-for-yank (bug#17271).
710 2014-07-03  Leo Liu  <sdl.web@gmail.com>
712         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
713         Support lexical-binding.
715 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
717         * vc/log-edit.el (log-edit-goto-eoh): New function.
718         (log-edit--match-first-line): Use it (bug#17861).
720 2014-07-03  Glenn Morris  <rgm@gnu.org>
722         * vc/log-edit.el (log-edit-hook): Add missing :version.
724 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
726         * progmodes/python.el (python-indent-post-self-insert-function):
727         Enhancements to electric indentation behavior inside
728         parens. (Bug#17658)
730 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
732         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
733         buffer-invisibility-spec (bug#17867).
735 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
737         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
738         pass "-a".
740 2014-07-03  Glenn Morris  <rgm@gnu.org>
742         * cus-edit.el (help):
743         * finder.el (finder-known-keywords):
744         * help.el (help-for-help-internal):
745         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
746         (ediff-redraw-registry-buffer):
747         * vc/ediff-ptch.el (ediff-patch-file-internal):
748         Doc fixes re "online" help.  (Bug#17803)
750         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
751         (idlwave-mode): Doc URL update.
753 2014-07-01  Juri Linkov  <juri@jurta.org>
755         * man.el: Display man pages immediately and use process-filter
756         to format them asynchronously.
757         (Man-width): Doc fix.
758         (man): Doc fix.
759         (Man-start-calling): Use `with-selected-window' to get
760         `frame-width' and `window-width'.
761         (Man-getpage-in-background): Call `Man-notify-when-ready'
762         immediately after creating a new buffer.  Call `Man-mode' and set
763         `mode-line-process' in the created buffer.  Set process-filter to
764         `Man-bgproc-filter' in start-process branch.  In call-process branch
765         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
766         Use `Man-start-calling' inside `with-current-buffer'.
767         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
768         (Man-cleanup-manpage): Don't print messages.
769         (Man-bgproc-filter): New function.
770         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
771         user moved it during asynchronous formatting.  Move calls of
772         `Man-fontify-manpage' and `Man-cleanup-manpage' to
773         `Man-bgproc-filter'.  Move the call of `Man-mode' to
774         `Man-getpage-in-background'.  Use `quit-restore-window'
775         instead of `kill-buffer'.  Use `message' instead of `error'
776         because errors are caught by process sentinel.
777         (Man-mode): Move calls of `Man-build-page-list',
778         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
779         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
781         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
782         for the message about the man page cleaned up.
784 2014-07-01  Mario Lang  <mlang@delysid.org>
786         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
787         cosutomization option `gnutls-verify-error'.
789 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
791         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
792         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
794         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
795         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
796         is suspended (bug#17857).
798 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
800         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
801         Prefer utf-8 coding.  (Bug#17859)
803 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
805         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
806         for `reverse'.
808 2014-06-30  Glenn Morris  <rgm@gnu.org>
810         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
811         (autoload-ensure-default-file): Maybe make existing output writable.
812         * Makefile.in (AUTOGEN_VCS): Remove.
813         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
815 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
817         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
819 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
821         New if-let, when-let, thread-first and thread-last macros.
823         * emacs-lisp/subr-x.el
824         (internal--listify, internal--check-binding)
825         (internal--build-binding-value-form, internal--build-binding)
826         (internal--build-bindings): New functions.
827         (internal--thread-argument, thread-first, thread-last)
828         (if-let, when-let): New macros.
830 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
832         * net/rcirc.el (rcirc-buffer-process): Restore previous
833         behaviour.  (Bug#17772)
835 2014-06-29  Alan Mackenzie  <acm@muc.de>
837         Don't call c-parse-state when c++-template-syntax-table is active.
838         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
839         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
840         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
842 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
844         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
845         account for file-wide setting of todo-top-priorities-overrides.
846         Make code a bit cleaner.
848 2014-06-28  Glenn Morris  <rgm@gnu.org>
850         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
852 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
854         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
855         category-wide setting of todo-top-priorities-overrides, check for
856         a file-wide setting and fontify accordingly.
858 2014-06-28  Glenn Morris  <rgm@gnu.org>
860         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
862 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
864         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
866 2014-06-28  K. Handa  <handa@gnu.org>
868         Fix Bug#17739.
870         * composite.el: Setup composition-function-table for dotted circle.
871         (compose-gstring-for-dotted-circle): New function.
873         * international/characters.el: Add category "^" to all
874         non-spacing characters.
876 2014-06-28  Glenn Morris  <rgm@gnu.org>
878         * Makefile.in (doit): Remove force rule.
879         (custom-deps, finder-data, autoloads, update-subdirs)
880         (compile-one-process): PHONY targets do not need force rules.
882         * Makefile.in (compile-main, compile, compile-always):
883         No need to explicitly pass variables to ourself in recursive calls.
885 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
887         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
889 2014-06-26  Glenn Morris  <rgm@gnu.org>
891         * Makefile.in (update-authors): Update for moved authors.el.
893 2014-06-26  Leo Liu  <sdl.web@gmail.com>
895         * skeleton.el (skeleton-end-hook): Default to nil and move the
896         work to skeleton-insert.  (Bug#17850)
898 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
900         * calc/calc-alg.el (math-beforep):
901         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
902         Simplify because string-lessp can accept symbols as args.
904 2014-06-26  Daiki Ueno  <ueno@gnu.org>
906         * emacs-lisp/package.el (package--check-signature):
907         If package-check-signature is allow-unsigned, don't signal error when
908         we can't verify signature because of missing public key
909         (bug#17625).
911 2014-06-26  Glenn Morris  <rgm@gnu.org>
913         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
914         Remove outdated declaration.
916         * emacs-lisp/authors.el (authors-valid-file-names)
917         (authors-renamed-files-alist): Additions.
919 2014-06-26  Leo Liu  <sdl.web@gmail.com>
921         * textmodes/picture.el (picture-set-tab-stops):
922         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
923         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
925         * progmodes/asm-mode.el (asm-calculate-indentation):
926         Use indent-next-tab-stop.
928         * indent.el (indent-accumulate-tab-stops): New function.
930 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
932         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
933         (package-desc-status): Obey it.
935 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
937         * calendar/todo-mode.el: Fix two bugs.
938         (todo-insert-item--basic): If user cancels item insertion to
939         another category before setting priority, show original category
940         whether it is in the same or a different file.
941         (todo-set-item-priority): After selecting category, instead of
942         moving point to top, which extends an active region, restore it.
944 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
946         * help-fns.el (describe-function-1): Check file-name is a string before
947         calling help-fns--autoloaded-p (bug#17564).
949 2014-06-26  Juri Linkov  <juri@jurta.org>
951         * desktop.el (desktop-auto-save-enable)
952         (desktop-auto-save-disable): New functions.
953         (desktop-save-mode, desktop-auto-save-timeout): Use them.
954         (desktop-read): Disable the autosave before loading the desktop,
955         and enable afterwards.  (Bug#17351)
957 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
959         Fix some indentation problem with \; and pipes (bug#17842).
960         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
961         (sh-smie--default-forward-token, sh-smie--default-backward-token):
962         New functions.
963         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
964         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
965         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
967 2014-06-26  Glenn Morris  <rgm@gnu.org>
969         * emacs-lisp/find-func.el (find-function-C-source-directory):
970         Use file-accessible-directory-p.
972         * ps-samp.el: Make it slightly less awful.
973         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
974         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
975         Only set local values.
976         (ps-article-subject, ps-article-author): Use standard functions
977         like mail-fetch-field.
978         (ps-info-file, ps-info-node): Use match-string.
979         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
980         (ps-samp-ps-setup): ... new function.
982         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
983         Optimize away code unneeded on any modern Emacs.
985         * emacs-lisp/authors.el: Move to ../admin.
987         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
989 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
991         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
992         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
993         performance enhancements.
994         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
995         expansion.
996         (hif-factor, hif-string-concatenation, intern-safe): Support string
997         concatenation and argumented macro expansion.
998         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
999         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1000         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1001         (hif-canonicalize-tokens, hif-place-macro-invocation)
1002         (hif-parse-macro-arglist): Mostly new functions for supporting
1003         argumented macro expansion.
1004         (hif-string-concatenation, hif-stringify, hif-token-concat)
1005         (hif-token-stringification, hif-token-concatenation):
1006         Stringification and concatenation.
1007         (hif-find-next-relevant): Fix comments.
1008         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1009         some cases involving #elif.
1010         (hif-find-define, hif-add-new-defines): New functions for automatically
1011         scanning of defined symbols.
1012         (hide-ifdef-guts): Fix for defined symbol auto scanning.
1013         (hide-ifdef-undef): Fix behavior to match CPP.
1015 2014-06-25  Glenn Morris  <rgm@gnu.org>
1017         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1018         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1019         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1020         files.  They are not relevant to the original issue (bug#1004),
1021         and cause unnecessary recompilation (bug#2151).
1023 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1025         * play/landmark.el: Use lexical-binding and avoid `intangible'.
1026         (landmark--last-pos): New var.
1027         (landmark--intangible-chars): New const.
1028         (landmark--intangible): New function.
1029         (landmark-mode, landmark-move): Use it.
1030         (landmark-mode): Remove properties.
1031         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1032         (landmark-cross-qtuple):
1033         Don't worry about `intangible' any more.
1034         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1035         (landmark-init-display): Don't set `intangible' and `point-entered'.
1036         (square): Remove.  Inline it instead.
1037         (landmark--distance): Rename from `distance'.
1038         (landmark-calc-distance-of-robot-from): Rename from
1039         calc-distance-of-robot-from.
1040         (landmark-calc-smell-internal): Rename from calc-smell-internal.
1042 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
1044         * files.el (dir-locals-find-file, file-relative-name):
1045         * info.el (Info-complete-menu-item):
1046         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1047         to compare-strings to avoid out-of-range errors.
1048         * subr.el (string-prefix-p): Adjust to match strict range
1049         checking in compare-strings.
1051 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
1053         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1054         for comment lines non-greedy and stopping at newlines to fix stack
1055         overflows with large files.
1057 2014-06-24  Eli Barzilay  <eli@barzilay.org>
1059         * calculator.el (calculator-last-input): Drop 'ascii-character property
1060         lookup.
1062 2014-06-24  Leo Liu  <sdl.web@gmail.com>
1064         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1065         tab-stop-list to nil.  (Bug#16381)
1067         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1068         (indent-rigidly-left-to-tab-stop)
1069         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1070         (move-to-tab-stop): Change callers.
1072 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1074         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1075         wrt behavior of \n as the first/last element of a skeleton.
1077 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
1079         * net/tramp-adb.el (tramp-adb-handle-process-file):
1080         * net/tramp-sh.el (tramp-sh-handle-process-file):
1081         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1082         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1084 2014-06-24  Glenn Morris  <rgm@gnu.org>
1086         * play/landmark.el (landmark-move-down, landmark-move-up):
1087         Fix 2007-10-20 change - preserve horizontal position.
1089 2014-06-23  Sam Steingold  <sds@gnu.org>
1091         * simple.el (kill-append): Remove undo boundary depending on ...
1092         (kill-append-merge-undo): New user option.
1094 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1096         * simple.el (handle-shift-selection, exchange-point-and-mark)
1097         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1098         (transient-mark-mode): Use&set the global value.
1099         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1100         * emulation/edt.el (edt-emulation-off): Save&restore the global
1101         transient-mark-mode setting.
1102         * obsolete/pc-select.el (pc-selection-mode): Use the
1103         transient-mark-mode function.
1105 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
1107         * international/fontset.el (script-representative-chars):
1108         Add representative characters for scripts added in Unicode 7.0.
1109         (otf-script-alist): Synchronize with the latest registry of OTF
1110         script tags.
1112         * international/characters.el (char-script-table): Update for
1113         scripts added and codepoint ranges changed in Unicode 7.0.
1115 2014-06-23  Eli Barzilay  <eli@barzilay.org>
1117         * calculator.el (calculator-standard-displayer): Fix bug in use of
1118         `calculator-groupize-number'.
1119         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1120         `eval' code, so it works in v24.3.1 too.
1121         (calculator-last-input): Comment to clarify purpose.
1123 2014-06-22  Mario Lang  <mlang@delysid.org>
1125         * textmodes/rst.el (rst-comment-region): From from -> from.
1127         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1129 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
1131         * electric.el (electric-layout-post-self-insert-function):
1132         * emacs-lisp/ert.el (ert--insert-infos):
1133         * obsolete/vi.el (vi-set-mark):
1134         * term.el (term-handle-scroll):
1135         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1136         * wid-edit.el (widget-editable-list-value-create):
1137         Prefer point-marker to copy-marker of point.
1139 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1141         Fix completion retrieval parsing (bug#17209).
1142         * progmodes/python.el (python-mode):
1143         (python-util-strip-string): New function.
1144         (python-shell-completion-get-completions): Use it.
1146 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1148         * skeleton.el (skeleton-insert): Fix last change.
1150 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1152         Enhancements for outline integration (bug#17796).
1153         * progmodes/python.el (python-mode): Properly set
1154         outline-heading-end-regexp so that comments after colons for
1155         defuns are supported.
1157 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1159         * skeleton.el (skeleton-insert): Doc fix.
1161 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1163         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1164         (smie-config-guess): Use smie-config-local so the rules are obeyed
1165         (bug#17818).
1167         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1168         since it's already done inside the loop (bug#17819).
1170 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
1172         * mouse.el (mouse-drag-line): Re-remove code initially removed
1173         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1174         (Bug#17819).
1176 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1178         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1179         align with the surrounding parent (bug#17721).
1181 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1183         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1184         locally to nil.
1185         (texinfo-insert-block, texinfo-insert-@end)
1186         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1187         local setting of skeleton-end-newline by adding an explicit \n to
1188         the skeletons where appropriate.  (Bug#17801)
1190 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1192         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1193         (smie-indent--hanging-p): Use it.
1194         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1196 2014-06-21  Leo Liu  <sdl.web@gmail.com>
1198         * simple.el (read-quoted-char): Don't let help chars pop up help
1199         buffer.  (Bug#16617)
1201 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1203         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1204         for | (bug#17621).
1206         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1207         Drop unknown events instead of burping.
1209 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1211         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1212         and later.  (Bug#17790)
1214 2014-06-21  Juri Linkov  <juri@jurta.org>
1216         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1217         to `soft'.  (Bug#17554)
1219 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1221         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1222         (bug#17737).
1224 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1226         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1227         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1229 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
1231         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1232         `unread-command-events'.
1234 2014-06-19  William Xu  <william.xwl@gmail.com>
1236         * progmodes/hideif.el (hif-string-to-number): Don't return float for
1237         hex integer constants (bug#17807).
1239 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1241         * international/mule-util.el (truncate-string-ellipsis): New var.
1242         (truncate-string-to-width): Use it.
1244 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
1246         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1247         (lisp-string-in-doc-position-p): New function, extracted from
1248         lisp-font-lock-syntactic-face-function.
1249         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1251 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
1253         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
1255 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1257         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1258         (bubbles--game-over): Don't add `intangible' properties since they
1259         didn't work anyway.
1261 2014-06-18  Juri Linkov  <juri@jurta.org>
1263         * vc/ediff-init.el (ediff-current-diff-Ancestor)
1264         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1265         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1266         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1267         Add `min-colors 88' version with removed black/white foregrounds.
1268         (Bug#10181)
1270 2014-06-18  Juri Linkov  <juri@jurta.org>
1272         * vc/diff-mode.el (diff-changed): Empty face definition to use
1273         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
1274         (diff-context): Use darker color on light background and
1275         lighter color on dark background.
1277 2014-06-18  Juri Linkov  <juri@jurta.org>
1279         * vc/diff-mode.el (diff-refine-changed): Rename from
1280         `diff-refine-change' for consistency with `diff-changed'.
1281         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
1283         * vc/smerge-mode.el (smerge-refined-changed): Rename from
1284         `smerge-refined-change'.
1285         (smerge-refined-change): Add obsolete face alias.
1287 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1289         * rect.el (rectangle-preview): New custom.
1290         (rectangle): New group.
1291         (rectangle--pos-cols): Add `window' argument.
1292         (rectangle--string-preview-state, rectangle--string-preview-window):
1293         New vars.
1294         (rectangle--string-flush-preview, rectangle--string-erase-preview)
1295         (rectangle--space-to, rectangle--string-preview): New functions.
1296         (string-rectangle): Use them.
1297         (rectangle--inhibit-region-highlight): New var.
1298         (rectangle--highlight-for-redisplay): Obey it.  Make sure
1299         `apply-on-region' uses the point-crutches of the right window.
1300         Use :align-to rather than multiple spaces.
1302 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
1304         * ruler-mode.el (ruler-mode-window-col)
1305         (ruler-mode-mouse-set-left-margin)
1306         (ruler-mode-mouse-set-right-margin): Fix calculation of column
1307         from mouse position (Bug#17768).
1309 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
1311         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1312         without varname or rhs causes crash.
1313         (dun-ftp): Fix bug where blank ftp password is allowed, making it
1314         impossible to win endgame.
1315         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1316         rlogin is anymore.
1317         (dun-help): Bump version number; update contact info.
1319 2014-06-15  Eli Barzilay  <eli@barzilay.org>
1321         * calculator.el (calculator-prompt, calculator-remove-zeros)
1322         (calculator-mode-hook, calculator-operators, calculator-stack)
1323         (calculator-mode): Tweak docstring.
1324         (calculator-user-operators): Tweak docstring, fix a bug in the last
1325         example.
1326         (calculator-displayer): `std' case has an optional boolean.
1327         (calculator-displayers): Use the new boolean to group in decimal mode.
1328         (calculator-mode-map, calculator, calculator-message)
1329         (calculator-op-arity, calculator-add-operators)
1330         (calculator-string-to-number, calculator-displayer-prev)
1331         (calculator-displayer-next, calculator-remove-zeros)
1332         (calculator-eng-display, calculator-number-to-string)
1333         (calculator-update-display, calculator-last-input)
1334         (calculator-clear-fragile, calculator-digit, calculator-decimal)
1335         (calculator-exp, calculator-saved-move, calculator-clear)
1336         (calculator-copy, calculator-put-value, calculator-help)
1337         (calculator-expt, calculator-truncate): Minor code improvements.
1338         (calculator-need-3-lines): New function pulling out code from
1339         `calculator'.
1340         (calculator-get-display): Rename from `calculator-get-prompt', and
1341         improved.
1342         (calculator-push-curnum): Rename from `calculator-curnum-value', and
1343         extended for all uses of it.  All callers changed.
1344         (calculator-groupize-number): New utility for splitting a number into
1345         groups.
1346         (calculator-standard-displayer): Improve code, new optional argument to
1347         use comma-split groups, make second argument optional too to use with
1348         'left/'right inputs.  All callers changed.
1349         (calculator-reduce-stack-once): New utility, doing the meat of what
1350         `calculator-reduce-stack' used to do, much improved (mostly using
1351         `pcase' for conciseness and clarity).
1352         (calculator-reduce-stack): Now doing just the reduction loop using
1353         `calculator-reduce-stack-once'.
1354         (calculator-funcall): Improve code, make it work in v24.3.1 too.
1355         (calculator-last-input): Improve code, remove some old cruft.
1356         (calculator-quit): Kill `calculator-buffer' in electric mode too.
1357         (calculator-integer-p): Remove.
1358         (calculator-fact): Improve code, make it work on non-integer values
1359         too (using truncated numbers).
1361 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1363         Sync with Tramp 2.2.10.
1365         * net/tramp.el (tramp-methods): Tweak docstring.
1366         (tramp-handle-file-accessible-directory-p): Check for
1367         `file-readable-p' instead of `file-executable-p'.
1368         (tramp-check-cached-permissions):
1369         Use `tramp-compat-file-attributes'.
1370         (tramp-call-process): Add new argument VEC.  Adapt callees in all
1371         tramp*.el files.
1373         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1374         (tramp-adb-maybe-open-connection): Don't set
1375         `tramp-current-*' variables.
1377         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1378         file properties of temporary buffers.
1380         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1382         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1383         (tramp-gvfs-handle-delete-file): Flush file
1384         properties, not directory properties.
1385         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1386         reading "unix::mode".
1387         (tramp-gvfs-handle-file-name-all-completions):
1388         Use "-h" option for "gvfs-ls".
1389         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1390         (tramp-gvfs-send-command): Simplify traces.
1392         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1393         (vc-git-program, vc-hg-program): Declare.
1394         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
1395         (tramp-methods) <nc>: Add new method.
1396         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1397         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1398         `tramp-login-args'.
1399         (tramp-default-user-alist): Add "nc".
1400         (top): Remove completion function for "sftp".  Add completion
1401         functions for "nc" and "psftp".
1402         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1403         Implement support for "nc" method.
1404         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1405         (tramp-remote-coding-commands, tramp-call-local-coding-command):
1406         Tweak docstring.
1407         (tramp-sh-handle-write-region): Tweak error message.
1408         (tramp-sh-handle-vc-registered): Remove backends when the remote
1409         binary does not exist.
1410         (tramp-find-inline-encoding): Do not raise an error.
1411         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
1412         the "nc" case.  Quote result also locally.
1414         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1415         (tramp-smb-handle-set-file-acl): Use `start-process'.
1416         (tramp-smb-handle-insert-directory): Use progress reporter.
1417         (tramp-smb-handle-rename-file): Flush also file properties of
1418         FILENAME.
1420         * net/trampver.el: Update release number.
1422 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1424         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1425         add-to-list.
1426         (ses-localvars): Remove ses--local-printer-list, unused.
1427         (ses--metaprogramming): New macro.  Use it to defvar variables.
1428         (ses-set-localvars): Simplify.
1429         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
1430         property-list into an alist.
1431         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1432         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1433         Remove; use defstruct accessors/setters instead.
1434         (ses-cell-formula-aset, ses-cell-printer-aset)
1435         (ses-cell-references-aset): Remove, use setf instead.
1436         (ses--alist-get): New function.
1437         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1438         Use an alist instead of a plist and don't do move-to-front since the
1439         list is always short.
1440         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1441         (ses-cell-property-set-fun, ses-cell-property-set)
1442         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1443         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1444         (ses--letref): New macro.
1445         (ses-cell-property-pop): Rewrite.
1446         (ses--cell): Rename from ses-cell and make it into a function.
1447         Make `formula' fallback on `value' if nil.
1448         (ses--local-printer): Rename from ses-local-printer and make it into
1449         a function.
1450         (ses-set-cell): Turn it into a macro so finding the accessor from the
1451         field name is done at compile time.
1452         (ses-repair-cell-reference-all): Test presence of `sym' rather than
1453         `ref' before adding `sym' to :ses-repair-reference.
1454         (ses-calculate-cell): Use ses--letref rather than
1455         ses-cell-property-get-handle.
1456         (ses-write-cells): Use a single prin1-to-string.
1457         (ses-setter-with-undo): New function.
1458         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1459         (ses-unset-with-undo): Remove.
1460         (ses-load): Prefer apply' over `eval'.
1461         (ses-read-printer, ses-set-column-width): Use standard "(default
1462         foo)" format.
1464 2014-06-15  Glenn Morris  <rgm@gnu.org>
1466         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1468         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1469         Replace delete-duplicates and mapcan by cl- versions throughout.
1470         And cl-macroexpand-all by macroexpand-all.
1471         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1473 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
1475         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1477 2014-06-15  Juri Linkov  <juri@jurta.org>
1479         * bindings.el: Put `ascii-character' property on keypad keys
1480         mapped to characters.  (Bug#17759)
1482 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1484         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1485         bumping forward into a closing paren (bug#17761).
1487         * term/xterm.el (xterm--version-handler): Work around for OSX
1488         Terminal.app (bug#17607).
1490 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
1492         * play/dunnet.el (dun-describe-room, dun-mode):
1493         If a lamp is in the room, you won't be eaten by a grue.
1495 2014-06-13  Glenn Morris  <rgm@gnu.org>
1497         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
1498         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
1499         (compile-always): GNU make automatically passes
1500         command-line arguments to sub-makes.
1502         * calendar/calendar.el (calendar-generate-window):
1503         Remove pointless call to font-lock-fontify-buffer.
1505 2014-06-13  Matthias Meulien  <orontee@gmail.com>
1507         * simple.el (completion-list-mode-map): Navigate with tab and backtab
1508         (bug#17767).
1510 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1512         * simple.el (set-mark-command): Simplify a bit.
1514 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1516         * help.el (help--key-binding-keymap): New function.
1517         (help--binding-locus): New function.
1518         (describe-key): Mention the keymap in which the binding was
1519         found. (bug#13948)
1521 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1523         * hippie-exp.el (he--all-buffers): New function.
1524         (try-expand-line-all-buffers, try-expand-list-all-buffers)
1525         (try-expand-dabbrev-all-buffers): Use it.
1527 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
1529         * hippie-exp.el (try-expand-line-all-buffers)
1530         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
1531         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
1532         original buffer, in case they're buffer-local.
1534 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1536         * ses.el (ses-initial-global-parameters-re): New defconst, a
1537         specific regexp is needed now that ses.el can handle both
1538         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
1539         local printers.
1540         (ses-localvars): Add local variables needed for local printer handling.
1541         (ses-set-localvars): Handle hashmap initialisation.
1542         (ses-paramlines-plist): Add param-line for number of local printers.
1543         (ses-paramfmt-plist): New defconst, needed for code factorization
1544         between functions `ses-set-parameter' and
1545         `ses-file-format-extend-paramter-list'
1546         (ses-make-local-printer-info): New defsubst.
1547         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1548         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
1549         (ses-cell-printer-aset): New defmacro.
1550         (ses-local-printer-compile): New defun.
1551         (ses-local-printer): New defmacro.
1552         (ses-printer-validate, ses-call-printer): Add support for local
1553         printer functions.
1554         (ses-file-format-extend-paramter-list): New defun.
1555         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
1556         factorization.
1557         (ses-load): Add support for local printer functions.
1558         (ses-read-printer): Update docstring and add support for local printer
1559         functions.
1560         (ses-refresh-local-printer, ses-define-local-printer): New defun.
1561         (ses-safe-printer): Add support for local printer functions.
1563 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
1565         * ffap.el (ffap-lax-url): New var (bug#17723).
1566         (ffap-url-at-point): Use it.
1567         (ffap-file-at-point): Avoid returning just "/".
1569 2014-06-12  Matthias Meulien  <orontee@gmail.com>
1571         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
1572         (python-mode-map): Bind it.
1574         * progmodes/python.el (class skeleton): Don't erase last char of class
1575         name (bug#17683).
1577 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1579         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
1581 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
1583         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
1584         (bug#17745).
1586 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1588         * international/mule-cmds.el: Use lexical-binding.
1589         (ucs-names): Simplify.
1591 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
1593         * progmodes/python.el (run-python): Use read-shell-command.
1595 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1597         * rect.el: Make it possible to move bounds past EOL or into TABs.
1598         (operate-on-rectangle): Use apply-on-rectangle.
1599         (rectangle--mark-crutches): New var.
1600         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1601         (rectangle--crutches, rectangle--reset-crutches): New functions.
1602         (apply-on-rectangle): Obey crutches.  Avoid setq.
1603         Fix missing final iteration if end is at EOB&BOL.
1604         (rectangle-mark-mode-map): Add remap bindings for
1605         exchange-point-and-mark and char/line movements.
1606         (rectangle--*-char): New function.
1607         (rectangle-exchange-point-and-mark, rectangle-right-char)
1608         (rectangle-left-char, rectangle-forward-char)
1609         (rectangle-backward-char, rectangle-next-line)
1610         (rectangle-previous-line): New commands.
1611         (rectangle--place-cursor): New function.
1612         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
1614 2014-06-08  Glenn Morris  <rgm@gnu.org>
1616         * startup.el (initial-buffer-choice): Doc fix.
1617         Reset :version (adding an option does not merit a :version bump).
1619         * bookmark.el (bookmark-load):
1620         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1622 2014-06-08  Juri Linkov  <juri@jurta.org>
1624         * desktop.el: Activate auto-saving on window configuration changes.
1625         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1626         `desktop-auto-save-set-timer' to/from
1627         `window-configuration-change-hook'.
1628         (desktop-auto-save-set-timer): Change REPEAT arg of
1629         `run-with-idle-timer' from t to nil.
1630         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1632 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
1634         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1635         vc-hg-command (bug#17570).
1637 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1639         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1640         (bug#17702).
1642 2014-06-08  Glenn Morris  <rgm@gnu.org>
1644         * startup.el (window-setup-hook): Doc fix.
1646         * emacs-lisp/package.el (package-check-signature)
1647         (package-unsigned-archives): Doc fixes.
1649 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
1651         * window.el (display-buffer-use-some-window): Don't make window
1652         used smaller than it was before (Bug#17671).
1654 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1656         * menu-bar.el (menu-bar-open): Fix last change: use the PC
1657         'redisplay' instead of '(sit-for 0)'.
1659 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
1661         * net/tramp.el (tramp-ssh-controlmaster-options):
1662         Improve search regexp.  (Bug#17653)
1664 2014-06-08  Glenn Morris  <rgm@gnu.org>
1666         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1668 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
1670         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1672 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
1674         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
1675         (bug#17586).
1677         * vc/vc-hg.el (vc-hg-log-graph): New var.
1678         (vc-hg-print-log): Use it.
1679         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
1680         graph output (bug#17515).
1682 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1684         * mouse.el (mouse-posn-property): Ignore buffer position info when the
1685         even happened elsewhere.
1687 2014-06-06  Mario Lang  <mlang@delysid.org>
1689         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
1690         `recenter' if `current-buffer' is equal to `window-buffer'.
1692 2014-06-05  Leo Liu  <sdl.web@gmail.com>
1694         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
1696 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
1698         * textmodes/tildify.el (tildify-foreach-region-outside-env):
1699         New function which calls a callback on portions of the buffer that are
1700         outside of ignored environments.
1701         (tildify-build-regexp): Remove function since it is now
1702         incorporated in `tildify-foreach-region-outside-env' where it is
1703         optimised and simplified by the use of `mapconcat'.
1704         (tildify-tildify): Return number of substitutions made so that…
1705         (tildify-count): …can be removed.
1706         (tildify-find-env): Accept a new PAIRS argument which was
1707         previously looked up in `tildify-ignored-environments-alist' each
1708         time the function was called.  With this change, the lookup is
1709         performed only once in `tildify-foreach-region-outside-env'.
1710         (tildify-region): Greatly simplify the function since now most of
1711         the work is done by `tildify-foreach-region-outside-env'.
1712         (tildify-mode-alist): Simplify slightly by avoiding if and setq
1713         and instead using or.
1715         * textmodes/tildify.el (tildify-ignored-environments-alist):
1716         Optimise environments regexes
1718         Each time beginning of an environment to ignore is found,
1719         `tildify-find-env' needs to identify regexp for the ending
1720         of the environment.  This is done by trying all the opening
1721         regexes on matched text in a loop, so to speed that up, this
1722         loop should have fewer things to match, which can be done by
1723         using alternatives in the opening regexes.
1725         Coincidentally, this should make matching of the opening
1726         regexp faster as well thanks to the use of `regexp-opt' and
1727         having common prefix pulled from many regexes.
1729         * textmodes/tildify.el (tildify-string-alist)
1730         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
1731         of supported modes since `xml-mode' is no longer a thing but just
1732         an alias to the former.  Also include comments and insides of tags
1733         in `tildify-ignored-environments-alist' for XML modes.  Finally,
1734         since XML does not define “&nbsp;”[1], use a numeric reference for
1735         a no-break space (namely “&#160;”)
1737         [1] XML specification defines only a handful of predefined entities.
1738             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
1739             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
1740             >, &, ' and " respectively).  This is in contrast to HTML and even
1741             XHTML which defined a whole bunch of entities including “&nbsp;”.
1743         * textmodes/tildify.el (tildify-pattern-alist)
1744         (tildify-string-alist, tildify-ignored-environments-alist):
1745         Improve defcustom's types by adding more tags explaining what each
1746         value means and replace “sexp” used in
1747         `tildify-ignored-environments-alist' with a full type declaration.
1749         * textmodes/tildify.el (tildify-find-env): Fix matched group
1750         indexes in end-regex building
1752         When looking for a start of an ignore-environment, the regex is built
1753         by concatenating regexes of all the environments configured in
1754         `tildify-ignored-environments-alist'.  So for example, the following
1755         list could be used to match TeX's \verb and \verb* commands:
1757             (("\\\\verb\\(.\\)" . (1))
1758              ("\\\\verb\\*\\(.\\)" . (1)))
1760         This would result in the following regex being used to find the start
1761         of any of the variants of the \verb command:
1763             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
1765         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
1766         won't match anything, and thus (match-string 1) will be nil, which
1767         will cause building of the end-matching regex to fail.
1769         Fix this by using capture groups from the time when the opening
1770         regexes are matched individually.
1772         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
1773         in `tildify-find-env'
1775         The `tildify-ignored-environments-alist' allows the end-regex to
1776         be provided not as a static string but mix of strings and indexes
1777         of groups matched the begin-regex.  For example, the “\verb!…!”
1778         TeX-command (where “!” is an arbitrary character) is handled
1779         using:
1781             ("\\\\verb\\*?\\(.\\)" . (1))
1783         In the same way, the following should be supported as well:
1785             ("open-\\(.\\)" . ("end-" 1))
1787         However the tildify-find-env function fails at
1789             (concat result
1790                     (if (stringp (setq aux (car expression)))
1791                          expression  ; BUG: expression is a list
1792                        (regexp-quote (match-string aux))))
1794         where the string part is handled incorrectly.
1796         The most trivial fix would be to replace `expression' in the
1797         true-part of the if-statement with `aux', but instead, this commit
1798         optimises `tildify-find-env' by changing it to use `mapconcat'
1799         rather than open-coded while-loop.
1801 2014-06-05  Mario Lang  <mlang@delysid.org>
1803         * woman.el (woman-mapcan): Remove.
1804         (woman-parse-colon-path): Use cl-mapcan instead.
1806 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1808         * register.el: Add link to Emacs manual in Commentary.
1810 2014-06-02  Sam Steingold  <sds@gnu.org>
1812         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
1813         (popup-menu): ...here.
1814         (menu-bar-open): Use it to avoid an error when `lookup-key'
1815         returns a number.
1817 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
1819         * net/tramp.el (tramp-call-process): Add traces.
1820         (tramp-handle-unhandled-file-name-directory): Return "/".
1822 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
1824         Sync with upstream verilog-mode revision 3cd8144.
1825         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1826         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
1827         (verilog-type-font-keywords): Add nor.
1828         (verilog-batch-execute-func): Force reading of Local Variables.
1829         Fix printing "no changes to be saved" with verilog-batch.
1830         (verilog-auto-arg-ports): Doc fix.
1831         Add verilog-auto-arg-format to support newlines in AUTOARG.
1832         (verilog-auto-arg): Doc fix.
1834 2014-06-02  Glenn Morris  <rgm@gnu.org>
1836         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1837         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1838         * emulation/ws-mode.el: Move to obsolete/.
1839         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
1841 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
1843         * simple.el (keyboard-quit): Force update of mode lines, to remove
1844         the "Def" indicator, if we were defining a macro.  (Bug#17615)
1846 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1848         * minibuffer.el (minibuffer-force-complete-and-exit):
1849         Obey minibuffer-default (bug#17545).
1851         * progmodes/js.el (js-indent-line): Don't mix columns and chars
1852         (bug#17619).
1854         * subr.el (set-transient-map): Don't wait for some "nested"
1855         transient-map to finish if we're only supposed to be active for
1856         the next command (bug#17642).
1858 2014-06-02  Leo Liu  <sdl.web@gmail.com>
1860         * emacs-lisp/gv.el (window-buffer, window-display-table)
1861         (window-dedicated-p, window-hscroll, window-point, window-start):
1862         Fix gv-expander.  (Bug#17630)
1864 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1866         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1867         clicks (bug#17633).
1869         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1870         for the single comma, since ", " is *very* common in normal French text
1871         (bug#17643).
1873 2014-06-02  Glenn Morris  <rgm@gnu.org>
1875         * emacs-lisp/package.el (package-check-signature)
1876         (package-unsigned-archives): Fix :version.
1878 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * subr.el (sit-for): Don't run input-methods (bug#15614).
1882 2014-06-02  Glenn Morris  <rgm@gnu.org>
1884         * cus-start.el: Fix some :version numbers.
1886 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1888         * simple.el (deactivate-mark): Set mark-active to nil even if
1889         deactivation is done via setting transient-mark-mode to nil,
1890         since one is buffer-local and the other is global.
1892         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1893         there can't be more than 2 arguments (bug#17584).
1895 2014-06-02  Glenn Morris  <rgm@gnu.org>
1897         * simple.el (filter-buffer-substring-functions)
1898         (filter-buffer-substring-function, buffer-substring-filters)
1899         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1901         * minibuffer.el (completion-in-region-functions, completion-in-region)
1902         (completion--in-region): Doc fixes.
1904         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1905         (expand-abbrev, abbrev--default-expand): Doc fixes.
1907 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1909         Include sources used to create macuvs.h.
1910         * international/README: Refer to the Unicode Terms of Use rather
1911         than copying it bodily here, as that simplifies maintenance.
1913 2014-06-01  Glenn Morris  <rgm@gnu.org>
1915         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
1917 2014-05-31  Glenn Morris  <rgm@gnu.org>
1919         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
1921 2014-05-30  Glenn Morris  <rgm@gnu.org>
1923         * loadup.el: Treat `command-line-args' more flexibly.
1925 2014-05-30  Alan Mackenzie  <acm@muc.de>
1927         Guard (looking-at "\\s!") from XEmacs.
1928         * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
1930 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>  (tiny change)
1932         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
1933         The argument COUNT is now optional, to be more backward-compatible.
1934         Doc fix.  (Bug#17560)
1936 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
1938         * whitespace.el (whitespace-report-region):
1939         Simplify documentation.
1940         (whitespace-report-region): Allow report-if-bogus to take the
1941         value `never', for non-interactive use.
1942         (whitespace-report): Refer to whitespace-report-region's
1943         documentation.
1945 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1947         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
1948         Side benefit: it works without jit-lock.
1949         (whitespace-point--used): New buffer-local var.
1950         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
1951         (whitespace-color-off): Use font-lock-flush.
1952         (whitespace-point--used, whitespace-point--flush-used): New functions.
1953         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
1954         (whitespace-empty-at-eob-regexp): Use them.
1955         (whitespace-post-command-hook): Rewrite.
1957         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
1958         (font-lock-fontify-buffer): Mark interactive-only.
1959         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
1960         Make buffer-local.
1961         (font-lock-specified-p): Remove redundant boundp check.
1962         (font-lock-flush-function, font-lock-ensure-function): New vars.
1963         (font-lock-turn-on-thing-lock): Set them.
1964         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
1965         (font-lock-after-change-function): Make `old-len' optional.
1966         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
1967         Call font-lock-flush, just in case.
1968         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
1969         recent Emacsen.
1970         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
1971         (vera-mode-map, vera-mode-menu): Remove bindings to it.
1972         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
1973         and with-syntax-table.
1974         * textmodes/conf-mode.el (conf-quote-normal):
1975         * progmodes/sh-script.el (sh-set-shell):
1976         * progmodes/prog-mode.el (prettify-symbols-mode):
1977         * progmodes/f90.el (f90-font-lock-n):
1978         * progmodes/cwarn.el (cwarn-mode):
1979         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
1980         * progmodes/compile.el (compilation-setup, compilation--unsetup):
1981         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
1982         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
1983         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
1984         font-lock-fontify-buffer-function and
1985         font-lock-unfontify-buffer-function.
1986         (rmail-unfontify-buffer-function, rmail-fontify-message):
1987         Use with-silent-modifications.
1988         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
1989         and font-lock-ensure.
1990         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
1992 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
1994         * emacs-lisp/package.el (package-generate-autoloads):
1995         Inhibit backup files.
1997 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1999         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2000         (bug#17608).
2002 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
2004         * textmodes/tildify.el (tildify-buffer, tildify-region):
2005         Add dont-ask option.
2007 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2009         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
2010         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2012         * subr.el (internal--funcall-interactively): New.
2013         (internal--call-interactively): Remove.
2014         (called-interactively-p): Detect funcall-interactively instead of
2015         call-interactively.
2016         * simple.el (repeat-complex-command): Use funcall-interactively.
2017         (repeat-complex-command--called-interactively-skip): Remove.
2019 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2021         * register.el (register-read-with-preview): Don't burp on
2022         frame switches (e.g. due to the frame we just popped).
2024         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2025         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2027 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2029         * cus-face.el (custom-face-attributes): Add :distant-foreground.
2031 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
2033         * window.el (window--dump-frame): Remove interactive specification.
2035 2014-05-26  Glenn Morris  <rgm@gnu.org>
2037         * hippie-exp.el (he-line-search-regexp):
2038         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
2040 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2042         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2043         to avoid errors when trying to create or visit a file foo.todo
2044         located outside to todo-directory, and to allow having such files
2045         without them being tied to Todo mode (bug#17482).
2046         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2047         (todo-archive-done-item, todo-find-filtered-items-file)
2048         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2049         (todo-category-completions, todo-read-category): When visiting a
2050         Todo file, make sure we're in the right mode and the buffer local
2051         variables are set.
2052         (todo-make-categories-list, todo-reset-nondiary-marker)
2053         (todo-reset-done-string, todo-reset-comment-string):
2054         After processing all Todo files, kill the buffers of those files that
2055         weren't being visited before the processing.
2056         (todo-display-as-todo-file, todo-add-to-buffer-list)
2057         (todo-visit-files-commands): Comment out.
2058         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2059         (auto-mode-alist): Remove add-to-list calls making Todo file
2060         extensions unrestrictedly tied to Todo modes.
2062 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2064         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2065         (advice-function-member-p): Tell it to check both names and functions
2066         (bug#17531).
2067         (advice--add-function): Adjust call accordingly.
2069 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2071         * calendar/todo-mode.el: Miscellaneous bug fixes.
2072         (todo-delete-file): When deleting an archive but not its todo
2073         file, make sure to update the todo file's category sexp.
2074         (todo-move-category): Keep the moved category's name unless the
2075         file moved to already has a category with that name.  If the
2076         numerically last category of the source file was moved, make the
2077         first category current to avoid selecting a nonexisting category.
2078         (todo-merge-category): Fix implementation to make merging to a
2079         category in another file work as documented.  Eliminate now
2080         insufficient and unnecessary renaming of archive category, correct
2081         document string accordingly, and clarify it.  If the numerically
2082         last category of the source file was merged, make the first
2083         category current to avoid selecting a nonexisting category.
2084         (todo-archive-done-item): When there are marked items and point
2085         happens to be on an unmarked item, ignore the latter.  Don't leave
2086         point below last item after archiving marked items.
2087         (todo-unarchive-items): Fix logic to ensure unarchiving an item
2088         from an archive with only one category deletes the archive only
2089         when the category is empty after unarchiving.  Make sure the todo
2090         file's category sexp is updated.
2091         (todo-read-file-name): Allow an existing file name even when it is
2092         not required (todo-move-category needs this to work as documented).
2093         (todo-add-file): Call todo-validate-name to reject the name of an
2094         existing todo file (needed due to fix in todo-read-file-name).
2095         (todo-reset-nondiary-marker): Also reset in filtered items files.
2096         (todo-reset-done-string, todo-reset-comment-string): Also reset in
2097         regexp filtered items files.
2098         (todo-reset-highlight-item): Also reset in filtered items files.
2099         Fix incorrect variable reference in document string.
2101 2014-05-26  Glenn Morris  <rgm@gnu.org>
2103         * window.el (window--dump-frame): Avoid error in --without-x builds.
2105 2014-05-26  Glenn Morris  <rgm@gnu.org>
2107         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2109 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2111         * frame.el (set-frame-font): Doc fix.
2113         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
2115 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
2117         * emacs-lisp/package.el (package--download-one-archive):
2118         Use `write-region' instead of `save-buffer' to avoid running various
2119         hooks.  (Bug#17155)
2120         (describe-package-1): Same.  Insert newline at the end of the
2121         buffer if appropriate.
2123 2014-05-26  Juri Linkov  <juri@jurta.org>
2125         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2126         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2127         Add more modifiers: meta, control, shift, hyper, super, alt.
2128         (Bug#17439)
2130         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2131         to allow changing its value with `set-variable'.
2133 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2135         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2136         #; comments.
2137         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2138         New functions.
2139         (scheme-mode-variables): Set syntax-propertize-function instead of
2140         font-lock-syntactic-face-function.
2141         (scheme-font-lock-syntactic-face-function): Delete.
2143         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2145         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2146         (bug#17392).
2148 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2150         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2151         for a temporary file name.
2153 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2155         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
2157 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2159         * net/dbus.el (dbus-init-bus, dbus-call-method)
2160         (dbus-call-method-asynchronously, dbus-send-signal)
2161         (dbus-method-return-internal, dbus-method-error-internal):
2162         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
2164 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2166         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2167         methods which do not have a doc string.  (Bug#17490)
2169 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
2171         * textmodes/reftex-ref.el (reftex-format-special): Make it work
2172         also for AMS Math's \eqref macro.
2174 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2176         Arrange to never byte-compile the generated -pkg.el file.
2178         * emacs-lisp/package.el (package-generate-description-file):
2179         Output first-line comment to set buffer-local var `no-byte-compile'.
2180         Suggested by Dmitry Gutov:
2181         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2183 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2185         Fix bug: Properly quote args to generated -pkg.el `define-package'.
2187         * emacs-lisp/package.el (package-generate-description-file):
2188         Inline `package--alist-to-plist'; rewrite to selectively
2189         quote alist values that are not self-quoting.
2190         (package--alist-to-plist): Delete func.
2192 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
2194         * term/xterm.el (xterm-function-map): Add mapping for shifted
2195         keypad keys.
2197 2014-05-24  Daniel Colascione  <dancol@dancol.org>
2199         * progmodes/subword.el (subword-find-word-boundary): Move point to
2200         correct spot before search. (Bug#17580)
2202         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2203         breaking the build.
2205 2014-05-24  Leo Liu  <sdl.web@gmail.com>
2207         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
2209 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2211         * minibuffer.el (completion--sreverse): Remove.
2212         (completion--common-suffix): Use `reverse' instead.
2213         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2215 2014-05-22  Glenn Morris  <rgm@gnu.org>
2217         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2219 2014-05-21  Daniel Colascione  <dancol@dancol.org>
2221         * files.el (interpreter-mode-alist): Add mksh.
2223         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2224         derivative.
2225         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2226         mksh. Improve custom spec; allow regular expressions.
2227         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2228         (sh-after-hack-local-variables): New function.
2229         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2230         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2231         the normalization.
2232         (sh-canonicalize-shell): Rewrite to support regexes.
2234 2014-05-21  Leo Liu  <sdl.web@gmail.com>
2236         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2238 2014-05-19  Leo Liu  <sdl.web@gmail.com>
2240         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2242 2014-05-18  Glenn Morris  <rgm@gnu.org>
2244         * loadup.el:
2245         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2247 2014-05-14  Sam Steingold  <sds@gnu.org>
2249         * progmodes/python.el (python-shell-get-or-create-process):
2250         Do not bind `current-prefix-arg' so that C-c C-z does not talk
2251         back unless requested.
2253 2014-05-14  Glenn Morris  <rgm@gnu.org>
2255         * subr.el (with-file-modes): New macro.
2256         * printing.el (pr-save-file-modes): Make obsolete.
2257         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2258         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2259         Add with-file-modes.
2260         * doc-view.el (doc-view-make-safe-dir):
2261         * epg.el (epg--start):
2262         * files.el (locate-user-emacs-file, make-temp-file)
2263         (backup-buffer-copy, move-file-to-trash):
2264         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2265         * eshell/esh-util.el (eshell-with-private-file-modes)
2266         (eshell-make-private-directory):
2267         * net/browse-url.el (browse-url-mosaic):
2268         * obsolete/mailpost.el (post-mail-send-it):
2269         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2270         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2271         Use with-file-modes.
2273         * vc/emerge.el (emerge-make-temp-file): Simplify.
2275 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
2276             Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2279         suffix (bug#15419).
2281 2014-05-14  Glenn Morris  <rgm@gnu.org>
2283         * vc/emerge.el (emerge-temp-file-prefix):
2284         Make pointless option obsolete.
2285         (emerge-temp-file-mode): Make non-functional option obsolete.
2287 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
2289         * net/browse-url.el (browse-url):
2290         Use `unhandled-file-name-directory' when setting `default-directory',
2291         in order to circumvent stalled remote connections.  (Bug#17425)
2293 2014-05-14  Glenn Morris  <rgm@gnu.org>
2295         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2296         Optimize on Emacs, which has the relevant functions for ages.
2298 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2300         * simple.el (undo-make-selective-list): Obey undo-no-redo.
2302 2014-05-12  Sam Steingold  <sds@gnu.org>
2304         * calendar/time-date.el (seconds-to-string): New function to
2305         pretty print time delay in seconds.
2307 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2309         * mpc.el (mpc-format): Trim Date to the year.
2310         (mpc-songs-hashcons): Shorten the Date field.
2312         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2313         into autoloading just because of a silly indirection.
2315 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
2317         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
2319 2014-05-12  Glenn Morris  <rgm@gnu.org>
2321         * emacs-lisp/find-gc.el: Move to ../admin.
2323         * printing.el (pr-version):
2324         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2326         * net/browse-url.el (browse-url-mosaic):
2327         Create /tmp/Mosaic.PID as a private file.
2329 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2331         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2332         (advice--member-p): If name is given, only compare the name.
2333         (advice--remove-function): Don't stop at the first match.
2334         (advice--normalize-place): New function.
2335         (add-function, remove-function): Use it.
2336         (advice--add-function): Pass the name, if any, to
2337         advice--remove-function.
2339 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
2341         * electric.el (electric-indent-post-self-insert-function): Don't use
2342         `pos' after modifying the buffer (bug#17449).
2344 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
2346         * calendar/todo-mode.el (todo-insert-item-from-calendar):
2347         Correct argument list to conform to todo-insert-item--basic.
2349 2014-05-12  Glenn Morris  <rgm@gnu.org>
2351         * files.el (cd-absolute): Test if directory is accessible
2352         rather than executable.  (Bug#17330)
2354         * progmodes/compile.el (recompile):
2355         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
2357         * net/browse-url.el (browse-url-mosaic):
2358         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
2359         This is CVE-2014-3423.
2361 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2363         * mouse.el: Use the normal toplevel loop while dragging.
2364         (mouse-set-point): Handle multi-clicks.
2365         (mouse-set-region): Handle multi-clicks for drags.
2366         (mouse-drag-region): Update call accordingly.
2367         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2368         Use the normal event loop instead of a local while/read-event loop.
2369         (global-map): Remove redundant bindings for double/triple-mouse-1.
2370         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2371         Generate synthetic down events when the protocol only sends up events.
2372         (xterm-mouse-last): Remove.
2373         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2374         terminal parameter instead.
2375         (xterm-mouse--set-click-count): New function.
2376         (xterm-mouse-event): Detect/generate double/triple clicks.
2377         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2379         * info.el (Info-quoted): New face.
2380         (Info-mode-font-lock-keywords): New var.
2381         (Info-mode): Use it.
2383         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2384         are a hindrance for C-x C-e.
2386 2014-05-11  Leo Liu  <sdl.web@gmail.com>
2388         * net/rcirc.el (rcirc-sentinel): Fix last change.
2390 2014-05-08  Sam Steingold  <sds@gnu.org>
2392         * net/rcirc.el (rcirc-reconnect-delay): New user option.
2393         (rcirc-sentinel): Auto-reconnect to the server if
2394         `rcirc-reconnect-delay' is non-0 (but not more often than its
2395         value in case the host is off-line).
2397 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
2399         * progmodes/grep.el (lgrep): Fix a typo in last commit.
2401 2014-05-09  Glenn Morris  <rgm@gnu.org>
2403         * files.el (file-expand-wildcards):
2404         * man.el (Man-support-local-filenames):
2405         * printing.el (pr-i-directory, pr-interface-directory):
2406         * progmodes/grep.el (lgrep, rgrep):
2407         * textmodes/ispell.el (ispell-call-process)
2408         (ispell-call-process-region, ispell-start-process)
2409         (ispell-init-process): Use file-accessible-directory-p.
2411 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2413         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2414         (xterm-mouse--read-event-sequence-1000): Return nil if something
2415         looks fishy.
2416         (xterm-mouse-event): Propagate it.
2417         (xterm-mouse-translate-1): Handle it.
2419 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
2421         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2422         four slots of the parameter list are filled, make sure to pass it
2423         to the argument list of todo-insert-item--basic.
2425 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2427         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2428         Add optional `seen' argument to detect and break infinite loops.
2430 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
2432         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2433         (trace-unsafe, trace-use-tree): Make parentheses style be
2434         according to Emacs style.
2436 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
2438         * net/tramp-sh.el (tramp-remote-process-environment):
2439         Remove HISTFILE and HISTSIZE; it's too late to set them here.
2440         Add :version entry.
2441         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2442         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
2443         extra "PSx=..." commands.
2444         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2445         (Bug#17295)
2447         (tramp-uudecode): Replace the hard-coded temporary file name by a
2448         format specifier.
2449         (tramp-remote-coding-commands): Enhance docstring.
2450         (tramp-find-inline-encoding): Replace "%t" by a temporary file
2451         name.  (Bug#17415)
2452         This is CVE-2014-3424.
2454 2014-05-08  Glenn Morris  <rgm@gnu.org>
2456         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2457         (find-gc-source-files): Update some names.
2458         (trace-call-tree): Simplify and update.
2459         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
2460         This is CVE-2014-3422.
2462 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2464         * minibuffer.el (completion--try-word-completion): Revert fix for
2465         Bug#15980 (bug#17375).
2467         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2468         Always store button numbers in the same way in xterm-mouse-last;
2469         Don't burp is xterm-mouse-last is not set as expected.
2470         Never return negative indices.
2472 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
2474         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2475         Backtrack one char if the global/char-literal var matcher hits
2476         inside a string.  The next char could be the beginning of an
2477         expression expansion.
2479 2014-05-08  Glenn Morris  <rgm@gnu.org>
2481         * help-fns.el (describe-function-1): Test for an autoload before a
2482         macro, since `macrop' works on autoloads.  (Bug#17410)
2484 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2486         * electric.el (electric-indent-functions-without-reindent): Add yaml.
2488         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2489         Make sure the new point we return is within the new string (bug#17239).
2491 2014-05-05  Daniel Colascione  <dancol@dancol.org>
2493         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2494         Port `gnu' pattern to rx.
2496 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
2498         Remove unneeded prompt when closing a buffer with active
2499         emacsclient ("Buffer ... still has clients"), #16548.
2500         * server.el (server-start): Remove the only call to:
2501         (server-kill-buffer-query-function): Remove.
2503 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2505         * calendar/diary-lib.el (calendar-chinese-month-name-array):
2506         Defvar to pacify compiler.
2508 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
2510         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2512 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2514         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2515         Use nil rather than `default' for the "default" appearance (bug#17388).
2516         * vc/ediff-util.el (ediff-inferior-compare-regions)
2517         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2518         a misleading `default' value when it's really a boolean.
2519         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2520         overlay is not visible.
2522 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2524         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2525         (todo-menu): Uncomment and update.
2527 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2529         * calendar/todo-mode.el: Reimplement item editing to have the same
2530         basic user interface as item insertion, and make small UI and
2531         larger internal improvements to the latter.
2532         (todo-insert-item): Add reference to the Todo mode user manual to
2533         the documentation string.
2534         (todo-insert-item--basic): Rename from todo-basic-insert-item and
2535         adjust all callers.  Change signature to combine diary and
2536         nonmarking arguments.  Incorporate functionality of deleted item
2537         copying command and add error checking.  Remove detailed
2538         descriptions of the arguments from the documentation string, since
2539         this is treated in the Todo mode user manual.
2540         (todo-copy-item, todo-edit-multiline-item)
2541         (todo-edit-done-item-comment, todo-edit-item-header)
2542         (todo-edit-item-time, todo-edit-item-date-from-calendar)
2543         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2544         (todo-edit-item-date-year, todo-edit-item-date-month)
2545         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2546         Remove.
2547         (todo-edit-item): Reimplement as wrapper command for
2548         todo-edit-item--next-key and make it distinguish done and not done
2549         todo items.
2550         (todo-edit-item--text): New function, replacing old command
2551         todo-edit-item and incorporating deleted commands
2552         todo-edit-multiline-item and todo-edit-done-item-comment.
2553         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2554         Use only numeric value of prefix argument.  Remove detailed
2555         descriptions of the arguments from the documentation string, since
2556         this is treated in the Todo mode user manual.
2557         (todo-edit-item--diary-inclusion): New function, replacing old
2558         command todo-edit-item-diary-inclusion and incorporating and fixing
2559         functionality of deleted command todo-edit-item-diary-nonmarking,
2560         making sure to remove todo-nondiary-marker when adding
2561         diary-nonmarking-symbol.
2562         (todo-edit-category-diary-inclusion): Make sure to delete
2563         diary-nonmarking-symbol when adding todo-nondiary-marker.
2564         (todo-edit-category-diary-nonmarking): Fix indentation.
2565         (todo-insert-item--parameters): Group diary and nonmarking
2566         parameters together.
2567         (todo-insert-item--apply-args): Adjust to signature of
2568         todo-insert-item--basic and incorporate copy parameter.
2569         Make small code improvements.
2570         (todo-insert-item--next-param): Improve prompt and adjust it to
2571         new parameter grouping.  Remove obsolete code.
2572         (todo-edit-item--param-key-alist)
2573         (todo-edit-item--date-param-key-alist)
2574         (todo-edit-done-item--param-key-alist): New defconsts.
2575         (todo-edit-item--prompt): New variable.
2576         (todo-edit-item--next-key): New function.
2577         (todo-key-bindings-t): Bind "e" to todo-edit-item.
2578         Remove bindings of deleted commands.
2580 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2582         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2584 2014-05-04  Glenn Morris  <rgm@gnu.org>
2586         * allout-widgets.el (allout-widgets-tally)
2587         (allout-decorate-item-guides):
2588         * menu-bar.el (menu-bar-positive-p):
2589         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2590         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2591         * progmodes/js.el (js--inside-param-list-p)
2592         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2593         * progmodes/prolog.el (region-exists-p):
2594         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2595         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2596         Doc fixes (replace `iff').
2598 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2600         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2602 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2604         Support Chinese diary entries in calendar and diary.  (Bug#17393)
2605         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2606         (calendar-chinese-from-absolute-for-diary)
2607         (calendar-chinese-to-absolute-for-diary)
2608         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2609         (diary-chinese-list-entries): New functions to list and mark
2610         Chinese diary entries in the calendar window.
2611         (diary-chinese-anniversary)
2612         (diary-chinese-insert-anniversary-entry)
2613         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2614         (diary-chinese-insert-yearly-entry): New commands to insert
2615         Chinese diary entries.
2617         * calendar/diary-lib.el (diary-font-lock-keywords):
2618         Support font-locking Chinese dates.
2620         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2621         inserting Chinese diary entries.
2623         * calendar/calendar.el (diary-chinese-entry-symbol):
2624         New customizable variable.
2625         (calendar-mode-map): Add bindings for inserting Chinese diary
2626         entries.
2628 2014-05-03  Juri Linkov  <juri@jurta.org>
2630         * dired.el (dired-check-switches, dired-switches-recursive-p):
2631         New functions.  (Bug#17218)
2632         (dired-switches-escape-p, dired-move-to-end-of-filename):
2633         Use `dired-check-switches'.
2634         (dired-insert-old-subdirs, dired-build-subdir-alist)
2635         (dired-sort-R-check): Use `dired-switches-recursive-p'.
2637 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
2639         * simple.el (undo-make-selective-list): New algorithm fixes
2640         incorrectness of position adjustments when undoing in region.
2641         (Bug#17235)
2642         (undo-elt-crosses-region): Make obsolete.
2643         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
2644         New functions to adjust positions using undo-deltas.
2646 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2648         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
2649         the last consecutive closing paren (bug#17345).
2651 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
2653         * dired.el (dired-mode): make terminology for eXpunge command
2654         consistent.  (Bug#17276)
2656 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
2658         * dired.el (dired-initial-position-hook, dired-initial-position):
2659         Doc string fixes.
2661 2014-04-30  Glenn Morris  <rgm@gnu.org>
2663         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
2665 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
2667         * faces.el (face-spec-recalc): Apply X resources only after the
2668         defface spec has been applied. Thus, X resources are no longer
2669         overriden by the defface spec which also fixes issues on win32 where
2670         the toolbar coloring was wrong because it is set through X resources
2671         and was (wrongfully) overriden.  (Bug#16694)
2673 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2675         * textmodes/rst.el (electric-pair-pairs): Declare.
2676         (rst-mode): Set it (bug#17131).
2678 2014-04-30  Juri Linkov  <juri@jurta.org>
2680         * desktop.el (desktop-value-to-string): Let-bind `print-length'
2681         and `print-level' to nil.  (Bug#17351)
2683 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2685         * battery.el (battery-update): Handle the case where battery
2686         status is "N/A" (bug#17319).
2688 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2690         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
2691         to syntax-propertize.
2692         (ps-mode-auto-indent): Mark as obsolete.
2693         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
2694         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
2695         word regexp operators.
2696         (ps-mode-map): Move initialization into declaration.  Remove binding
2697         for TAB, RET, >, ], and }.
2698         (ps-mode-syntax-table): Move initialization into declaration.
2699         Don't give word syntax to non-word chars.
2700         (ps-run-mode-map): Move initialization into declaration.
2701         (ps-mode-menu-main): Remove auto-indent entry.
2702         (ps-mode-smie-rules): New function.
2703         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
2704         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
2705         (ps-mode--string-syntax-table): New const.
2706         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
2707         New functions.
2708         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
2709         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
2711 2014-04-27  Daniel Colascione  <dancol@dancol.org>
2713         * term/xterm.el (xterm-paste): Use large finite timeout when
2714         reading event to avoid putting keys in this-command-keys.
2716 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2718         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
2719         (perl-syntax-propertize-function): Use it.  Extend handling of
2720         here-docs to the unquoted case.
2722 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
2724         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2725         Use equal-including-properties to compare help-echo strings (bug#17331).
2727 2014-04-25  Leo Liu  <sdl.web@gmail.com>
2729         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2730         Fix syntax for @.  (Bug#17325)
2732 2014-04-25  Daniel Colascione  <dancol@dancol.org>
2734         * emacs-lisp/cl.el (gv): Require gv early to break eager
2735         macro-expansion cycles.
2737 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2739         * simple.el (region-active-p): Check there's a mark (bug#17324).
2741         * simple.el (completion-list-mode-map): Use choose-completion for the
2742         mouse binding as well (bug#17302).
2743         (completion-list-mode, completion-setup-function): Adjust docstring and
2744         echo area message accordingly.
2745         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2746         calling convention of choose-completion.
2747         * comint.el (comint-dynamic-list-completions):
2748         * term.el (term-dynamic-list-completions): Accept choose-completion.
2750         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2751         &, |, +, - and * can't be a division (bug#17317).
2753         * term/xterm.el (xterm--version-handler): Don't use modern xterm
2754         features on gnome-terminal (bug#16988).
2756 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
2758         Improve Scheme font-locking for (define ((foo ...) ...) ...).
2760         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
2761         the declared object, ignore zero or more parens, not zero or one.
2763 2014-04-24  Leo Liu  <sdl.web@gmail.com>
2765         * progmodes/xscheme.el (xscheme-expressions-ring)
2766         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
2767         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
2768         (xscheme-allow-output-p, xscheme-prompt)
2769         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
2771         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
2772         Comment out unused functions.
2774 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2776         * info.el: Use lexical-binding and cl-lib.
2777         Use defvar-local and setq-local instead of make-local-variable.
2778         (Info-apropos-matches): Avoid add-to-list.
2779         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
2781 2014-04-24  Daniel Colascione  <dancol@dancol.org>
2783         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
2785 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2787         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
2789 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
2791         * dired.el (dired-insert-set-properties): Do not consider
2792         subdirectory headings and empty lines to be information that
2793         `dired-hide-details-mode' should hide.  (Bug#17228)
2795 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2797         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2798         Remove test messages.
2799         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2800         and `target' twice.
2802 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2804         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2805         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2807         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2809 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2811         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2812         Set "IFS=" when using read builtin, in order to preserve spaces in
2813         the file name.  Add test messages for hunting a bug on hydra.
2814         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
2816 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2818         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2819         Don't prettify a word within a symbol.
2821 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
2823         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2824         possible.
2826 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2828         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
2829         use defun to define `function-put'.
2831 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2833         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
2834         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
2835         (lisp-mode-variables): Set font-lock-extra-managed-props.
2837         * emacs-lisp/byte-run.el (function-put): New function.
2838         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
2839         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
2840         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
2841         Use them.
2843 2014-04-22  Daniel Colascione  <dancol@dancol.org>
2845         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
2846         Add `full-p' parameter; when nil, call `macroexpand' instead of
2847         `macroexpand-all'.
2849         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2850         Improve docstrings.
2852         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2853         Use lambda function values, not quoted lambdas.
2854         (byte-compile-recurse-toplevel): Remove extraneous &optional.
2856         * emacs-lisp/cl-macs.el
2857         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
2858         (cl-struct-slot-value): Conditionally use aref or nth so that the
2859         compiler produces optimal code.
2861 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2863         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
2864         (inline): Don't inline cl--set-elt.
2865         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
2866         Define as inlinable instead.
2867         (cl-struct-set-slot-value): Remove.
2869         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
2870         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
2871         Use setf instead.
2873 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2875         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
2876         last two parameters after all.
2877         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
2878         (cl--compiler-macro-assoc,cl-struct-slot-value)
2879         (cl-struct-set-slot-value): Stop using them.
2881 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2883         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
2884         entry in image-mode-winprops-alist.
2886 2014-04-21  Daniel Colascione  <dancol@dancol.org>
2888         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
2889         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
2890         (byte-compile-toplevel-file-form): Use it.
2892         * emacs-lisp/cl-macs.el:
2893         (cl--loop-let): Properly destructure `while' clauses.
2895 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2897         * vc/vc.el (vc-root-dir): New public autoloaded function for
2898         generically finding the current VC root.
2899         * vc/vc-hooks.el (vc-not-supported): New error.
2900         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
2902 2014-04-20  Daniel Colascione  <dancol@dancol.org>
2904         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
2905         argument.
2906         (cl--const-expr-val): cl--const-expr-val should macroexpand its
2907         argument in case we're inside a symbol-macrolet.
2908         (cl--do-arglist, cl--compiler-macro-typep)
2909         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
2910         environment to `cl--const-expr-val'.
2911         (cl-struct-sequence-type,cl-struct-slot-info)
2912         (cl-struct-slot-offset, cl-struct-slot-value)
2913         (cl-struct-set-slot-value): New functions.
2915 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2917         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2918         assignments such as "case=hello" (bug#17297).
2920 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
2922         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2923         Do not autoload.
2924         (tramp-file-name-handler, tramp-completion-file-name-handler):
2925         Revert patch from 2014-04-10, it isn't necessary anymore.
2926         (tramp-autoload-file-name-handler)
2927         (tramp-register-autoload-file-name-handlers): New defuns.
2928         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2929         (tramp-register-file-name-handlers): Remove also
2930         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2931         Do not autoload its invocation, but eval it after loading of 'tramp.
2933         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2935         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2937 2014-04-17  Daniel Colascione  <dancol@dancol.org>
2939         Add support for bracketed paste mode; add infrastructure for
2940         managing terminal mode enabling and disabling automatically.
2942         * xt-mouse.el:
2943         (xterm-mouse-mode): Simplify.
2944         (xterm-mouse-tracking-enable-sequence)
2945         (xterm-mouse-tracking-disable-sequence): New constants.
2946         (turn-on-xterm-mouse-tracking-on-terminal)
2947         (turn-off-xterm-mouse-tracking-on-terminal):
2948         Use tty-mode-set-strings and tty-mode-reset-strings terminal
2949         parameters instead of random hooks.
2950         (turn-on-xterm-mouse-tracking)
2951         (turn-off-xterm-mouse-tracking): Delete.
2953         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
2954         (xterm-paste-ending-sequence): New constant.
2955         (xterm-paste): New command used for bracketed paste support.
2957         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
2958         (terminal-init-xterm-bracketed-paste-mode): New function.
2959         (terminal-init-xterm): Call it.
2960         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
2961         and tty-mode-reset-strings instead of random hooks.
2962         (xterm-turn-on-modify-other-keys)
2963         (xterm-turn-off-modify-other-keys)
2964         (xterm-remove-modify-other-keys): Delete obsolete functions.
2966         * term/screen.el: Rewrite to just use the xterm code.
2967         Add copyright notice.  Mention tmux.
2969 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
2971         * image-mode.el (image-mode-window-put): Also update the property of
2972         the "default window".
2973         * doc-view.el (doc-view-new-window-function): If no window
2974         exists, move to the last known page.
2976 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2978         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2979         here-documents (bug#17262).
2981 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
2983         * term/pc-win.el (x-list-fonts, x-get-selection-value):
2984         Provide doc strings, as required by snarf-documentation.
2986 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2988         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2989         arg of overlays-at.  Use `invisible-p'.
2991         * obsolete/lucid.el (extent-at):
2992         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2993         overlays-at.
2994         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2996 2014-04-16  João Távora  <joaotavora@gmail.com>
2998         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2999         links.  (Bug#17217).
3001 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3003         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3004         Use mapc to loop over a vector.  (Bug#17257).
3006 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
3008         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3009         patch, there are new problems with file names containing spaces.
3010         Get rid of backticks.  (Bug#17238)
3012 2014-04-16  João Távora  <joaotavora@gmail.com>
3014         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3015         possible bug.
3017 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3019         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3020         (blink-cursor-mode): Mention customization variables and the
3021         effect of 'blink-cursor-blinks'.
3023 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
3025         * simple.el (undo): Prevent insertion of identity mapping into
3026         undo-equiv-table so as undo-only does not inf loop in the presence
3027         of consecutive nils in undo list.
3029 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
3031         * faces.el (make-face): Deprecate optional argument as it is no
3032         longer needed/used since the conditional X resources handling
3033         has been pushed down to make-face-x-resource-internal itself.
3034         (make-empty-face): Don't pass optional argument to make-face.
3036 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
3038         * savehist.el (savehist-save): Remove workaround for a read-passwd
3039         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
3040         noticing that the shim was still present.
3042 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3044         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3046 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
3048         * faces.el (face-set-after-frame-default): Remove unused local variable.
3050 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3052         * progmodes/grep.el: Use lexical-binding.
3053         (grep-expand-template): Pass explicit lexical env to `eval'.
3054         (zrgrep): Let-bind grep-find-template explicitly.
3056         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3057         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3059 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
3061         * international/characters.el <standard-case-table>: Add entries
3062         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
3063         Set category of Coptic characters be 'g' (Greek).
3065 2014-04-12  Leo Liu  <sdl.web@gmail.com>
3067         * progmodes/octave.el (completion-table-with-cache):
3068         Define if not available.
3069         (octave-goto-function-definition, octave-sync-function-file-names)
3070         (octave-find-definition-default-filename):
3071         Backquote upattern for compatibility.
3073 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
3075         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3076         name twice due to backticks.  (Bug#17238)
3078 2014-04-12  Glenn Morris  <rgm@gnu.org>
3080         * term/w32-win.el (x-win-suspend-error):
3081         * term/x-win.el (x-win-suspend-error): Sync docs.
3083 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
3085         * faces.el (make-face): Remove deprecated optional argument.
3086         The conditional application of X resources is handled directly by
3087         make-face-x-resource-internal since Emacs 24.4.
3088         (make-empty-face): Don't pass optional argument to make-face.
3090 2014-04-11  Glenn Morris  <rgm@gnu.org>
3092         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
3094 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3096         Ediff's overlay priorities cause more trouble than they solve.
3097         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3098         (ediff-highest-priority): Remove function (bug#17234).
3099         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3100         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3101         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3102         overlay priorities.
3104 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
3106         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3107         entry; use symbol boundaries to avoid mis-matches.
3109 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
3111         * net/tramp.el (tramp-file-name-handler)
3112         (tramp-completion-file-name-handler): Avoid recursive loading.
3114         * net/tramp-sh.el (tramp-make-copy-program-file-name):
3115         Quote result also locally.
3117 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3119         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3120         Remove left-over code.
3122         * newcomment.el (comment-indent-new-line): Sink code where it's used.
3123         Reuse the previous comment's indentation unconditionally if it's on its
3124         own line.
3126 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3128         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3129         `no-syntax-crossing' arguments.  Forward to `up-list'.
3130         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3131         Implement logic for escaping from strings.  Use narrowing to deal
3132         with corner cases.
3134 2014-04-09  Leo Liu  <sdl.web@gmail.com>
3136         * net/rcirc.el (rcirc-connection-info): New variable.
3137         (rcirc-connect): Use it to store connection info.
3138         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3139         for killed process.
3140         (rcirc-cmd-reconnect): New command.  (Bug#17045)
3141         (rcirc-mode, set-rcirc-encode-coding-system)
3142         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3144 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3146         * emacs-lisp/cl-indent.el: Add comment claiming
3147         facility is also good for elisp.
3148         (lisp-indent-find-method): New function.
3149         (common-lisp-indent-function): Recognize cl-loop.
3150         (common-lisp-indent-function-1): Recognize cl constructs; use
3151         `lisp-indent-find-method' instead of `get' directly.
3152         (if): Use else-body style for elisp.
3154 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
3156         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3157         Module methods.  (Bug#17216)
3159 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3161         * help.el (describe-bindings): Fix buffer handling (bug#17210).
3162         (describe-bindings-internal): Mark obsolete.
3164 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3166         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3167         buffer-file-name, and buffer-file-truename any more.
3169 2014-04-08  Leo Liu  <sdl.web@gmail.com>
3171         Use lexical-binding and require cl-lib.
3172         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3173         (rcirc-handler-generic, rcirc-fill-paragraph)
3174         (rcirc-format-response-string, rcirc-target-buffer)
3175         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3176         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3177         (rcirc-ctcp-sender-PING, rcirc-browse-url)
3178         (rcirc-markup-timestamp, rcirc-markup-attributes)
3179         (rcirc-markup-my-nick, rcirc-markup-urls)
3180         (rcirc-markup-bright-nicks, rcirc-markup-fill)
3181         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3182         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3183         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3184         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3185         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3186         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3187         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3188         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3189         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3190         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3191         use cl-lib.
3193 2014-04-07  João Távora  <joaotavora@gmail.com>
3195         * elec-pair.el (electric-pair--syntax-ppss):
3196         When inside comments parse from comment beginning.
3197         (electric-pair--balance-info): Fix typo in comment.
3198         (electric-pair--in-unterminated-string-p): Delete.
3199         (electric-pair--unbalanced-strings-p): New function.
3200         (electric-pair-string-bound-function): New var.
3201         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3202         according to `electric-pair--in-unterminated-string-p'
3204         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3205         Inhibit quote pairing if point-max is inside an unterminated string.
3206         (electric-pair--looking-at-unterminated-string-p): Delete.
3207         (electric-pair--in-unterminated-string-p): New function.
3209 2014-04-07  Glenn Morris  <rgm@gnu.org>
3211         * shell.el (shell-directory-tracker):
3212         Go back to just ignoring failures.  (Bug#17159)
3214 2014-04-07  João Távora  <joaotavora@gmail.com>
3216         Fix `electric-pair-delete-adjacent-pairs' in modes binding
3217         backspace. (bug#16981)
3218         * elec-pair.el (electric-pair-backward-delete-char): Delete.
3219         (electric-pair-backward-delete-char-untabify): Delete.
3220         (electric-pair-mode-map): Bind backspace to a menu item filtering
3221         a new `electric-pair-delete-pair' command.
3222         (electric-pair-delete-pair): New command.
3224         * progmodes/python.el (python-electric-pair-string-delimiter):
3225         Fix triple-quoting electricity.  (Bug#17192)
3227         * elec-pair.el (electric-pair-post-self-insert-function):
3228         Don't skip whitespace when `electric-pair-text-pairs' and
3229         `electric-pair-pairs' were used. syntax to
3230         electric-pair--skip-whitespace.  (Bug#17183)
3232 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3234         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3235         "<F>".  (Bug#17199)
3237 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3239         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3240         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3242 2014-04-07  Glenn Morris  <rgm@gnu.org>
3244         * help.el (view-lossage): Doc tweak.
3246 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
3248         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3249         only when inhibit-x-resources is nil, and do that earlier in the
3250         function.  Doc fix.  (Bug#16694)
3251         (face-spec-choose): Accept additional optional argument, whose
3252         value is returned if no matching attributes are found.
3253         (face-spec-recalc): Use the new optional argument when calling
3254         face-spec-choose.  (Bug#16378)
3255         (make-face-x-resource-internal): Do nothing when
3256         inhibit-x-resources is non-nil.  Don't touch the default face if
3257         reversed video is given--as was done in previous versions of Emacs.
3258         (face-set-after-frame-default): Don't call
3259         make-face-x-resource-internal here.  (Bug#16434)
3261 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
3263         * doc-view.el (doc-view-bookmark-jump):
3264         Use `bookmark-after-jump-hook' to jump to the right page after the
3265         buffer is shown in a window.  (bug#16090)
3267 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3269         * international/characters.el (mirroring): Fix last change:
3270         instead of loading uni-mirrored.el explicitly, do that implicitly
3271         by creating the 'mirroring' uniprop table.  This avoids announcing
3272         the loading of uni-mirrored.el.
3274 2014-04-07  Glenn Morris  <rgm@gnu.org>
3276         * files.el (buffer-stale--default-function)
3277         (buffer-stale-function, revert-buffer--default):
3278         * autorevert.el (auto-revert-buffers): Doc tweaks.
3280 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3282         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
3284 2014-04-07  Glenn Morris  <rgm@gnu.org>
3286         * files.el (make-backup-file-name-function)
3287         (make-backup-file-name, make-backup-file-name--default-function)
3288         (make-backup-file-name-1, find-backup-file-name)
3289         (revert-buffer-function, revert-buffer-insert-file-contents-function)
3290         (buffer-stale--default-function, buffer-stale-function)
3291         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3292         (revert-buffer, revert-buffer--default)
3293         (revert-buffer-insert-file-contents--default-function):
3294         Doc fixes related to defaults no longer being nil.
3295         (make-backup-file-name-function): Bump :version.
3296         Restore nil as a valid but deprecated custom type.
3298 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3300         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3301         Handle $' used as a variable (bug#17174).
3303         * progmodes/perl-mode.el (perl-indent-new-calculate):
3304         Handle forward-sexp failure (bug#16985).
3305         (perl-syntax-propertize-function): Add "foreach" and "for" statement
3306         modifiers introducing expressions (bug#17116).
3308 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3310         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3312 2014-04-05  Leo Liu  <sdl.web@gmail.com>
3314         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3315         Add define-compilation-mode.
3317 2014-04-04  João Távora  <joaotavora@gmail.com>
3319         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3320         parse from comment beginning.
3321         (electric-pair--balance-info): Fix typo in comment.
3322         (electric-pair--in-unterminated-string-p): Delete.
3323         (electric-pair--unbalanced-strings-p): New function.
3324         (electric-pair-string-bound-function): New var.
3325         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3326         according to `electric-pair--in-unterminated-string-p'.
3328 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3330         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3331         Move declaration before first use.
3332         (reftex-move-to-next-arg): Silence compiler warning.
3334 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
3336         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3337         Use `window-total-width' instead of `window-width'.
3339 2014-04-03  Daniel Colascione  <dancol@dancol.org>
3341         * subr.el (set-transient-map): Remove rms's workaround entirely;
3342         use new `suspicious-object' subr to mark our lambda for closer
3343         scrutiny during gc.
3345 2014-04-02  Richard Stallman  <rms@gnu.org>
3347         * subr.el (set-transient-map): Comment out previous change.
3349 2014-04-02  Glenn Morris  <rgm@gnu.org>
3351         * menu-bar.el (menu-bar-file-menu):
3352         * vc/ediff.el (ediff-current-file):
3353         Update for revert-buffer-function no longer being nil by default.
3355         * simple.el (command-execute): Respect nil disabled-command-function.
3357 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3359         * simple.el (command-execute): Do not execute the command when it
3360         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
3362 2014-04-02  Juri Linkov  <juri@jurta.org>
3364         * dired-aux.el (dired-compress-file): Don't use string-match-p
3365         because its match data is used afterwards.
3367 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3369         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3370         0 like nil.
3372 2014-04-02  João Távora  <joaotavora@gmail.com>
3374         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3375         Inhibit quote pairing if point-max is inside an unterminated string.
3376         (electric-pair--looking-at-unterminated-string-p):
3377         Delete.
3378         (electric-pair--in-unterminated-string-p): New function.
3380 2014-04-01  Daniel Colascione  <dancol@dancol.org>
3382         * minibuffer.el (minibuffer-complete): Prevent assertion failure
3383         when trying to complete the prompt.
3385 2014-03-31  Leo Liu  <sdl.web@gmail.com>
3387         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3388         Refactor out eldoc-documentation-function-default.
3389         (eldoc-documentation-function-default): New function.
3390         (eldoc-documentation-function): Change value.
3392 2014-03-31  Glenn Morris  <rgm@gnu.org>
3394         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3396         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3397         (vhdl-compose-components-package, vhdl-compose-configuration):
3398         Abbreviate default-directory (missing from some previous upstream sync).
3400 2014-03-31  Reto Zimmermann  <reto@gnu.org>
3402         Sync with upstream vhdl mode v3.35.2.
3403         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3404         (top-level): No longer require assoc.
3405         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3406         New functions.  Use throughout to replace aget etc.
3407         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3408         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3409         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3410         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3411         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3412         except `vhdl-compiler'.
3413         (vhdl-error-regexp-add-emacs): Remove all other compilers,
3414         when appropriate.
3416 2014-03-31  Glenn Morris  <rgm@gnu.org>
3418         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3419         Revert 2014-03-26 merge goof; go back to using defalias.
3421 2014-03-30  Daniel Colascione  <dancol@dancol.org>
3423         * comint.el (comint-send-input):
3424         Deactivate completion-in-region-mode before we send comint input.
3425         (Bug#17139).
3427         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3428         on keyboard-quit.
3430 2014-03-29  Glenn Morris  <rgm@gnu.org>
3432         * textmodes/reftex.el: Manage most autoloads automatically.
3433         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3434         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3435         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3436         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3437         * textmodes/reftex-toc.el: Set generated-autoload-file,
3438         and add autoload cookies for reftex.el.
3439         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3441 2014-03-28  Glenn Morris  <rgm@gnu.org>
3443         * cus-start.el (report-emacs-bug-address): Set custom properties.
3444         * mail/emacsbug.el (report-emacs-bug-address):
3445         Variable is now defined in emacs.c.
3447         * mail/emacsbug.el (report-emacs-bug):
3448         Include system-configuration-features.
3450 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
3452         * simple.el (cycle-spacing): Never delete spaces on first run by
3453         default, but do so in a new 'fast mode and if there are already
3454         N spaces (the previous behavior).
3455         Compare N with its value in previous invocation so that changing
3456         prefix argument restarts `cycle-spacing' sequence.
3457         The idea is that with this change, binding M-SPC to
3458         `cycle-spacing' should not introduce any changes in behavior of
3459         the binding so long as users do not type M-SPC twice in a raw with
3460         the same prefix argument or lack thereof.
3462 2014-03-28  Glenn Morris  <rgm@gnu.org>
3464         * faces.el (term-file-aliases): New variable.
3465         (tty-run-terminal-initialization): Respect term-file-aliases.
3466         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3467         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3468         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3470 2014-03-27  Glenn Morris  <rgm@gnu.org>
3472         * startup.el (inhibit-startup-hooks): Doc tweak.
3473         (normal-top-level): Simplify running of hooks.
3474         For window-setup-hook, respect inhibit-startup-hooks.
3475         (command-line-1): Don't set window-setup-hook to nil.
3477         Allow selective autoloading from obsolete/ directory.
3478         * Makefile.in (obsolete-autoloads): New rule.
3479         (autoloads): Run obsolete-autoloads.
3480         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3481         * simple.el (iswitchb-mode): Remove hand-written autoloads.
3483 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
3485         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3486         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
3488         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3489         Don't propertize `?' or `!' as symbol constituent when after
3490         colon.  (Bug#17097)
3492 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
3494         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
3495         which is no longer needed and causes trouble in GTK builds (bug#17046).
3497         * emacs-lisp/package-x.el (package--archive-contents-from-url):
3498         Use url-insert-file-contents; package-handle-response no longer exists.
3500 2014-03-26  Daniel Colascione  <dancol@dancol.org>
3502         * simple.el (process-menu-mode-map): New variable.
3503         (process-menu-delete-process): New command.
3505 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3507         * emacs-lisp/package.el: Fix bug#16733 (again).
3508         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
3509         (url-http-target-url): Remove unused declarations.
3510         (package-handle-response): Remove.
3511         (package--with-work-buffer): Use url-insert-file-contents and simplify.
3512         (package--download-one-archive): Use current-buffer instead of
3513         dynamic binding of `buffer'.
3514         (describe-package-1): Do not decode readme-string.
3516 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
3518         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
3520         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
3521         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
3522         `remote-file-name-inhibit-cache' to nil in the second pass.
3523         (tramp-find-executable): Do not call "which" on SunOS.
3524         (tramp-send-command-and-check): Fix docstring.
3525         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
3526         check whether source directory has set the sticky bit.
3528 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
3530         * simple.el (primitive-undo): Only process marker adjustments
3531         validated against their corresponding (TEXT . POS).  Issue warning
3532         for lone marker adjustments in undo history.  (Bug#16818)
3533         (undo-make-selective-list): Add marker adjustments to selective
3534         undo list based on whether their corresponding (TEXT . POS) is in
3535         the region.  Remove variable adjusted-markers, which was unused
3536         and only non nil during undo-make-selective-list.
3537         (undo-elt-in-region): Return nil when passed a marker adjustment
3538         and explain in function doc.
3540 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3542         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
3544 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3546         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
3547         Match special global variables without curlies, too.
3548         (ruby-font-lock-keywords): Simplify the matcher for special global
3549         variables.  Don't require a non-word character after the variable.
3550         (Bug#17057)
3552 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3554         * simple.el (redisplay-highlight-region-function): Increase priority of
3555         overlay to make sure boundaries are visible (bug#15899).
3557 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3559         * frameset.el (frameset--initial-params): Fix typo in parameter name.
3560         (frameset-restore): Compare display strings with equal.
3562         * frame.el (make-frame): Don't quote display name in error message,
3563         it is already a string.
3565 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3567         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
3568         the password.
3570 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3572         * emacs-lisp/package.el (package--add-to-archive-contents):
3573         Include already installed and built-in packages in
3574         `package-archive-contents'.
3575         (package-install): Don't include already installed packages in the
3576         options during interactive invocation.  (Bug#16762)
3577         (package-show-package-list): If the buffer is already displayed in
3578         another window, switch to that window.
3580 2014-03-26  Reto Zimmermann  <reto@gnu.org>
3582         Sync with upstream vhdl mode v3.35.1.
3583         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3584         (vhdl-compiler-alist): Doc fix.
3585         (vhdl-goto-line): Remove.
3586         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
3587         (vhdl-mode) <paragraph-start>: Fix value.
3588         (vhdl-fix-statement-region): Not `for' in wait-statement.
3589         (vhdl-beautify-region): Also (un)tabify.
3590         (vhdl-get-visible-signals):
3591         Scan declarative part of generate statements.
3592         (vhdl-template-record): Fix indentation for record type declaration.
3593         (vhdl-expand-abbrev, vhdl-expand-paren):
3594         Revert to using fset again rather than defalias.
3595         (vhdl-scan-directory-contents): Tweak.
3596         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
3597         (vhdl-compose-components-package):
3598         Replace vhdl-goto-line with forward-line.
3599         (top-level): Tweak speedbar frame selection.
3600         (vhdl-generate-makefile-1): Support for compilers with no
3601         unit-to-file name mapping (create directory with dummy files).
3603 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
3605         Sync with upstream verilog-mode revision 702457d.
3606         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3607         (create-lockfiles): Declare.
3608         (verilog-read-decls): Fix module header imports, bug709.
3609         Reported by Victor Lau.
3610         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
3611         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3612         interface-only modules, bug721.  Reported by Dean Hoyt.
3614 2014-03-26  Glenn Morris  <rgm@gnu.org>
3616         * obsolete/gulp.el: Move here from emacs-lisp/.
3618         * files.el (lock-buffer, unlock-buffer, file-locked-p):
3619         Remove fallback aliases, since they are always defined now.
3621 2014-03-24  Daniel Colascione  <dancol@dancol.org>
3623         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3624         instead of cl-loop search function.
3626 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3628         * calendar/parse-time.el (parse-time-iso8601-regexp)
3629         (parse-iso8601-time-string): Copied from `url-dav' so that we can use
3630         it more generally.
3632 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3634         * net/dns.el (network-interface-list): Define for XEmacs.
3636 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
3638         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3639         the network interfaces changed.
3640         (dns-query): Use it to flush the data.
3642 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
3644         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
3646 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3648         Change subword-mode to use `find-word-boundary-function-table' and
3649         replace `capitalized-words-mode'.  Also, convert to lexical
3650         binding.
3652         * progmodes/cap-words.el: Delete now-obsolete file.
3653         * progmodes/subword.el: Reimplement using
3654         `find-word-boundary-function-table'.
3655         (subword-mode-map): Hollow out.
3656         (capitalized-words-mode): Define as obsolete alias for
3657         `subword-mode'.
3658         (subword-mode, superword-mode): Tweak documentation to reflect new
3659         implementation; call `subword-setup-buffer'.
3660         (subword-forward, subword-capitalize): Add underscore to indicate
3661         unused variable.
3662         (subword-find-word-boundary-function-table): New constant.
3663         (subword-empty-char-table): New constant.
3664         (subword-setup-buffer): New function.
3665         (subword-find-word-boundary): New function.
3667 2014-03-23  Daniel Colascione  <dancol@dancol.org>
3669         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
3670         list to look for keyword arguments instead of `memq', fixing
3671         (Bug#3647) --- unfortunately, only for freshly-compiled code.
3672         Please make bootstrap.
3674 2014-03-22  Glenn Morris  <rgm@gnu.org>
3676         * dired.el (dired-read-regexp): Make obsolete.
3677         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
3678         (dired-flag-files-regexp):
3679         * dired-aux.el (dired-mark-read-regexp):
3680         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
3682         * startup.el (fancy-startup-text):
3683         * help.el (describe-gnu-project): Visit online info about GNU project.
3685         * help-fns.el (help-fns--interactive-only): New function.
3686         (help-fns-describe-function-functions): Add the above function.
3687         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
3688         (next-line, previous-line): Remove hand-written interactive-only
3689         information from doc strings, it is auto-generated now.
3690         * bookmark.el (bookmark-write):
3691         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
3692         (epa-mail-import-keys): Mark interactive-only,
3693         and remove hand-written interactive-only information from doc strings.
3694         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
3695         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
3696         * files.el (not-modified):
3697         * simple.el (mark-whole-buffer): Mark interactive-only.
3699         * emacs-lisp/byte-run.el (defun-declarations-alist):
3700         Add interactive-only.  Doc tweak.
3701         (macro-declarations-alist): Doc tweak.
3702         * subr.el (declare): Doc tweak (add xref to manual).
3703         * comint.el (comint-run):
3704         * files.el (insert-file-literally, insert-file):
3705         * replace.el (replace-string, replace-regexp):
3706         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3707         (delete-forward-char, goto-line, insert-buffer, next-line)
3708         (previous-line): Set interactive-only via declare.
3710 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
3712         * emacs-lisp/package.el (package-desc): Use the contents of the
3713         quoted form, not its cdr.  (Bug#16873)
3715 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
3717         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
3718         benefit of doc.c; change parameter profile to match the X function.
3720 2014-03-22  Leo Liu  <sdl.web@gmail.com>
3722         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
3723         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
3725 2014-03-21  Richard Stallman  <rms@gnu.org>
3727         * battery.el (battery-linux-sysfs): Search for each field
3728         from the beginning of the buffer.
3730         * subr.el (set-transient-map): Clear out function and value
3731         of the temporary symbol when we're done with it.
3733         * mail/rmailsum.el (rmail-summary-delete-forward):
3734         Optimize case of reaching end and handling count.
3735         (rmail-summary-mark-deleted): Optimize when N is current msg.
3736         Don't create new summary line.
3737         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
3738         (rmail-summary-undelete-many): Rewrite for speed.
3739         (rmail-summary-msg-number): New function.
3741         * mail/rmail.el (rmail-delete-message): Update summary.
3742         (rmail-undelete-previous-message): Handle repeat count arg.
3743         (rmail-delete-backward, rmail-delete-forward): Likewise.
3745 2014-03-21  Daniel Colascione  <dancol@dancol.org>
3747         * mail/emacsbug.el (report-emacs-bug): Include memory usage
3748         information in bug reports.
3750 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
3752         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
3753         and `tramp-copy-env'.
3755         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
3756         (tramp-maybe-open-connection): Handle `tramp-login-env'.
3758 2014-03-21  Glenn Morris  <rgm@gnu.org>
3760         * electric.el (electric-indent-post-self-insert-function): Add doc.
3762 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
3764         * emacs-lisp/package.el (package-compute-transaction):
3765         Use `version-list-<=' to compare the requirement version against
3766         the version of package already to be installed.  Update the error
3767         message.  (Bug#16826)
3769         * progmodes/ruby-mode.el (ruby-smie-rules):
3770         Add indentation rule for ` @ '.  (Bug#17050)
3772 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3774         * align.el (align-regexp): Remove superfluous backslash.
3776         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
3777         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
3778         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
3779         Fix docstring typos.
3780         (ffap-next): Use C-u in docstring.
3781         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
3782         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
3783         Remove superfluous backslashes.
3784         (ffap-string-at-point): Reflow docstring.
3786         * server.el (server-host): Reflow docstring.
3787         (server-unload-function): Fix docstring typo.
3788         (server-eval-at): Remove superfluous backslash.
3790         * skeleton.el (skeleton-insert): Remove superfluous backslash.
3791         (skeleton-insert): Doc fix.
3792         (skeleton-insert): Reflow docstring.
3794         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
3795         (tty-color-approximate, tty-color-by-index, tty-color-values)
3796         (tty-color-desc): Remove superfluous backslashes.
3798 2014-03-21  Glenn Morris  <rgm@gnu.org>
3800         * cus-start.el (history-length): Bump :version.
3802         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3803         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3804         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3805         Don't set `make-backup-files'.
3807         * info.el (info--prettify-description): New function,
3808         to give info-finder descriptions consistent case, punctuation.
3809         (Info-finder-find-node): Use it.  Sort packages.
3810         Refer to "description" rather than "commentary".
3812 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
3814         * frameset.el (frameset--print-register): New function.
3815         (frameset-to-register): Use it.
3817 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
3819         * progmodes/hideif.el (hif-string-to-number): New function.
3820         (hif-tokenize): Use it to understand non-decimal floats.
3822         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
3824         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
3826 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3828         * electric.el (electric-newline-and-maybe-indent): New command.
3829         Bind it globally to C-j.
3830         (electric-indent-mode): Don't mess with the global map any more.
3831         Don't drop the post-self-insert-hook is some buffer is still using it
3832         (bug#16770).
3834         * bindings.el (global-map): Remove C-j binding.
3836         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
3837         the docstring of functions advised before dumping (bug#16993).
3839 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
3841         * ps-print.el (ps-generate-postscript-with-faces):
3842         Explicitly deactivate the mark (bug#16866).
3843         * simple.el (deactivate-mark): Update region highlight.
3845 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
3847         * emacs-lisp/package.el (describe-package-1):
3848         Decode commentary (bug#16733).
3850 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
3852         * custom.el (defcustom): Doc fix: recommend avoiding destructive
3853         modification of the value argument of :set (bug#16755).
3855 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3857         * simple.el (newline-and-indent): Do autofill (bug#17031).
3859 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
3861         * newcomment.el (comment-normalize-vars): Only add escaping check
3862         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
3863         (comment-beginning): Use `narrow-to-region' instead of moving back
3864         one character.
3865         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3866         (comment-start-skip): Update the docstring.
3868 2014-03-18  Richard Stallman  <rms@gnu.org>
3870         * dired.el (dired-display-file): Force use of other window.
3872 2014-03-18  Daniel Colascione  <dancol@dancol.org>
3874         * startup.el (tty-handle-args): Remove debug message from 2007.
3876 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3878         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3879         (advice--make-interactive-form): Use it to avoid (auto)loading function.
3880         (advice--make-1, advice-add, advice-remove):
3881         Remove braindead :advice-pending hack.
3883 2014-03-17  Glenn Morris  <rgm@gnu.org>
3885         * calendar/calendar.el (calendar-generate-month): Apply weekend
3886         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
3888 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
3890         * net/tramp.el (tramp-action-out-of-band): Read pending output.
3891         (tramp-call-process): Trace also DESTINATION.
3893         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3894         Quote file names when they are local.  Remove superfluous trace.
3896 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
3898         * newcomment.el (comment-beginning): If `comment-start-skip'
3899         doesn't match, move back one char and try again.  (Bug#16971)
3901         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3902         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3903         Set `comment-start-skip' to a simpler value that doesn't try to
3904         check if the semicolon is escaped (this is handled by
3905         `syntax-ppss' now).  (Bug#16971)
3907         * progmodes/scheme.el (scheme-mode-variables): Same.
3909 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
3911         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3912         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3913         current (Bug#16816, Bug#17007).
3914         (with-current-buffer-window): New macro doing the same as
3915         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3916         * help.el (help-print-return-message): Warn in doc-string to not
3917         use this in `with-help-window'.
3918         (describe-bindings-internal): Call `describe-buffer-bindings'
3919         from within help buffer.  See Juanma's scenario in (Bug#16816).
3920         (with-help-window): Update doc-string.
3921         * dired.el (dired-mark-pop-up):
3922         * files.el (save-buffers-kill-emacs):
3923         * register.el (register-preview): Use `with-current-buffer-window'
3924         instead of `with-temp-buffer-window'.
3926 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
3928         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3929         Implement inserting into current buffer, documented in their docstrings.
3930         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3931         (rst-section-tree-point, rst-forward-section, rst-indent)
3932         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3933         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3934         (rst-font-lock-handle-adornment-pre-match-form)
3935         (rst-repeat-last-character): Reflow docstrings.
3936         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3937         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3938         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3939         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3940         Fix docstring typos.
3941         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3942         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3943         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3945 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
3947         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3948         for compatibility with other ports.
3949         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
3950         from the -xrm command line argument, but in the Nextstep port its value
3951         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3953         * progmodes/python.el (defconst, python-syntax-count-quotes)
3954         (python-indent-region, python-indent-shift-right)
3955         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3956         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3957         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3958         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3959         (inferior-python-mode, python-shell-make-comint, run-python-internal)
3960         (python-shell-buffer-substring, python-shell-send-buffer)
3961         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3962         (python-completion-complete-at-point, python-fill-docstring-style)
3963         (python-eldoc-function, python-imenu-format-item-label)
3964         (python-imenu-format-parent-item-label)
3965         (python-imenu-format-parent-item-jump-label)
3966         (python-imenu--build-tree, python-imenu-create-index)
3967         (python-imenu-create-flat-index): Fix docstring typos.
3968         (python-indent-context, python-shell-prompt-regexp, run-python):
3969         Remove superfluous backslashes.
3970         (python-indent-line, python-nav-beginning-of-defun)
3971         (python-shell-get-buffer, python-shell-get-process)
3972         (python-info-current-defun, python-info-current-line-comment-p)
3973         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3974         (python-indent-post-self-insert-function, python-shell-send-file)
3975         (python-shell-completion-get-completions)
3976         (python-shell-completion-complete-or-indent)
3977         (python-eldoc--get-doc-at-point): Reflow docstrings.
3979 2014-03-14  Glenn Morris  <rgm@gnu.org>
3981         * emacs-lisp/package.el (package-menu-mode-map):
3982         Replace use of obsolete function alias.  Tweak menu item text.
3984         * info.el (Info-finder-find-node):
3985         Ignore the `emacs' metapackage.  (Bug#10813)
3987         * finder.el (finder-list-matches): Include unversioned packages
3988         in the result of a keyword search.
3990         * finder.el (finder--builtins-descriptions): New constant.
3991         (finder-compile-keywords): Use finder--builtins-descriptions.
3993 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
3995         * simple.el (blink-matching-paren): Describe the new value,
3996         `jump', enabling the old behavior.
3997         (blink-matching-open): Use that value.  (Bug#17008)
3999 2014-03-14  Glenn Morris  <rgm@gnu.org>
4001         * finder.el (finder-no-scan-regexp): Add leim-list.
4002         (finder-compile-keywords):
4003         Don't skip files with same basename.  (Bug#14010)
4004         * Makefile.in (setwins_finder): New, excluding leim.
4005         (finder-data): Use setwins_finder.
4007         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4008         (help-function-arglist, help-make-usage): Move from here...
4009         * help.el (help-split-fundoc, help-add-fundoc-usage)
4010         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
4011         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4013 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
4015         * net/socks.el (socks, socks-override-functions)
4016         (socks-find-services-entry):
4017         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4018         (hif-find-ifdef-block):
4019         * progmodes/modula2.el (m2-indent): Fix docstring typos.
4021         * net/tls.el (tls-program): Reflow docstring.
4023         * progmodes/pascal.el (pascal-mode-abbrev-table)
4024         (pascal-imenu-generic-expression, pascal-auto-endcomments)
4025         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4026         (pascal-outline-mode): Fix docstring typos.
4027         (pascal-mode): Let define-derived-mode document mode hook.
4028         (pascal-uncomment-area): Reflow.
4029         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4031         * progmodes/opascal.el (opascal-compound-block-indent)
4032         (opascal-case-label-indent): Fix docstring typos.
4033         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4035 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
4037         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4038         Fontify multiple adjacent negation chars.  (Bug#17004)
4040 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4042         * emacs-lisp/package.el (package--prepare-dependencies):
4043         Accept requirements without explicit version (bug#14941).
4045 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4047         * register.el (register-separator, copy-to-register): Doc fixes.
4048         (register-preview-default): Remove unnecessary call to concat.
4050         * frameset.el (frameset-restore): When checking for a visible frame,
4051         use the action map instead of calling visible-frame-list.
4053 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
4055         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4057 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
4059         * window.el (fit-frame-to-buffer): Get maximum width from
4060         display's width instead of height.
4062 2014-03-12  Glenn Morris  <rgm@gnu.org>
4064         * desktop.el (desktop-restore-frames)
4065         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4066         (desktop-restore-reuses-frames): Doc tweaks.
4068         * electric.el (electric-indent-mode): Doc fix.
4070 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4072         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4073         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4074         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4075         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4076         (cvs-dired-use-hook): Fix docstring typos.
4077         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4078         Doc fixes.
4080         * vc/pcvs-defs.el (cvs-auto-remove-handled)
4081         (cvs-auto-remove-directories, cvs-default-ignore-marks)
4082         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4083         (cvs-execute-single-dir): Fix docstring typos.
4085         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4086         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4088         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4090         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4091         Fix docstring typos.
4093 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4095         * frameset.el (frameset--jump-to-register): Add autoload; it could be
4096         called from jump-to-register after unloading the frameset package.
4098 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4100         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4101         (bug#16975).  Deactivate the mark before setting it to nil.
4102         (activate-mark): Do nothing if region is already active.
4104 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4106         * frameset.el (frameset--target-display): Remove definition; declare.
4107         (frameset-save, frameset-restore): Let-bind frameset--target-display.
4109 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4112         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4113         when the advice is pending.
4114         (advice-remove): Remove this marker when not needed any more.
4116 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4118         * frameset.el: Separate options for reusing frames and cleaning up.
4119         (frameset--reuse-list): Remove definition; declare.
4120         (frameset--action-map): Declare.
4121         (frameset--find-frame-if): Doc fix.
4122         (frameset--restore-frame): Cache frame action.
4123         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4124         how to clean up the frame list after restoring.  Remove cleaning
4125         options from REUSE-FRAMES.  Change all keyword values to symbols.
4126         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4128         * desktop.el (desktop-restore-forces-onscreen)
4129         (desktop-restore-reuses-frames): Use non-keyword values.
4130         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4132 2014-03-10  Glenn Morris  <rgm@gnu.org>
4134         * files.el (find-file): Doc fix: update info node name.
4136         * emacs-lisp/advice.el (ad-add-advice, defadvice):
4137         Doc fix: remove references to deleted info nodes.
4139 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
4141         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4142         Do not add nil to the environment, when there's no remote `locale'.
4143         (tramp-find-inline-encoding): Check, that the remote host has
4144         installed perl, before sending scripts.
4146 2014-03-10  Leo Liu  <sdl.web@gmail.com>
4148         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4149         Clear eldoc-last-message.  (Bug#16920)
4151 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4153         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4154         (bug#14430).
4156 2014-03-09  Juri Linkov  <juri@jurta.org>
4158         * ansi-color.el (ansi-color-names-vector): Copy default colors
4159         from `xterm-standard-colors' that look well on the default white
4160         background (and also on the black background) to avoid illegible
4161         color combinations like yellow-on-white and white-on-white.
4162         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4164 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
4166         * frameset.el (frameset-restore): When no frame is visible, do not
4167         generate a list of frames, just make visible the selected one.
4169 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
4171         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4172         it only contains the repository root.  (Bug#16897)
4174 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
4176         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4177         only when `remote-file-name-inhibit-cache' is nil.
4178         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
4180 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
4182         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4183         Fix doc-strings.
4184         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
4185         fit-frame-to-buffer variable.  Fix doc-string.
4186         (fit-window-to-buffer): Set ONLY argument in call of
4187         fit-frame-to-buffer.  Fix doc-string.
4189 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
4191         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4192         (tramp-action-password): Clear password cache if needed.
4193         (tramp-read-passwd): Do not clear password cache.
4195         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4196         cache unless it is the first password request.
4198 2014-03-06  Glenn Morris  <rgm@gnu.org>
4200         * simple.el (newline): Doc tweak.
4202         * emacs-lisp/shadow.el (load-path-shadows-find):
4203         Ignore dir-locals.  (Bug#12357)
4205 2014-03-05  Glenn Morris  <rgm@gnu.org>
4207         * files.el (interpreter-mode-alist):
4208         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
4210 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4212         * frameset.el (frameset--initial-params): Filter out null entries.
4214 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
4216         * window.el (window-min-height, window-min-width):
4217         Rewrite doc-strings.
4218         (window-body-size): Add PIXELWISE argument to make it consistent
4219         with its callees.
4221 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4223         * finder.el (finder-mode-map, finder-mode-syntax-table):
4224         Revert part of 2014-02-28 change.
4226 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
4228         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4229         (eww-setup-buffer): Clear next/prev/etc more reliably.
4230         (eww-textarea-map): [tab] doesn't work on tty.
4231         Reported by Mario Lang.
4233         * net/shr.el (shr-map): Ditto.
4235 2014-03-04  Glenn Morris  <rgm@gnu.org>
4237         * minibuffer.el (completion-hilit-commonality):
4238         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4240 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4242         * hilit-chg.el (hilit-chg-unload-function): New function.
4243         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4244         (hilit-chg-map-changes): Prefer cardinal number to digit.
4245         (hilit-chg-display-changes): Reflow docstring.
4246         (highlight-changes-rotate-faces): Remove superfluous backslash.
4248 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
4250         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4251         `tramp-send-command-and-check'.
4253 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4255         * hexl.el (hexl-address-region, hexl-ascii-region)
4256         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4257         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4258         (hexl-forward-word, hexl-previous-line, hexl-next-line):
4259         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4260         (hexl-mode): Doc fix.
4261         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4262         (hexl-mode-ruler): Fix typos in docstrings.
4264         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4265         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4266         Remove superfluous backslashes.
4267         (strokes-last-stroke, strokes-global-map, strokes-mode):
4268         Reflow docstrings.
4269         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4270         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4271         (strokes-distance-squared, strokes-global-set-stroke)
4272         (strokes-global-set-stroke-string): Doc fixes.
4273         (strokes-help): Fix typos; reflow docstring.
4275 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
4277         * window.el (window-in-direction): Fix doc-string.
4279 2014-03-04  Glenn Morris  <rgm@gnu.org>
4281         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4282         Explicit error if no grammar.
4283         (smie-config-save): Doc fix.  Fix quote typo.
4285 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4287         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4288         electric-indent-mode-hook if we obey electric-indent-mode.
4289         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4290         decide whether we obey electric-indent-mode.
4291         (c-change-set-fl-decl-start, c-extend-after-change-region):
4292         Silence warnings.
4293         (c-electric-indent-mode-hook): Assume we do want to obey
4294         electric-indent-mode.
4296         * electric.el (electric-indent-mode-has-been-called): Remove.
4297         (electric-indent-mode): Fix accordingly.
4299         * files.el (hack-local-variables): Mention file name in warning.
4301         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4303 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
4305         * bindings.el: Add comment describing why C-d binds to `delete-char'.
4306         * simple.el (delete-forward-char): Mark as interactive-only.
4308 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
4310         * icomplete.el (icomplete-completions):
4311         Follow-up to 2014-03-01 change.
4313         * icomplete.el: Miscellaneous doc fixes.
4314         Use Icomplete everywhere instead of icomplete for consistency.
4315         (icomplete-max-delay-chars): Fix typo.
4316         (icomplete-mode): Use \[].
4317         (icomplete-tidy, icomplete-exhibit): Reflow.
4318         (icomplete-minibuffer-setup-hook, icomplete-completions):
4319         Remove superfluous backlashes.
4321         * ido.el: Miscellaneous doc fixes.
4322         Use Ido everywhere instead of ido or `ido' for consistency.
4323         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4324         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4325         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4326         (ido-separator): Extract obsolescence info from docstring and declare
4327         with make-obsolete-variable.
4328         (ido-minibuffer-setup-hook): Simplify example.
4329         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4330         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4331         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4332         (ido-everywhere): Reflow docstring.
4333         (ido-toggle-vc): Doc fix.
4334         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4335         of long list of keybindings.
4337 2014-03-03  Glenn Morris  <rgm@gnu.org>
4339         * frame.el (display-pixel-height, display-pixel-width)
4340         (display-mm-dimensions-alist, display-mm-height)
4341         (display-mm-width): Doc tweaks.
4343 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
4345         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4346         case of undo in region.
4348 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
4350         * window.el (fit-window-to-buffer): Fix argument in window-size
4351         call when window is horizontally combined.
4353 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
4355         * icomplete.el (icomplete-completions): Use string-width.
4356         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4358 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
4360         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4361         Highlight regexp options.  (Bug#16914)
4363 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
4365         * window.el (window--max-delta-1): Round down when calculating
4366         how many lines/columns we can get from a window.
4368 2014-03-01  Glenn Morris  <rgm@gnu.org>
4370         * isearch.el (search-invisible): Doc fix.
4372         * minibuffer.el (completion-hilit-commonality):
4373         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
4374         * comint.el (comint-dynamic-list-completions): Doc fix.
4375         * comint.el (comint-dynamic-list-completions):
4376         * filecache.el (file-cache-minibuffer-complete):
4377         * tempo.el (tempo-display-completions):
4378         * eshell/em-hist.el (eshell-list-history):
4379         Replace use of obsolete argument of display-completion-list.
4381 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
4383         * icomplete.el (icomplete-completions):
4384         Revert back to using "..." when ?… cannot be displayed.
4386 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4388         * finder.el (finder-unload-function): New function.
4390 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4392         * dframe.el (dframe-detach):
4393         * find-dired.el (find-dired, find-name-dired):
4394         * finder.el (finder-mode-map, finder-mode-syntax-table)
4395         (finder-headmark, finder-select, finder-mouse-select):
4396         Fix docstring typos.
4398 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
4400         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4401         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4402         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4403         Fix doc-string based on a suggestion by Nicolas Richard
4404         <theonewiththeevillook@yahoo.fr>.
4405         * help.el (with-help-window): Fix doc-string.
4407 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
4409         * net/shr.el (shr-image-animate): New option.
4410         (shr-put-image): Respect shr-image-animate.
4412 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
4414         * net/tramp-adb.el (tramp-adb-parse-device-names):
4415         Use `accept-process-output'.
4416         (tramp-adb-handle-file-truename): Cache the localname only.
4417         (tramp-adb-handle-make-directory)
4418         (tramp-adb-handle-delete-directory): Flush file properties correctly.
4419         (tramp-adb-handle-set-file-modes): Do not raise an error when file
4420         modes cannot be changed.
4422         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4423         file properties of symlinks.
4425 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
4427         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4428         required/optional fields to match development biblatex.  (Bug#16781)
4430 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
4432         * saveplace.el (toggle-save-place):
4433         Fix argument handling.  (Bug#16673)
4435 2014-02-28  Glenn Morris  <rgm@gnu.org>
4437         * minibuffer.el (completions-first-difference)
4438         (completions-common-part, completion-hilit-commonality): Doc fixes.
4440 2014-02-28  Karl Berry  <karl@gnu.org>
4442         * info.el (Info-mode-map): Add H for describe-mode,
4443         to synchronize with standalone Info.
4445 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
4447         * progmodes/sql.el (sql-interactive-mode):
4448         Avoid setting global comint-input-ring-separator.  (Bug#16814)
4450 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4452         * net/dbus.el (dbus--init-bus): Declare function.
4453         (dbus-path-local, dbus-interface-local): New defconst.
4454         (dbus-init-bus): Use them.
4455         (dbus-return-values-table): Extend doc.
4456         (dbus-handle-bus-disconnect): Extend error message.
4458 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
4460         * subr.el (y-or-n-p): Fix double space issue in message.
4462 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4464         * net/tramp.el (tramp-call-process): Improve trace message.
4465         (tramp-handle-insert-file-contents): Trace error case.
4467         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4468         <insert-directory>: Use `tramp-handle-insert-directory'.
4469         (tramp-adb-handle-insert-directory): Remove function.
4470         (tramp-adb-send-command-and-check): New defun, replacing
4471         `tramp-adb-command-exit-status'.  Change all callees.
4472         (tramp-adb-handle-file-attributes)
4473         (tramp-adb-handle-directory-files-and-attributes): Use it.
4474         (tramp-adb-ls-output-name-less-p):
4475         Use `directory-listing-before-filename-regexp'.
4476         (tramp-adb-handle-delete-directory): Flush also file properties of
4477         the truename of directory.
4478         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4479         (tramp-adb-handle-file-local-copy): Make the local copy readable.
4480         (tramp-adb-handle-write-region): Implement APPEND.
4481         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
4482         properties correctly.
4483         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4484         variables.  Check for connected devices only when needed.
4486 2014-02-27  Glenn Morris  <rgm@gnu.org>
4488         * minibuffer.el (completion-table-dynamic)
4489         (completion-table-with-cache): Doc fixes.
4491         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4492         (completing-read-multiple): Doc fixes.
4494 2014-02-27  Daniel Colascione  <dancol@dancol.org>
4496         * minibuffer.el (completion--nth-completion): Fix indentation.
4498         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
4499         explicit tramp path is empty.
4501 2014-02-27  Glenn Morris  <rgm@gnu.org>
4503         * emacs-lisp/crm.el (completing-read-multiple):
4504         Empower help-enable-auto-load.
4506 2014-02-26  Glenn Morris  <rgm@gnu.org>
4508         * startup.el (command-line): Don't init the tty in daemon mode.
4510         Avoid calling tty-setup-hook twice, eg if a term file
4511         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
4512         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
4513         (tty-create-frame-with-faces): Use it.
4514         * startup.el (command-line): Pass run-hook argument
4515         to tty-run-terminal-initialization.
4517         * dired.el (dired-restore-desktop-buffer): Demote errors;
4518         eg in case a glob match fails.  (Bug#16884)
4520 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
4522         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4523         error from `read-from-string'.  (Bug#16850)
4525         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
4526         result of `completing-read' in the interactive form.  (Bug#16854)
4528 2014-02-25  Glenn Morris  <rgm@gnu.org>
4530         * image.el (image-animate, image-animate-timeout):
4531         Stop animating images in dead buffers.  (Bug#16878)
4533         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
4535         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
4536         Doc fixes.
4537         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
4538         * term/sun.el (sun-raw-prefix-hooks):
4539         Use tty-setup-hook instead of term-setup-hook.
4540         (terminal-init-sun): Construct message from bytecomp plist.
4541         * term/wyse50.el (enable-arrow-keys): Doc fix.
4543 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4545         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4546         Fix docstring typos.
4548 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
4550         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
4552 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4554         * minibuffer.el (completion--try-word-completion):
4555         Fix error when completing M-x commands (bug#16808).
4557 2014-02-24  Leo Liu  <sdl.web@gmail.com>
4559         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
4561 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4563         * apropos.el (apropos-print): Avoid formatting error when
4564         apropos-do-all and apropos-compact-layout are both t.
4566 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4568         * apropos.el (apropos-property, apropos-all-words-regexp)
4569         (apropos-true-hit, apropos-variable, apropos-print):
4570         Fix docstring typos, and remove obsolete comment.
4572 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
4574         * net/tramp-sh.el (tramp-sh-handle-file-truename):
4575         Preserve trailing "/".  (Bug#16851)
4577 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4579         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
4580         after `=>' (bug#16811).
4581         (ruby-smie-rules): Handle the inconsistent second element of the
4582         list returned by `smie-indent--parent'.
4583         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
4584         method call.
4586 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4588         * elec-pair.el (electric-pair-text-syntax-table)
4589         (electric-pair-syntax-info, electric-pair--syntax-ppss)
4590         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
4591         (electric-pair--looking-at-unterminated-string-p): Doc fix.
4592         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
4594 2014-02-22  Glenn Morris  <rgm@gnu.org>
4596         * imenu.el (imenu--generic-function): Doc fix.
4598         * register.el (frame-configuration-to-register): Make obsolete.
4600 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
4602         * desktop.el (desktop-save-buffer-p): Do not fail when
4603         desktop-files-not-to-save is nil.  Return t for true result
4604         as the doc says.
4606 2014-02-22  Daniel Colascione  <dancol@dancol.org>
4608         * net/secrets.el (secrets-create-item, secrets-search-items):
4609         Check that attribute values are strings, avoiding the construction
4610         of invalid dbus messages.
4612 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4614         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4615         defun-declarations-alist.
4617 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4619         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4620         (bug#16829).
4622 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4624         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4625         (whitespace-newline, whitespace-trailing, whitespace-line)
4626         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4627         (whitespace-space-after-tab): Fix typo in docstrings.
4629 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
4631         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4633         * electric.el (electric-indent-functions-without-reindent):
4634         Add `yaml-indent-line'.
4636 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4638         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4639         It has done nothing for years; should be removed after the release.
4641         * simple.el (choose-completion): Fix docstring typo.
4642         (read-quoted-char-radix): Remove unneeded * in docstring.
4643         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
4644         Don't escape parentheses unnecessarily in docstrings.
4646 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
4648         Fix handling of window-min-height/-width (Bug#16738).
4649         * window.el (window--dump-window, window--dump-frame):
4650         New functions.
4651         (window--min-size-1): Account for window dividers.
4652         When window-resize-pixelwise is nil, delay rounding till after the
4653         sum of the window components has been calculated.
4654         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
4655         nil make sure at least one text line and two text columns remain
4656         fully visible.
4657         (window-resize): Signal an error when window-resize-apply fails.
4658         (window--resize-child-windows): Fix calculation of by how many
4659         pixels a window can still be shrunk via window-new-normal.
4660         (adjust-window-trailing-edge): Call window--resizable with
4661         correct TRAIL argument.
4663         (with-temp-buffer-window): Don't evaluate BODY within
4664         with-current-buffer (Bug#16816).
4666 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
4668         * net/tramp.el (tramp-check-cached-permissions):
4669         Call `file-attributes' with `suffix' being a symbol but a string.
4671 2014-02-21  Daniel Colascione  <dancol@dancol.org>
4673         * net/dbus.el (dbus-init-bus-1): Declare new subr.
4674         (dbus-init-bus): New function: call into dbus-init-bus-1
4675         and installs a handler for the disconnect signal.
4676         (dbus-call-method): Rewrite to look for result in cons.
4677         (dbus-call-method-handler): Store result in cons.
4678         (dbus-check-event): Recognize events with nil sender as valid.
4679         (dbus-handle-bus-disconnect): New function.  React to bus
4680         disconnection signal by synthesizing dbus error for each
4681         pending synchronous or asynchronous call.
4682         (dbus-notice-synchronous-call-errors): New function.
4683         (dbus-handle-event): Raise errors directly only when `dbus-debug'
4684         is true, not all the time.
4686 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4688         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4689         Remove obsolescence declarations, these variables do not exist anymore.
4691         * savehist.el (savehist-save-minibuffer-history)
4692         (savehist-additional-variables, savehist-file, savehist-mode-hook)
4693         (savehist-save-hook, savehist-coding-system, savehist-loaded)
4694         (savehist-load, savehist-install, savehist-autosave): Fix typos;
4695         mostly, refer to "Savehist mode" when talking about the mode,
4696         and not the function.
4698         * saveplace.el (save-place): Remove redundant info in docstring.
4699         (save-place-forget-unreadable-files, toggle-save-place)
4700         (save-place-forget-unreadable-files, save-place-dired-hook):
4701         Fix typos and remove unneeded backslashes.
4703 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
4705         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
4706         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
4708         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4709         <insert-directory>: Use `tramp-handle-insert-directory'.
4710         (tramp-gvfs-handle-insert-directory): Remove function.
4712         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4713         Call `tramp-handle-insert-directory'.
4715 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
4717         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
4718         before the start of buffer/region (bug#16799).
4720 2014-02-20  Glenn Morris  <rgm@gnu.org>
4722         * isearch.el (search-invisible): Doc fix.
4724 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
4726         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
4727         (bug#16657).
4729 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4731         * frameset.el (frameset-restore): Delay removing an old frame's
4732         duplicate id until the new frame has been correctly created.
4734 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
4736         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
4737         (tramp-check-cached-permissions): Call `file-attributes' if the
4738         cache is empty.
4740         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4741         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4743         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4744         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4745         (tramp-gvfs-maybe-open-connection): Set always connection
4746         properties, even if target is mounted already.
4748         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
4749         Set tramp-autoload cookie.
4750         (tramp-get-remote-touch): New defun.
4751         (tramp-sh-handle-set-file-times): Use it.
4752         (tramp-sh-handle-directory-files-and-attributes):
4753         Use `tramp-handle-directory-files-and-attributes' if neither stat
4754         nor perl are available on the remote host.
4756         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
4757         "/".  Write long listing only when "l" belongs to the switches.
4759         * net/trampver.el: Update release number.
4761 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
4763         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
4765 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
4767         * window.el (window-state-put): Allow WINDOW to refer to an
4768         internal window (Bug#16793).
4770 2014-02-19  Glenn Morris  <rgm@gnu.org>
4772         * textmodes/remember.el: Move provide statement to end.
4773         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
4774         (remember-notes): Doc fixes.
4776 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4778         * delsel.el (delete-char): Restore incorrectly erased property
4779         (bug#16795).
4781 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
4783         * frameset.el (frameset--restore-frame): When a frame is being reused
4784         and its root window is not alive, delete all the frame's windows before
4785         restoring the window state.  This works around the issue in bug#16793.
4787 2014-02-18  Glenn Morris  <rgm@gnu.org>
4789         * textmodes/remember.el (remember-data-directory)
4790         (remember-directory-file-name-format, remember-store-in-files)
4791         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
4792         (remember-notes-save-and-bury-buffer)
4793         (remember-notes--kill-buffer-query): Doc fixes.
4795         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
4797 2014-02-17  Alan Mackenzie  <acm@muc.de>
4799         Connect electric-indent-mode up with CC Mode.  Bug #15478.
4800         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
4801         to electric-indent-{,local-}-mode.
4802         (c-basic-common-init): Set electric-indent-inhibit.
4803         Initialise c-electric-flag from electric-indent-mode.
4804         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
4805         New hook functions which propagate electric-indent-mode to CC mode.
4807         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
4808         hit, toggle electric-indent-local-mode.
4810         * electric.el (electric-indent-mode-has-been-called):
4811         New variable.
4813 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
4815         * frameset.el (frameset-cfg-id): New function.
4816         (frameset--reuse-frame, frameset-restore): Use it.
4817         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
4819 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4821         * ido.el (ido-file-internal): Remove unused var `d'.
4822         Use \` for to match BoS.  Fit within 80n columns.
4824 2014-02-17  Daniel Colascione  <dancol@dancol.org>
4826         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
4827         dbus-call-method check for completion using a busy-wait loop with
4828         gradual backoff.
4830 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
4832         Sync with Tramp 2.2.9.
4834         * net/trampver.el: Update release number.
4836 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
4838         * ido.el (ido-file-internal): Don't add the name of an existing
4839         directory twice.  (Bug#16747)
4841 2014-02-16  Glenn Morris  <rgm@gnu.org>
4843         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4844         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
4846 2014-02-15  Michael R. Mauger  <michael@mauger.com>
4848         * progmodes/sql.el: Version 3.4
4849         (sql-oracle-options): New default value ("-L").
4850         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4851         (sql-placeholders-filter): Correct placeholder pattern.
4852         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
4853         (sql-login-delay): New variable.
4854         (sql-product-interactive): Use it.
4856 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
4858         * frameset.el (frameset--jump-to-register): Check that buffer is live
4859         (bug#16749).
4861 2014-02-15  Glenn Morris  <rgm@gnu.org>
4863         * info.el (info-initialize): Revert 2014-01-10 change.
4865 2014-02-14  Glenn Morris  <rgm@gnu.org>
4867         * replace.el (map-query-replace-regexp)
4868         (read-regexp-defaults-function, read-regexp): Doc fixes.
4870         * dired.el (dired-read-regexp):
4871         * faces.el (list-faces-display):
4872         * misearch.el (multi-isearch-read-matching-buffers)
4873         (multi-isearch-read-matching-files):
4874         * play/cookie1.el (cookie-apropos):
4875         * progmodes/grep.el (grep-read-regexp): Doc fixes.
4877         * textmodes/remember.el (remember): Use frameset-to-register
4878         rather than frame-configuration-to-register.
4880 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
4882         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4883         incorrect keybinding.
4885 2014-02-13  Daniel Colascione  <dancol@dancol.org>
4887         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4888         when adding overlays so that line numbers from compiler match line
4889         numbers we use.
4891 2014-02-13  Glenn Morris  <rgm@gnu.org>
4893         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
4895         * jit-lock.el (jit-lock-mode): Doc fix.
4897 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
4899         * apropos.el (apropos-read-pattern): When the user passes an empty
4900         string, give a more helpful error message than "Wrong type
4901         argument: stringp, nil".
4903 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4905         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4907 2014-02-13  Glenn Morris  <rgm@gnu.org>
4909         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4911 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4913         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4914         shift-select commands.
4916 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
4918         * progmodes/js.el (js-indent-line): Don't widen.
4919         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4921 2014-02-12  Glenn Morris  <rgm@gnu.org>
4923         * icomplete.el (icomplete): Add info-link to defgroup.
4924         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4925         (icomplete-minibuffer-map, icomplete-mode)
4926         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4928         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4929         (package-menu-filter): Rename from package-menu-filter-interactive.
4930         Doc fix.
4932 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
4934         * frameset.el (frameset--jump-to-register): Select the required
4935         window and buffer before restoring position (bug#16696).
4937 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
4939         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4941 2014-02-10  Glenn Morris  <rgm@gnu.org>
4943         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
4945 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
4947         * w32-common-fns.el (x-get-selection): Doc fix.
4948         * select.el (x-get-selection): Doc fix.  (Bug#15109)
4950         * face-remap.el (face-remap-add-relative)
4951         (face-remap-remove-relative, face-remap-reset-base)
4952         (face-remap-set-base): Call force-mode-line-update to redisplay
4953         the current buffer due to potential change in faces.  (Bug#16709)
4955 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
4957         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4958         script more robustly.
4960 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
4962         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4964         * simple.el (choose-completion): Doc fix (bug#14160).
4966         * subr.el (event-start): Say what a nil EVENT value means.
4968         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4969         (bug#14197).
4971         * progmodes/grep.el (find-program): Doc fix (bug#14289).
4973         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4975         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4977         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4978         predicate function (bug#15455).
4980 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
4982         * ielm.el (inferior-emacs-lisp-mode): Instead of
4983         `comment-use-global-state', set `comment-use-syntax'.
4985 2014-02-10  Glenn Morris  <rgm@gnu.org>
4987         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4989 2014-02-09  Alan Mackenzie  <acm@muc.de>
4991         Fix c-invalidate-state-cache on narrowed buffers.
4992         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4993         Widen when setting and clearing the CPP delimiter properties.
4995 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
4997         * help.el (describe-bindings): Doc fix (bug#9888).
4999         * files.el (save-buffer): Use ARG as the parameter name for
5000         consistency (bug#10346).
5001         (save-buffer): Clarify the 0 argument (bug#10346).
5003         * cus-edit.el (customize-apropos): Fix error string.
5004         (custom-buffer-create): Doc fix (bug#11122).
5005         (custom-sort-items): Doc fix (bug#11121).
5007         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5009         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5010         (icomplete-simple-completing-p): Mention the previous variable.
5012         * font-lock.el (font-lock-value-in-major-mode): Clarify the
5013         meaning of the parameter (bug#12282).
5015         * files.el (find-file-noselect): Clarify prompt when changing
5016         readedness (bug#13261).
5017         (locate-file): Suffixes aren't returned, so don't say that they
5018         are (bug#12674).
5019         (backup-inhibited): Doc clarification (bug#12525).
5021         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5022         before we actually start to delete things (bug#16331).
5024         * subr.el (event-start): Doc fix (bug#14228).
5025         (event-end): Ditto.
5027 2014-02-09  Glenn Morris  <rgm@gnu.org>
5029         * emacs-lisp/warnings.el (lwarn):
5030         Empower help-enable-auto-load.  (Bug#15940)
5032 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5034         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5035         (Bug#16690)
5037 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
5039         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5040         Insert output at end of buffer.  (Bug#16120)
5042 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5044         * simple.el (choose-completion-string-functions): Document new
5045         calling convention (bug#14153).
5046         (execute-extended-command): Clarify doc string (bug#13373).
5048         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5050         * find-dired.el (find-name-dired): Doc fix (bug#14290).
5051         (find-grep-dired): Doc fix (bug#14288).
5053 2014-02-08  Juri Linkov  <juri@jurta.org>
5055         * isearch.el (isearch-quote-char): Check character validity
5056         like in `quoted-insert' (bug#16677).
5058 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5060         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5062         * isearch.el (isearch-hide-immediately): Doc clarification
5063         (bug#14723).
5065         * simple.el (line-move): Document utility function used many
5066         places in the Emacs sources (bug#14843).
5068         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5069         (dired-prev-marked-file): Doc fix (bug#14855).
5070         (dired-up-directory): Doc fix (bug#14848).
5072         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5074         * files.el (file-relative-name): Doc fix (bug#15159).
5076         * fringe.el (fringe-styles): Doc fix (bug#15239).
5078         * isearch.el (isearch-filter-predicate): Documentation typo fix
5079         (bug#15474).
5081         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5083         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5085         * replace.el (replace-match-maybe-edit): Doc clarification
5086         (bug#15632).
5088         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5090         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5092 2014-02-08  Glenn Morris  <rgm@gnu.org>
5094         * help-fns.el (describe-variable):
5095         Check {file,dir}-local-variables-alist, and buffer-file-name,
5096         in the correct buffer.
5098 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
5100         * help-fns.el (describe-variable): Fix the case where
5101         a value is directory-local with no dir-locals file.  (Bug#16635)
5103 2014-02-08  Glenn Morris  <rgm@gnu.org>
5105         * abbrev.el (edit-abbrevs-mode):
5106         Derive from fundamental-mode.  (Bug#16682)
5108 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
5110         * simple.el (quoted-insert): Check character validity (bug#16677).
5112 2014-02-07  Juri Linkov  <juri@jurta.org>
5114         * desktop.el (desktop-read): Claim the lock when the owner is not
5115         the current process.  (Bug#16157)
5117 2014-02-07  Juri Linkov  <juri@jurta.org>
5119         * desktop.el (desktop-buffers-not-to-save): Change default from nil
5120         to "\\` ".  (Bug#16651)
5122 2014-02-07  Juri Linkov  <juri@jurta.org>
5124         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5125         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5126         (desktop-auto-save-cancel-timer): New function with some code from
5127         `desktop-auto-save-set-timer'.
5128         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5129         Instead of setting `desktop-save-mode' to nil, call
5130         `desktop-save-mode' with arg 0.  (Bug#16630)
5132 2014-02-07  Glenn Morris  <rgm@gnu.org>
5134         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5135         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5136         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5138         * obsolete/iswitchb.el: Move to obsolete/.
5139         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5140         since obsolete/ is not scanned for autoloads.
5141         * emacs-lisp/authors.el (authors-valid-file-names):
5142         Add iswitchb.el.
5144         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5145         Disable now non-functional find-file-hook.
5147 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
5149         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5150         instead of ";" in order to avoid additional prompts.  Let heredoc
5151         scripts read from tty.  (Bug#16582)
5152         (tramp-send-command): No special handling of heredocs, it isn't
5153         necessary anymore.
5155 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5157         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5158         with a space (bug#16664).  Limit the symbols considered to the ones
5159         that are bound or fbound (bug#16646).
5161 2014-02-06  Glenn Morris  <rgm@gnu.org>
5163         * epa.el (epa-mail-aliases): Doc fix.
5165 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
5167         * emacs-lisp/lisp.el (lisp-completion-at-point):
5168         Use `completion-table-merge' instead of `completion-table-in-turn'
5169         (bug#16604).
5171         * minibuffer.el (completion-table-merge): New function.
5173 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
5175         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5176         (tramp-sh-handle-set-file-acl)
5177         (tramp-sh-handle-start-file-process)
5178         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5179         (tramp-find-executable, tramp-send-command): Use it.
5181 2014-02-05  Glenn Morris  <rgm@gnu.org>
5183         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
5185 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5187         * progmodes/python.el (python-shell-send-string)
5188         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5190 2014-02-04  Anders Lindgren  <andlind@gmail.com>
5192         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5193         the names (bug#16620).
5195 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
5197         * faces.el (window-divider): New default value.  Rewrite doc-string.
5198         (window-divider-first-pixel, window-divider-last-pixel): New faces.
5200 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
5202         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5203         `protected' and `public' can also be called without arguments.
5205 2014-02-03  Glenn Morris  <rgm@gnu.org>
5207         * register.el (window-configuration-to-register)
5208         (frame-configuration-to-register): Unadvertise unused argument.
5209         * frameset.el (frameset-to-register): Remove unused argument.
5211         * frameset.el (frameset-to-register):
5212         * kmacro.el (kmacro-to-register):
5213         * register.el (increment-register):
5214         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5215         (calc-append-to-register, calc-prepend-to-register):
5216         * play/gametree.el (gametree-layout-to-register)
5217         (gametree-apply-register-layout):
5218         * textmodes/picture.el (picture-clear-rectangle-to-register)
5219         (picture-yank-rectangle-from-register):
5220         * vc/emerge.el (emerge-combine-versions-register):
5221         Use register-read-with-preview to read registers.
5223 2014-02-03  João Távora  <joaotavora@gmail.com>
5225         * elec-pair.el (electric-pair-backward-delete-char): Don't error
5226         when at beginning of (possibly narrowed) buffer.
5228 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5230         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5231         Also try to display local help from just before point.
5233 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
5235         c-parse-state.  Don't "append-lower-brace-pair" in certain
5236         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
5237         recognised as a comment.
5239         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5240         as well as normal comment starter.
5241         (c-parse-state-get-strategy): Extra return possibility
5242         'back-and-forward.
5243         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5244         return value list to indicate replacement of a brace-pair cons
5245         with its car.
5246         (c-parse-state-1): With 'back-and-forward, only call
5247         c-append-lower-brace-pair-to state-cache when cons-separated.
5249 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
5251         * term/ns-win.el (ns-suspend-error): New function.
5252         (ns-initialize-window-system): Add ns-suspend-error to
5253         suspend-hook (Bug#16612).
5255 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5257         * progmodes/cc-defs.el (c-find-assignment-for-mode):
5258         Make loading cc-mode silent.
5260 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5262         * comint.el (comint-prompt-read-only): Change doc to suggest
5263         remap keybinding.
5265 2014-02-02  Glenn Morris  <rgm@gnu.org>
5267         * register.el (register-read-with-preview, point-to-register)
5268         (window-configuration-to-register, frame-configuration-to-register)
5269         (jump-to-register, number-to-register, view-register, insert-register)
5270         (copy-to-register, append-to-register, prepend-to-register)
5271         (copy-rectangle-to-register): Doc fixes.
5273 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5275         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5276         * emacs-lisp/find-func.el (find-function-C-source): Idem.
5277         * emacs-lisp/nadvice.el (advice--cd*r): New function.
5278         * help-fns.el (describe-function-1): Use it.
5280 2014-02-02  Glenn Morris  <rgm@gnu.org>
5282         * register.el (register-preview-default): New function,
5283         split from register-preview.
5284         (register-preview-function): Rename from register-preview-functions,
5285         make it not a hook.
5286         (register-preview): Use register-preview-function.
5287         (register-read-with-preview): Error on non-character event.  (Bug#16595)
5289 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
5291         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5292         `:' before binary operators (bug#16609).  Don't check for `:'
5293         before `[' and `(', or their syntax status.  A percent literal
5294         can't end with either.
5295         (ruby-font-lock-keywords): For built-ins that require arguments,
5296         check that they're followed by something that looks like argument
5297         (bug#16610).
5299 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
5301         * subr.el (butlast): Document what an omitted N means (bug#13437).
5302         (nbutlast): Ditto.
5304 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
5306         * net/shr.el (shr-generic): Make into a defsubst to make the stack
5307         depth shallower (bug#16587).
5308         (shr-tag-svg): Respect `shr-inhibit-images'.
5309         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5311 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
5313         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5314         (ruby-smie-grammar): Make "." right-associative.  Make its priority
5315         lower than the ternary and all binary operators.
5316         (ruby-smie-rules): Indent "(" relative to the first non-"."
5317         parent, or the first "." parent at indentation.
5318         Use `ruby-align-chained-calls' for indentation of "." tokens.
5319         (Bug#16593)
5321 2014-01-31  Juri Linkov  <juri@jurta.org>
5323         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5324         from `make-hash-table'.
5326         * textmodes/ispell.el (ispell-init-process): Change message format
5327         to be consistent with other messages.
5329 2014-01-31  Glenn Morris  <rgm@gnu.org>
5331         * delsel.el (delete-selection-mode): Doc fix.
5333         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5334         (trace-function-background): Doc fixes.
5336         * ido.el (ido-use-virtual-buffers): Doc fix.
5337         Reset :version, since the default value has not changed.
5339         * register.el (register-preview-delay, register-read-with-preview):
5340         Doc fixes.
5342         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5343         do not mess with mail-buffer position (fixes 2009-11-03 change).
5344         * progmodes/cc-mode.el (c-submit-bug-report):
5345         Check auto-fill-mode is bound.  (Bug#16592)
5347 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
5349         * startup.el (fancy-splash-image-file): New function,
5350         split from fancy-splash-head.
5351         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5352         so that we are both using the same image.  (Bug#16574)
5354 2014-01-30  Glenn Morris  <rgm@gnu.org>
5356         * simple.el (eval-expression): Doc fix.
5358         * hexl.el (hexl-mode-hook):
5359         * ielm.el (ielm-mode-hook):
5360         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5361         (lisp-interaction-mode-hook):
5362         * progmodes/cfengine.el (cfengine3-documentation-function):
5363         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5365 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5367         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5368         is a symbol (bug#16584).
5370 2014-01-30  Glenn Morris  <rgm@gnu.org>
5372         * help.el (help-for-help-internal): Add "P" to text.
5374 2014-01-29  Glenn Morris  <rgm@gnu.org>
5376         * simple.el (just-one-space, cycle-spacing): Doc fixes.
5378 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
5380         * window.el (fit-frame-to-buffer): Fix calculations for margins and
5381         height constraints.
5383 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
5385         * progmodes/hideif.el: Extend to full CPP expression syntax.
5386         (hif-token-alist): Add missing tokens.
5387         (hif-token-regexp): Add support for float/octal/hex immediates.
5388         (hif-string-literal-regexp): New const.
5389         (hif-tokenize): Recognize strings and float/octal/hex immediates.
5390         (hif-exprlist): New function.
5391         (hif-parse-if-exp): Use it.
5392         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5393         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5394         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5395         (hif-logxor, hif-comma): New functions.
5397 2014-01-28  Glenn Morris  <rgm@gnu.org>
5399         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5401         * indent.el (tab-stop-list): Doc fix.  Add :version.
5403         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5404         (cvs-append-to-ignore): Add compatibility alias.
5406 2014-01-27  Glenn Morris  <rgm@gnu.org>
5408         * dired.el (dired-hide-details-mode): Don't autoload it,
5409         since it cannot be used outside Dired buffers anyway.
5411         * emulation/cua-base.el (cua-mode): Doc fix.
5413         * dired.el (dired-hide-details-hide-symlink-targets)
5414         (dired-hide-details-hide-information-lines)
5415         (dired-hide-details-mode): Doc fixes.
5417         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5418         * strokes.el (strokes-file): Doc fix.  Bump :version.
5419         (strokes-help): Doc fix.
5420         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5421         * emulation/viper.el (viper): Doc fix for custom group.
5422         (top-level): Remove oh-so-no-longer-relevant text about vip.
5423         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5425         * ido.el (ido-save-directory-list-file):
5426         * saveplace.el (save-place-file):
5427         * calendar/timeclock.el (timeclock-file):
5428         * net/quickurl.el (quickurl-url-file):
5429         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5430         * progmodes/idlwave.el (idlwave-config-directory):
5431         * textmodes/remember.el (remember-data-file):
5432         Bump :version.
5434 2014-01-26  Glenn Morris  <rgm@gnu.org>
5436         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5437         Doc fix.  Make obsolete.
5438         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5440         * sort.el (delete-duplicate-lines): Doc fix.
5442 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5444         * progmodes/ada-mode.el (ada):
5445         * woman.el (woman): Link to info manual and Commentary section.
5447         * progmodes/flymake.el (flymake):
5448         * nxml/nxml-mode.el (nxml):
5449         * net/eww.el (eww):
5450         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5451         * htmlfontify.el (htmlfontify):
5452         * ses.el (ses):
5453         * epa.el (epa):
5454         * ido.el (ido): Link to info manual.
5456 2014-01-25  Leo Liu  <sdl.web@gmail.com>
5458         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5460 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
5462         * net/shr.el (shr-tag-img): Prefer the title over the alt text
5463         (bug#16537).
5465 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
5467         * net/eww.el (eww-download-callback):
5468         Fix reference to eww-download-directory.
5470         * emacs-lisp/bytecomp.el (byte-compile-file):
5471         Remove unused local variable `file-name'.
5473 2014-01-24  Glenn Morris  <rgm@gnu.org>
5475         * woman.el (woman-default-faces, woman-monochrome-faces):
5476         Fix obsolescence specification.
5478         * subr.el (with-demoted-errors): Doc fix.
5480 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5482         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5483         (cl--macroexp-fboundp): New function.
5484         (cl--make-type-test): Use it.
5486 2014-01-23  Glenn Morris  <rgm@gnu.org>
5488         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5489         * simple.el (eval-expression): Doc fixes.
5491 2014-01-22  Glenn Morris  <rgm@gnu.org>
5493         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
5495 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5497         * emacs-lisp/package.el: Write files silently.
5498         (package-autoload-ensure-default-file, package--write-file-no-coding)
5499         (package-generate-description-file, package--download-one-archive)
5500         (package-install-from-archive): Tell `write-region' to stay quiet.
5501         (package-menu-mode, package-menu--print-info): Omit the Archive column
5502         if there's only one archive.
5503         (package-all-keywords, package--has-keyword-p): Remove dead code.
5505 2014-01-22  Glenn Morris  <rgm@gnu.org>
5507         * version.el (emacs-bzr-version-bzr): Fix typo.
5509         * version.el (emacs-repository-get-version):
5510         Check either .bzr or .git, but not both.
5511         Make the git case actually use the DIR argument, and return nil
5512         rather than the empty string.
5513         Avoid error if .git exists but the git executable is not found.
5515 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
5517         Fixes in window size functions around Bug#16430 and Bug#16470.
5518         * window.el (window-total-size, window-size): New argument ROUND.
5519         (window--min-delta-1, window-min-delta, window--max-delta-1):
5520         Be more conservative when calculating the numbers of lines or
5521         columns a window can shrink (Bug#16430).
5522         (fit-window-to-buffer): Simplify code.
5523         * term.el (term-window-width): Call window-body-width again.
5525 2014-01-22  Glenn Morris  <rgm@gnu.org>
5527         * image.el (image-format-suffixes): Doc fix.
5529         * international/quail.el (quail-define-package): Doc fix.
5531         * emacs-lisp/authors.el (authors-valid-file-names)
5532         (authors-renamed-files-alist): Additions.
5534         * vc/vc-git.el (vc-git-print-log): Remove --follow;
5535         reverts 2014-01-09 change.  (Bug#16422)
5537         * calc/calc-embed.el (thing-at-point-looking-at):
5538         * emacs-lisp/map-ynp.el (x-popup-dialog):
5539         * obsolete/lmenu.el (x-popup-dialog):
5540         * emacs-lisp/package.el (url-recreate-url):
5541         * mail/mailclient.el (clipboard-kill-ring-save):
5542         * subr.el (x-popup-dialog): Update declaration.
5543         * mail/rmail.el (rmail-mime-message-p):
5544         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
5546 2014-01-21  Daniel Colascione  <dancol@dancol.org>
5548         * progmodes/sh-script.el (sh--inside-noncommand-expression):
5549         Correctly detect when we're inside an arithmetic expansion form
5550         containing nested parenthesis.
5551         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
5552         to detect cases where we shouldn't expand "<<" to a heredoc
5553         skeleton.
5555 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5557         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
5558         (eldoc--message-command-p): New function.
5559         (eldoc-display-message-p): Use it.
5560         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
5561         message is not automatically erased for us.
5562         (eldoc-print-current-symbol-info): Erase previous message, if any.
5564 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
5566         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
5567         specify it's an interactive function.
5569         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
5570         Fix regex used for scanning for citation keys which failed for
5571         citations with optional arguments.
5573 2014-01-21  Leo Liu  <sdl.web@gmail.com>
5575         * simple.el (read--expression): Don't enable eldoc-mode.
5577 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5579         * simple.el (move-beginning-of-line): Make sure we don't move forward
5580         (bug#16497).
5582 2014-01-20  Juri Linkov  <juri@jurta.org>
5584         * saveplace.el (toggle-save-place, save-place-to-alist)
5585         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5586         'dired-mode) before checking for dired-directory.  (Bug#16477)
5588 2014-01-20  Juri Linkov  <juri@jurta.org>
5590         * indent.el (indent-line-to): Use backward-to-indentation
5591         instead of back-to-indentation.  (Bug#16461)
5593 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
5595         Revert some of the CANNOT_DUMP fix (Bug#16494).
5596         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5597         but fixing this can wait until after the next release.
5598         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5600 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
5602         * eshell/esh-mode.el (eshell-password-prompt-regexp):
5603         Use `password-word-equivalents'.
5604         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5605         to t.  (Bug#5664, Bug#13124)
5607 2014-01-19  Alan Mackenzie  <acm@muc.de>
5609         Bind open-paren-in-column-0-is-defun-start to nil at some entry
5610         points.
5611         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5612         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5613         * progmodes/cc-mode.el (c-before-change, c-after-change)
5614         (c-font-lock-fontify-region): Bind it here.
5616 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
5618         * term.el (term-window-width): Call window-text-width instead of
5619         window-width (Bug#16470).
5621 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
5623         * simple.el (password-word-equivalents): Remove duplicates.
5624         Sort, to make this easier next time.
5625         Downcase.  Omit ": " after "jelszó".
5627 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
5629         * term/common-win.el (saved-region-selection): Defvar it.
5630         (x-select-text): Set saved-region-selection (Bug#16382).
5632 2014-01-18  Glenn Morris  <rgm@gnu.org>
5634         * emacs-lisp/authors.el (authors-aliases)
5635         (authors-renamed-files-alist): Add some entries.
5637 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
5639         * net/tramp.el (tramp-password-prompt-regexp):
5640         Use `password-word-equivalents' if available.
5641         (tramp-action-password, tramp-process-one-action)
5642         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
5644 2014-01-17  Chong Yidong  <cyd@gnu.org>
5646         * simple.el (password-word-equivalents): New defcustom.
5647         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
5648         to 24.4.
5649         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
5650         to t.  (Bug#13124)
5652 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
5654         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
5655         (ruby-align-to-stmt-keywords): Change the default value.
5656         Use `ruby-alignable-keywords' to generate the possible customization
5657         choices.
5658         (ruby-smie-rules): Instead of using a hardcoded list of alignable
5659         keywords, check against the value of `ruby-alignable-keywords'
5660         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
5662 2014-01-17  Glenn Morris  <rgm@gnu.org>
5664         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
5666         Make M-x authors return zero *Authors Errors* from current logs.
5667         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
5668         (authors-ignored-files): Add some entries, remove others.
5669         (authors-ambiguous-files, authors-valid-file-names):
5670         Add some entries.
5671         (authors-renamed-files-alist): Add, remove, and adjust entries.
5672         (authors-renamed-files-regexps): Add some entries.
5673         Remove some very broad ones.  Make some entries `lax'.
5674         (authors-lax-changelogs): New constant.
5675         (authors-disambiguate-file-name): Treat top-level specially.
5676         (authors-lax-changelog-p): New function.
5677         (authors-canonical-file-name): Check file as written against
5678         authors-valid-file-names.  Do not special-case etc/.
5679         Handle `lax' logs and authors-renamed-files-regexps elements.
5681 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
5683         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
5684         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
5685         callers.
5687 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5689         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
5690         Assume we're already in the proper buffer.
5691         Inspired by Anders Lindgren <andlind@gmail.com>.
5692         (follow-post-command-hook): Call it from the right buffer.
5693         (follow-comint-scroll-to-bottom): Adjust call.
5694         (follow-all-followers): Use get-buffer-window-list.
5696 2014-01-15  Daniel Colascione  <dancol@dancol.org>
5698         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
5699         `buffer-file-name' in interactive-form so that we don't leave
5700         pathless file names in `file-name-history'.
5702 2014-01-15  Juri Linkov  <juri@jurta.org>
5704         * indent.el (indent-rigidly): Set deactivate-mark to nil
5705         in transient indentation mode.  (Bug#16438)
5707 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
5709         * emacs-lisp/package.el (package-desc-keywords): New function
5710         (Bug#16222).
5711         (describe-package-1, package-all-keywords)
5712         (package--has-keyword-p): Use it.
5714 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5716         * simple.el (define-alternatives): When creating the
5717         COMMAND-alternatives variable, assign COMMAND as its definition
5718         name so that `describe-variable' can relocate it.
5720 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
5722         * font-lock.el (font-lock-keywords): Fix typo in docstring
5723         (bug#16307).
5725 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5727         * ispell.el (ispell-region): Reset `in-comment' for new line
5728         instead of wrongly reset `add-coment' (bug#13577).
5730 2014-01-14  Daiki Ueno  <ueno@gnu.org>
5732         * epa-file.el (epa-file-write-region): Encode the region according
5733         to `buffer-file-format'.  Problem reported at:
5734         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
5736 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5738         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
5739         so it applies in the right buffer (bug#16410).
5741 2014-01-13  Daniel Colascione  <dancol@dancol.org>
5743         * textmodes/rst.el (rst-define-key): Provide deprecated
5744         keybindings through named functions instead of anonymous ones so
5745         that "??" doesn't appear in describe-mode output.
5747 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5749         * simple.el (define-alternatives): Call the selected command
5750         interactively.  When setting `COMMAND--implementation' for the
5751         first time, tell the user how to chose another implementation.
5752         Enhance the docstring.
5754 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5756         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
5757         (log-edit--match-first-line): New function.
5758         (log-edit-font-lock-keywords): Use it.
5759         (log-edit-mode): Make jit-lock-defer-multiline work.
5761 2014-01-13  Bastien Guerry  <bzg@gnu.org>
5763         * rect.el (rectangle-mark-mode): When the region is not active,
5764         display a message saying that the mark as been set and that
5765         rectangle mode is in use.
5766         (rectangle--highlight-for-redisplay): Only put an overlay with a
5767         visible vertical bar when (display-graphic-p) is non-nil.
5768         This partially fixes Bug#16403.
5770 2014-01-13  Juri Linkov  <juri@jurta.org>
5772         * info.el (Info-find-file): Go to DIR before displaying the error
5773         about a nonexistent file if no previous Info file is visited.
5774         Use `user-error' instead of `error' for "Info file %s does not exist".
5775         (Info-find-node-2): In case of a nonexistent node in unwind forms
5776         go to the Top node if there is no previous node to revert to.
5777         (Bug#16405)
5779 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
5781         fit-frame/window-to-buffer code fixes including one for Bug#14096.
5782         * window.el (fit-frame-to-buffer): Fix doc-string.
5783         Respect window-min-height/-width.  Fit pixelwise when
5784         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
5785         when avoiding that frame goes partially off-screen.
5786         (fit-window-to-buffer): Respect window-min-height/-width
5787         (Bug#14096).
5789 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5791         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
5792         after an empty line.
5794 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5796         * net/shr.el (shr-render-region): Autoload.
5798 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
5800         * net/eww.el (eww-download-directory): Rename from
5801         `eww-download-path' (Bug#16419).
5803 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5805         * dired-x.el (dired-mode-map): Fix last change.
5807         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
5809 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
5811         Spelling fixes.
5812         * emacs-lisp/generic.el (generic--normalize-comments):
5813         Rename from generic--normalise-comments.  All uses changed.
5814         * play/bubbles.el (bubbles--neighborhood-score)
5815         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
5816         (bubbles--neighborhood-available)
5817         (bubbles--update-neighborhood-score):
5818         Rename from names with 'neighbourhood'.  All uses changed.
5820 2014-01-12  Leo Liu  <sdl.web@gmail.com>
5822         Re-implement the feature of showing eldoc info after editing.
5823         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
5824         (eldoc-edit-message-commands): New function.
5825         (eldoc-print-after-edit): New variable.
5826         (eldoc-pre-command-refresh-echo-area): Emit message only by
5827         eldoc-message-commands.
5828         (eldoc-mode): Restrict eldoc-message-commands to editing commands
5829         if eldoc-print-after-edit is set.  (Bug#16346)
5830         * simple.el (read--expression): Enable eldoc-mode.
5831         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
5833 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
5834             Eric S. Raymond  <esr@thyrsus.com>
5836         * version.el (emacs-repository-get-version): Enhance so the
5837         function works correctly in either a Bazaar or Git repo.
5839 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
5841         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
5842         Goes with removal of the joke manpages from /etc.
5844 2014-01-10  Kenichi Handa  <handa@gnu.org>
5846         * mail/rmail.el (rmail-get-coding-system):
5847         Check rmail-get-coding-function before "funcall"ing it.
5849 2014-01-10  Glenn Morris  <rgm@gnu.org>
5851         * emacs-lisp/authors.el (authors-fixed-entries):
5852         Update for files that no longer exist.
5854 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
5856         * version.el (emacs-bzr-get-version): Restore compatibilty with
5857         24.3 (Tested).
5859 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
5861         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5862         and Podfile.
5864 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
5866         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5868 2014-01-10  Chong Yidong  <cyd@gnu.org>
5870         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5872 2014-01-10  Anders Lindgren  <andlind@gmail.com>
5874         * follow.el (follow-cache-command-list): Include right-char and
5875         left-char.
5877 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5879         Spelling fixes.
5880         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5881         * woman.el (woman-mark-horizontal-position):
5882         Rename from woman-mark-horizonal-position.  Use changed.
5884 2014-01-10  Glenn Morris  <rgm@gnu.org>
5886         * info.el (info-initialize): If running uninstalled, ensure our
5887         own info files are always found first, even if INFOPATH is set.
5889         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5891 2014-01-09  David Engster  <deng@randomsample.de>
5893         * emacs-lisp/eieio-custom.el:
5894         * emacs-lisp/eieio-opt.el: Set generated autoload file to
5895         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5896         * emacs-lisp/eieio.el: Regenerate autoloads.
5898 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
5900         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5901         following renames.  (Bug#8756)
5903 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5905         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5906         (bug#16382).
5907         (activate-mark): Add `no-tmm' argument.
5908         (set-mark, push-mark-command): Use it instead of running
5909         activate-mark-hook by hand.
5911 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
5913         In preparation for the move to git, sanitize out some
5914         Bazaar-specific names.
5916         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5918         * version.el (emacs-bzr-version): Name changed to
5919         emacs-repository-version.  Obsolete-variable alias made.
5920         * loadup.el: Follow through on this name change.
5921         * mail/emacsbug.el (report-emacs-bug): Factor out any
5922         assumption about the version control system in use.
5924 2014-01-08  David Engster  <deng@randomsample.de>
5926         * help-fns.el (help-fns-describe-function-functions):
5927         New variable to call functions for augmenting help buffers.
5928         (describe-function-1): Remove explicit calls to
5929         `help-fns--compiler-macro', `help-fns--parent-mode' and
5930         `help-fns--obsolete'.  Put them in above new variable instead, and
5931         call them through `run-hook-with-args'.
5932         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5933         `eieio-describe-class'.  Not meant for interactive use anymore,
5934         but to augment existing help buffers.  Remove optional second
5935         argument.  Create proper button for file location.
5936         Rewrite function to use `insert' instead of `princ' and `prin1' where
5937         possible.
5938         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5939         (eieio-method-def, eieio-class-def): Move further up.
5940         (describe-method, describe-generic, eieio-describe-method):
5941         Remove aliases.
5942         (eieio-help-constructor, eieio-help-generic): Rename from
5943         `eieio-describe-constructor' and `eieio-describe-generic', resp.
5944         Rewrite to use `insert' in the current buffer and use proper help
5945         buttons.
5946         (eieio-help-find-method-definition)
5947         (eieio-help-find-class-definition): Also accept symbols as
5948         arguments.
5949         (eieio-help-mode-augmentation-maybee): Remove.
5950         (eieio-describe-class-sb): Use `describe-function'.
5951         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5952         Add `eieio-help-generic' and `eieio-help-constructor'.
5954 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
5956         Spelling fixes.
5957         * language/china-util.el (hz-ascii-designation):
5958         Rename from hz-ascii-designnation.
5959         (hz-ascii-designation): Rename from hz-ascii-designnation.
5960         All uses changed.
5962 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5964         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5965         package-alist.
5967 2014-01-08  Bastien Guerry  <bzg@gnu.org>
5969         * emacs-lisp/package.el (package-delete):
5970         Correctly delete the package from package-alist.
5972 2014-01-08  Daiki Ueno  <ueno@gnu.org>
5974         * emacs-lisp/package.el (url-recreate-url): Declare.
5975         (url-http-target-url): Declare.
5976         (package-handle-response): Include requested URL in the error message.
5977         (package--check-signature): Don't re-signal errors from
5978         package--with-work-buffer.  Suggested by Stefan Monnier.
5980 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5982         * minibuffer.el (completion--try-word-completion): When both a
5983         hyphen and a space are possible candidates for the character
5984         following a word, display both candidates.  (Bug#15980)
5986 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
5988         * window.el (balance-windows-2): While rounding don't give a
5989         window more than the remainder.  Bug#16351, bug#16383.
5991 2014-01-07  Glenn Morris  <rgm@gnu.org>
5993         * menu-bar.el (menu-bar-help-extra-packages): Remove.
5994         (menu-bar-help-menu): Use view-external-packages instead.
5996 2014-01-07  Bastien Guerry  <bzg@gnu.org>
5998         * emacs-lisp/package.el (package-delete): Also delete the package
5999         name from `package-alist', not its description only.
6001 2014-01-07  Glenn Morris  <rgm@gnu.org>
6003         * help.el (view-external-packages):
6004         * menu-bar.el (menu-bar-help-extra-packages):
6005         Visit efaq.info rather than etc/MORE.STUFF.
6007 2014-01-07  Juri Linkov  <juri@jurta.org>
6009         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6010         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
6012         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6013         that shadows RET.  (Bug#16342)
6015 2014-01-07  Chong Yidong  <cyd@gnu.org>
6017         * isearch.el (isearch-yank-char, isearch-yank-word)
6018         (isearch-yank-line): Doc fix.
6020 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6022         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6023         * emacs-lisp/elint.el (elint-find-builtins):
6024         * emacs-lisp/eldoc.el (eldoc-symbol-function):
6025         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6026         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6027         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6028         * apropos.el (apropos-safe-documentation):
6029         * subr.el (symbol-file): Remove redundant fboundp.
6030         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6032 2014-01-06  Bastien Guerry  <bzg@gnu.org>
6034         * hl-line.el (global-hl-line-overlay): Make a local variable.
6035         (global-hl-line-overlays): New variable to store all overlays.
6036         (global-hl-line-mode): Don't delete overlays from the current
6037         buffer when `global-hl-line-sticky-flag' is non-nil.
6038         (global-hl-line-highlight): Add new overlays to
6039         `global-hl-line-overlays'.
6040         (global-hl-line-unhighlight-all): New function to delete all
6041         overlays when turning off `global-hl-line-mode'.
6042         This fixes Bug#16183.
6044 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6046         * subr.el (set-transient-map): Fix nested case and docstring.
6048 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
6050         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6051         `Texinfo' entry.
6053 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6055         Fix defun navigation in vc log view.
6057         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6058         like `beginning-of-defun'.
6059         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6060         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
6061         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6062         (log-view-extract-comment): Call `log-view-current-entry' directly
6063         instead of relying on broken `log-view-beginning-of-defun' behavior.
6065 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
6067         Spelling fixes.
6068         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6069         * emacs-lisp/debug.el (cancel-debug-on-entry):
6070         * epg.el (epg-error-to-string):
6071         * files.el (recover-file):
6072         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6073         * mail/emacsbug.el (report-emacs-bug-hook):
6074         * mail/sendmail.el (mail-recover):
6075         * ses.el (ses-yank-resize):
6076         * term/ns-win.el (ns-print-buffer):
6077         Spelling fixes in diagnostics, mostly for "canceled" with one L.
6078         * epg.el (epg-key-capability-alist): Rename from misspelled version.
6079         All uses changed.
6080         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6082 2014-01-06  Leo Liu  <sdl.web@gmail.com>
6084         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6085         to avoid shadowing global key.  (Bug#16354)
6087 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6089         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6090         rst-mode.
6092 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
6094         * window.el (balance-windows): Add mising t to fix Bug#16351.
6096 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6098         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6099         (bug#16285).
6100         (shr-insert): If we have a word that's longer than `shr-width',
6101         break after it anyway.  Otherwise we'll do no breaking once we get
6102         such a long word.
6104 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6106         * net/eww.el (eww): Support single/double quote for search.
6107         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6108         (eww-history-quit): Delete and use quit-window.
6109         (eww-history-kill): Delete, because it doesn't work well and
6110         not necessary.
6111         (eww-history-mode-map): Delete some keys and add easy-menu.
6113 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6115         Fix misspelling of 'chinese' in rx (Bug#16237).
6116         * emacs-lisp/rx.el (rx-categories): Correct spelling of
6117         chinese-two-byte.
6119         Change subword regexps back to vars (Bug#16296).
6120         * progmodes/subword.el (subword-forward-regexp)
6121         (subword-backward-regexp): Change these back to variables.
6123 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6125         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6126         syntax-begin-function (bug#16247).
6128 2014-01-03  Chong Yidong  <cyd@gnu.org>
6130         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6131         (advice--docstring): Delete variable.
6132         (advice--make-1): Leave the docstring empty.
6133         (advice-add): Use function-documentation for advised docstring.
6135         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6136         Ignore function-documentation property when getting documentation.
6137         (ad-activate-advised-definition): Use function-documentation
6138         generate the docstring.
6139         (ad-make-advised-definition): Don't call
6140         ad-make-advised-definition-docstring.
6141         (ad-make-advised-definition-docstring, ad-advised-definition-p):
6142         Delete functions.
6144         * progmodes/sql.el (sql-help): Use function-documentation instead
6145         of dynamic-docstring-function property.  No need to autoload now.
6146         (sql--help-docstring): New variable.
6147         (sql--make-help-docstring): Use it.
6149 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6151         * ielm.el (ielm-tab): Retarget.
6152         (ielm-map): Use ielm-tab for tab.
6153         (ielm-complete-filename): Use comint-filename-completion.
6154         (ielm-complete-symbol): Remove.
6155         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6156         remove ielm-tab from completion-at-point-functions (bug#16224).
6158         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6159         Beware signals raised by predicates (bug#16201).
6161 2014-01-02  Richard Stallman  <rms@gnu.org>
6163         * dired-aux.el (dired-do-print): Handle printer-name.
6165         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6166         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6167         (rmail-epa-decrypt): Turn off mime processing.
6169         * mail/rmail.el (rmail-make-in-reply-to-field):
6170         Add parens in message-id.
6172         * mail/rmail.el (rmail-get-coding-function): Variable.
6173         (rmail-get-coding-system): Use it.
6175 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
6177         * international/mule-conf.el: Unify the charset indian-is13194.
6178         (indian-is13194): Specify unify-map.
6180 2013-12-31  Leo Liu  <sdl.web@gmail.com>
6182         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
6184 2013-12-30  Daniel Colascione  <dancol@dancol.org>
6186         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6187         of printing a useless when we resume from sleep.
6189         * progmodes/sh-script.el
6190         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6191         in indentation code.  (Bug#16233)
6193 2013-12-28  João Távora  <joaotavora@gmail.com>
6195         * elec-pair.el (electric-pair-post-self-insert-function):
6196         Don't open extra newlines at beginning of buffer.  (Bug#16272)
6198 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
6200         * frame.el (window-system-for-display): Don't allow to create a
6201         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
6203 2013-12-28  Glenn Morris  <rgm@gnu.org>
6205         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6206         Update callers.
6208         * apropos.el (apropos-match-face):
6209         * calculator.el (calculator-displayer):
6210         * dabbrev.el (dabbrev-search-these-buffers-only):
6211         * face-remap.el (buffer-face-mode-face):
6212         * simple.el (yank-handled-properties):
6213         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6214         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6215         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6216         (hashcash-double-spend-database):
6217         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6218         (ruby-deep-indent-paren-style):
6219         * textmodes/flyspell.el (flyspell-auto-correct-binding):
6220         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6221         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6222         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6223         Specify custom types.
6225         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6226         * bookmark.el (bookmark-bmenu-use-header-line):
6227         * doc-view.el (doc-view-scale-internally):
6228         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6229         * register.el (register-preview-delay):
6230         * net/shr.el (shr-bullet):
6231         * progmodes/cfengine.el (cfengine-cf-promises)
6232         (cfengine-parameters-indent):
6233         * progmodes/octave.el (inferior-octave-error-regexp-alist):
6234         * textmodes/reftex-vars.el (reftex-label-regexps):
6235         * vc/log-edit.el (log-edit-setup-add-author): Add version.
6237         * net/tls.el (tls-certtool-program): Fix default value.
6239         * desktop.el (desktop-restore-in-current-display):
6240         * newcomment.el (comment-empty-lines):
6241         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6242         (idlwave-pad-keyword):
6243         * progmodes/tcl.el (tcl-tab-always-indent):
6244         * textmodes/reftex-vars.el (reftex-index-default-tag):
6245         * elec-pair.el (electric-pair-skip-whitespace):
6246         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6248         * emacs-lisp/authors.el (authors-ignored-files)
6249         (authors-valid-file-names, authors-renamed-files-alist): Additions.
6251 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
6253         * shell.el (shell-dynamic-complete-command): Doc fix.
6254         (shell--command-completion-data): Shell completion now matches
6255         executable filenames from the current buffer's directory, on
6256         systems in which this behavior is the default (windows-nt, ms-dos).
6258 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6260         * net/shr.el (shr-insert): Don't infloop if the width is zero.
6262 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6264         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6265         (bug#16251).
6267         * electric.el: Move all electric-pair-* to elec-pair.el.
6268         * elec-pair.el: New file, split from electric.el.
6270 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6272         * net/shr.el (shr-find-fill-point): Don't try to fill if the
6273         indentation level is larger than the width, because that will
6274         infloop.
6275         (shr-insert): Fill repeatedly long texts, so that Japanese is
6276         formatted correctly (bug#16263).
6277         (shr-find-fill-point): Off by one error in comparison with the
6278         indentation.
6280 2013-12-26  João Távora  <joaotavora@gmail.com>
6282         * electric.el (electric-pair-mode): More flexible engine for skip-
6283         and inhibit predicates, new options for pairing-related functionality.
6284         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6285         if that keeps or improves their balance in buffers.
6286         (electric-pair-delete-adjacent-pairs): Delete the pair when
6287         backspacing over adjacent matched delimiters.
6288         (electric-pair-open-extra-newline): Open extra newline when
6289         inserting newlines between adjacent matched delimiters.
6290         (electric--sort-post-self-insertion-hook):
6291         Sort post-self-insert-hook according to priority values when
6292         minor-modes are activated.
6293         * simple.el (newline-and-indent): Call newline with interactive
6294         set to t.
6295         (blink-paren-post-self-insert-function): Set priority to 100.
6296         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6297         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6298         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
6299         electric-pair-open-newline-between-pairs to nil.
6301 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6303         * progmodes/python.el: Use lexical-binding.
6304         (python-nav-beginning-of-defun): Stop searching ASAP.
6306 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
6308         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6309         Fix interactive spec.  Doc fix.  (Bug#15754)
6311 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
6313         * emacs-lisp/byte-run.el (eval-when-compile):
6314         * progmodes/cc-defs.el (cc-eval-when-compile):
6315         Fix edebug spec (bug#16184).
6317 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6319         * net/shr.el (shr-visit-file): Remove debugging function.
6320         (shr-insert): Don't infloop if we can't find a good place to break
6321         the line (bug#16256).
6323 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6325         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6326         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
6327         python-nav-lisp-forward-sexp-safe.
6328         (python-nav--forward-sexp): New argument SAFE allows switching
6329         forward sexp movement behavior for parens.
6330         (python-nav-forward-sexp): Throw errors on unterminated parens
6331         (Bug#16191).
6332         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6333         (python-nav-backward-sexp-safe): New functions.
6334         (python-shell-buffer-substring):
6335         Use `python-nav-forward-sexp-safe'.
6337 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6339         * net/shr.el (shr-find-fill-point): Don't break lines before a
6340         quotation mark.
6341         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6342         (shr-find-fill-point): Remove the special checks for the quotation
6343         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6345 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6347         * net/eww.el (eww-form-textarea): Use a different face for
6348         textareas than text input since they have different keymaps
6349         (bug#16142).
6351 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6353         * progmodes/python.el (python-nav-beginning-of-statement):
6354         Speed up (Bug#15295).
6356 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6358         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6359         the window configuration.
6361 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
6363         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6364         we run on MS-Windows or MS-DOS.
6366 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
6368         * window.el (balance-windows-area): Call window-size instead of
6369         window-height and window-width.  Bug#16241.
6371 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6373         * net/eww.el (eww-bookmark-quit): Remove.
6374         (eww-bookmark-browse): Restore the window configuration when you
6375         choose a bookmark (bug#16144).
6377 2013-12-24  Daniel Colascione  <dancol@dancol.org>
6379         * icomplete.el: Remove redundant :group arguments to `defcustom'
6380         throughout.
6381         (icomplete-show-matches-on-no-input): New customizable variable.
6382         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6383         we have something to show.
6384         (icomplete-exhibit): Compute completions even if we have no user input.
6386 2013-12-23  Daniel Colascione  <dancol@dancol.org>
6388         * icomplete.el: Move `provide' to end of file.
6390 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
6392         * net/gnutls.el (gnutls-verify-error): Add version tag.
6394 2013-12-23  Chong Yidong  <cyd@gnu.org>
6396         * subr.el (set-transient-map): Rename from
6397         set-temporary-overlay-map.  Doc fix.
6399         * face-remap.el (text-scale-adjust):
6400         * indent.el (indent-rigidly):
6401         * kmacro.el (kmacro-call-macro):
6402         * minibuffer.el (minibuffer-force-complete):
6403         * repeat.el (repeat):
6404         * simple.el (universal-argument--mode):
6405         * calendar/todo-mode.el (todo-insert-item--next-param):
6406         * progmodes/f90.el (f90-abbrev-start): Callers changed.
6408         * indent.el (indent-rigidly): Use substitute-command-keys.
6410 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6412         * net/eww.el (eww-tag-select): Add text-property to jump to next
6413         select field.
6414         (eww): Add non-supported ftp error.
6416 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6418         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6419         comments.  Handle electric indent after typing `?' and `!'.
6421 2013-12-22  Chong Yidong  <cyd@gnu.org>
6423         * faces.el (face-spec-recalc): If the theme specs are not
6424         applicable to a frame, fall back on the defface spec.
6425         This prevents themes from obliterating faces on low-color terminals.
6427 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6429         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6430         after `{'.  We need it after block openers, and it doesn't seem
6431         to hurt after hash openers.
6433 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6435         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6436         extracted from `ruby-smie-rules'.
6437         (ruby--electric-indent-chars): New variable.
6438         (ruby--electric-indent-p): New function.
6439         (ruby-mode): Use `electric-indent-functions' instead of
6440         `electric-indent-chars'.
6442 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6444         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6445         docstring.
6446         (ruby-smie-rules): Indent plus one level after `=>'.
6448 2013-12-21  Richard Stallman  <rms@gnu.org>
6450         * simple.el (newline): Doc fix.
6452 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6454         * net/eww.el (eww-list-histories, eww-list-histories)
6455         (eww-history-browse, eww-history-quit, eww-history-kill)
6456         (eww-history-mode-map, eww-history-mode): New command and
6457         functions to list browser histories.
6458         (eww-form-text): Support text form with disabled
6459         and readonly attributes.
6460         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6462 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6464         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6465         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6466         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6467         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6468         Use `user-error'.
6469         (eww-bookmark-mode-map): Add menu.
6470         (eww-render, eww-mode): Use `setq-local'.
6471         (eww-tool-bar-map): New variable.
6472         (eww-mode): Set `tool-bar-map'.
6473         (eww-view-source): Check for `html-mode' with `fboundp'.
6475 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6477         * net/shr.el (shr--extract-best-source): Don't bug out on audio
6478         elements with text inside.  Also remove debugging.
6480 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
6482         * cus-start.el (all): Add ns-use-srgb-colorspace.
6484 2013-12-21  Chong Yidong  <cyd@gnu.org>
6486         * custom.el (custom-theme-recalc-face): Do nothing if the face is
6487         undefined.  Thus, theme settings for undefined faces do not take
6488         effect until the faces are defined with defface, the same as with
6489         theme variables.
6491         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6492         (face-spec-reset-face): Don't assign extra properties in temacs.
6493         (face-spec-recalc): Apply X resources too.
6495 2013-12-21  Chong Yidong  <cyd@gnu.org>
6497         * faces.el (face-spec-set):
6498         * cus-face.el (custom-theme-set-faces, custom-set-faces):
6499         * custom.el (defface): Doc fixes (Bug#16203).
6501         * indent.el (indent-rigidly-map): Add docstring, and move commands
6502         into named functions.
6503         (indent-rigidly-left, indent-rigidly-right)
6504         (indent-rigidly-left-to-tab-stop)
6505         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
6506         indentation direction based on bidi direction, and accumulate
6507         sequential commands in a single undo boundary.
6508         (indent-rigidly--pop-undo): New utility function.
6510 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
6512         * faces.el (read-face-name): Require crm.el when using crm-separator.
6514 2013-12-20  Daniel Colascione  <dancol@dancol.org>
6516         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
6517         so that we don't reflow comments into the shebang line.
6519 2013-12-20  Juri Linkov  <juri@jurta.org>
6521         * saveplace.el (save-place-to-alist): Add `dired-filename' as
6522         a position when `dired-directory' is non-nil.  Check integer
6523         positions with `integerp'.
6524         (toggle-save-place, save-places-to-alist): Add check for
6525         `dired-directory'.
6526         (save-place-find-file-hook): Check integer positions with
6527         `integerp'.
6528         (save-place-dired-hook): Use `dired-goto-file' when
6529         `dired-filename' is found in the assoc list.  Check integer
6530         positions with `integerp'.
6531         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
6533         * dired.el (dired-initial-position-hook): Rename back from
6534         `dired-initial-point-hook'.
6535         (dired-initial-position): Rename `dired-initial-point-hook' to
6536         `dired-initial-position-hook'.
6537         (dired-file-name-at-point): Doc fix.  (Bug#15329)
6539 2013-12-20  Juri Linkov  <juri@jurta.org>
6541         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
6542         (read-regexp-suggestions): New function.
6543         (read-regexp): Use `read-regexp-defaults-function' to get default values.
6544         Use `read-regexp-suggestions'.  Add non-empty default to history
6545         for empty input.
6546         (occur-read-regexp-defaults-function): Remove function.
6547         (occur-read-primary-args): Use `regexp-history-last' instead of
6548         `occur-read-regexp-defaults-function'.
6550         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
6551         (hi-lock-line-face-buffer, hi-lock-face-buffer)
6552         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
6553         `hi-lock-read-regexp-defaults-function'.  Doc fix.
6554         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
6555         with `find-tag-default-as-symbol-regexp'.  Doc fix.
6556         (hi-lock-read-regexp-defaults): Remove function.
6557         (hi-lock-regexp-okay): Add check for null.
6559         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
6560         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
6562         * subr.el (find-tag-default-as-symbol-regexp): New function.
6563         (find-tag-default-as-regexp): Move symbol regexp formatting to
6564         `find-tag-default-as-symbol-regexp'.
6566 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
6568         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
6569         (Bug#14179)
6571 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6573         * calendar/todo-mode.el: New implementation of item insertion
6574         commands and key bindings.
6575         (todo-key-prompt): New face.
6576         (todo-insert-item): New command.
6577         (todo-insert-item--parameters): New defconst, replacing defvar
6578         todo-insertion-commands-args-genlist.
6579         (todo-insert-item--param-key-alist): New defconst, replacing
6580         defvar todo-insertion-commands-arg-key-list.
6581         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
6582         (todo-insert-item--argsleft, todo-insert-item--apply-args)
6583         (todo-insert-item--next-param): New functions.
6584         (todo-insert-item--args, todo-insert-item--argleft)
6585         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
6586         New variables.
6587         (todo-key-bindings-t): Change binding of "i" from
6588         todo-insertion-map to todo-insert-item.
6589         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
6590         (todo-insertion-command-name, todo-insertion-commands-names)
6591         (todo-define-insertion-command, todo-insertion-commands)
6592         (todo-insertion-key-bindings, todo-insertion-map): Remove.
6594 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6596         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
6597         (todo-toggle-item-highlighting): Use eval-and-compile instead of
6598         eval-when-compile.
6599         (todo-move-category): Allow choosing a non-existing todo file to
6600         move the category to, and create that file.
6601         (todo-default-priority): New user option.
6602         (todo-set-item-priority): Use it.
6603         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6604         (desktop-restore-file-buffer): Declare.
6605         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6606         (todo-modes-set-2): Locally set desktop-save-buffer to
6607         todo-desktop-save-buffer.
6608         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6609         (auto-mode-alist): Add autoload cookie.
6611 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
6613         * emacs-lisp/subr-x.el: Renamed from helpers.el.
6614         helpers.el was a poor choice of name.
6615         (string-remove-prefix): New function.
6616         (string-remove-suffix): New function.
6618 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
6620         Fix assignment for new window total sizes.
6621         * window.el (window--pixel-to-size): Remove function.
6622         (window--pixel-to-total-1, window--pixel-to-total):
6623         Fix calculation of new total sizes.
6625 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
6627         * comint.el (comint-output-filter): Fix rear-nonsticky property
6628         placement (Bug#16010).
6630 2013-12-20  Chong Yidong  <cyd@gnu.org>
6632         * faces.el (read-color): Minor fix for completion function.
6634 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
6636         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6637         New option.  (Bug#16182)
6638         (ruby-smie--indent-to-stmt-p): Use it.
6639         (ruby-smie-rules): Revert the logic in the handling of `when'.
6640         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6641         (ruby-deep-arglist, ruby-deep-indent-paren)
6642         (ruby-deep-indent-paren-style): Update docstrings to note that the
6643         vars don't have any effect with SMIE.
6645 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
6647         * calc/calc.el (calc-enter, calc-pop): Use the variable
6648         `calc-context-sensitive-enter'.
6650 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6652         * net/shr.el (shr-insert): Protect against infloops in degenerate
6653         tables.
6655 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6657         * progmodes/octave.el (octave): Add link to manual and octave
6658         homepage.
6659         (octave-mode-menu): Link to octave-mode manual.
6661 2013-12-20  Leo Liu  <sdl.web@gmail.com>
6663         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
6664         insertion using skeleton-end-newline.  (Bug#16138)
6666 2013-12-20  Juri Linkov  <juri@jurta.org>
6668         * replace.el (occur-engine): Use `add-face-text-property'
6669         to add the face property to matches and titles.  (Bug#14645)
6671         * hi-lock.el (hi-green): Use lighter color "light green" closer to
6672         the palette of other hi-lock colors.
6673         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
6675 2013-12-19  Juri Linkov  <juri@jurta.org>
6677         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
6678         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
6679         (minibuffer-history-symbol): Move variable declaration closer to
6680         its usage.
6682         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
6683         (Bug#14785)
6685 2013-12-19  Juri Linkov  <juri@jurta.org>
6687         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
6688         New function.
6689         (log-edit-hook): Add it to :options.  (Bug#16170)
6691 2013-12-19  Juri Linkov  <juri@jurta.org>
6693         * simple.el (eval-expression-print-format): Don't check for
6694         command names and the last command.  Always display additional
6695         formats of the integer result in the echo area, and insert them
6696         to the current buffer only with a zero prefix arg.
6697         Display character when char-displayable-p is non-nil.
6698         (eval-expression): With a zero prefix arg, set `print-length' and
6699         `print-level' to nil, and insert the integer values from
6700         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
6702         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
6703         `eval-last-sexp-arg-internal'.  Doc fix.
6704         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
6705         `eval-last-sexp-print-value'.  Doc fix.
6706         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
6707         Set `print-length' and `print-level' to nil when arg is zero.
6708         (eval-last-sexp): Doc fix.
6709         (eval-defun-2): Print the integer values from
6710         `eval-expression-print-format' at the end.
6712         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
6713         values from `eval-expression-print-format' at the end.
6715         * ielm.el (ielm-eval-input): Print the integer
6716         values from `eval-expression-print-format' at the end.
6718 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
6720         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
6721         2013-12-11T19:01:44Z!tzz@lifelogs.com.
6723 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6725         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
6726         (hl-line-highlight, global-hl-line-highlight): Use it.
6727         (hl-line-overlay): Use defvar-local.
6729 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
6731         * term/ns-win.el: Require dnd.
6732         (global-map): Remove drag items.
6733         (ns-insert-text, ns-set-foreground-at-mouse)
6734         (ns-set-background-at-mouse):
6735         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
6736         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
6737         New functions.
6739 2013-12-19  Glenn Morris  <rgm@gnu.org>
6741         * emacs-lisp/ert.el (ert-select-tests):
6742         Fix string/symbol mixup.  (Bug#16121)
6744 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6746         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
6747         keywords to their parent.
6749 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
6751         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
6752         first arg to be a string (fixed dead code), or an operator symbol.
6753         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
6754         operator symbols.
6755         (ruby-smie-rules): Remove parent token check in the `.' clause, it
6756         did nothing.  Don't respond to `(:after ".")', it will be called
6757         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
6758         change anything.  Only return indentation for binary operators
6759         when they are hanging.  De-dent opening paren when its parent is
6760         `.', otherwise it looks bad when the dot is not at bol or eol
6761         (bug#16182).
6763 2013-12-19  Juri Linkov  <juri@jurta.org>
6765         * replace.el (query-replace-read-args): Split a non-negative arg
6766         and a negative arg into separate elements.
6767         (query-replace, query-replace-regexp, replace-string)
6768         (replace-regexp): Add arg `backward'.  Doc fix.
6769         (replace-match-maybe-edit): When new arg `backward' is non-nil,
6770         move point to the beginning of the match.
6771         (replace-search, replace-highlight): Use new arg `backward'
6772         to set the value of `isearch-forward'.
6773         (perform-replace): Add arg `backward' and use it to perform
6774         replacement backward.  (Bug#14979)
6776         * isearch.el (isearch-query-replace): Use a negative prefix arg
6777         to call `perform-replace' with a non-nil arg `backward'.
6779 2013-12-18  Juri Linkov  <juri@jurta.org>
6781         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
6782         to the default list.  Move `log-edit-show-files' to the end.
6783         Add more available functions to options.
6784         (log-edit): Move default specific settings to
6785         `log-edit-insert-message-template'.  Don't move point.
6786         (log-edit-insert-message-template): New function.
6787         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
6788         (Bug#16170)
6790 2013-12-18  Juri Linkov  <juri@jurta.org>
6792         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
6793         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
6795 2013-12-18  Leo Liu  <sdl.web@gmail.com>
6797         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
6798         (Bug#16186)
6800 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
6802         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
6803         formats for displaying file sizes when the -s switch is given.
6804         Instead, compute a separate format for displaying the size in
6805         blocks, which is displayed in addition to the "regular" size.
6806         When -h is given in addition to -s, produce size in blocks in
6807         human-readable form as well.  (Bug#16179)
6809 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
6811         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6812         Reference tables with ~\ref{...} instead of only \ref{...}.
6814 2013-12-18  Chong Yidong  <cyd@gnu.org>
6816         * cus-edit.el (custom-magic-alist): Fix "themed" description
6817         (Bug#14348).
6819         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
6820         is non-nil, do not create a new entry in the symbol's theme-value
6821         or theme-face property; update theme-settings only (Bug#14664).
6822         (custom-available-themes): Doc fix.
6824         * cus-theme.el (custom-new-theme-mode-map): Add bindings
6825         (Bug#15674).
6827         * replace.el (occur-engine): Avoid infloop (Bug#7593).
6829 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
6831         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
6832         (Bug#13914).
6834 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
6836         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
6838 2013-12-18  Glenn Morris  <rgm@gnu.org>
6840         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
6841         * cus-start.el (load-prefer-newer): New option.
6843 2013-12-18  Le Wang  <l26wang@gmail.com>
6845         * comint.el (comint-previous-matching-input-from-input):
6846         Retain point (Bug#13404).
6848 2013-12-18  Chong Yidong  <cyd@gnu.org>
6850         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6852 2013-12-18  Glenn Morris  <rgm@gnu.org>
6854         * mail/emacsbug.el (report-emacs-bug):
6855         Only mention enable-multibyte-characters if non-standard.
6857 2013-12-17  Juri Linkov  <juri@jurta.org>
6859         * arc-mode.el (archive-extract-by-file): Check if directory exists
6860         before deletion to not show irrelevant errors if it doesn't exist.
6862 2013-12-17  Juri Linkov  <juri@jurta.org>
6864         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6865         (Bug#14751)
6867         * net/eww.el (browse-web): Add alias to `eww'.
6868         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6869         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
6871         * net/browse-url.el (browse-url-browser-function): Move `eww'
6872         closer to similar functions.
6874         * startup.el (fancy-startup-screen, fancy-about-screen):
6875         Set browse-url-browser-function to eww-browse-url locally.
6876         (Bug#14751)
6878 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6880         * window.el (window--pixel-to-total): Remove unused `mini' var.
6881         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6882         (split-window): Remove unused `new' var.
6883         (window--display-buffer): Remove unused `frame' and `delta' vars.
6884         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6885         and display-width'.
6887 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
6889         * dired.el (dired-mark-pop-up):
6890         * register.el (register-preview): Don't bind
6891         split-height-threshold here since it's now done in
6892         display-buffer-below-selected.
6894 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
6896         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6897         xterm-rgb-convert-to-16bit.
6898         (rxvt-register-default-colors): Standardize with
6899         xterm-register-default-colors (Bug#14078).
6901 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
6903         * simple.el (kill-region): Pass mark first, then point, so that
6904         kill-append works right (Bug#12819).
6905         (copy-region-as-kill, kill-ring-save): Likewise.
6907 2013-12-17  Leo Liu  <sdl.web@gmail.com>
6909         * net/rcirc.el (rcirc-add-face):
6910         * eshell/em-prompt.el (eshell-emit-prompt):
6911         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6912         (Bug#16167)
6914 2013-12-17  Chong Yidong  <cyd@gnu.org>
6916         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6917         Suggested by Xue Fuqiao.
6919 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6921         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6923 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6925         * net/shr.el (shr-insert-document): Remove unused var
6926         `shr-preliminary-table-render'.
6927         (shr-rescale-image): Remove unused arg `force'.
6928         (shr-put-image): Update calls accordingly.
6929         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6931 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
6933         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6934         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6935         :close-all, to see which indentation method to use (Bug#16116).
6936         (smie-rules-function): Document the method :close-all.
6938 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6940         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6942         * net/eww.el (eww-display-html): If we can't find the anchor we're
6943         looking for, then go to point-min.
6945 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
6947         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6948         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6949         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6950         Expand dir too, in case it's relative.
6952 2013-12-16  Juri Linkov  <juri@jurta.org>
6954         * desktop.el (desktop-auto-save-timeout): Change default to
6955         `auto-save-timeout'.  Doc fix.
6956         (desktop-save): Skip the timestamp in desktop-saved-frameset
6957         when checking for auto-save changes.
6958         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6959         `desktop-auto-save' is called repeatedly by the idle timer.
6960         (desktop-auto-save-set-timer): Replace `run-with-timer' with
6961         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
6962         (Bug#15331)
6964 2013-12-16  Juri Linkov  <juri@jurta.org>
6966         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6967         (Bug#16035)
6968         (isearch-pre-command-hook): Check `this-command' for symbolp.
6970 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6972         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6974 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
6976         * progmodes/cfengine.el (cfengine3--current-word): Remove.
6977         (cfengine3--current-function): Bring in the current-function
6978         functionality from `cfengine3--current-word'.
6979         (cfengine3-completion-function): Bring in the
6980         bounds-of-current-word functionality from
6981         `cfengine3--current-word'.
6983 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
6985         * window.el (display-buffer-below-selected):
6986         Bind split-height-threshold to 0 as suggested by Juri Linkov.
6988 2013-12-16  Leo Liu  <sdl.web@gmail.com>
6990         * progmodes/compile.el (compile-goto-error): Do not push-mark.
6991         Remove NOMSG arg and all uses changed.
6993 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6995         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6996         (cua--deactivate-rectangle): Don't deactivate the mark.
6997         (cua-set-rectangle-mark): Don't set mark-active since
6998         cua--activate-rectangle already does it for us.
6999         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7000         non-rectangular region.
7002         * emulation/cua-base.el (cua-repeat-replace-region):
7003         Use with-current-buffer.
7005         * net/gnutls.el: Use cl-lib.
7006         (gnutls-negotiate): `mapcan' -> cl-mapcan.
7008 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7010         * emacs-lisp/package.el (package-built-in-p): Support both
7011         built-in and the package.el converted package descriptions.
7012         (package-show-package-list): Allow keywords.
7013         (package-keyword-button-action): Use it instead of
7014         `finder-list-matches'.
7015         (package-menu-filter-interactive): Interactive filtering (by
7016         keyword) function.
7017         (package-menu--generate): Support keywords and change keymappings
7018         and headers when they are given.
7019         (package--has-keyword-p): Helper function.
7020         (package-menu--refresh): Use it.
7021         (package--mapc): Helper function.
7022         (package-all-keywords): Use it.
7023         (package-menu-mode-map): Set up menu items and keybindings to
7024         provide a filtering UI.
7026 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7028         * net/gnutls.el (gnutls-verify-error): New defcustom to control
7029         the behavior when a certificate fails validation.  Defaults to
7030         old behavior: never abort, just warn.
7031         (gnutls-negotiate): Use it.
7033 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
7035         * window.el (display-buffer-below-selected): Never split window
7036         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
7038 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7040         * emacs-lisp/package.el (package--prepare-dependencies): New function.
7041         (package-buffer-info): Use it (bug#15108).
7043 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7045         * icomplete.el (icomplete-completions): Make sure the prefix is already
7046         displayed elsewhere before hiding it (bug#16219).
7048 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
7050         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7051         open-paren tokens when preceded by a open-paren, too.
7052         (ruby-smie-rules): Handle virtual indentation after open-paren
7053         tokens specially.  If there is code between it and eol, return the
7054         column where is starts (Bug#16118).
7056 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7058         * progmodes/cfengine.el: Fix `add-hook' doc.
7059         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7060         (cfengine3--current-word): Fix parameters.
7061         (cfengine3-make-syntax-cache): Simplify further.
7062         (cfengine3-completion-function, cfengine3--current-function):
7063         Use `assq' for symbols.
7064         (cfengine3--current-function): Fix `cfengine3--current-word' call.
7066 2013-12-13  Glenn Morris  <rgm@gnu.org>
7068         * loadup.el (load-path): Warn if site-load or site-init changes it.
7069         No more need to reset it when bootstrapping.
7071 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7073         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7074         locations for cf-promises.
7075         (cfengine-mode-syntax-functions-regex): New caching variable.
7076         (cfengine3-fallback-syntax): Fallback syntax for cases where
7077         cf-promises doesn't run.
7078         (cfengine3--current-word): Reimplement using
7079         `cfengine-mode-syntax-functions-regex'.
7080         (cfengine3-completion-function, cfengine3--current-function):
7081         Use `cfengine3-make-syntax-cache' directly.
7082         (cfengine3-clear-syntax-cache): New function.
7083         (cfengine3-make-syntax-cache): Simplify and create
7084         `cfengine-mode-syntax-functions-regex' on demand.
7085         (cfengine3-format-function-docstring): Don't call
7086         `cfengine3-make-syntax-cache' explicitly.
7088 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
7090         Fix windmove-find-other-window broken after pixelwise resizing
7091         (Bug#16017).
7092         * windmove.el (windmove-other-window-loc): Revert change from
7093         2013-12-04.
7094         (windmove-find-other-window): Call window-in-direction.
7095         * window.el (window-in-direction): New arguments SIGN, WRAP and
7096         MINI to emulate original windmove-find-other-window behavior.
7098 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
7100         * simple.el (blink-matching--overlay): New variable.
7101         (blink-matching-open): Instead of moving point, highlight the
7102         matching paren with an overlay
7103         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7105         * faces.el (paren-showing-faces, show-paren-match)
7106         (show-paren-mismatch): Move from paren.el.
7108 2013-12-13  Leo Liu  <sdl.web@gmail.com>
7110         * indent.el (indent-region): Disable progress reporter in
7111         minibuffer.  (Bug#16108)
7113         * bindings.el (visual-order-cursor-movement): Fix version.
7115 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7117         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7118         Also match after beginning of line.
7119         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7120         files.  Thanks to Russell Sim.  (Bug#15378)
7122 2013-12-13  Juri Linkov  <juri@jurta.org>
7124         * simple.el <Keypad support>: Remove key bindings duplicated
7125         with bindings.el.  (Bug#14397)
7127 2013-12-13  Juri Linkov  <juri@jurta.org>
7129         * comint.el (comint-mode-map): Replace `delete-char' with
7130         `delete-forward-char'.  (Bug#16109)
7132 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7134         * progmodes/python.el (python-indent-calculate-indentation):
7135         Fix de-denters cornercase.  (Bug#15731)
7137 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7139         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7140         (advice--make): Pay attention to `depth'.
7141         (advice--make-1): Don't autoload commands eagerly.
7142         * emacs-lisp/elp.el (elp-instrument-function):
7143         * emacs-lisp/trace.el (trace-function-internal):
7144         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7146         * iswitchb.el (iswitchb-mode): Don't belittle ido.
7148 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
7150         * term/w32-win.el (w32-handle-dropped-file):
7151         * startup.el (normal-top-level):
7152         * net/browse-url.el (browse-url-file-url):
7153         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7154         decode file names using 'utf-8' rather than
7155         file-name-coding-system.
7157 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7159         * progmodes/python.el (python-indent-context)
7160         (python-indent-calculate-indentation): Fix auto-identation
7161         behavior for comment blocks.  (Bug#15916)
7163 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7165         * progmodes/python.el (python-indent-calculate-indentation):
7166         When determining indentation, don't treat "return", "pass", etc., as
7167         operators when they are just string constituents.  (Bug#15812)
7169 2013-12-12  Juri Linkov  <juri@jurta.org>
7171         * uniquify.el (uniquify-buffer-name-style): Change default to
7172         `post-forward-angle-brackets'.
7174         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7175         `uniquify'.  Change default to `post-forward-angle-brackets'.
7177 2013-12-11  Glenn Morris  <rgm@gnu.org>
7179         * emacs-lisp/package.el (finder-list-matches):
7180         Autoload rather than falsely declaring.
7182 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
7184         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7185         (eww-mode-map): Use them.
7187 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
7189         * window.el (display-buffer-in-side-window): Fix doc-string
7190         (Bug#16115).
7192 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
7194         * vc/vc-git.el: Silence byte-compiler warnings.
7195         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7196         (log-edit-set-header): Declare.
7198 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
7200         * Makefile.in (custom-deps, finder-data): Run output file names
7201         through unmsys--file-name.  (Bug#16099)
7203 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7205         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7206         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7208         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7209         instead of deleting the selection "by hand" (bug#16098).
7210         Rely on insert-for-yank to yank rectangles.
7211         (cua-highlight-region-shift-only): Mark obsolete.
7212         (cua-mode): Don't enable/disable transient-mark-mode,
7213         shift-select-mode (cua-mode works both with and without them), and
7214         pc-selection-mode (obsolete).
7215         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7216         (cua--deactivate-rectangle): Deactivate it.
7218         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7219         (delete-selection-helper): Make sure yank starts at the top of the
7220         deleted region.
7221         (minibuffer-keyboard-quit): Use region-active-p.
7223         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7225         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7226         to `delete' (bug#16109).
7228 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7230         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7231         info manual and show keybindings and set `:group' keyword.
7233 2013-12-11  Juri Linkov  <juri@jurta.org>
7235         * delsel.el (delete-active-region): Let-bind `this-command'
7236         to prevent `kill-region' from changing its original value.
7237         (delete-selection-helper): Handle `overwrite-mode' for the type
7238         `kill' exactly the same way as for the type `t'.
7239         (insert-char, quoted-insert, reindent-then-newline-and-indent):
7240         Support more commands.  (Bug#13312)
7242 2013-12-11  Juri Linkov  <juri@jurta.org>
7244         * bindings.el: Map kp keys to non-kp keys systematically
7245         with basic modifiers control, meta and shift.  (Bug#14397)
7247 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7249         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7250         "Close browser" menu items.  Fix wrong function of "List
7251         bookmarks".
7253 2013-12-11  Juri Linkov  <juri@jurta.org>
7255         * misearch.el (multi-isearch-buffers): Set the value of
7256         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7257         arg of isearch-forward to t.
7258         (multi-isearch-buffers-regexp): Set the value of
7259         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7260         arg of isearch-forward-regexp to t.
7261         (multi-isearch-files): Set the value of
7262         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7263         arg of isearch-forward to t.
7264         (multi-isearch-files-regexp): Set the value of
7265         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7266         arg of isearch-forward-regexp to t.  (Bug#16035)
7268         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7269         arg of isearch-forward to t.
7270         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7271         arg of isearch-forward-regexp to t.
7272         (dired-isearch-filter-filenames): Remove unnecessary check for
7273         `dired-isearch-filenames'.
7275         * comint.el (comint-history-isearch-backward):
7276         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7277         (comint-history-isearch-backward-regexp):
7278         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7280 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
7282         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7283         unmsys--file-name.  (Bug#16099)
7285 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
7287         * emacs-lisp/package.el (package-keyword-button-action):
7288         Remove finder.el require dependency.
7290 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
7292         * emacs-lisp/package.el: Require finder.el.
7293         (describe-package-1): Add keyword buttons.
7294         (package-make-button): New convenience function.
7295         (package-keyword-button-action): Keyword button action using
7296         `finder-list-matches'.
7298 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
7300         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7301         last commit.
7303 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
7305         * autorevert.el (auto-revert-notify-add-watch): Do not handle
7306         symlinked files.
7308 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7310         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7311         after the end of a percent literal.
7313 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7315         * progmodes/ruby-mode.el (ruby-forward-string): Document.
7316         Handle caret-delimited strings (Bug#16079).
7318 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7320         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7321         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7322         `ruby-parse-partial' (Bug#16078).
7324 2013-12-09  Leo Liu  <sdl.web@gmail.com>
7326         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
7328 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
7330         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7331         (js-switch-indent-offset): New option.
7332         (js--proper-indentation): Use it.  And handle the case when
7333         "default" is actually a key in an object literal.
7334         (js--same-line): New function.
7335         (js--multi-line-declaration-indentation): Use it.
7336         (js--indent-in-array-comp, js--array-comp-indentation):
7337         New functions.
7338         (js--proper-indentation): Use them, to handle array comprehension
7339         continuations.
7341 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7343         * progmodes/flymake.el (flymake-highlight-line): Re-write.
7344         (flymake-make-overlay): Remove arg MOUSE-FACE.
7345         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7347 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7349         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7350         New function.
7351         (redisplay-highlight-region-function): Use it.
7353         * emulation/cua-base.el (cua--explicit-region-start)
7354         (cua--last-region-shifted): Remove.
7355         (cua--deactivate): Use deactivate-mark.
7356         (cua--pre-command-handler-1): Don't handle shift-selection.
7357         (cua--post-command-handler-1): Don't change transient-mark-mode.
7358         (cua--select-keymaps): Use region-active-p rather than
7359         cua--explicit-region-start or cua--last-region-shifted.
7360         (cua-mode): Enable shift-select-mode.
7362 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7364         * progmodes/flymake.el (flymake-popup-current-error-menu):
7365         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
7366         (flymake-posn-at-point-as-event, flymake-popup-menu)
7367         (flymake-make-emacs-menu): Remove.  (Bug#16077)
7369 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7371         * rect.el (rectangle-mark-mode): Activate mark even if
7372         transient-mark-mode is off (bug#16066).
7373         (rectangle--highlight-for-redisplay): Fix boundary condition when point
7374         is > mark and at bolp.
7376         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7377         (region-extract-function): Use it.
7378         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7379         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7380         Delete functions.
7381         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7382         kill-ring-save, kill-region, delete-char, delete-forward-char.
7383         Ignore self-insert-iso.
7385         * emulation/cua-gmrk.el (cua--init-global-mark):
7386         Ignore `self-insert-iso'.
7388         * emulation/cua-base.el (cua--prefix-copy-handler)
7389         (cua--prefix-cut-handler): Rely on region-extract-function rather than
7390         checking cua--rectangle.
7391         (cua-delete-region): Use region-extract-function.
7392         (cua-replace-region): Delete function.
7393         (cua-copy-region, cua-cut-region): Obey region-extract-function.
7394         (cua--pre-command-handler-1): Don't do the delete-selection thing.
7395         (cua--self-insert-char-p): Ignore `self-insert-iso'.
7396         (cua--init-keymaps): Don't remap delete-selection commands.
7397         (cua-mode): Use delete-selection-mode instead of rolling our own
7398         (bug#16085).
7400         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7401         Obey region-extract-function.
7403         Make registers and delete-selection-mode work on rectangles.
7404         * register.el (describe-register-1): Don't modify the register's value.
7405         (copy-to-register): Obey region-extract-function.
7406         * delsel.el (delete-active-region): Obey region-extract-function.
7408 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7410         * progmodes/flymake.el (flymake, flymake-error-bitmap)
7411         (flymake-warning-bitmap, flymake-fringe-indicator-position)
7412         (flymake-compilation-prevents-syntax-check)
7413         (flymake-start-syntax-check-on-newline)
7414         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7415         (flymake-start-syntax-check-on-find-file, flymake-log-level)
7416         (flymake-xml-program, flymake-master-file-dirs)
7417         (flymake-master-file-count-limit)
7418         (flymake-allowed-file-name-masks): Relocate.
7419         (flymake-makehash, flymake-float-time)
7420         (flymake-replace-regexp-in-string, flymake-split-string)
7421         (flymake-get-temp-dir): Remove.
7422         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7423         (flymake-current-row, flymake-selected-frame)
7424         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7425         related functions.  (Bug#16077)
7427 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
7429         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7431 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
7433         * help-fns.el (describe-function-1): Use new advice-* functions
7434         rather than old ad-* functions.  Fix function type description and
7435         source links for advised functions and subrs.
7437 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7439         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7441 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
7443         * progmodes/compile.el (compilation-start):
7444         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7446         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7447         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
7449 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7451         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7452         Touch up the last change.
7454 2013-12-06  Leo Liu  <sdl.web@gmail.com>
7456         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7457         (inferior-octave-startup): Always use "octave> " for prompt.
7458         (octave-goto-function-definition)
7459         (octave-sync-function-file-names)
7460         (octave-find-definition-default-filename): Remove redundant backquotes.
7462 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7464         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7465         syntax for `?'.
7466         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7467         where appropriate already.
7468         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7469         end of method names (Bug#15874).
7471 2013-12-06  Juri Linkov  <juri@jurta.org>
7473         * isearch.el (isearch--saved-overriding-local-map):
7474         New internal variable.
7475         (isearch-mode): Set it to the initial value of
7476         `overriding-terminal-local-map'.
7477         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7478         with `isearch--saved-overriding-local-map'.  (Bug#16035)
7480 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7482         * progmodes/octave.el (inferior-octave-completion-table):
7483         Turn back into function, use `completion-table-with-cache'
7484         (Bug#11906).  Update all references.
7486         * minibuffer.el (completion-table-with-cache): New function.
7488 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7490         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7492 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
7494         * net/eww.el (eww-current-source): New variable to store page
7495         source.
7496         (eww-display-html, eww-mode, eww-save-history)
7497         (eww-restore-history): Use it.
7498         (eww-view-source): New command to view page source.
7499         Opportunistically uses `html-mode' to highlight the buffer.
7500         (eww-mode-map): Install it.
7502 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
7504         * net/dbus.el (dbus-unregister-service)
7505         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
7506         Fix docstring.
7507         (dbus-unregister-service): Skip :serial entries in
7508         `dbus-registered-objects-table'.
7509         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
7511 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
7513         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
7514         around keywords with extra `split-string' argument.
7516 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
7518         * windmove.el (windmove-other-window-loc): Handle navigation
7519         between windows (excluding the minibuffer window - Bug#16017).
7521 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
7523         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
7524         in D-Bus type syntax.
7525         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
7526         preserve unibyte strings.  (Bug#16048)
7528 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7530         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7531         Call force-mode-line-update is the proper buffer (bug#16042).
7533 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
7535         * vc/log-edit.el (log-edit-add-new-comment): Rename to
7536         `log-edit-remember-comment', make argument optional.  Adjust all
7537         callers.
7538         (log-edit-mode): Add `log-edit-remember-comment' to
7539         `kill-buffer-hook' locally.
7540         (log-edit-kill-buffer): Don't remember comment explicitly since
7541         the buffer is killed anyway.
7543 2013-12-04  Juri Linkov  <juri@jurta.org>
7545         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
7546         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
7548 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
7550         * notifications.el (notifications-close-notification): Call the
7551         D-Bus method with ID being a `:uint32'.  (Bug#16030)
7553 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
7555         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
7557 2013-12-03  Juri Linkov  <juri@jurta.org>
7559         * progmodes/compile.el (compilation-start): Rename window alist
7560         entry `no-display-ok' to `allow-no-window'.
7562         * simple.el (shell-command): Add window alist entry
7563         `allow-no-window' to `display-buffer'.
7564         (async-shell-command): Doc fix.
7566         * window.el (display-buffer-no-window): New action function.
7567         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
7569 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7571         * vc/log-edit.el (log-edit-set-header): Extract from
7572         `log-edit-toggle-header'.
7573         (log-edit-extract-headers): Separate the summary, when extracted
7574         from header, from the rest of the message with an empty line.
7576         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
7577         line, if present, to the Summary header.
7579 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7581         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
7582         in current-buffer (bug#16029).
7584 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
7586         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
7587         (debugger-mode-map): Bind it.
7588         (debugger--backtrace-base): New function.
7589         (debugger-eval-expression): Use it.
7590         (debugger-frame-number): Skip local vars when present.
7591         (debugger--locals-visible-p, debugger--insert-locals)
7592         (debugger--show-locals, debugger--hide-locals): New functions.
7594 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
7596         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
7597         "LC_ALL".
7598         (tramp-get-remote-locale): New defun.
7599         (tramp-open-connection-setup-interactive-shell): Use it.
7601 2013-12-02  Leo Liu  <sdl.web@gmail.com>
7603         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
7605         * progmodes/sh-script.el (sh-shell-process):
7606         * progmodes/octave.el (inferior-octave-process-live-p):
7607         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7608         (gdb-inferior-io-sentinel):
7609         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7611 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7613         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7614         `save-selected-window' to `log-edit-hide-buf'.  This makes
7615         `log-edit-show-files' idempotent.
7616         (log-edit-show-files): Mark the new window as dedicated.
7618 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7620         * vc/log-edit.el (log-edit-mode-map): Add binding for
7621         `log-edit-kill-biffer'.
7622         (log-edit-hide-buf): Add a FIXME comment.
7623         (log-edit-add-new-comment): New function, extracted from
7624         `log-edit-done'.
7625         (log-edit-done, log-edit-add-to-changelog): Use it.
7626         (log-edit-kill-buffer): New command.
7628 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7630         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7631         instead of killing the buffer.
7633 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7635         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7637 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7639         * net/eww.el (eww-form-checkbox-selected-symbol)
7640         (eww-form-checkbox-symbol): New customizable variable.
7641         (eww-form-checkbox, eww-toggle-checkbox):
7642         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
7644         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
7645         (shr--get-media-pref, shr--extract-best-source): New function.
7646         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
7647         no :src tag was specified.
7649         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
7650         (eww-render): Handle `eww-use-external-browser-for-content-type'.
7651         Use \\` to match beginning of string instead of ^.
7652         (eww-browse-with-external-browser): Provide optional URL parameter.
7653         (eww-render): Set `eww-current-title' back to "".
7655         * net/shr.el (shr-tag-video): Display content for video if no
7656         poster is available.
7657         (shr-tag-audio): Add support for <audio> tag.
7659         * net/eww.el (eww-text-input-types): New const.
7660         (eww-process-text-input): Treat input types in
7661         `eww-text-input-types' as text.
7663         * net/shr.el (shr-tag-table): Fix comment typo.
7665 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7667         * net/eww.el (eww-follow-link): New command to avoid reloading
7668         pages when we follow #target links (bug#15243).
7669         (eww-quit): Special mode buffers shouldn't query before exiting.
7671 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7673         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
7674         forms.
7676 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7678         * net/eww.el (eww-restore-history): Update the window title after
7679         moving in the history.
7680         (eww-current-dom): New variable used to save the current DOM.
7682 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
7684         * vc/log-edit.el (log-edit-mode-map): Add binding for
7685         `log-edit-beginning-of-line'.
7686         (log-edit-setup-add-author): New user option.
7687         (log-edit-beginning-of-line): New command.
7688         (log-edit): Move major mode call above the contents setup so that
7689         the local variable values are already applied.
7690         (log-edit): Only insert "Author: " when
7691         `log-edit-setup-add-author' is non-nil.
7692         (log-edit): When SETUP is non-nil, position point after ": "
7693         instead of point-min.
7695 2013-12-01  Glenn Morris  <rgm@gnu.org>
7697         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
7699 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
7701         * startup.el (fancy-splash-frame): On MS-Windows, trigger
7702         redisplay to make sure the initial frame gets a chance to become
7703         visible.  (Bug#16014)
7705 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
7707         Support resizing frames and windows pixelwise.
7708         * cus-start.el (frame-resize-pixelwise)
7709         (window-resize-pixelwise): New entries.
7710         * emacs-lisp/debug.el (debug): Use window-total-height instead
7711         of window-total-size.
7712         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
7713         * help.el (describe-bindings-internal): Use help-buffer as
7714         argument for with-help-window.
7715         (temp-buffer-max-width): New option.
7716         (resize-temp-buffer-window, help-window-setup)
7717         (with-help-window): Rewrite.
7718         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
7719         dragging dividers.
7720         * window.el (frame-char-size, window-min-pixel-height)
7721         (window-safe-min-pixel-height, window-safe-min-pixel-width)
7722         (window-min-pixel-width, window-safe-min-pixel-size)
7723         (window-combination-p, window-safe-min-size)
7724         (window-resizable-p, window--size-to-pixel)
7725         (window--pixel-to-size, window--resize-apply-p): New functions.
7726         (window-safe-min-height): Fix doc-string.
7727         (window-size, window-min-size, window--min-size-1)
7728         (window-sizable, window-sizable-p, window--min-delta-1)
7729         (window-min-delta, window--max-delta-1, window-max-delta)
7730         (window--resizable, window--resizable-p, window-resizable)
7731         (window-full-height-p, window-full-width-p, window-at-side-p)
7732         (window--in-direction-2, window-in-direction)
7733         (window--resize-reset-1, window--resize-mini-window)
7734         (window-resize, window-resize-no-error)
7735         (window--resize-child-windows-normal)
7736         (window--resize-child-windows, window--resize-siblings)
7737         (window--resize-this-window, window--resize-root-window)
7738         (window--resize-root-window-vertically)
7739         (adjust-window-trailing-edge, enlarge-window, shrink-window)
7740         (maximize-window, minimize-window, delete-window)
7741         (quit-restore-window, window-split-min-size, split-window)
7742         (balance-windows-2, balance-windows)
7743         (balance-windows-area-adjust, balance-windows-area)
7744         (window--state-get-1, window-state-get, window--state-put-1)
7745         (window--state-put-2, window-state-put)
7746         (display-buffer-record-window, window--display-buffer):
7747         Make functions handle pixelwise sizing of windows.
7748         (display-buffer--action-function-custom-type)
7749         (display-buffer-fallback-action):
7750         Add display-buffer-in-previous-window.
7751         (display-buffer-use-some-window): Resize window to height it had
7752         before.
7753         (fit-window-to-buffer-horizontally): New option.
7754         (fit-frame-to-buffer): Describe new values.
7755         (fit-frame-to-buffer-bottom-margin): Replace with
7756         fit-frame-to-buffer-margins.
7757         (window--sanitize-margin): New function.
7758         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
7759         using window-text-pixel-size.
7761 2013-11-30  Glenn Morris  <rgm@gnu.org>
7763         * emacs-lisp/bytecomp.el (byte-compile-form):
7764         Make the `interactive-only' warning like the `obsolete' one.
7765         * comint.el (comint-run):
7766         * files.el (insert-file-literally, insert-file):
7767         * replace.el (replace-string, replace-regexp):
7768         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7769         (goto-line, insert-buffer, next-line, previous-line):
7770         Tweak `interactive-only' spec.
7772         Stop keeping (most) generated cedet grammar files in the repository.
7773         * Makefile.in (semantic): New.
7774         (compile-main): Depend on semantic.
7776 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7778         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
7779         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
7781         * uniquify.el (uniquify-buffer-name-style): Change default.
7783         * loadup.el: Preload "uniquify".
7785         * time.el (display-time-update): Update all mode lines (bug#15999).
7787         * electric.el (electric-indent-mode): Enable by default.
7788         * loadup.el: Preload "electric".
7790 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
7792         * emacs-lisp/helpers.el (string-empty-p): New function.
7793         (string-blank-p): New function.
7795 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
7797         * imenu.el (imenu--index-alist): Add missing dot to the docstring
7798         (Bug#14029).
7800 2013-11-29  Andreas Politz  <politza@fh-trier.de>
7801         * imenu.el (imenu--subalist-p): Don't error on non-conses and
7802         allow non-lambda lists as functions.
7803         (imenu--in-alist): Don't recurse into non-subalists.
7804         (imenu): Don't pass function itself as an argument (Bug#14029).
7806 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7808         * progmodes/python.el (python-mode-map): Remove binding for ":".
7809         (python-indent-electric-colon): Remove command.
7810         (python-indent-post-self-insert-function): Integrate the previous code
7811         of python-indent-electric-colon.  Make it conditional on
7812         electric-indent-mode.
7813         (python-mode): Add ?: to electric-indent-chars.
7814         Move python-indent-post-self-insert-function to the end of
7815         post-self-insert-hook.
7817 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7819         * doc-view.el (doc-view-goto-page): Update mode-line.
7821         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
7823 2013-11-27  Glenn Morris  <rgm@gnu.org>
7825         * international/charprop.el, international/uni-bidi.el:
7826         * international/uni-category.el, international/uni-combining.el:
7827         * international/uni-comment.el, international/uni-decimal.el:
7828         * international/uni-decomposition.el, international/uni-digit.el:
7829         * international/uni-lowercase.el, international/uni-mirrored.el:
7830         * international/uni-name.el, international/uni-numeric.el:
7831         * international/uni-old-name.el, international/uni-titlecase.el:
7832         * international/uni-uppercase.el:
7833         Remove generated files from VCS repository.
7835 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
7837         * filenotify.el (file-notify-add-watch): Don't special-case
7838         w32notify when computing the directory to watch.
7840 2013-11-27  Glenn Morris  <rgm@gnu.org>
7842         Make bootstrap without generated uni-*.el files possible again.
7843         * loadup.el: Update command-line-args checking for unidata-gen.
7844         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7845         * composite.el, international/characters.el:
7846         Handle unicode tables being undefined.
7848         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7849         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7850         (compile-main): Depend on leim rule.
7851         (leim): New rule.
7852         * loadup.el: Move leim-list.el to leim/ subdirectory.
7853         * startup.el (normal-top-level): No more leim directory.
7854         * international/ja-dic-cnv.el (skkdic-convert):
7855         Disable version-control and autoloads in output files.
7856         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7857         Disable version-control and autoloads in output files.
7858         * leim/quail: Move here from ../leim.
7859         * leim/quail/hangul.el (hangul-input-method-activate):
7860         Add autoload cookie.
7861         (generated-autoload-load-name): Set file-local value.
7862         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7863         (generated-autoload-load-name): Set file-local value.
7865 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
7867         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7868         (eww-add-bookmark): Ask confirmation when add to bookmarks.
7869         (eww-quit): Ask confirmation before quitting eww.
7871 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
7873         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7874         reading output from Diff on MS-Windows and MS-DOS.
7876 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
7878         * emacs-lisp/helpers.el (string-reverse): New function.
7880 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
7882         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7883         names on MS Windows, like "/[::1]:".
7885         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7886         SWITCHES.
7888 2013-11-26  Glenn Morris  <rgm@gnu.org>
7890         * progmodes/python.el (python-indent-guess-indent-offset):
7891         Avoid corner-case error.  (Bug#15975)
7893         Preload leim-list.el.  (Bug#4789)
7894         * loadup.el: Load leim-list.el when found.
7895         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7897 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
7899         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7901         * emacs-lisp/helpers.el (string-join): New function.
7903 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
7905         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7906         Mark as obsolete and replace it with a symbol property.
7907         (byte-compile-form): Use new 'interactive-only property.
7908         * comint.el, files.el, replace.el, simple.el:
7909         Apply new 'interactive-only properly.
7911 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
7913         * window.el (display-buffer-at-bottom): Make sure that
7914         split-window-sensibly creates the new window on bottom
7915         (Bug#15961).
7917 2013-11-23  David Kastrup  <dak@gnu.org>
7919         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7920         on the conflict markers when available.
7921         (smerge--get-marker): New function.
7922         (smerge-end-re, smerge-base-re): Add subgroup.
7924 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7926         * frame.el (handle-focus-in, handle-focus-out): Add missing
7927         interactive spec.
7929 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
7931         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7932         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7934 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7936         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
7937         (gomoku--last-pos): New var.
7938         (gomoku--intangible-chars): New const.
7939         (gomoku--intangible): New function.
7940         (gomoku-mode): Use it.  Derive from special-mode.
7941         (gomoku-move-up): Adjust line count.
7942         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7943         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7944         Simplify accordingly.
7946         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7947         Remove blink-cursor code.
7948         (blink-cursor-timer-function, blink-cursor-suspend):
7949         Don't special-case GUIs.
7950         (blink-cursor-mode): Use focus-in/out-hook.
7952 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
7954         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7955         work when annotation is invisible (Bug#13886).
7957 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
7959         * json.el (json-alist-p): Only return non-nil if the alist has
7960         simple keys (Bug#13518).
7962 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
7964         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7965         when control-statement is the first statement in a buffer (Bug#15956).
7967 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
7969         * imenu.el (imenu-generic-skip-comments-and-strings):
7970         New option (Bug#15560).
7971         (imenu--generic-function): Use it.
7973 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
7975         * minibuffer.el (completion--in-region-1): Scroll the correct window.
7976         (Bug#13898)
7978 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
7980         * emacs-lisp/helpers.el: Add some string helpers.
7981         (string-trim-left): Removes leading whitespace.
7982         (string-trim-right): Removes trailing whitespace.
7983         (string-trim): Removes leading and trailing whitespace.
7985         * subr.el (string-suffix-p): New function.
7987 2013-11-23  Glenn Morris  <rgm@gnu.org>
7989         * progmodes/python.el (python-shell-send-file):
7990         Add option to delete file when done.  (Bug#15647)
7991         (python-shell-send-string, python-shell-send-region): Use it.
7993 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
7995         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7996         to set buffer-read-only to t, never to nil.  (Bug#15938)
7998         * textmodes/tex-mode.el (latex-noindent-environments):
7999         Add safe-local-variable property.  (Bug#15936)
8001 2013-11-23  Glenn Morris  <rgm@gnu.org>
8003         * textmodes/enriched.el (enriched-mode): Doc fix.
8004         * emacs-lisp/authors.el (authors-renamed-files-alist):
8005         Add enriched.doc -> enriched.txt.
8007         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8009 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8011         * progmodes/octave.el (inferior-octave-startup): Spit out error
8012         message.
8014 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
8016         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8017         Improve docstring.
8018         Add :version.
8019         (ruby-encoding-magic-comment-style): Add :version.
8021 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8023         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8024         (Bug#15076)
8025         (octave-help-mode): Adapt to change to help-mode-finish to use
8026         derived-mode-p on 2013-09-17.
8027         (inferior-octave-prompt): Also match octave-gui.
8028         (octave-kill-process): Don't ask twice.  (Bug#10564)
8030 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8032         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8033         (inferior-octave-startup, inferior-octave-check-process)
8034         (inferior-octave-track-window-width-change)
8035         (octave-completion-at-point, octave-eldoc-function): Use it.
8036         (octave-kill-process): Provide confirmation.  (Bug#10564)
8038 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8040         * progmodes/octave.el (octave-mode, inferior-octave-mode):
8041         Fix obsolete variable comment-use-global-state.
8043 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8045         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8046         Add `octave-source-file'.
8047         (octave-source-file): New function.  (Bug#15935)
8049 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
8051         * net/eww.el (eww-local-regex): New variable.
8052         (eww): Use it to detect localhost and similar.
8054 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8056         Add completion for command `ag'.
8057         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8058         (pcomplete/ag): New function.
8059         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
8061 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8063         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8064         (bug#14646).
8065         (make-obsolete): Remove interactive spec.
8067 2013-11-21  Glenn Morris  <rgm@gnu.org>
8069         * startup.el (command-line-1): Use path-separator with -L.
8071 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
8073         * emacs-lisp/package.el (describe-package-1): Add package archive
8074         to shown fields.
8076 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
8078         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8079         Change default to "# encoding: %s" to differentiate it from the
8080         default Ruby encoding comment template.
8082 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
8084         * ses.el (ses-mode): Doc fix.  (Bug#14748)
8086 2013-11-20  Leo Liu  <sdl.web@gmail.com>
8088         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
8090 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
8092         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8093         when rebase or bisect are in progress.
8095 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
8097         * filenotify.el (file-notify-add-watch): Doc fix.
8099 2013-11-19  Leo Liu  <sdl.web@gmail.com>
8101         * obsolete/rcompile.el: Mark obsolete.
8103         * progmodes/compile.el (compilation-start)
8104         (compilation-goto-locus, compilation-find-file):
8105         Pass no-display-ok and handle nil value from display-buffer.
8106         (Bug#13594)
8108         * window.el (display-buffer-alist, display-buffer): Document the
8109         new parameter no-display-ok.  Return either a window or nil
8110         but never a non-window value.
8112 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8114         * electric.el (electric-indent-mode-map): Remove.
8115         (electric-indent-mode): Change the global-map instead (bug#15915).
8117         * textmodes/text-mode.el (paragraph-indent-minor-mode):
8118         Use add-function.
8120 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8122         * emacs-lisp/nadvice.el (remove-function): Align with
8123         add-function's behavior.
8125         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8126         (gdb--string-regexp): New constant.
8127         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8128         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8129         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8130         submatch 1.
8131         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8132         Adjust use accordingly.
8133         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8135 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
8137         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8138         interpolation curlies (Bug#15914).
8140 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
8142         * calc/calc.el (calc-context-sensitive-enter): New variable.
8143         (calc-enter): Use `calc-context-sensitive-enter'.
8145 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
8147         * progmodes/cfengine.el: Version bump.
8148         (cfengine-cf-promises): New defcustom to locate cf-promises.
8149         (cfengine3-vartypes): Add new "data" type.
8150         (cfengine3--current-word): New function to get current name-like
8151         word or its bounds.
8152         (cfengine3--current-function): New function to look up a CFEngine
8153         function's definition.
8154         (cfengine3-format-function-docstring): New function.
8155         (cfengine3-make-syntax-cache): New function.
8156         (cfengine3-documentation-function): New function: ElDoc glue.
8157         (cfengine3-completion-function): New function: completion glue.
8158         (cfengine3-mode): Set `compile-command',
8159         `eldoc-documentation-function', and add to
8160         `completion-at-point-functions'.
8162 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
8164         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8165         `tramp-current-connection'.
8167 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
8169         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8170         nil/self/true/false with "end of symbol".
8172 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
8174         * subr.el (version-regexp-alist): Fix a typo.
8176 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
8178         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8179         "en_US.utf8" and "LC_CTYPE" to "".
8180         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8181         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8183 2013-11-15  Leo Liu  <sdl.web@gmail.com>
8185         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
8187 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8189         * progmodes/gud.el (ctl-x-map):
8190         Remove C-x SPC binding.  (Bug#12342)
8191         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8193 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
8195         * subr.el (version-regexp-alist):
8196         Recognize hg, svn and darcs versions as snapshot versions.
8198         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8199         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8200         (ruby--encoding-comment-required-p): Extract from
8201         `ruby-mode-set-encoding'.
8202         (ruby-mode-set-encoding): Add the ability to always insert an
8203         utf-8 encoding comment.  Fix and simplify coding comment update
8204         logic.
8206 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
8208         * net/tramp-gvfs.el (top): Run init code only when
8209         `tramp-gvfs-enabled' is not nil.
8210         (tramp-gvfs-enabled): Check also :system bus.
8212 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8214         Sync with upstream verilog-mode revision 78e66ba.
8215         * progmodes/verilog-mode.el (verilog-end-of-defun)
8216         (verilog-type-completion, verilog-get-list): Remove unused funcs.
8217         (verilog-get-end-of-defun): Remove unused argument.
8218         (verilog-comment-depth): Remove unused local `e'.
8219         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8220         Don't pass arg to verilog-get-end-of-defun.
8222 2013-11-14  Glenn Morris  <rgm@gnu.org>
8224         * obsolete/assoc.el (aget): Prefix dynamic variable.
8226         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8228 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         * widget.el, hfy-cmap.el: Remove bogus package version number.
8232 2013-11-13  Glenn Morris  <rgm@gnu.org>
8234         * replace.el (replace-eval-replacement):
8235         Try to give more helpful error message.  (Bug#15836)
8237         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8238         (archive-7z-update): Avoid custom type mismatches.
8240         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8242 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
8244         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8245         address can be empty.
8247         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8248         Accept nil SWITCHES.
8249         (tramp-gvfs-handle-write-region): Implement APPEND.
8251 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
8253         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8254         binary "|" operator and closing block args delimiter.
8255         Remove FIXME comment referring to Ruby 1.8-only syntax.
8256         (ruby-smie--implicit-semi-p): Not after "|" operator.
8257         (ruby-smie--closing-pipe-p): New function.
8258         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8259         (ruby-smie-rules): Indent after "|".
8261 2013-11-12  Glenn Morris  <rgm@gnu.org>
8263         * ps-print.el (ps-face-attribute-list):
8264         Handle anonymous faces.  (Bug#15827)
8266 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
8268         * window.el (display-buffer-other-frame): Fix doc-string.
8269         (Bug#15868)
8271 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8273         * subr.el (force-mode-line-update): Delete, move to buffer.c.
8275 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
8277         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8278         (tramp-sh-handle-file-local-copy): Don't write a message when
8279         saving temporary files.
8281         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8282         both directories are remote.
8283         (tramp-smb-handle-directory-files): Do not return double entries.
8284         Do not expand full file names.
8285         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8286         (tramp-smb-handle-write-region): Implement APPEND.
8287         (tramp-smb-get-stat-capability): Fix a stupid bug.
8289 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8291         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8293 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8295         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8296         throwing error over malformed let/let* (bug#15814).
8298 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8300         * iswitchb.el (iswitchb-mode): Mark obsolete.
8302 2013-11-11  Glenn Morris  <rgm@gnu.org>
8304         * international/uni-bidi.el, international/uni-category.el:
8305         * international/uni-name.el, international/uni-numeric.el:
8306         Regenerate for Unicode 6.3.0.
8308 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
8310         * net/tramp.el (tramp-methods):
8311         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8312         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8314 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
8316         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8317         Force highlighting text after Summary keyword in doc face for rpm.
8319 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
8321         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8322         available and the word has no wildcards, append one to the grep pattern.
8323         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8324         (ispell-complete-word): Call `ispell-lookup-words' with the value
8325         independent of `ispell-look-p'.
8327 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8329         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8330         Not after "||".
8331         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8332         their parent.
8334 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8336         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
8337         (ruby-font-lock-keywords): Use backquote.
8339 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8341         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8342         (ruby-smie--backward-token): Only consider full-string matches.
8344 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
8346         * faces.el (describe-face): Add distant-foreground.
8348 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
8350         * progmodes/ruby-mode.el: Improve encoding comment handling.
8351         (ruby-encoding-magic-comment-style): New option.
8352         (ruby-custom-encoding-magic-comment-template): New option.
8353         (ruby--insert-coding-comment, ruby--detect-encoding):
8354         New functions extracted from `ruby-mode-set-encoding'.
8355         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8356         to control the style of the auto-inserted encoding comment.
8358 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8360         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8361         Use `smie-backward-sexp' with token argument.
8363 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
8365         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8366         Remove instrumentation code.
8368 2013-11-08  Glenn Morris  <rgm@gnu.org>
8370         * progmodes/autoconf.el (autoconf-mode):
8371         Tweak comment-start-skip.  (Bug#15822)
8373 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8375         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8376         at bobp (bug#15826).
8377         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8379 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
8381         * man.el (Man-start-calling): New macro, extracted from
8382         Man-getpage-in-background.
8383         (Man-getpage-in-background): Use it.
8384         (Man-update-manpage): New command.
8385         (Man-mode-map): Bind it.
8387 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8389         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8390         of "and", "or", "&&" and "||".
8391         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8392         argument.  Prohibit opening curly brace because it could only be a
8393         block opener in that position.
8394         (ruby-smie--forward-token, ruby-smie--backward-token):
8395         Separate "|" from "&" or "*" going after it.  That can happen in block
8396         arguments.
8397         (ruby-smie--indent-to-stmt): New function, seeks the end of
8398         previous statement or beginning of buffer.
8399         (ruby-smie-rules): Use it.
8400         (ruby-smie-rules): Check if there's a ":" before a curly block
8401         opener candidate; if there is, it's a hash.
8403 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8405         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8406         (cl--block-wrapper): Fix last accidental change.
8408 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
8410         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8411         Instrument, in order to hunt failure on hydra.
8413 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8415         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8416         malformed bindings form (bug#15814).
8418 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
8420         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8421         "." compared to " @ ".  This incidentally fixes some indentation
8422         examples with "do".
8423         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8424         (ruby-smie-grammar): New tokens: "and" and "or".
8425         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8426         Exclude "and" and "or".  Remove "do" in order to work around token
8427         priorities.
8428         (ruby-smie-rules): Add all infix tokens.  Handle the case of
8429         beginning-of-buffer.
8431 2013-11-06  Glenn Morris  <rgm@gnu.org>
8433         * Makefile.in (setwins_almost, setwins_for_subdirs):
8434         Avoid accidental matches.
8436 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8438         * menu-bar.el (popup-menu): Use key-binding.
8440 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
8442         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8443         menus, support also the menus produced by minor modes.
8444         (Bug#15817)
8446 2013-11-06  Leo Liu  <sdl.web@gmail.com>
8448         * thingatpt.el (thing-at-point-looking-at): Add optional arg
8449         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
8451 2013-11-06  Glenn Morris  <rgm@gnu.org>
8453         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8454         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8455         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8457 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8459         * electric.el (electric-indent-just-newline): New command.
8460         (electric-indent-mode-map): New keymap.
8461         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8462         Re-add :group which weren't redundant.
8464         * electric.el (electric-indent-local-mode): New minor mode.
8465         (electric-indent-functions-without-reindent): New var.
8466         (electric-indent-post-self-insert-function): Use it.
8467         * emacs-lisp/gv.el (buffer-local-value): Add setter.
8469 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
8471         * international/quail.el (quail-help): Be more explicit about the
8472         meaning of the labels shown on the keys.  (Bug#15800)
8474         * startup.el (normal-top-level): Load the subdirs.el files before
8475         setting the locale environment.  (Bug#15805)
8477 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8479         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8480         via arguments so as to get the right ones (bug#15418).
8482         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8484 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
8486         Fix problems found while writing a test suite.
8488         * net/tramp-compat.el (tramp-compat-load): New defun.
8489         * net/tramp.el (tramp-handle-load): Use it.
8491         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8492         "(numberp ok-if-already-exists)" correctly.
8494 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
8496         * international/characters.el (glyphless-char-display-control):
8497         Add usage note.
8499 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
8501         * progmodes/python.el (python-mode):
8502         * progmodes/scheme.el (scheme-mode):
8503         * progmodes/prolog.el (prolog-mode):
8504         * progmodes/ruby-mode.el (ruby-mode):
8505         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
8506         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
8508 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8510         * rect.el (rectangle--highlight-for-redisplay):
8511         * emacs-lisp/smie.el (smie--next-indent-change):
8512         Use buffer-chars-modified-tick.
8514         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
8516         * electric.el (electric-indent-post-self-insert-function):
8517         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
8519 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
8521         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
8523 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8525         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
8526         (bug#15786).
8528 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8530         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
8532         * progmodes/python.el: Fix up last change.
8533         (python-shell--save-temp-file): New function.
8534         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
8535         `string' comes from the current buffer.
8536         (python-shell-send-string-no-output): Remove `msg' arg.
8537         (python--use-fake-loc): New var.
8538         (python-shell-buffer-substring): Obey it.  Try to compensate for the
8539         extra coding line added by python-shell--save-temp-file.
8540         (python-shell-send-region): Use python-shell--save-temp-file and
8541         python-shell-send-file directly.  Add `nomain' argument.
8542         (python-shell-send-buffer): Use python-shell-send-region.
8543         (python-electric-pair-string-delimiter): New function.
8544         (python-mode): Use it.
8546 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
8548         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
8549         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
8550         environment and decoding all of the default-directory's to here
8551         from command-line.
8552         (command-line): Decode also argv[0].
8554         * loadup.el: Error out if default-directory is a multibyte string
8555         when we are dumping.
8557         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
8559 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
8561         * emacs-lisp/package.el (package-menu-mode)
8562         (package-menu--print-info, package-menu--archive-predicate):
8563         Add Archive column to package list.
8565 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
8567         Fix problems found while writing a test suite.
8569         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
8570         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
8571         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8572         to nil when running original file name handler.  Otherwise,
8573         there are problems with constructs like "$$FOO".
8575         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
8576         for `localname'.
8578 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
8580         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
8582         * subr.el (version<, version<=, version=):
8583         Update docstrings with information for snapshot versions.
8585         * helpers.el: New library for misc helper functions.
8586         (hash-table-keys): New function returning a list of hash keys.
8587         (hash-table-values): New function returning a list of hash values.
8589 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
8591         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8592         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
8594 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
8596         * textmodes/fill.el (fill-single-char-nobreak-p): New function
8597         checking whether point is after a 1-letter word.
8599 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8601         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8602         Don't infloop when expanding region over `multiline' syntax-type that
8603         begins a line (bug#15778).
8605 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8607         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8608         Make it into a proper minor mode.
8609         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8610         (rectangle-mark-mode-map): New keymap.
8611         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8613 2013-11-04  Glenn Morris  <rgm@gnu.org>
8615         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8617 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8619         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8620         (ruby-smie-rules): Use smie-rule-parent instead.
8622         * emacs-lisp/smie.el (smie-rule-parent): Always call
8623         smie-indent-virtual rather than only for hanging tokens.
8624         (smie--next-indent-change): New helper command.
8626 2013-11-03  Glenn Morris  <rgm@gnu.org>
8628         * Makefile.in (abs_srcdir): Remove.
8629         (emacs): Unset EMACSLOADPATH.
8631 2013-11-02  Glenn Morris  <rgm@gnu.org>
8633         * Makefile.in (EMACS): Use a relative filename.
8634         (abs_top_builddir): Remove.
8635         (custom-deps, finder-data, autoloads): Use --chdir.
8637         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8639         Use relative filenames in TAGS files.
8640         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8641         (lisptagsfiles4, TAGS): Use relative file names.
8642         (TAGS-LISP): Remove.
8643         (maintainer-clean): No more TAGS-LISP file.
8645         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8646         (lisptagsfiles4): Use absolute filenames again.
8647         (TAGS, TAGS-LISP): Not everything needs to run in one line.
8648         Remove all *loaddefs files, not just the first.  Remove esh-groups.
8649         (maintainer-clean): Delete TAGS, TAGS-LISP.
8651 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8653         * emacs-lisp/package.el (package-version-join):
8654         Recognize snapshot versions.
8656 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8658         * subr.el (version-regexp-alist): Add support for snapshot versions.
8660 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8662         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
8663         New function, replacement for `smie-rule-parent' for when we want to
8664         skip over our direct parent if it's an assignment token..
8665         (ruby-smie-rules): Use it.
8667 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
8669         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
8670         unconditionally.  Remove now unnecessary forward declarations.
8671         Remove XEmacs-specific setup.
8672         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8673         (ruby-font-lock-syntactic-keywords)
8674         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
8675         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8676         (ruby-here-doc-end-syntax): Remove.
8677         (ruby-mode): Don't check whether `syntax-propertize-rules' is
8678         defined as function.
8680 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
8682         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
8684 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8686         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
8687         table and abbrev table, `define-derived-mode' does that for us
8688         anyway.
8690 2013-11-01  Glenn Morris  <rgm@gnu.org>
8692         * Makefile.in: Remove manual mh-e dependencies (writing .elc
8693         files is atomic for some time, so no parallel compilation issues).
8695 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
8697         * faces.el (face-x-resources): Add :distant-foreground.
8698         (region): Use :distant-foreground for gtk and ns.
8700 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
8702         Allow multiple bibliographies when BibLaTeX is used rather than
8703         BibTeX.
8704         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
8705         (reftex-locate-bibliography-files): Us it.
8707 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
8709         * image.el (image-type-header-regexps): Fix the 'pbm' part to
8710         allow comments in pbm files.
8712         * term/w32-win.el (dynamic-library-alist): Support newer versions
8713         of libjpeg starting with v7: look only for the DLL from the
8714         version against which Emacs was built.
8715         Support versions of libpng beyond 1.4.x.
8716         Support libtiff v4.x.
8718 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
8720         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
8721         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
8722         Add property :safe.
8723         (ruby-deep-arglist): Add property :type.
8725 2013-10-31  Glenn Morris  <rgm@gnu.org>
8727         * Makefile.in (custom-deps, finder-data): No need to setq the target
8728         variables, we are in the right directory and the defaults work fine.
8730 2013-10-30  Glenn Morris  <rgm@gnu.org>
8732         * Makefile.in (autoloads): Do not use abs_lisp.
8734         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8735         `newline' does not respect `standard-output', so use `princ'.
8737 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
8739         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
8740         * buff-menu.el (Buffer-menu--unmark): New function.
8741         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
8743 2013-10-30  Glenn Morris  <rgm@gnu.org>
8745         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
8747         * emacs-lisp/package.el (lm-homepage): Declare.
8749         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
8750         Fix doc typos.
8752         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
8754         * Makefile.in (finder-data, autoloads, update-subdirs)
8755         (compile-main, compile-clean, compile-always, bootstrap-clean):
8756         Check return value of cd.
8757         (compile-calc): Remove.
8759 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8761         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
8763         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
8764         (byte-compile-and-folded): New function.
8765         (=, <, >, <=, >=): Use it.
8767         * dos-w32.el (minibuffer-history-case-insensitive-variables)
8768         (path-separator, null-device, buffer-file-coding-system)
8769         (lpr-headers-switches): Check system-type before modifying them.
8770         (find-buffer-file-type-coding-system): Mark obsolete.
8771         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
8772         find-file-not-found-set-buffer-file-coding-system.
8773         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
8774         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
8775         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
8776         (w32-direct-print-region-helper, w32-direct-print-region-function)
8777         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
8778         * startup.el (normal-top-level-add-subdirs-to-load-path):
8779         * ps-print.el (ps-print-region-function):
8780         * lpr.el (print-region-function): Use new name.
8782         * subr.el (custom-declare-variable-early): Remove function.
8783         (custom-declare-variable-list): Remove var.
8784         (error, user-error): Remove `while' loop.
8785         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
8786         (user-emacs-directory-warning, locate-user-emacs-file):
8787         Move to files.el.
8788         * simple.el (read-quoted-char-radix, read-quoted-char):
8789         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
8790         Move from subr.el.
8791         * custom.el (custom-declare-variable-list): Don't process
8792         custom-declare-variable-list.
8794         * progmodes/python.el (python-shell-get-buffer): New function.
8795         (python-shell-get-process): Use it.
8796         (python-shell-send-string): Always use utf-8 and add a cookie to tell
8797         Python which encoding was used.  Don't split-string since we only care
8798         about the first line.  Return the temp-file, if applicable.
8799         (python-shell-send-region): Tell compile.el how to turn locations in
8800         the temp-file into locations in the source buffer.
8802 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8804         * subr.el (undefined): Add missing behavior from the C code for
8805         unbound keys.
8807         * rect.el: Use lexical-binding.  Add new rectangular region support.
8808         (rectangle-mark): New command.
8809         (rectangle--region): New var.
8810         (deactivate-mark-hook): Reset rectangle--region.
8811         (rectangle--extract-region, rectangle--insert-for-yank)
8812         (rectangle--highlight-for-redisplay)
8813         (rectangle--unhighlight-for-redisplay): New functions.
8814         (region-extract-function, redisplay-unhighlight-region-function)
8815         (redisplay-highlight-region-function): Use them to handle
8816         rectangular region.
8817         * simple.el (region-extract-function): New var.
8818         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
8819         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
8820         (kill-region): Replace obsolete `yank-handler' arg with `region'.
8821         (copy-region-as-kill, kill-ring-save): Add `region' argument.
8822         (redisplay-unhighlight-region-function)
8823         (redisplay-highlight-region-function): New vars.
8824         (redisplay--update-region-highlight): New function.
8825         (pre-redisplay-function): Use it.
8826         (exchange-point-and-mark): Don't deactivate the mark before
8827         reactivate-it anyway.
8828         * comint.el (comint-kill-region): Remove yank-handler argument.
8829         * delsel.el (delete-backward-char, backward-delete-char-untabify)
8830         (delete-char): Remove property, since it's now part of their
8831         default behavior.
8832         (self-insert-iso): Remove property since this command doesn't exist.
8834         * emacs-lisp/package.el (package--download-one-archive)
8835         (describe-package-1): Don't query the user about final newline.
8837 2013-10-29  Daniel Colascione  <dancol@dancol.org>
8839         * net/tramp.el (tramp-methods): Document new functionality.
8840         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
8841         tramp-hostname-checker if method provides one instead of scanning
8842         argument list for "%h" to decide hostname acceptability.
8844 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
8846         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8847         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8848         Handle COPY-CONTENTS.  (Bug#15737)
8850 2013-10-28  Daiki Ueno  <ueno@gnu.org>
8852         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
8853         Document that this option has no effect with GnuPG 2.0 (bug#15552).
8855 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
8857         * image.el (defimage, image-load-path): Doc fixes.
8859 2013-10-27  Alan Mackenzie  <acm@muc.de>
8861         Indent statements in macros following "##" correctly.
8862         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8863         Modify the "#" arm of a cond form to handle "#" and "##" operators.
8865 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8867         * linum.el (linum-update-window): Fix boundary test (bug#13446).
8869 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
8871         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8872         after `=' is probably a new expression.
8874 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8876         * man.el (man-imenu-title): New option.
8877         (Man-mode-map): Add menu.  (Bug#15722)
8878         (Man-mode): Add imenu to menu.
8880 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
8882         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8883         specific in what the first arg can be: a non-keyword word,
8884         string/regexp/percent literal opener, opening paren, or unary
8885         operator followed directly by word.
8887 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8889         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8890         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8891         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8892         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8893         Remove vars, they do not apply any more.
8894         (prolog-mode-abbrev-table): Remove redundant declaration.
8895         (prolog-upper-case-string, prolog-lower-case-string): Remove.
8896         (prolog-use-smie): Remove.
8897         (prolog-smie-rules): Add indentation rule for the if-then-else layout
8898         supported by prolog-electric-if-then-else-flag.
8899         (prolog-mode-variables, prolog-menu): Use setq-local.
8900         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8901         Remove binding to `Backspace' since this key doesn't exist anyway.
8902         Remove bindings for electric self-inserting keys.
8903         (prog-mode): Assume it's defined.
8904         (prolog-post-self-insert): New function.
8905         (prolog-mode): Use it.
8906         (prolog-indent-line, prolog-indent-level)
8907         (prolog-find-indent-of-matching-paren)
8908         (prolog-indentation-level-of-line, prolog-goto-comment-column)
8909         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8910         (prolog-goto-next-paren, prolog-in-string-or-comment)
8911         (prolog-tokenize, prolog-inside-mline-comment)
8912         (prolog-find-start-of-mline-comment): Remove functions.
8913         (prolog-find-unmatched-paren, prolog-clause-end)
8914         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8915         (prolog-electric--if-then-else): Rename from
8916         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8917         (prolog-tokenize-searchkey): Remove const.
8918         (prolog-clause-info): Use forward-sexp.
8919         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8920         (prolog-electric-if-then-else): Remove commands.
8921         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8922         for use in post-self-insert-hook.
8923         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8924         for use in post-self-insert-hook.
8925         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8926         for use in post-self-insert-hook.
8927         (prolog-electric--underscore): Rename from prolog-electric--underscore;
8928         adapt it for use in post-self-insert-hook.
8930 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
8932         * emacs-lisp/ert.el (ert-run-tests-interactively):
8933         Use `completing-read'.  (Bug#9756)
8935 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
8937         * simple.el (line-move): Call line-move-1 instead of
8938         line-move-visual when the current window hscroll is zero, but
8939         temporary-goal-column indicates we will need to hscroll as result
8940         of the movement.  (Bug#15712)
8942 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
8944         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8945         capitalization.  Use :visible instead of :active.
8946         Fix `ruby-indent-exp' reference.  Add menu items for the generic
8947         commands that are used with SMIE.
8948         (ruby-do-end-to-brace): Insert space after `{'.
8950 2013-10-25  John Anthony  <john@jo.hnanthony.com>
8952         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
8954         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
8956 2013-10-25  Glenn Morris  <rgm@gnu.org>
8958         * vc/vc.el (vc-print-log): Don't use a working revision unless
8959         one was explicitly specified.  (Bug#15322)
8961 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8963         * subr.el (add-to-list): Preserve return value in compiler-macro
8964         (bug#15692).
8966 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8968         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8969         result.  Ask user to retry using '-all' flag.  (Bug#15701)
8971 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8973         * emacs-lisp/smie.el: New smie-config system.
8974         (smie-config): New defcustom.
8975         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8976         (smie-config-guess, smie-config-save): New commands.
8977         (smie-config--mode-local, smie-config--buffer-local)
8978         (smie-config--trace, smie-config--modefuns): New vars.
8979         (smie-config--advice, smie-config--mode-hook)
8980         (smie-config--setter, smie-config-local, smie-config--get-trace)
8981         (smie-config--guess-value, smie-config--guess): New functions.
8982         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8983         text properties.  Treat "string fence" syntax like string syntax.
8985         * progmodes/sh-script.el (sh-use-smie): Change default.
8986         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8987         (sh-var-value): Simplify by CSE.
8988         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8989         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8990         is used.
8991         (sh-guess-basic-offset): Use cl-incf.
8992         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8994 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
8996         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8997         (bug#15699).
8999 2013-10-24  Glenn Morris  <rgm@gnu.org>
9001         * Makefile.in (abs_top_srcdir): Remove.
9002         (update-subdirs): Use relative path to update-subdirs.
9004 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
9006         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9007         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9008         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9009         Call unmsys--file-name before expand-file-name, not after it.
9011 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
9013         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9014         (ert-test-skipped): New error.
9015         (ert-skip, ert-stats-skipped): New defuns.
9016         (ert--skip-unless): New macro.
9017         (ert-test-skipped): New struct.
9018         (ert--run-test-debugger, ert-test-result-type-p)
9019         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9020         (ert--stats-set-test-and-result, ert-char-for-test-result)
9021         (ert-string-for-test-result, ert-run-tests-batch)
9022         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9023         Handle skipped tests.  (Bug#9803)
9025 2013-10-24  Glenn Morris  <rgm@gnu.org>
9027         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9029         * Makefile.in (abs_top_srcdir): New, set by configure.
9030         (update-subdirs): Correct build-aux location.
9032 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
9034         * vc/vc.el (vc-print-root-log): Always set `default-directory'
9035         value, whether we could auto-deduce `backend', or not.
9037         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9038         with parameters" example.  Simplify the "is it block or is it
9039         hash" check, but also make it more thorough.
9041 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
9043         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
9045 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9047         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9048         { if it is hanging.
9050         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9051         :before ";".
9053 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
9055         * progmodes/compile.el (compilation-directory-matcher)
9056         (compilation-page-delimiter):
9057         Support GNU Make-4.0 directory quoting.  (Bug#15678)
9059 2013-10-23  Leo Liu  <sdl.web@gmail.com>
9061         * ido.el (ido-tidy): Handle read-only text.
9063 2013-10-23  Glenn Morris  <rgm@gnu.org>
9065         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9066         (emacs, compile, compile-always):
9067         Quote entities that might contain whitespace.
9068         (custom-deps, finder-data, autoloads): Use abs_lisp.
9069         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9070         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9071         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9073 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
9075         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9076         Use `following-char'.
9078 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9080         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9081         * progmodes/ruby-mode.el (ruby-smie-rules):
9082         Remove corresponding workaround.  Fix indentation rule of ";" so it
9083         also applies when ";" is the parent.
9085 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
9087         * frame.el (display-screens, display-pixel-height)
9088         (display-pixel-width, display-mm-width, display-backing-store)
9089         (display-save-under, display-planes, display-color-cells)
9090         (display-visual-class, display-monitor-attributes-list):
9091         Mention the optional ‘display’ argument in doc strings.
9093 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
9095         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9096         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
9098 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9100         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9101         TODO.  Add "." after " @ ".
9102         (ruby-smie--at-dot-call): New function.  Checks if point at method
9103         call with explicit target.
9104         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9105         to the method name tokens when it precedes them.
9106         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9107         (ruby-smie-rules): Add rule for indentation before and after "."
9108         token.
9110 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9112         * textmodes/remember.el (remember-diary-extract-entries):
9113         Avoid add-to-list.
9115         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9116         an instruction.
9118 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9120         * progmodes/ruby-mode.el (ruby-smie-grammar):
9121         Add (almost) all infix operators.
9122         (ruby-smie--implicit-semi-p): Add new operator chars.
9124         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9125         `smie-down-list'.
9126         (ruby-smie--args-separator-p): Check that there's no newline
9127         between method call and its arguments.
9129 2013-10-20  Alan Mackenzie  <acm@muc.de>
9131         Allow comma separated lists after Java "implements".
9133         * progmodes/cc-engine.el (c-backward-over-enum-header):
9134         Parse commas.
9135         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9136         from a "disallowed" list in enum fontification.
9138 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
9140         * startup.el (default-frame-background-mode): Remove unused defvar.
9142         * progmodes/verilog-mode.el (verilog-mode): Don't set
9143         comment-indent-function globally.
9145 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
9147         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9148         Move Info menu item creation to ns-win.el.
9150         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9151         in menu bar.
9153         * menu-bar.el: Move GNUstep specific menus...
9155         * term/ns-win.el (ns-initialize-window-system): ... to here.
9157 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9159         * simple.el (newline): Only run post-self-insert-hook when
9160         called interactively.
9162 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
9164         * icomplete.el (icomplete-with-completion-tables): Add :version.
9166 2013-10-19  Alan Mackenzie  <acm@muc.de>
9168         Fix fontification bugs with constructors and const.
9170         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9171         CASE 2) Remove the check for the absence of a suffix construct
9172         after a function declaration with only types (no identifiers) in
9173         the parentheses.  Also, accept a function declaration with just a
9174         type inside the parentheses, if this type can be positively
9175         recognised as such, or if a prefix keyword like "explicit" nails
9176         down the construct as a declaration.
9178 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
9180         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9181         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
9182         the problem whereby selecting a menu item that leads to a
9183         minibuffer prompt moves the cursor out of the minibuffer window,
9184         making it hard to type at the prompt.  Suggested by Stefan Monnier
9185         <monnier@iro.umontreal.ca>.
9187 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
9189         * menu-bar.el: Don't make Services menu.
9191 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9193         * ffap.el: Handle "/usr/include/c++/<version>" directories.
9194         (ffap-alist): Use ffap-c++-mode for c++-mode.
9195         (ffap-c++-path): New variable.
9196         (ffap-c++-mode): New function.
9198 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
9200         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
9202 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
9204         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9205         introduced on 2013-09-08, which results in an infinite loop
9206         requesting a password.
9208 2013-10-18  Glenn Morris  <rgm@gnu.org>
9210         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9212 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
9214         Sync with upstream verilog-mode revision 1a6ecec7.
9215         * progmodes/verilog-mode.el (verilog-mode-version): Update.
9216         (verilog-mode-release-date): Remove.
9217         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9218         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9219         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9220         (verilog-auto-tieoff-ignore-regexp)
9221         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9222         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9223         (verilog-signals-with, verilog-dir-cache-preserving)
9224         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9225         Doc fixes.
9226         (verilog-case-fold): New option, to control case folding in
9227         regexp searches, bug597.
9228         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9229         (verilog-string-match-fold, verilog-in-paren-count)
9230         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9231         (verilog-at-close-struct-p): New functions.
9232         (verilog-beg-block-re-ordered, verilog-extended-case-re)
9233         (verilog-forward-sexp, verilog-set-auto-endcomments)
9234         (verilog-leap-to-case-head): Handle "unique0" case.
9235         (verilog-in-constraint-re): New constant.
9236         (verilog-keywords, verilog-type-font-keywords):
9237         Add some SystemVerilog 1800-2012 keywords.
9238         (verilog-label-be): Remove unimplemented argument, bug669.
9239         (verilog-batch-execute-func): When batch expanding clear
9240         create-lockfiles to prevent spurious user locks when a file ends
9241         up not changing.
9242         (verilog-calculate-indent, verilog-calc-1)
9243         (verilog-at-close-constraint-p, verilog-at-constraint-p)
9244         (verilog-do-indent): Fix indentation of nested constraints
9245         and structures.
9246         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9247         (verilog-auto-inst-param): Use verilog-string-match-fold.
9248         (verilog-read-inst-module-matcher):
9249         Fix AUTOINST on gate primitives with #1.
9250         (verilog-read-decls): Fix double-declaring user-defined typed signals.
9251         Reads all user-defined typed variables.
9252         (verilog-read-defines): Fix reading definitions inside comments, bug647.
9253         (verilog-signals-matching-regexp)
9254         (verilog-signals-not-matching-regexp, verilog-auto):
9255         Respect verilog-case-fold.
9256         (verilog-diff-report): Fix line count.
9257         (verilog-auto-assign-modport): Remove unused local `modi'.
9258         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9259         better handle multidimensional arrays.
9260         Fix packed array ports misadding bit index in AUTOINST, bug637.
9261         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9262         to not double-declare existing outputs and inputs, respectively.
9263         (verilog-template-map): Bind U to verilog-sk-uvm-component.
9264         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9265         (verilog-sk-uvm-component): New skeleton.
9266         (verilog-submit-bug-report): Add verilog-case-fold,
9267         remove verilog-mode-release-date.
9269 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
9271         * subr.el (sit-for): Call (input-pending-p t) so as to behave
9272         as before.
9274 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
9276         * textmodes/remember.el (remember): Set buffer-offer-save in
9277         remember buffers (bug#13566).
9279 2013-10-18  Daniel Colascione  <dancol@dancol.org>
9281         When evaluating forms in ielm, direct standard output to ielm
9282         buffer.  Add new ielm-return-for-effect command.  Remove trailing
9283         whitespace throughout.
9285         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9286         (ielm-return-for-effect): New command.
9287         (ielm-send-input): Accept optional `for-effect' parameter.
9288         (ielm-eval-input): Accept optional `for-effect' parameter.
9289         Bind `standard-output' to stream we create using
9290         `ielm-standard-output-impl'.  Suppress printing result when
9291         `for-effect'.
9292         (ielm-standard-output-impl): New function.
9293         (inferior-emacs-lisp-mode): Explain new features in documentation.
9295 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
9297         Code cleanup.
9299         * net/tramp.el (tramp-debug-message): Do not check for connection
9300         buffer.
9301         (tramp-message): Use "vector" connection property.
9303         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9304         (tramp-equal-remote, tramp-eshell-directory-change)
9305         * net/tramp-adb.el (tramp-adb-handle-copy-file)
9306         (tramp-adb-handle-rename-file)
9307         * net/tramp-cmds.el (tramp-list-remote-buffers)
9308         (tramp-cleanup-connection, tramp-cleanup-this-connection)
9309         * net/tramp-compat.el (tramp-compat-process-running-p)
9310         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9311         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9312         (tramp-gvfs-handle-rename-file)
9313         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9314         (tramp-set-file-uid-gid)
9315         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9316         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9317         of `file-remote-p'.
9319         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9320         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9321         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9322         (tramp-gw-open-network-stream): Suppress unrelated traces.
9324         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9325         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9326         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9327         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9328         connection property.
9330         * net/tramp-cache.el (top): Suppress traces when reading
9331         persistency file.
9333         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9334         Refactor common code.  Improve debug message.
9335         (tramp-maybe-open-connection)
9336         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9337         connection buffer too early.
9339         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9340         from `tramp-smb-actions-with-acl'.
9341         (tramp-smb-actions-set-acl): New defconst.
9342         (tramp-smb-handle-copy-directory)
9343         (tramp-smb-action-get-acl): New defun, renamed from
9344         `tramp-smb-action-with-acl'.
9345         (tramp-smb-action-set-acl): New defun.
9346         (tramp-smb-handle-set-file-acl): Rewrite.
9348 2013-10-17  Glenn Morris  <rgm@gnu.org>
9350         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
9352 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9354         * skeleton.el (skeleton-newline): Remove.
9355         (skeleton-internal-1): Use (insert "\n") instead.
9357         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9358         let-bindings.
9360         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9361         forward-sexp-function while we redo its job (bug#15613).
9363 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
9365         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9366         represented by lists.
9368 2013-10-16  Glenn Morris  <rgm@gnu.org>
9370         * tmm.el (tmm--history): New dynamic variable.
9371         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
9373 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
9375         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9376         (tramp-smb-errors): Add error messages.
9377         (tramp-smb-actions-with-acl): New defconst.
9378         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9379         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9380         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9381         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9382         (tramp-smb-get-stat-capability): Fix tests.
9384 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9386         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9387         (bug#15580).
9389 2013-10-16  Glenn Morris  <rgm@gnu.org>
9391         * ansi-color.el (ansi-color-drop-regexp):
9392         Add 1J, 1K, 2K.  (Bug#15617)
9394         * files.el (hack-local-variables--warned-lexical): New.
9395         (hack-local-variables):
9396         Warn about misplaced lexical-binding.  (Bug#15616)
9398         * net/eww.el (eww-render): Always set eww-current-url,
9399         and update header line.  (Bug#15622)
9400         (eww-display-html): ... Rather than just doing it here.
9402 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
9404         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9405         menu navigations commands.
9407 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9409         * progmodes/subword.el (subword-capitalize): Be careful when
9410         the search for [[:alpha:]] fails (bug#15580).
9412 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
9414         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9415         to commands that scroll the menu.
9417 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
9419         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9420         Handle methods ending with `?' and `!'.
9422 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
9424         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9425         `japanese-cp932' to `cp932' to fix the problem where saving a
9426         source file written in Shift_JIS twice would end up having
9427         `coding: japanese-cp932' which Ruby could not recognize.
9428         (ruby-mode-set-encoding): Add support for encodings mapped to nil
9429         in `ruby-encoding-map'.
9430         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9431         doesn't need to be explicitly declared in magic comment.
9432         (ruby-encoding-map): Add type declaration for better customize UI.
9434 2013-10-13  Glenn Morris  <rgm@gnu.org>
9436         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9437         Occur buffers are read-only.  http://bugs.debian.org/720775
9439         * emacs-lisp/authors.el (authors-fixed-entries):
9440         Comment out old alpha stuff.
9442 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
9444         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9445         to `after-save-hook' instead of `before-save-hook'.
9446         (ruby-mode-set-encoding): Use the value of coding system used to
9447         write the file.  Call `basic-save-buffer-1' after modifying the
9448         buffer.
9450 2013-10-13  Alan Mackenzie  <acm@muc.de>
9452         Fix indentation/fontification of Java enum with
9453         "implements"/generic.
9455         * progmodes/cc-engine.el (c-backward-over-enum-header):
9456         Extracted from the three other places and enhanced to handle generics.
9457         (c-inside-bracelist-p): Uses new function above.
9458         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9459         function above.
9460         (c-font-lock-enum-tail): Uses new function above.
9462 2013-10-13  Kenichi Handa  <handa@gnu.org>
9464         * international/mule-cmds.el (select-safe-coding-system): Remove a
9465         superfluous condition in chekcing whether a coding system is safe
9466         or not.
9468 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
9470         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
9472 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
9474         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
9476 2013-10-13  Glenn Morris  <rgm@gnu.org>
9478         * menu-bar.el (menu-bar-update-buffers):
9479         Unify Buffers menu prompt string.  (Bug#15576)
9481         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
9483         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9484         Add some entries.
9485         (authors-fixed-entries): Use accented form of name.
9487 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9489         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9490         method calls (bug#15594).
9491         (ruby-smie--args-separator-p): New function.
9492         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
9493         recognize paren-free method calls.
9495         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
9496         internals of universal-argument.
9498 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
9500         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
9501         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
9502         dropped menu on second mouse click on the menu bar.
9504 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9506         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
9507         (explicit-shell-file-name): Declare.
9508         (sh--vars-before-point, sh--cmd-completion-table): New functions.
9509         (sh-completion-at-point-function): New function.
9510         (sh-mode): Use it.
9511         (sh-smie--keyword-p): Remove unused argument.
9512         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
9513         vars.
9514         (sh-set-shell): Always setup SMIE, even if we use the
9515         old indentation code.
9517 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
9519         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
9520         cases of ? and =.
9521         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
9522         predicate would return nil are almost non-existent.
9523         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
9525         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
9526         cache also after commands that modify the buffer but don't move
9527         point.
9529 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9531         * env.el (substitute-env-in-file-name): New function.
9532         (substitute-env-vars): Extend the meaning of the optional arg.
9534 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
9536         * term/w32-win.el (dynamic-library-alist): Define separate lists
9537         of GIF DLLs for versions before and after 5.0.0 of giflib.
9538         (Bug#15531)
9540 2013-10-10  João Távora  <joaotavora@gmail.com>
9542         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
9543         not locked, use last revision and current source as
9544         defaults.  (Bug#15569)
9546 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
9548         * menu-bar.el (menu-bar-open): Don't use popup-menu if
9549         menu-bar is hidden.
9551 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
9553         * window.el (pop-to-buffer-same-window): Fix doc-string.
9554         (Bug#15492)
9556 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9558         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
9560 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
9562         * calendar/icalendar.el (icalendar-import-file):
9563         Fix interactive spec.  (Bug#15482)
9565 2013-10-10  Glenn Morris  <rgm@gnu.org>
9567         * desktop.el (desktop-save): Default to saving in .emacs.d,
9568         since PWD is no longer in desktop-path by default.  (Bug#15319)
9570         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
9571         now that text mode has a menu with the same entry.
9572         (menu-bar-text-mode-auto-fill): Remove now unused func.
9573         * textmodes/text-mode.el (text-mode-map):
9574         Use auto-fill help text from menu-bar.el.
9576 2013-10-10  John Anthony  <john@jo.hnanthony.com>
9578         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
9580 2013-10-09  Juri Linkov  <juri@jurta.org>
9582         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
9583         instead of this-command-keys.  Add universal-argument-more and
9584         universal-argument-minus to the list of prefix commands.  (Bug#15568)
9586 2013-10-09  Glenn Morris  <rgm@gnu.org>
9588         * vc/vc-svn.el (vc-svn-create-repo):
9589         Expand paths in file://... url.  (Bug#15446)
9591         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
9592         Add some entries.
9593         (authors): Remove unused local variables.
9595 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9597         * profiler.el: Create a more coherent calltree from partial backtraces.
9598         (profiler-format): Hide the tail with `invisible' so that C-s can still
9599         find the hidden elements.
9600         (profiler-calltree-depth): Don't recurse so enthusiastically.
9601         (profiler-function-equal): New hash-table-test.
9602         (profiler-calltree-build-unified): New function.
9603         (profiler-calltree-build): Use it.
9604         (profiler-report-make-name-part): Indent the calltree less.
9605         (profiler-report-mode): Add visibility specs for profiler-format.
9606         (profiler-report-expand-entry, profiler-report-toggle-entry):
9607         Expand the whole subtree when provided with a prefix arg.
9609 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
9611         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9612         iuwu-mod token.
9613         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9614         hanging iuwu-mod token.
9615         (ruby-smie--forward-token): Do not include a dot after a token in
9616         that token.
9617         (ruby-smie--backward-token): Likewise.
9619 2013-10-08  Juri Linkov  <juri@jurta.org>
9621         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9622         to isearch-other-control-char.
9623         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9624         and isearch-post-command-hook to post-command-hook.
9625         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9626         and isearch-post-command-hook from post-command-hook.
9627         (isearch-unread-key-sequence)
9628         (isearch-reread-key-sequence-naturally)
9629         (isearch-lookup-scroll-key, isearch-other-control-char)
9630         (isearch-other-meta-char): Remove functions.
9631         (isearch-pre-command-hook, isearch-post-command-hook):
9632         New functions based on isearch-other-meta-char rewritten
9633         relying on the new behavior of overriding-terminal-local-map
9634         that does not replace the local keymaps any more.  (Bug#15200)
9636 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
9638         Support menus on text-mode terminals.
9639         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
9640         functionality.
9642         * tooltip.el (tooltip-mode): Don't error out on TTYs.
9644         * menu-bar.el (popup-menu, popup-menu-normalize-position):
9645         Move here from mouse.el.
9646         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
9647         and arrow keys.
9648         (tty-menu-navigation-map): New map for TTY menu navigation.
9650         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
9652         * frame.el (display-mouse-p): Report text-mode mouse as available
9653         on w32.
9654         (display-popup-menus-p): Report availability if mouse is
9655         available; don't condition on window-system.
9657         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
9658         (tty-menu-selected-face): New faces.
9660 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9662         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
9663         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
9664         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
9665         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
9666         New constants.
9667         (lisp-mode-variables): New `elisp' argument.
9668         (emacs-lisp-mode): Use it.
9669         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
9670         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
9672         * indent.el: Use lexical-binding.
9673         (indent-region): Add progress reporter.
9674         (tab-stop-list): Make it implicitly extend to infinity by repeating the
9675         last step.
9676         (indent--next-tab-stop): New function to implement this behavior.
9677         (tab-to-tab-stop, move-to-tab-stop): Use it.
9679 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
9681         * indent.el (indent-rigidly--current-indentation): New function.
9682         (indent-rigidly-map): New var.
9683         (indent-rigidly): Use it to provide interactive mode (bug#8196).
9685 2013-10-08  Bastien Guerry  <bzg@gnu.org>
9687         * register.el (insert-register): Fix 2013-10-07 change.
9689 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9691         * progmodes/perl-mode.el: Use lexical-binding.
9692         Remove redundant :group args.
9693         (perl-nochange): Change default to be closer to other major modes's
9694         standard behavior.
9695         (perl-indent-line): Don't consider text on current line as a
9696         valid beginning of function from which to indent.
9698         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
9699         with more than one argument (bug#15538).
9701         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
9703         * vc/pcvs.el: Use lexical-binding.
9704         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
9705         environment of `eval'.
9706         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
9707         than a list of expressions.  Adjust callers.
9708         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
9710 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
9712         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
9713         case of the dot in a chained method call being on the following line.
9715 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9717         * electric.el (electric-indent-inhibit): New var.
9718         (electric-indent-post-self-insert-function): Use it.
9719         * progmodes/python.el (python-mode): Set it.
9721         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
9722         open braces.
9724         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
9726         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
9727         (css-mode): Use electric-indent-chars.
9729         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
9730         (font-lock-beg, font-lock-end): Move before first use.
9731         (nxml-mode): Use syntax-propertize-function.
9732         (nxml-after-change, nxml-after-change1): Adjust accordingly.
9733         (nxml-extend-after-change-region): Remove.
9734         * nxml/xmltok.el: Use lexical-binding.
9735         (xmltok-save): Use `declare'.
9736         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
9737         * nxml/nxml-util.el: Use lexical-binding.
9738         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
9739         Use `declare'.
9740         * nxml/nxml-ns.el: Use lexical-binding.
9741         (nxml-ns-save): Use `declare'.
9742         (nxml-ns-prefixes-for): Avoid add-to-list.
9743         * nxml/rng-match.el: Use lexical-binding.
9744         (rng--ipattern): Use cl-defstruct.
9745         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
9746         (rng-cons-group-after, rng-subst-group-after)
9747         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
9748         Use closures instead of `(lambda...).
9750 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
9752         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
9753         of BEG and END.
9755         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9756         Use `tramp-handle-insert-file-contents'.
9757         (tramp-gvfs-handle-insert-file-contents): Remove function.
9759         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9760         Use `save-restriction' in order to keep markers.
9762         * net/trampver.el: Update release number.
9764 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9766         * progmodes/compile.el (compilation-parse-errors):
9767         Use compilation--put-prop.
9768         (compilation--ensure-parse): Check compilation-multiline.
9770         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
9772         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
9773         lexical-binding.
9775         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
9777         * progmodes/ruby-mode.el: Fix recently added tests.
9778         (ruby-smie-grammar): Add - and +.
9779         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
9780         (ruby-smie--backward-id): New functions.
9781         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
9782         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
9783         any more.
9785 2013-10-07  Leo Liu  <sdl.web@gmail.com>
9787         * register.el (register-preview-delay)
9788         (register-preview-functions): New variables.
9789         (register-read-with-preview, register-preview)
9790         (register-describe-oneline): New functions.
9791         (point-to-register, window-configuration-to-register)
9792         (frame-configuration-to-register, jump-to-register)
9793         (number-to-register, view-register, insert-register)
9794         (copy-to-register, append-to-register, prepend-to-register)
9795         (copy-rectangle-to-register): Use register-read-with-preview to
9796         read register.  (Bug#15525)
9798 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
9800         * net/network-stream.el (network-stream-open-starttls): Don't add
9801         --insecure if it's already present, because that gnutls-cli
9802         rejects getting that parameter twice.
9804 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
9806         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
9807         keyword, too.
9809 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
9811         * newcomment.el (comment-use-global-state): Change default value
9812         to t, mark obsolete (Bug#15251).
9813         (comment-beginning): In addition to `comment-to-syntax', check the
9814         value of `comment-use-global-state'.
9816 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9818         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
9819         (ruby-comment-column): Follow the global default, by default.
9820         (ruby-smie-grammar): Add assignment syntax.
9821         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
9822         open-paren, a comma, or a \.
9823         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
9824         and line continuations.
9825         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
9826         followed by implicit semi-colons.  Add rule for string concatenation
9827         and for indentation at BOB.
9828         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
9830         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
9831         calling next-sexp, since next-token may have skipped chars which
9832         next-sexp doesn't know should be skipped!
9834 2013-10-05  Leo Liu  <sdl.web@gmail.com>
9836         * progmodes/octave.el (octave-send-region):
9837         Call compilation-forget-errors.
9839 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9841         * vc/vc-svn.el (vc-svn-find-admin-dir):
9842         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9843         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9844         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9845         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9847 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9849         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9851 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9853         * subr.el (read-passwd): Hide chars even when called within a context
9854         where after-change-functions is disabled (bug#15501).
9855         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9856         until we removed ourself from overriding-terminal-local-map.
9858 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9860         * progmodes/octave.el (inferior-octave-mode):
9861         Call compilation-forget-errors.
9863 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
9865         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9867 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
9869         * net/secrets.el (secrets-create-collection): Add optional
9870         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
9871         dbus-call-method argument.  (Bug#15516)
9873 2013-10-04  Leo Liu  <sdl.web@gmail.com>
9875         * progmodes/octave.el (inferior-octave-error-regexp-alist)
9876         (inferior-octave-compilation-font-lock-keywords): New variables.
9877         (compilation-error-regexp-alist)
9878         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9879         (inferior-octave-mode): Use compilation-shell-minor-mode.
9881 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
9883         * minibuffer.el (completion--replace): Be careful that `end' might be
9884         a marker.
9886 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9888         Add support for package signature checking.
9889         * emacs-lisp/package.el (url-http-file-exists-p)
9890         (epg-make-context, epg-context-set-home-directory)
9891         (epg-verify-string, epg-context-result-for)
9892         (epg-signature-status, epg-signature-to-string)
9893         (epg-check-configuration, epg-configuration)
9894         (epg-import-keys-from-file): Declare.
9895         (package-check-signature): New user option.
9896         (package-unsigned-archives): New user option.
9897         (package-desc): Add `signed' field.
9898         (package-load-descriptor): Set `signed' field if .signed file exists.
9899         (package--archive-file-exists-p): New function.
9900         (package--check-signature): New function.
9901         (package-install-from-archive): Check package signature.
9902         (package--download-one-archive): Check archive signature.
9903         (package-delete): Remove .signed file.
9904         (package-import-keyring): New command.
9905         (package-refresh-contents): Import default keyring.
9906         (package-desc-status): Add "unsigned" status.
9907         (describe-package-1, package-menu--print-info)
9908         (package-menu-mark-delete, package-menu--find-upgrades)
9909         (package-menu--status-predicate): Support "unsigned" status.
9911 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9913         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9914         the new compilation scheme using the new byte-codes.
9916         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9917         (byte-pophandler): New byte codes.
9918         (byte-goto-ops): Adjust accordingly.
9919         (byte-compile--use-old-handlers): New var.
9920         (byte-compile-catch): Use new byte codes depending on
9921         byte-compile--use-old-handlers.
9922         (byte-compile-condition-case--old): Rename from
9923         byte-compile-condition-case.
9924         (byte-compile-condition-case--new): New function.
9925         (byte-compile-condition-case): New function that dispatches depending
9926         on byte-compile--use-old-handlers.
9927         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9928         when we can.
9930         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9931         Optimize under `condition-case' and `catch' if
9932         byte-compile--use-old-handlers is nil.
9933         (disassemble-offset): Handle new bytecodes.
9935 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9937         * subr.el (error): Use `declare'.
9938         (decode-char, encode-char): Use advertised-calling-convention instead
9939         of the docstring to discourage use of the `restriction' arg.
9941 2013-10-03  Daiki Ueno  <ueno@gnu.org>
9943         * epg.el (epg-verify-file): Add a comment saying that it does not
9944         notify verification error as a return value nor a signal.
9945         (epg-verify-string): Ditto.
9947 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
9949         * progmodes/compile.el (compilation-start): Try globbing the arg to
9950         `cd' (bug#15417).
9952 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
9954         Sync with Tramp 2.2.8.
9956         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9957         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9958         * net/trampver.el: Update release number.
9960 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
9962         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9963         and default-process-coding-system for darwin only.
9965 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9967         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9969 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
9971         * vc/vc-git.el (vc-git-grep): Disable pager.
9973 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
9975         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9976         Use :url instead of :homepage, as per
9977         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9979         * newcomment.el (comment-beginning): When `comment-use-syntax' is
9980         non-nil, use `syntax-ppss' (Bug#15251).
9982 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9984         * progmodes/octave.el (inferior-octave-startup-file):
9985         Prefer ~/.emacs.d/init_octave.m.
9987 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
9989         * emacs-lisp/package.el (package-desc-from-define):
9990         Accept additional arguments as plist, convert them to an alist and store
9991         them in the `extras' slot.
9992         (package-generate-description-file): Convert extras alist back to
9993         plist and append to the `define-package' form arguments.
9994         (package--alist-to-plist): New function.
9995         (package--ac-desc): Add `extras' slot.
9996         (package--add-to-archive-contents): Check if the archive-contents
9997         vector is long enough, and if it is, pass its `extras' slot value
9998         to `package-desc-create'.
9999         (package-buffer-info): Call `lm-homepage', pass the returned value
10000         to `package-desc-from-define'.
10001         (describe-package-1): Render the homepage button (Bug#13291).
10003         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10004         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10006 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
10008         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10009         and default-process-coding-system to utf-8-unix (Bug#15402).
10011 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
10013         * subr.el (looking-back): Do not recommend using looking-back.
10015 2013-09-28  Alan Mackenzie  <acm@muc.de>
10017         Fix indentation/fontification of Java enum with "implements".
10019         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10020         regexp which matches "implements", etc., in Java.
10021         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10022         specifier clauses coming after "enum".
10023         * progmodes/cc-fonts.el (c-font-lock-declarations)
10024         (c-font-lock-enum-tail): Check for extra specifier clauses coming
10025         after "enum".
10027 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
10029         * faces.el (region): Change ns_selection_color to
10030         ns_selection_fg_color, add ns_selection_bg_color.
10032 2013-09-28  Leo Liu  <sdl.web@gmail.com>
10034         * progmodes/octave.el (inferior-octave-completion-table)
10035         (inferior-octave-completion-at-point): Minor tweaks.
10037         * textmodes/ispell.el (ispell-lookup-words): Rename from
10038         lookup-words.  (Bug#15460)
10039         (lookup-words): Obsolete.
10040         (ispell-complete-word, ispell-command-loop): All uses changed.
10042 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10044         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10045         (octave-mode-menu): Add octave-send-buffer.
10046         (octave-send-buffer): New function.
10048 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10050         * progmodes/octave.el (octave-mode-map): Add key binding for
10051         octave-lookfor.
10052         (octave-mode-menu): Add octave-lookfor.
10053         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10054         octave-lookfor.
10055         (octave-lookfor): New function.
10057 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10059         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10060         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10061         its convention.
10062         (cl--loop-set-iterator-function): New function.
10063         (cl-loop): Adjust accordingly, so as not to use cl-subst.
10064         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10065         Bind `it' with `let' instead of substituting it with `cl-subst'.
10066         (cl--unused-var-p): New function.
10067         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10068         Eliminate some unused variable warnings (bug#15326).
10070 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
10072         * doc-view.el (doc-view-scale-reset): Rename from
10073         `doc-view-reset-zoom-level'.
10074         (doc-view-scale-adjust): New command.
10075         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10076         `doc-view-scale-adjust'.
10078 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
10080         * doc-view.el (doc-view-reset-zoom-level): New command.
10081         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10082         zoom commands (bug#15466).
10084 2013-09-26  Kenichi Handa  <handa@gnu.org>
10086         * international/quail.el (quail-help): Make it not a command.
10088 2013-09-26  Leo Liu  <sdl.web@gmail.com>
10090         * minibuffer.el (completion-all-sorted-completions): Make args
10091         optional as they are.
10093 2013-09-25  Daniel Colascione  <dancol@dancol.org>
10095         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10096         specs are and that they're not evaluated.
10098 2013-09-24  Sam Steingold  <sds@gnu.org>
10100         * midnight.el (clean-buffer-list-kill-regexps)
10101         (clean-buffer-list-kill-buffer-names): Update for the new Man
10102         buffer naming which includes the object name.
10104 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10106         * eshell/esh-cmd.el (eshell--sep-terms): New var.
10107         (eshell-parse-command, eshell-parse-pipeline): Use it since
10108         eshell-separate-commands requires a dynamic scoped var.
10109         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10111 2013-09-23  Leo Liu  <sdl.web@gmail.com>
10113         * autoinsert.el (auto-insert-alist): Make the value of
10114         lexical-binding match its file setting.
10116 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
10118         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10120         * autoarg.el (autoarg-kp-digit-argument):
10121         * electric.el (Electric-command-loop):
10122         * kmacro.el (kmacro-step-edit-insert):
10123         Do not set universal-argument-num-events.
10125 2013-09-22  Leo Liu  <sdl.web@gmail.com>
10127         * files.el (interpreter-mode-alist): Add octave.
10129 2013-09-21  Alan Mackenzie  <acm@muc.de>
10131         C++: fontify identifier in declaration following "public:" correctly.
10132         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10133         to match "public", etc.
10134         (c-decl-prefix-re): Add ":" into the C++ value.
10135         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10136         bit.  Add a check for a ":" preceded by "public", etc.
10138 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
10140         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10141         recognized by GDB 7.5 and later.
10143 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
10145         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10147 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10149         * subr.el (internal--call-interactively): New const.
10150         (called-interactively-p): Use it (bug#3984).
10152 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
10154         * vc/pcvs.el (cvs-mode-ignore):
10155         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10156         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10158 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10160         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
10161         (eshell-ls-orig-insert-directory): Remove.
10162         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
10163         (eshell-ls-use-in-dired): Use advice-add/remove.
10164         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10165         Add `orig-fun' arg for use in :around advice.
10166         Make it check (redundantly) eshell-ls-use-in-dired.
10168 2013-09-19  Glenn Morris  <rgm@gnu.org>
10170         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10172         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10174         * emacs-lisp/eieio.el (class-parent): Undo previous change.
10176 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
10178         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10179         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10180         (tramp-get-remote-python): New defuns.
10181         (tramp-get-remote-uid-with-perl)
10182         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
10183         contributed by yary <not.com@gmail.com> (tiny change).
10184         (tramp-get-remote-uid-with-python)
10185         (tramp-get-remote-gid-with-python): New defuns.  Python code
10186         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10187         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10189 2013-09-19  Glenn Morris  <rgm@gnu.org>
10191         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10193         * eshell/em-unix.el (eshell-remove-entries):
10194         Rename argument to avoid name-clash with global `top-level'.
10196         * eshell/esh-proc.el (eshell-kill-process-function):
10197         Remove eshell-reset-after-proc from eshell-kill-hook if present.
10198         (eshell-reset-after-proc): Remove unused arg `proc'.
10200         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10201         (directory-files-and-attributes): Mark unused arg.
10203         * eshell/em-unix.el (eshell-remove-entries):
10204         Remove unused arg `path'.  Update callers.
10206         * eshell/em-hist.el (eshell-hist-parse-arguments):
10207         Remove unused arg `silent'.  Update callers.
10209         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10210         Fix (f)boundp mix-up.
10212         * eshell/em-smart.el (eshell-smart-scroll-window)
10213         (eshell-disable-after-change):
10214         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10216 2013-09-18  Alan Mackenzie  <acm@muc.de>
10218         Fix fontification of type when followed by "const".
10219         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10220         "known" types from fontification.
10222 2013-09-18  Glenn Morris  <rgm@gnu.org>
10224         * emacs-lisp/chart.el (x-display-color-cells): Declare.
10225         (chart-face-list): Drop Emacsen without display-color-p.
10227         * net/eww.el (libxml-parse-html-region): Declare.
10228         (eww-display-html): Explicit error if no libxml2 support.
10230         * doc-view.el (doc-view-mode): Silence --without-x compilation.
10232         * image.el (image-type-from-buffer, image-multi-frame-p):
10233         Remove --without-x warning/error.
10235         * mouse.el (mouse-yank-primary):
10236         * term.el (term-mouse-paste):
10237         Reorder to silence --without-x compilation.
10239         * mpc.el (doc-view-mode): Silence --without-x compilation.
10241         * mail/rmailmm.el (rmail-mime-set-bulk-data):
10242         Silence --without-x compilation.
10244         * progmodes/gud.el (gud-find-file, gud-mode):
10245         Silence --without-x compilation.
10246         (tooltip-mode): Declare.
10248         * wdired.el (dired-backup-overwrite): Remove declaration.
10249         (wdired-mode-map): Add doc string.
10251         * custom.el (x-get-resource): Declare.
10253         * eshell/em-glob.el (ange-cache):
10254         * eshell/em-unix.el (ange-cache): Declare.
10256         * faces.el (x-display-list, x-open-connection, x-get-resource):
10257         Declare.
10259         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10260         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10261         Declare.
10263         * frame.el (x-display-grayscale-p, x-display-name): Declare.
10265         * net/gnutls.el (gnutls-log-level): Declare.
10267         * net/shr.el (image-size, image-animate): Declare.
10269         * simple.el (font-info): Declare.
10271         * subr.el (x-popup-dialog): Declare.
10273         * term/common-win.el (x-select-enable-primary)
10274         (x-last-selected-text-primary, x-last-selected-text-clipboard):
10275         Declare.
10277         * term/ns-win.el (x-handle-args): Declare.
10279         * term/x-win.el (x-select-enable-clipboard): Declare.
10281         * term/w32-win.el (create-default-fontset): Declare.
10283         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10284         Declare.
10286         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10287         (fit-frame-to-buffer): Explicit error if --without-x.
10288         (mouse-autoselect-window-select): Silence compiler.
10290         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10292         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10293         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10294         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10295         * eshell/esh-util.el (eshell-sublist):
10296         Remove unused local variables.
10298         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10300         * textmodes/two-column.el: Make 2C-split work for --without-x.
10301         (scroll-bar-columns): Autoload.
10302         (top-level): Require fringe when compiling.
10304 2013-09-18  Leo Liu  <sdl.web@gmail.com>
10306         * subr.el (add-hook): Robustify to handle closure as well.
10308 2013-09-17  Glenn Morris  <rgm@gnu.org>
10310         * simple.el (messages-buffer-mode-map): Unbind "g".
10312 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10314         * help-mode.el (help-mode-finish): Use derived-mode-p.
10315         Remove obsolete highlighting.
10317         * play/life.el (life-mode): Use define-derived-mode.  Derive from
10318         special-mode.
10319         (life): Let-bind inhibit-read-only.
10320         (life-setup): Avoid `setq'.  Use `life-mode'.
10322         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10323         which should not be needed any more.
10324         (package-menu-refresh, package-menu-describe-package): Use user-error.
10326         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10327         (eshell-post-rewrite-command-hook): Make obsolete.
10328         (eshell-parse-command): Simplify.
10329         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10330         (eshell--cmd): Declare.
10331         (eshell-parse-pipeline): Remove unused var `final-p'.
10332         Pass a dynvar to eshell-post-rewrite-command-hook.
10333         Implement the new eshell-post-rewrite-command-function.
10334         (eshell-invoke-directly): Remove unused arg `input'.
10335         * eshell/esh-io.el (eshell-io-initialize):
10336         Use eshell-post-rewrite-command-function (bug#15399).
10337         (eshell--apply-redirections): Rename from eshell-apply-redirections;
10338         adjust to new calling convention.
10339         (eshell-create-handles): Rename args to avoid clashing with dynvar
10340         `standard-output'.
10342 2013-09-17  Glenn Morris  <rgm@gnu.org>
10344         * simple.el (messages-buffer-mode): New major mode.
10345         (messages-buffer): New function.
10346         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10347         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10348         (ert-run-test): Use `messages-buffer' function.
10349         (ert--force-message-log-buffer-truncation): Ignore read-only.
10350         * help.el (view-echo-area-messages): Use `messages-buffer' function.
10351         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10353 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10355         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10357         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10359 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10361         * icomplete.el (icomplete-in-buffer): New var.
10362         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10363         vars and replace them with functions.
10364         (icomplete-minibuffer-setup): Adjust accordingly.
10365         (icomplete--completion-table, icomplete--completion-predicate)
10366         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10367         New functions.
10368         (icomplete-forward-completions, icomplete-backward-completions)
10369         (icomplete-simple-completing-p, icomplete-exhibit)
10370         (icomplete-completions): Use them.
10371         (icomplete--in-region-buffer): New var.
10372         (icomplete--in-region-setup): New function.
10373         (icomplete-mode): Use it.
10375         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10376         (bug#15379).
10377         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10378         return args and options.
10379         (eshell-eval-using-options): Use the new return value of
10380         eshell--do-opts to set the options's vars in their scope.
10381         (eshell--set-option): Rename from eshell-set-option.
10382         Add arg `opt-vals'.
10383         (eshell--process-option): Rename from eshell-process-option.
10384         Add arg `opt-vals'.
10385         (eshell--process-args): Use an `opt-vals' alist to store the options's
10386         values during their processing and return them additionally to the
10387         remaining args.
10389 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
10391         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10392         continuation character an operator, as far as indentation is
10393         concerned (Bug#15369).
10395 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
10397         * window.el (window--state-put-2): Don't process buffer state
10398         when buffer doesn't exist any more (Bug#15382).
10400 2013-09-15  Glenn Morris  <rgm@gnu.org>
10402         * eshell/em-unix.el (eshell/rm):
10403         Make -f ignore missing files.  (Bug#15373)
10405         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
10406         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10407         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10409 2013-09-14  Glenn Morris  <rgm@gnu.org>
10411         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10413 2013-09-13  Glenn Morris  <rgm@gnu.org>
10415         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10416         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
10418 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
10420         * frame.el (x-focus-frame): Mark as declared in frame.c.
10422 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10424         * ls-lisp.el: Use advice-add.
10425         (original-insert-directory): Remove.
10426         (ls-lisp--insert-directory): Rename from insert-directory; add
10427         `orig-fun' argument.
10428         (insert-directory): Advise.
10430 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
10432         * term.el (term-emulate-terminal): Decode the command string
10433         before passing it to term-command-hook.  (Bug#15337)
10435 2013-09-13  Glenn Morris  <rgm@gnu.org>
10437         * eshell/esh-util.el (ange-cache): Move declaration earlier.
10439         * eshell/esh-ext.el (eshell-search-path): Declare.
10441         * eshell/em-prompt.el (eshell/pwd): Autoload it.
10442         Otherwise an error occurs if eshell-dirs module not loaded.
10444         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10446 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
10448         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10449         `tramp-check-proper-host'.  Check for a valid method name.
10451         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10452         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10453         * net/tramp-sh.el (tramp-maybe-open-connection):
10454         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10456         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10457         also for hash values.
10459 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10461         * term/ns-win.el (parameters): Don't declare as dynamic.
10462         (before-make-frame-hook): Don't add ineffective function.
10464         * eshell/*.el: Use lexical-binding (bug#15231).
10466 2013-09-12  Kenichi Handa  <handa@gnu.org>
10468         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10470 2013-09-12  Glenn Morris  <rgm@gnu.org>
10472         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10473         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10475         * subr.el (do-after-load-evaluation): Also give compiler warnings
10476         when obsolete files are used (except by obsolete files).
10478         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10479         in the status output, assume `filename' is the first.  (Bug#15322)
10481         * vc/vc.el (vc-deduce-fileset): Doc fix.
10483         * calc/calc-help.el (Info-goto-node):
10484         * progmodes/cperl-mode.el (Info-find-node):
10485         * vc/ediff.el (Info-goto-node): Update declarations.
10487         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10489         * vc/vc-bzr.el (vc-compilation-mode): Declare.
10490         (vc-bzr-pull): Require vc-dispatcher.
10491         * vc/vc-git.el (vc-compilation-mode): Declare.
10492         (vc-git-pull): Require vc-dispatcher.
10494         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
10496         * progmodes/octave.el (help-button-action): Declare.
10498         * shell.el (shell-directory-tracker): Output error as a message
10499         rather than just returning it as a string.
10500         (shell-process-pushd): Remove useless use of message.
10502         * dframe.el (dframe-timer-fn):
10503         * files.el (dir-locals-read-from-file):
10504         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
10505         (mpc-format):
10506         * reveal.el (reveal-post-command):
10507         * saveplace.el (load-save-place-alist-from-file):
10508         * shell.el (shell-resync-dirs):
10509         * w32-common-fns.el (x-get-selection-value):
10510         * emacs-lisp/copyright.el (copyright-find-copyright):
10511         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10512         * emulation/tpu-edt.el (tpu-copy-keyfile):
10513         * play/bubbles.el (bubbles--mark-neighbourhood):
10514         * progmodes/executable.el
10515         (executable-make-buffer-file-executable-if-script-p):
10516         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
10518 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10520         Cleanup Eshell to rely less on dynamic scoping.
10521         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
10522         last-value, and ext-command here.  Bind `args' closer to `body'.
10523         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
10524         (eshell--args): Declare new dynamic var.
10525         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
10526         last-value, and ext-command.  Pass `args' to `body'.
10527         (eshell-process-args): Bind eshell--args.
10528         (eshell-set-option): Use eshell--args.
10529         * eshell/eshell.el (eshell): Use derived-mode-p.
10530         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
10531         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
10532         (eshell-glob-function): Declare.
10533         * eshell/esh-util.el: Require cl-lib.
10534         (eshell-read-hosts-file): Avoid add-to-list.
10535         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
10536         `err'.
10537         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
10538         Declare.
10539         (eshell/diff): Remove unused var `err'.
10540         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
10541         `killflag'.
10542         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
10543         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
10544         first use.
10545         * eshell/em-glob.el (eshell-glob-matches, message-shown):
10546         Move declaration before first use.
10547         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
10548         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
10549         rely on cl-return.
10551 2013-09-12  Glenn Morris  <rgm@gnu.org>
10553         * term/ns-win.el (global-map): Remove binding for ispell-next,
10554         deleted 1999-05-29.  (Bug#15357)
10556 2013-09-11  Glenn Morris  <rgm@gnu.org>
10558         * echistory.el (electric-command-history): Remove call to deleted func.
10560         * play/landmark.el (landmark-mode): Fix typos.
10562         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
10563         Check cvs-sort-ignore-file is bound.
10565         * savehist.el: No need for cl when compiling on Emacs.
10567 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10569         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
10570         (bug#15338).
10571         (eshell-self-insert-command, eshell-send-invisible):
10572         Remove unused argument.
10573         (eshell-handle-control-codes): Remove unused var `orig'.
10574         Avoid delete-backward-char.
10576         * files.el (set-auto-mode): Simplify a bit further.
10578 2013-09-11  Glenn Morris  <rgm@gnu.org>
10580         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
10581         (set-auto-mode): Don't regexp-quote elements.
10582         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
10583         * progmodes/cc-mode.el (interpreter-mode-alist):
10584         * progmodes/ruby-mode.el (interpreter-mode-alist):
10585         Revert previous change.
10587 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10589         * play/snake.el (snake-mode):
10590         * play/mpuz.el (mpuz-mode):
10591         * play/landmark.el (lm-mode):
10592         * play/blackbox.el (blackbox-mode):
10593         * play/5x5.el (5x5-mode):
10594         * obsolete/options.el (Edit-options-mode):
10595         * net/quickurl.el (quickurl-list-mode):
10596         * net/newst-treeview.el (newsticker-treeview-mode):
10597         * mail/rmailsum.el (rmail-summary-mode):
10598         * mail/mspools.el (mspools-mode):
10599         * locate.el (locate-mode):
10600         * ibuffer.el (ibuffer-mode):
10601         * emulation/ws-mode.el (wordstar-mode):
10602         * emacs-lisp/debug.el (debugger-mode):
10603         * array.el (array-mode):
10604         * net/eudc.el (eudc-mode): Use define-derived-mode.
10605         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10606         Move initialization into declaration.
10607         (mairix-searches-mode): Use define-derived-mode.
10608         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10609         (eudc-edit-hotlist): Use dolist.
10610         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10611         (Man-mode): Use define-derived-mode.
10612         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10613         (Info-edit-mode): Use define-derived-mode.
10614         (Info-cease-edit): Use Info-mode.
10615         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10616         into declaration.
10617         (eshell-mode): Use define-derived-mode.
10618         * chistory.el (command-history-mode-map): Rename from
10619         command-history-map.
10620         (command-history-mode): Use define-derived-mode.
10621         (Command-history-setup): Remove function.
10622         * calc/calc.el (calc-trail-mode-map): New var.
10623         (calc-trail-mode): Use define-derived-mode.
10624         (calc-trail-buffer): Set calc-main-buffer manually.
10625         * bookmark.el (bookmark-insert-annotation): New function.
10626         (bookmark-edit-annotation): Use it.
10627         (bookmark-edit-annotation-mode): Make it a proper major mode.
10628         (bookmark-send-edited-annotation): Use derived-mode-p.
10629         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10630         closer to its ideal place.  Use \' to match EOS.
10632         * profiler.el (profiler-calltree-find): Use function-equal.
10634 2013-09-10  Glenn Morris  <rgm@gnu.org>
10636         * files.el (interpreter-mode-alist): Convert to regexps.
10637         (set-auto-mode): Adapt for this.  (Bug#15306)
10638         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10639         Comment out unused variable.
10640         * progmodes/cc-mode.el (interpreter-mode-alist):
10641         * progmodes/python.el (interpreter-mode-alist):
10642         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
10643         * progmodes/sh-script.el (sh-set-shell):
10644         No longer use interpreter-mode-alist to get list of shells.
10646         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
10648 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10650         * simple.el: Use set-temporary-overlay-map for universal-argument.
10651         (universal-argument-map): Don't use default-bindings (bug#15317).
10652         Bind switch-frame explicitly.  Replace universal-argument-minus with
10653         a conditional binding.
10654         (universal-argument-num-events, saved-overriding-map): Remove.
10655         (restore-overriding-map): Remove.
10656         (universal-argument--mode): Rename from save&set-overriding-map,
10657         and rewrite.
10658         (universal-argument, universal-argument-more, negative-argument)
10659         (digit-argument): Adjust accordingly.
10660         (universal-argument-minus): Remove.
10661         (universal-argument-other-key): Remove.
10663         * subr.el (with-demoted-errors): Add `format' argument.
10665 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
10667         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
10668         `tramp-cleanup-connection'.
10670         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
10671         parameters KEEP-DEBUG and KEEP-PASSWORD.
10673         * net/tramp.el (tramp-file-name-handler):
10674         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10675         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10676         (tramp-maybe-open-connection):
10677         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10678         Use `tramp-cleanup-connection'.
10680         * net/tramp-sh.el (tramp-maybe-open-connection):
10681         Catch 'uname-changed inside the progress reporter.
10683 2013-09-10  Glenn Morris  <rgm@gnu.org>
10685         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
10687         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
10688         returns "alternate access method" in mode (eg "-rw-r--r--.").
10690 2013-09-08  Glenn Morris  <rgm@gnu.org>
10692         * saveplace.el (load-save-place-alist-from-file):
10693         Demote errors.  (Bug#15305)
10695 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
10697         Improve compatibility with older Emacsen, and XEmacs.
10699         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
10700         only if it is bound.  It isn't for XEmacs.
10701         (with-tramp-progress-reporter): Do not let-bind `result'.
10702         This yields to scoping errors in XEmacs.
10703         (tramp-handle-make-auto-save-file-name): New function, moved from
10704         tramp-sh.el.
10706         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
10707         for `make-auto-save-file-name'.
10708         (tramp-adb--gnu-switches-to-ash):
10709         Use `tramp-compat-replace-regexp-in-string'.
10711         * net/tramp-cache.el (tramp-cache-print): Call
10712         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
10714         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
10715         bound.  It isn't for XEmacs.
10717         * net/tramp-compat.el (tramp-compat-copy-file):
10718         Catch `wrong-number-of-arguments' error.
10719         (tramp-compat-replace-regexp-in-string): New defun.
10721         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
10722         for `make-auto-save-file-name'.
10723         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
10724         `copy-file'.
10725         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
10726         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
10727         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
10729         * net/tramp-gw.el (tramp-gw-open-network-stream):
10730         Use `tramp-compat-replace-regexp-in-string'.
10732         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10733         Call `tramp-handle-make-auto-save-file-name'.
10734         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
10735         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10736         (tramp-sh-file-inotifywait-process-filter):
10737         Use `tramp-compat-replace-regexp-in-string'.
10738         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
10740         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
10741         for `make-auto-save-file-name'.
10742         (tramp-smb-handle-copy-directory):
10743         Call `tramp-compat-replace-regexp-in-string'.
10744         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
10745         (tramp-smb-handle-copy-file): Improve error message.
10746         (tramp-smb-handle-rename-file): Rename directly only in case
10747         `newname' does not exist yet.  This is a restriction of smbclient.
10748         (tramp-smb-maybe-open-connection): Rerun the function only when
10749         `auth-sources' is non-nil.
10751 2013-09-08  Kenichi Handa  <handa@gnu.org>
10753         * international/characters.el: Set category "^" (Combining) for
10754         more characters.
10756 2013-09-07  Alan Mackenzie  <acm@muc.de>
10758         Correctly fontify Java class constructors.
10759         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
10760         in Java Mode.
10761         (c-recognize-typeless-decls): Set the Java value to t.
10762         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10763         While handling a "(", add a check for, effectively, Java, and handle a
10764         "typeless" declaration there.
10766 2013-09-07  Roland Winkler  <winkler@gnu.org>
10768         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
10769         field subtitle for entry type book.
10771 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10773         * minibuffer.el: Make minibuffer-complete call completion-in-region
10774         rather than other way around.
10775         (completion--some, completion-pcm--find-all-completions):
10776         Don't delay signals when debugging.
10777         (minibuffer-completion-contents): Beware fields within the
10778         minibuffer contents.
10779         (completion-all-sorted-completions): Use defvar-local.
10780         (completion--do-completion, completion--cache-all-sorted-completions)
10781         (completion-all-sorted-completions, minibuffer-force-complete):
10782         Add args `beg' and `end'.
10783         (completion--in-region-1): New fun, extracted from minibuffer-complete.
10784         (minibuffer-complete): Use completion-in-region.
10785         (completion-complete-and-exit): New fun, extracted from
10786         minibuffer-complete-and-exit.
10787         (minibuffer-complete-and-exit): Use it.
10788         (completion--complete-and-exit): Rename from
10789         minibuffer--complete-and-exit.
10790         (completion-in-region--single-word): New function, extracted from
10791         minibuffer-complete-word.
10792         (minibuffer-complete-word): Use it.
10793         (display-completion-list): Make `common-substring' argument obsolete.
10794         (completion--in-region): Call completion--in-region-1 instead of
10795         minibuffer-complete.
10796         (completion-help-at-point): Pass boundaries to
10797         minibuffer-completion-help as args rather than via an overlay.
10798         (completion-pcm--string->pattern): Use `any-delim'.
10799         (completion-pcm--optimize-pattern): New function.
10800         (completion-pcm--pattern->regex): Handle `any-delim'.
10801         * icomplete.el (icomplete-forward-completions)
10802         (icomplete-backward-completions, icomplete-completions):
10803         Adjust calls to completion-all-sorted-completions and
10804         completion--cache-all-sorted-completions.
10805         (icomplete-with-completion-tables): Default to t.
10806         * emacs-lisp/crm.el (crm--current-element): Rename from
10807         crm--select-current-element.  Don't put an overlay but return the
10808         boundaries instead.
10809         (crm--completion-command): Take two new args to bind to the boundaries.
10810         (crm-completion-help): Adjust accordingly.
10811         (crm-complete): Use completion-in-region.
10812         (crm-complete-word): Use completion-in-region--single-word.
10813         (crm-complete-and-exit): Use completion-complete-and-exit.
10815 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10817         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
10818         than dynamically.
10820 2013-09-06  Juri Linkov  <juri@jurta.org>
10822         * info.el (Info-display-images-node): When image file doesn't exist
10823         display text version of the image if it's provided in the Info file.
10824         Otherwise, display the location of missing image from SRC attribute.
10825         Add help-echo text property from ALT attribute.  (Bug#15279)
10827 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10829         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
10830         (edit-abbrevs-mode): Use define-derived-mode.
10832         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
10833         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
10834         that it's defined.
10835         (epa-key-list-mode, epa-key-mode, epa-info-mode):
10836         Use define-derived-mode.
10838         * epg.el (epg-start-encrypt): Minor CSE simplification.
10840 2013-09-06  William Xu  <william.xwl@gmail.com>
10842         * arc-mode.el: Add support for 7za (bug#15264).
10843         (archive-7z-program): New var.
10844         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10845         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10846         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10848 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
10850         Remove URL syntax.
10852         * net/tramp.el (tramp-syntax, tramp-prefix-format)
10853         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10854         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10855         (tramp-postfix-host-format, tramp-file-name-regexp)
10856         (tramp-completion-file-name-regexp)
10857         (tramp-completion-dissect-file-name)
10858         (tramp-handle-substitute-in-file-name): Remove 'url case.
10859         (tramp-file-name-regexp-url)
10860         (tramp-completion-file-name-regexp-url): Remove constants.
10862 2013-09-06  Glenn Morris  <rgm@gnu.org>
10864         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
10866 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
10868         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10869         keywords" below "here-doc beginnings" (Bug#15270).
10871 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10873         * subr.el (pop): Use `car-safe'.
10874         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10875         to detect unused `pop' return value.
10877         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10878         var `block-regexp'.
10879         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10880         (python-fill-string): Remove unused var `marker'.
10881         (python-skeleton-add-menu-items): Remove unused var `items'.
10883         * international/mule-cmds.el: Require CL.
10884         (find-coding-systems-for-charsets): Avoid add-to-list.
10885         (sanitize-coding-system-list): New function, extracted from
10886         select-safe-coding-system-interactively.
10887         (select-safe-coding-system-interactively): Use it.
10888         (read-input-method-name): Accept symbols for `default'.
10890         * emacs-lisp/advice.el (defadvice): Add indent rule.
10892 2013-09-05  Daniel Hackney  <dan@haxney.org>
10894         * dired-x.el:
10895         * net/ange-ftp.el:
10896         * net/browse-url.el:
10897         * net/dbus.el:
10898         * net/eudc.el:
10899         * net/eudcb-ldap.el:
10900         * net/eww.el:
10901         * net/imap.el:
10902         * printing.el:
10903         * vc/ediff-diff.el:
10904         * vc/ediff-init.el:
10905         * vc/ediff-merg.el:
10906         * vc/ediff-mult.el:
10907         * vc/ediff-util.el:
10908         * vc/ediff-wind.el:
10909         * vc/ediff.el:
10910         * vc/emerge.el:
10911         * vc/pcvs.el:
10912         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10913         byte compiler.  Remove some unused let-bound variables.
10915 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10917         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10918         a "ref-cell", since it gets better optimized (bug#14883).
10920 2013-09-05  Glenn Morris  <rgm@gnu.org>
10922         * progmodes/cc-awk.el (c-forward-sws): Declare.
10924 2013-09-04  Glenn Morris  <rgm@gnu.org>
10926         * generic-x.el [rul-generic-mode]: Require cc-mode.
10927         (c++-mode-syntax-table): Declare.
10928         (rul-generic-mode-syntax-table): Init in the defvar.
10930 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10932         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10933         (vc-do-command, vc-set-async-update):
10934         * vc/vc-mtn.el (vc-mtn-dir-status):
10935         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10936         (vc-hg-pull, vc-hg-merge-branch):
10937         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10938         (vc-git-merge-branch):
10939         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10940         (vc-cvs-dir-status-files):
10941         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10942         (vc-bzr-dir-status-files):
10943         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10944         * vc/vc-annotate.el: Use lexical-binding.
10945         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10946         (vc-sentinel-movepoint): Declare.
10947         (vc-annotate): Don't use `goto-line'.
10948         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10949         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10950         (vc-sentinel-movepoint): Declare.
10951         * vc/vc-svn.el: Use lexical-binding.
10952         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10953         * vc/vc-sccs.el:
10954         * vc/vc-rcs.el: Use lexical-binding.
10956         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10957         `deleted'.  Don't drop errors silently.
10959         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10961 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
10963         * vc/vc.el (vc-ignore): Rewrite.
10964         (vc-default-ignore): New function.
10965         (vc-default-ignore-completion-table): Use find-ignore-file.
10967         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10968         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10969         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10970         Remove.  Most code moved to vc.el.
10972 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10974         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10975         * net/tramp-smb.el (tramp-smb-get-file-entries):
10976         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10977         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10979         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10980         Update call to it.
10981         (eww-change-select): Remove unused var `properties'.
10982         (eww-make-unique-file-name): Remove unused var `base'.
10984         * finder.el (finder-compile-keywords): Don't mess with windows.
10986         * calculator.el (calculator-funcall): Fix typo in last change.
10988         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10990         * emacs-lisp/package.el (package-activate-1): Don't let a missing
10991         <pkg>-autoloads.el file stop us.
10993         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10994         warnings, and factor out common code.
10996 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
10998         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10999         two-character operators and whether the character preceding them
11000         changes their meaning (Bug#15208).
11002 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11004         Format code sent to Python shell for robustness.
11005         * progmodes/python.el (python-shell-buffer-substring):
11006         New function.
11007         (python-shell-send-region, python-shell-send-buffer): Use it.
11009 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
11011         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11012         * net/tramp.el (tramp-user-error): ... here.
11013         (tramp-find-method, tramp-check-proper-host)
11014         (tramp-dissect-file-name, tramp-debug-message)
11015         (tramp-handle-shell-command):
11016         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11017         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11019         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11021 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
11023         * avoid.el (mouse-avoidance-point-position)
11024         (mouse-avoidance-too-close-p): Handle case where posn-at-point
11025         returns nil.
11027 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11029         * progmodes/python.el (python-shell-completion-get-completions):
11030         Drop use of deleted `comint-last-prompt-overlay'.
11031         (python-nav-if-name-main): New command.
11033 2013-09-01  Glenn Morris  <rgm@gnu.org>
11035         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11036         Avoid leading space in $wins.  Otherwise the sed command used by
11037         eg compile-main ends up containing "/*.el".  (Bug#15170)
11039         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
11041 2013-08-30  Glenn Morris  <rgm@gnu.org>
11043         * emacs-lisp/bytecomp.el (byte-recompile-directory):
11044         Fix is-this-a-directory logic.  (Bug#15220)
11046 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11048         * textmodes/css-mode.el: Use SMIE.
11049         (css-smie-grammar): New var.
11050         (css-smie--forward-token, css-smie--backward-token)
11051         (css-smie-rules): New functions.
11052         (css-mode): Use them.
11053         (css-navigation-syntax-table): Remove var.
11054         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11055         (css-indent-calculate, css-indent-line): Remove functions.
11057         Misc changes to reduce use of `(lambda...); and other cleanups.
11058         * cus-edit.el: Use lexical-binding.
11059         (customize-push-and-save, customize-apropos)
11060         (custom-buffer-create-internal): Use closures.
11061         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11062         * progmodes/ada-xref.el: Use setq.
11063         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11064         * dframe.el: Use lexical-binding.
11065         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
11066         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11067         * descr-text.el: Use lexical-binding.
11068         (describe-text-widget, describe-text-sexp, describe-property-list):
11069         Use closures.
11070         * comint.el (comint-history-isearch-push-state): Use a closure.
11071         * calculator.el: Use lexical-binding.
11072         (calculator-number-to-string): Make it work with lexical-binding.
11073         (calculator-funcall): Same and use cl-letf.
11075         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11076         (lisp--company-doc-string, lisp--company-location): New functions.
11077         (lisp-completion-at-point): Use them to improve Company support.
11079         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11080         params of lambda expressions.
11081         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11082         (ruby-smie--opening-pipe-p): New function.
11083         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11084         symbols and matched |...| for formal params.
11085         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11086         from being treated as hanging.  Handle "rescue".
11088 2013-08-29  Glenn Morris  <rgm@gnu.org>
11090         * progmodes/cc-engine.el (c-pull-open-brace):
11091         Move definition before use.
11093 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11095         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11096         are immutable.  Don't use `unsafe' any more.
11097         (cl--defsubst-expand): Don't substitute at the same time as keeping
11098         a residual unused let-binding.  Don't use `unsafe' any more.
11100 2013-08-29  Glenn Morris  <rgm@gnu.org>
11102         * calendar/cal-china.el (calendar-chinese-year-cache):
11103         Recenter on 2015.
11105         * nxml/nxml-util.el (nxml-debug-clear-inside):
11106         Use cl-loop rather than loop.
11108         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11110         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11112 2013-08-28  Glenn Morris  <rgm@gnu.org>
11114         * progmodes/antlr-mode.el: No need to require cc-mode twice.
11116         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11118         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11120 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11122         * simple.el (repeat-complex-command--called-interactively-skip):
11123         New function.
11124         (repeat-complex-command): Use it (bug#14136).
11126         * progmodes/cc-mode.el: Minor cleanup of var declarations.
11127         (c-define-abbrev-table): Add `doc' argument.
11128         (c-mode-abbrev-table, c++-mode-abbrev-table)
11129         (objc-mode-abbrev-table, java-mode-abbrev-table)
11130         (idl-mode-abbrev-table, pike-mode-abbrev-table)
11131         (awk-mode-abbrev-table): Use it.
11132         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11133         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11134         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11135         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11136         Move initialization into the declaration; and remove any
11137         autoload cookie.
11139         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11140         and dynamic let binding.
11142         * vc/smerge-mode.el: Remove redundant :group args.
11144         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11145         to load-path.
11147 2013-08-28  Juri Linkov  <juri@jurta.org>
11149         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11150         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11151         (isearch-other-meta-char): Handle an undefined shifted printing
11152         character by downshifting it.  (Bug#15200)
11154 2013-08-28  Juri Linkov  <juri@jurta.org>
11156         * isearch.el (isearch-search): Change regexp error message for
11157         non-regexp searches.  (Bug#15166)
11159 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
11161         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11162         for portability to hosts where /bin/sh has problems.
11164 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11166         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11168 2013-08-27  Juri Linkov  <juri@jurta.org>
11170         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11171         in the keyboard macro.  (Bug#15126)
11173 2013-08-27  Juri Linkov  <juri@jurta.org>
11175         * isearch.el (isearch-quote-char): Comment out converting unibyte
11176         to multibyte, thus syncing with its `quoted-insert' counterpart.
11177         (Bug#15166)
11179 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
11181         * window.el (display-buffer-use-some-window): Add missing
11182         argument in call of get-largest-window (Bug#15185).
11183         Reported by Stephen Leake.
11185 2013-08-27  Glenn Morris  <rgm@gnu.org>
11187         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11189 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11191         * progmodes/python.el (python-font-lock-keywords): Don't return nil
11192         from a matcher-function unless there's no more matches (bug#15161).
11194 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11196         * minibuffer.el: Revert change from 2013-08-20.
11198         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11199         with text property `tramp-default', if appropriate.
11200         (tramp-check-proper-host): New defun.
11201         (tramp-dissect-file-name): Do not check hostname.  Revert change
11202         of 2013-03-18.
11203         (tramp-backtrace): Make VEC-OR-PROC optional.
11205         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11206         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11207         * net/tramp-sh.el (tramp-maybe-open-connection):
11208         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11209         Apply `tramp-check-proper-host'.
11211 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
11213         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11214         lambda expression in order to have `describe-variable' display it.
11216 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11218         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11219         BUF can be optional.  (Bug#15186)
11221 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
11223         * progmodes/flymake.el (flymake-get-real-file-name-function):
11224         Fix broken customization.  (Bug#15184)
11226 2013-08-25  Alan Mackenzie  <acm@muc.de>
11228         Improve indentation of bracelists defined by macros (without "=").
11230         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11231         expansion begins with "{", regard it as bracelist when it doesn't
11232         contain a ";".
11234         Parse C++ inher-intro when there's a template split over 2 lines.
11236         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11237         rigorously the search for "class" etc. followed by ":".
11239         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11240         random languages a regexp which never matches rather than nil.
11242         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11244         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11245         (c-awk-regexp-one-line-possibly-open-char-list-re)
11246         (c-awk-one-line-possibly-open-regexp-re)
11247         (c-awk-one-line-non-syn-ws*-re): Remove.
11248         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11249         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11250         (c-awk-space*-unclosed-regexp-/-re): New constants.
11251         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11252         aren't regexp delimiters.
11254         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11255         handling for a rare situation in AWK Mode involving unterminated
11256         strings/regexps.
11258 2013-08-23  Glenn Morris  <rgm@gnu.org>
11260         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11262         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11264         * files.el (create-file-buffer): If the result would begin with
11265         spaces, prepend a "|" instead of removing them.  (Bug#15162)
11267 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11269         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11270         text-properties (bug#15155).
11272         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11273         exist any more.
11274         (calc-keypad-redraw): Remove unused var `pad'.
11275         (calc-keypad-press): Remove unused var `menu'.
11277 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
11279         * window.el (display-buffer-pop-up-frame):
11280         Call pop-up-frame-function with BUFFER current so `make-frame' will
11281         use it as the new frame's buffer (Bug#15133).
11283 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11285         * calendar/timeclock.el: Minor cleanups.
11286         (timeclock-ask-before-exiting, timeclock-use-display-time):
11287         Use `symbol'.
11288         (timeclock-modeline-display): Define as alias before the
11289         actual definition.
11290         (timeclock-mode-line-display): Use define-minor-mode.
11291         (timeclock-day-list-template): Make it a function, add an argument.
11292         (timeclock-day-list-required, timeclock-day-list-length)
11293         (timeclock-day-list-debt, timeclock-day-list-span)
11294         (timeclock-day-list-break): Adjust calls accordingly.
11296 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11298         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11299         Use read--expression so that completion works again.
11301 2013-08-21  Sam Steingold  <sds@gnu.org>
11303         Add rudimentary inferior shell interaction
11304         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11305         (sh-set-shell): Reset it.
11306         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11307         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11309 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11311         * align.el: Use lexical-binding.
11312         (align-region): Simplify accordingly.
11314 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
11316         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11318         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11319         `non-essential' up.
11321 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
11323         * net/tramp.el:
11324         * net/tramp-adb.el:
11325         * net/tramp-cmds.el:
11326         * net/tramp-ftp.el:
11327         * net/tramp-gvfs.el:
11328         * net/tramp-gw.el:
11329         * net/tramp-sh.el: Don't wrap external variable declarations by
11330         `eval-when-compile'.
11332 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11334         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11335         now that Emacs supports ImageMagick animations.
11337 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
11339         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11340         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11342 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
11344         * window.el (mouse-autoselect-window-select): Do autoselect when
11345         mouse pointer is on margin.
11347 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
11349         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
11351 2013-08-16  Glenn Morris  <rgm@gnu.org>
11353         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11354         Handle "Remote Directory" response of some clients.  (Bug#15058)
11356         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11357         Tweak warning.  (Bug#14926)
11359         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11360         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
11362         * image-mode.el (image-mode-map): Add menu items to reverse,
11363         increase, decrease, reset animation speed.
11364         (image--set-speed, image-increase-speed, image-decrease-speed)
11365         (image-reverse-speed, image-reset-speed): New functions.
11366         (image-mode-map): Add bindings for speed commands.
11368         * image.el (image-animate-get-speed, image-animate-set-speed):
11369         New functions.
11370         (image-animate-timeout): Respect image :speed property.
11372 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11374         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11375         previous line (bug#15101).
11376         (debugger-eval-expression, debugger-record-expression):
11377         Use read--expression (bug#15102).
11379 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
11381         Remove byte compiler warnings, visible when compiling with
11382         `byte-compile-force-lexical-warnings' set to t.
11384         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11385         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11386         (tramp-handle-unhandled-file-name-directory)
11387         (tramp-handle-file-notify-add-watch, tramp-action-login)
11388         (tramp-action-succeed, tramp-action-permission-denied)
11389         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11390         arguments with "_".
11392         * net/tramp-adb.el (tramp-adb-parse-device-names)
11393         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11394         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11395         (tramp-adb-handle-file-truename): Remove unused arguments.
11397         * net/tramp-cache.el (tramp-flush-directory-property)
11398         (tramp-flush-connection-property, tramp-list-connections)
11399         (tramp-parse-connection-properties): Prefix unused arguments with "_".
11401         * net/tramp-compat.el (tramp-compat-make-temp-file):
11402         Rename FILENAME to F.
11404         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11405         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11406         (tramp-zeroconf-parse-workstation-device-names)
11407         (tramp-zeroconf-parse-webdav-device-names)
11408         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11410         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11411         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11413         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11414         arguments.
11415         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11416         (tramp-sh-handle-insert-file-contents-literally)
11417         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11418         with "_".
11419         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11420         Remove unused variables.
11422         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11423         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11424         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11426         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11427         Make them a defconst.
11428         (tramp-uuencode-region): Remove unused variable.
11430 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
11432         * frameset.el (frameset--prop-setter): New function.
11433         (frameset-prop): Add gv-setter declaration.
11434         (frameset-filter-minibuffer): Deal with the case that the minibuffer
11435         parameter was already set in FILTERED.  Doc fix.
11436         (frameset--record-minibuffer-relationships): Allow saving a
11437         minibufferless frame without its corresponding minibuffer frame.
11438         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11439         frame, if the frame id matches.
11440         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11441         frames before orphaned ones.
11442         (frameset-restore): Warn about orphaned windows, instead of error out.
11444 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
11446         * window.el (window-make-atom): Don't overwrite parameter
11447         already present.
11448         (display-buffer-in-atom-window): Handle special case where we
11449         split an already atomic window.
11450         (window--major-non-side-window, display-buffer-in-side-window)
11451         (window--side-check): Ignore minibuffer window when walking
11452         window tree.
11453         (window-deletable-p): Return 'frame only if no other frame uses
11454         our minibuffer window.
11455         (record-window-buffer): Run buffer-list-update-hook.
11456         (split-window): Make sure window--check-frame won't destroy an
11457         existing atomic window in case the new window gets nested
11458         inside.
11459         (display-buffer-at-bottom): Ignore minibuffer window when
11460         walking window tree.  Don't split a side window.
11461         (pop-to-buffer): Don't set-buffer here, the select-window call
11462         should do that.
11463         (mouse-autoselect-window-select): Autoselect only if we are in the
11464         text portion of the window.
11466 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11468         * net/shr.el (shr-parse-image-data): New function to grab both the
11469         data itself and the Content-Type.
11470         (shr-put-image): Use it.
11472         * net/eww.el (eww-display-image): Ditto.
11474         * image.el (image-content-type-suffixes): New variable.
11476 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11478         * progmodes/python.el (python-imenu--build-tree)
11479         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11481 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
11483         * simple.el (backward-word): Mention the optional argument.
11485 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11487         * frameset.el (frameset--make): Rename constructor from make-frameset.
11488         (frameset-p, frameset-valid-p): Don't autoload.
11489         (frameset-valid-p): Use normal accessors.
11491 2013-08-13  Glenn Morris  <rgm@gnu.org>
11493         * progmodes/compile.el (compile-command): Tweak example in doc.
11494         * obsolete/scribe.el (scribe-mode):
11495         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
11497         * mail/feedmail.el (feedmail-confirm-outgoing)
11498         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
11500         * cus-start.el (truncate-partial-width-windows): Fix type.
11502         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
11504         * net/shr.el (shr-table-horizontal-line): Fix custom type.
11506 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11508         * emacs-lisp/timer.el (timer--time-setter): New function.
11509         (timer--time): Use it as gv-setter.
11511         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11512         setter is not a symbol.
11514 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
11516         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
11517         if sending fails.  This makes debugging easier.
11519 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
11521         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
11522         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
11523         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
11525 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
11527         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
11529 2013-08-12  Glenn Morris  <rgm@gnu.org>
11531         * format.el (format-annotate-function):
11532         Handle read-only text properties in the source.  (Bug#14887)
11534 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11536         * net/eww.el (eww-display-html): Ignore coding system errors.
11537         One web site uses "utf-8lias" as the coding system.
11539 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
11541         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
11543 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
11545         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
11546         (tutorial--detailed-help): Remove unused local variables.
11547         (tutorial--save-tutorial-to): Use ignore-errors.
11548         (help-with-tutorial): Use looking-at-p.
11550         * view.el (view-buffer-other-window, view-buffer-other-frame):
11551         Mark unused arguments.
11553         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
11554         (woman-select-symbol-fonts, woman, woman-find-file)
11555         (woman-insert-file-contents, woman-non-underline-faces):
11556         Use string-match-p.
11557         (woman1-unquote): Move declaration.
11559         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
11560         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
11561         argument.  Remove unused local variable.
11562         (xml-parse-elem-type): Use string-match-p.
11563         (xml-substitute-numeric-entities): Use ignore-errors.
11565         * calculator.el (calculator): Mark unused argument.
11566         (calculator-paste, calculator-quit, calculator-integer-p):
11567         Use ignore-errors.
11568         (calculator-string-to-number, calculator-decimal, calculator-exp)
11569         (calculator-op-or-exp): Use string-match-p.
11571         * dired.el (dired-buffer-more-recently-used-p): Declare.
11572         (dired-insert-set-properties, dired-insert-old-subdirs):
11573         Use ignore-errors.
11575         * dired-aux.el (dired-compress): Use ignore-errors.
11576         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
11577         (dired-do-async-shell-command, dired-do-shell-command)
11578         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
11579         (dired-insert-subdir-validate): Use string-match-p.
11580         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
11581         (dired-add-entry): Use string-match-p, looking-at-p.
11582         (dired-insert-subdir-newpos): Remove unused local variable.
11584         * filenotify.el (file-notify-callback): Remove unused local variable.
11586         * filesets.el (filesets-error): Mark unused argument.
11587         (filesets-which-command-p, filesets-filter-dir-names)
11588         (filesets-directory-files, filesets-get-external-viewer)
11589         (filesets-ingroup-get-data): Use string-match-p.
11591         * find-file.el (ff-other-file-name, ff-other-file-name)
11592         (ff-find-the-other-file, ff-cc-hh-converter):
11593         Remove unused local variables.
11594         (ff-get-file-name): Use string-match-p.
11595         (ff-all-dirs-under): Use ignore-errors.
11597         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
11598         (follow-select-if-visible): Remove unused local variable.
11600         * forms.el (read-file-filter): Move declaration.
11601         (forms--make-format, forms--make-parser, forms-insert-record):
11602         Quote function with #'.
11603         (forms--update): Use string-match-p.  Quote function with #'.
11605         * help-mode.el (help-dir-local-var-def): Mark unused argument.
11606         (help-make-xrefs): Use looking-at-p.
11607         (help-xref-on-pp): Use looking-at-p, ignore-errors.
11609         * ibuffer.el (ibuffer-ext-visible-p): Declare.
11610         (ibuffer-confirm-operation-on): Use string-match-p.
11612         * msb.el (msb-item-handler, msb-dired-item-handler):
11613         Mark unused arguments.
11615         * ses.el (ses-decode-cell-symbol)
11616         (ses-kill-override): Remove unused local variable.
11617         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11618         (ses-load): Use ignore-errors, looking-at-p.
11619         (ses-jump-safe): Use ignore-errors.
11620         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11622         * tabify.el (untabify, tabify): Mark unused arguments.
11624         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11625         Mark unused argument.
11626         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11627         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11629         * emacs-lisp/timer.el (timer--time): Define setter with
11630         gv-define-setter to avoid deprecation warning.
11632         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11633         (*record-cmpl-statistics-p*): Remove (was commented out).
11634         (cmpl-statistics-block): Remove (body was commented out).
11635         All callers changed.
11636         (add-completions-from-buffer, load-completions-from-file):
11637         Remove unused variables.
11639 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11641         * filecache.el (file-cache-delete-file-list):
11642         Print message only when told so.
11643         (file-cache-files-matching): Use #' in mapconcat argument.
11645         * ffap.el (ffap-url-at-point): Fix reference to variable
11646         thing-at-point-default-mail-uri-scheme.
11648 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11650         * subr.el (define-error): New function.
11651         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
11652         error-file-not-found and define with define-error.
11653         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
11654         and define with define-error.
11655         * userlock.el (file-locked, file-supersession):
11656         * simple.el (mark-inactive):
11657         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
11658         * progmodes/ada-mode.el (ada-mode-errors):
11659         * play/life.el (life-extinct):
11660         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
11661         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
11662         * nxml/rng-util.el (rng-error):
11663         * nxml/rng-uri.el (rng-uri-error):
11664         * nxml/rng-match.el (rng-compile-error):
11665         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
11666         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
11667         * nxml/nxml-rap.el (nxml-scan-error):
11668         * nxml/nxml-outln.el (nxml-outline-error):
11669         * net/soap-client.el (soap-error):
11670         * net/gnutls.el (gnutls-error):
11671         * net/ange-ftp.el (ftp-error):
11672         * mpc.el (mpc-proc-error):
11673         * json.el (json-error, json-readtable-error, json-unknown-keyword)
11674         (json-number-format, json-string-escape, json-string-format)
11675         (json-key-format, json-object-format):
11676         * jka-compr.el (compression-error):
11677         * international/quail.el (quail-error):
11678         * international/kkc.el (kkc-error):
11679         * emacs-lisp/ert.el (ert-test-failed):
11680         * calc/calc.el (calc-error, inexact-result, math-overflow)
11681         (math-underflow):
11682         * bookmark.el (bookmark-error-no-filename):
11683         * epg.el (epg-error): Define with define-error.
11685         * time.el (display-time-event-handler)
11686         (display-time-next-load-average): Don't call sit-for since it seems
11687         unnecessary (bug#15045).
11689         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
11690         Use #' instead of ' to quote functions.
11691         (checkdoc-output-mode): Use setq-local.
11692         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
11693         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
11694         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
11695         (checkdoc-ispell, checkdoc-ispell-current-buffer)
11696         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
11697         (checkdoc-ispell-message-text, checkdoc-ispell-start)
11698         (checkdoc-ispell-continue, checkdoc-ispell-comments)
11699         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
11701         * ido.el (ido-completion-help): Fix up compiler warning.
11703 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11705         * frameset.el (frameset-p): Add autoload cookie.
11706         (frameset--jump-to-register): New function, based on code moved from
11707         register.el.
11708         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
11710         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
11711         (frameset-restore, frameset-save, frameset-session-filter-alist):
11712         Remove declarations.
11713         (register-alist): Doc fix.
11714         (frameset-to-register): Move to frameset.el.
11715         (jump-to-register, describe-register-1): Remove frameset-specific code.
11717 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11719         * allout-widgets.el (allout-widgets-pre-command-business)
11720         (allout-widgets-post-command-business)
11721         (allout-widgets-after-change-handler)
11722         (allout-decorate-item-and-context, allout-set-boundary-marker)
11723         (allout-body-modification-handler)
11724         (allout-graphics-modification-handler): Mark ignored arguments.
11725         (allout-widgets-post-command-business)
11726         (allout-widgets-exposure-change-processor)
11727         (allout-widgets-exposure-undo-processor)
11728         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
11729         (allout-parse-item-at-point, allout-decorate-item-guides)
11730         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
11731         * allout.el (epa-passphrase-callback-function): Declare.
11732         (allout-overlay-insert-in-front-handler)
11733         (allout-overlay-interior-modification-handler)
11734         (allout-isearch-end-handler, allout-chart-siblings)
11735         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
11736         (allout-yank-processing, allout-process-exposed)
11737         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
11738         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
11739         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
11740         (lisp-indent-defform): Mark ignored arguments.
11741         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
11742         (calculate-lisp-indent): Remove unused variables.
11743         * international/characters.el (indian-2-column, arabic-2-column)
11744         (tibetan): Mark ignored arguments.
11745         (use-cjk-char-width-table): Mark ignored arguments.
11746         Remove unused variables.
11747         * international/fontset.el (build-default-fontset-data)
11748         (x-compose-font-name, create-fontset-from-fontset-spec):
11749         Mark ignored arguments.
11750         (fontset-plain-name): Remove unused variables.
11751         * international/mule.el (charset-id, charset-bytes, generic-char-p)
11752         (keyboard-coding-system): Mark ignored arguments.
11753         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
11754         * help.el (resize-temp-buffer-window):
11755         * window.el (display-buffer-in-major-side-window)
11756         (display-buffer-in-side-window, display-buffer-in-previous-window):
11757         Remove unused variables.
11758         * isearch.el (isearch-forward-symbol):
11759         * version.el (emacs-bzr-version-bzr):
11760         * international/mule-cmds.el (current-language-environment):
11761         * term/common-win.el (x-handle-iconic, x-handle-geometry)
11762         (x-handle-display):
11763         * term/pc-win.el (x-list-fonts, x-display-planes)
11764         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
11765         (x-server-version, x-display-screens, x-display-mm-height)
11766         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
11767         (x-selection-owner-p, x-own-selection-internal)
11768         (x-disown-selection-internal, x-get-selection-internal)
11769         (msdos-initialize-window-system):
11770         * term/tty-colors.el (tty-color-alist, tty-color-clear):
11771         * term/x-win.el (x-handle-no-bitmap-icon):
11772         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
11773         (vc-default-find-file-hook, vc-default-extra-menu):
11774         Mark ignored arguments.
11776 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11778         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
11779         break-condition in the context of the debugged code (bug#12685).
11781 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
11783         * comint.el:
11784         Do not use an overlay to highlight the last prompt.  (Bug#14744)
11785         (comint-mode): Make comint-last-prompt buffer local.
11786         (comint-last-prompt): New variable.
11787         (comint-last-prompt-overlay): Remove.  Superseded by
11788         comint-last-prompt.
11789         (comint-snapshot-last-prompt, comint-output-filter):
11790         Use comint-last-prompt.
11792 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11794         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
11795         (frameset-save): Check validity of the resulting frameset.
11797 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
11799         * ido.el (ido-record-command): Add doc string.
11801 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11803         * frameset.el (frameset): Do not disable creation of the default
11804         frameset-p predicate.  Doc fix.
11805         (frameset-valid-p): New function, copied from the old predicate-p.
11806         Add additional checks.
11807         (frameset-restore): Check with frameset-valid-p.
11808         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
11809         (frameset-name, frameset-description, frameset-properties)
11810         (frameset-states): Add docstring.
11811         (frameset-session-filter-alist, frameset-persistent-filter-alist)
11812         (frameset-filter-alist): Doc fixes.
11814 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11816         * frameset.el (frameset-p, frameset-prop): Doc fixes.
11818 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11820         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
11821         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
11822         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
11823         (byte-compile-normal-call): Remove obsolescence check.
11825 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
11827         * frameset.el (frameset-restore): Doc fix.
11829         * register.el (frameset-frame-id, frameset-frame-with-id)
11830         (frameset-p, frameset-restore, frameset-save): Declare.
11831         (register-alist): Document framesets.
11832         (frameset-session-filter-alist): Declare.
11833         (frameset-to-register): New function.
11834         (jump-to-register): Implement jumping to framesets.  Doc fix.
11835         (describe-register-1): Describe framesets.
11837         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
11839 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
11841         * desktop.el (desktop-save-frameset): Use new frameset-save args.
11842         Use lexical-binding.
11844         * frameset.el (frameset): Use type vector, not list (incompatible
11845         change).  Do not declare a new constructor, use the default one.
11846         Upgrade suggested properties `app', `name' and `desc' to slots `app',
11847         `name' and `description', respectively, and add read-only slot
11848         `timestamp'.  Doc fixes.
11849         (frameset-copy, frameset-persistent-filter-alist)
11850         (frameset-filter-alist, frameset-switch-to-gui-p)
11851         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11852         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11853         (frameset-filter-iconified, frameset-keep-original-display-p):
11854         Doc fixes.
11855         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11856         Rename from frameset-filter-(save|restore)-param.  All callers changed.
11857         Doc fix.
11858         (frameset-p): Adapt to change to vector and be more thorough.
11859         Change arg name to OBJECT.  Doc fix.
11860         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
11861         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11862         All callers changed.
11863         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11864         All callers changed.
11865         (frameset--record-minibuffer-relationships): Rename from
11866         frameset--process-minibuffer-frames.  All callers changed.
11867         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11868         Use new default constructor (again).  Doc fix.
11869         (frameset--find-frame-if): Rename from `frameset--find-frame'.
11870         All callers changed.
11871         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11872         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11873         Doc fix.
11874         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11875         PARAMETERS and WINDOW-STATE, respectively.
11876         (frameset-restore): Add new keyword argument PREDICATE.
11877         Reset frameset--target-display to nil.  Doc fix.
11879 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11881         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11882         (bat-mode): Use it.
11883         (bat-mode-syntax-table): Mark \n as end-of-comment.
11884         (bat-font-lock-keywords): Remove comment rule.
11886         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
11887         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
11889         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11890         (byte-compile-callargs-warn): Use `push'.
11891         (byte-compile-arglist-warn): Ignore higher-order "calls".
11892         (byte-compile-file-form-autoload): Use `pcase'.
11893         (byte-compile-function-form): If quoting a symbol, check that it exists.
11895 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
11897         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11898         and add a few popular commands found in batch files.
11899         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11900         (dos-mode): Doc fixes.
11902 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11904         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11905         (dos-mode): Use setq-local.  Add space after "rem".
11906         (dos-mode-syntax-table): Don't use "w" for symbol chars.
11907         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11909 2013-08-07  Arni Magnusson  <arnima@hafro.is>
11911         * progmodes/dos.el: New file.
11912         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11913         dos-mode.
11915 2013-08-06  Glenn Morris  <rgm@gnu.org>
11917         * calendar/calendar.el: Add new faces, and day-header-array.
11918         (calendar-weekday-header, calendar-weekend-header)
11919         (calendar-month-header): New faces.
11920         (calendar-day-header-construct): New function.
11921         (calendar-day-header-width): Also :set calendar-day-header-array.
11922         (calendar-american-month-header, calendar-european-month-header)
11923         (calendar-iso-month-header): Use calendar- faces.
11924         (calendar-generate-month):
11925         Use calendar-day-header-array for day headers; apply faces to them.
11926         (calendar-mode): Check calendar-font-lock-keywords non-nil.
11927         (calendar-abbrev-construct): Add optional maxlen argument.
11928         (calendar-day-name-array): Doc fix.
11929         (calendar-day-name-array, calendar-abbrev-length)
11930         (calendar-day-abbrev-array):
11931         Also :set calendar-day-header-array, and maybe redraw.
11932         (calendar-day-header-array): New option.  (Bug#15007)
11933         (calendar-font-lock-keywords): Set to nil and make obsolete.
11934         (calendar-day-name): Add option to use header array.
11936 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11938         * net/shr.el (shr-render-td): Remove debugging.
11939         (shr-render-td): Make width computation consistent by defaulting
11940         all zero-width columns to 10 characters.  This may not be optimal,
11941         but it's at least consistent.
11942         (shr-make-table-1): Redo last change to fix the real problem in
11943         colspan handling.
11945 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11947         * files.el (cache-long-line-scans):
11948         Make obsolete alias to `cache-long-scans'.
11950 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11952         * frameset.el (frameset, frameset-filter-alist)
11953         (frameset-filter-params, frameset-save, frameset--reuse-frame)
11954         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11955         (frameset-compute-pos): Rename from frameset--compute-pos,
11956         and add docstring.
11957         (frameset-move-onscreen): Use frameset-compute-pos.
11958         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11960         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11961         Fix typos in docstrings.
11963 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
11965         * frame.el (get-other-frame): Tiny cleanup.
11967 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
11969         * vc/vc.el (vc-default-ignore-completion-table):
11970         Silence byte-compiler warning.
11972         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11973         slot, which can indeed be nil.
11974         (frameset-live-filter-alist, frameset-persistent-filter-alist):
11975         Move entry for `left' from persistent to live filter alist.
11976         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11977         Doc fixes.
11978         (frameset-filter-params): When restoring a frame, copy items added to
11979         `filtered', to avoid unwittingly modifying the original parameters.
11980         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
11981         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11983         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11984         to use looking-at-p instead of looking-at.  (Bug#15028)
11986 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11988         Revert introduction of isearch-filter-predicates (bug#14714).
11989         Rely on add-function instead.
11990         * isearch.el (isearch-filter-predicates): Rename it back to
11991         isearch-filter-predicate.
11992         (isearch-message-prefix): Use advice-function-mapc and advice
11993         properties to get the isearch-message-prefix.
11994         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11995         instead of run-hook-with-args-until-failure.
11996         (isearch-filter-visible): Not obsolete any more.
11997         * loadup.el: Preload nadvice.
11998         * replace.el (perform-replace): Revert to funcall
11999         instead of run-hook-with-args-until-failure.
12000         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12001         * dired-aux.el (dired-isearch-filenames-mode): Rename from
12002         dired-isearch-filenames-toggle; make it into a proper minor mode.
12003         Use add/remove-function.
12004         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12005         Call the minor-mode rather than add/remove-hook.
12006         (dired-isearch-filter-filenames):
12007         Remove isearch-message-prefix property.
12008         * info.el (Info--search-loop): New function, extracted from Info-search.
12009         Funcall isearch-filter-predicate instead of
12010         run-hook-with-args-until-failure isearch-filter-predicates.
12011         (Info-search): Use it.
12012         (Info-mode): Use isearch-filter-predicate instead of
12013         isearch-filter-predicates.
12015 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12017         Do not call to `selected-window' where it is assumed by default.
12018         Affected functions are `window-minibuffer-p', `window-dedicated-p',
12019         `window-hscroll', `window-width', `window-height', `window-buffer',
12020         `window-frame', `window-start', `window-point', `next-window'
12021         and `window-display-table'.
12022         * abbrev.el (abbrev--default-expand):
12023         * bs.el (bs--show-with-configuration):
12024         * buff-menu.el (Buffer-menu-mouse-select):
12025         * calc/calc.el (calc):
12026         * calendar/calendar.el (calendar-generate-window):
12027         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12028         (diary-make-entry):
12029         * comint.el (send-invisible, comint-dynamic-complete-filename)
12030         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12031         * completion.el (complete):
12032         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12033         * disp-table.el (describe-current-display-table):
12034         * doc-view.el (doc-view-insert-image):
12035         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12036         * ehelp.el (with-electric-help):
12037         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12038         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12039         * emacs-lisp/helper.el (Helper-help-scroller):
12040         * emulation/cua-base.el (cua--post-command-handler-1):
12041         * eshell/esh-mode.el (eshell-output-filter):
12042         * ffap.el (ffap-gnus-wrapper):
12043         * help-macro.el (make-help-screen):
12044         * hilit-chg.el (highlight-compare-buffers):
12045         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12046         * hl-line.el (global-hl-line-highlight):
12047         * icomplete.el (icomplete-simple-completing-p):
12048         * isearch.el (isearch-done):
12049         * jit-lock.el (jit-lock-stealth-fontify):
12050         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12051         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12052         * mpc.el (mpc-tagbrowser, mpc):
12053         * net/rcirc.el (rcirc-any-buffer):
12054         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12055         * play/landmark.el (landmark-max-width, landmark-max-height):
12056         * play/zone.el (zone):
12057         * progmodes/compile.el (compilation-goto-locus):
12058         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12059         * progmodes/etags.el (find-tag-other-window):
12060         * progmodes/fortran.el (fortran-column-ruler):
12061         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12062         * progmodes/verilog-mode.el (verilog-point-text):
12063         * reposition.el (reposition-window):
12064         * rot13.el (toggle-rot13-mode):
12065         * server.el (server-switch-buffer):
12066         * shell.el (shell-dynamic-complete-command)
12067         (shell-dynamic-complete-environment-variable):
12068         * simple.el (insert-buffer, set-selective-display)
12069         (delete-completion-window):
12070         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12071         (speedbar-recenter):
12072         * startup.el (fancy-splash-head):
12073         * textmodes/ispell.el (ispell-command-loop):
12074         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12075         * tutorial.el (help-with-tutorial):
12076         * vc/add-log.el (add-change-log-entry):
12077         * vc/compare-w.el (compare-windows):
12078         * vc/ediff-help.el (ediff-indent-help-message):
12079         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12080         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12081         (ediff-setup-control-frame):
12082         * vc/emerge.el (emerge-position-region):
12083         * vc/pcvs-util.el (cvs-bury-buffer):
12084         * window.el (walk-windows, mouse-autoselect-window-select):
12085         * winner.el (winner-set-conf, winner-undo): Related users changed.
12087 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12089         * frameset.el (frameset--set-id): Doc fix.
12090         (frameset-frame-id, frameset-frame-id-equal-p)
12091         (frameset-locate-frame-id): New functions.
12092         (frameset--process-minibuffer-frames, frameset--reuse-frame)
12093         (frameset-restore): Use them.
12095 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12097         Do not call to `selected-frame' where it is assumed by default.
12098         Affected functions are `raise-frame', `redraw-frame',
12099         `frame-first-window', `frame-terminal' and `delete-frame'.
12100         * calendar/appt.el (appt-disp-window):
12101         * epg.el (epg-wait-for-completion):
12102         * follow.el (follow-delete-other-windows-and-split)
12103         (follow-avoid-tail-recenter):
12104         * international/mule.el (set-terminal-coding-system):
12105         * mail/rmail.el (rmail-mail-return):
12106         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12107         * progmodes/f90.el (f90-add-imenu-menu):
12108         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12109         * server.el (server-switch-buffer):
12110         * simple.el (delete-completion-window):
12111         * talk.el (talk):
12112         * term/xterm.el (terminal-init-xterm-modify-other-keys)
12113         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12114         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12115         * vc/ediff.el (ediff-documentation): Related users changed.
12116         * frame.el (selected-terminal): Remove the leftover.
12118 2013-08-05  Glenn Morris  <rgm@gnu.org>
12120         * calendar/calendar.el (calendar-generate-month):
12121         Fix for calendar-column-width != 1 + calendar-day-digit-width.
12122         (calendar-generate-month, calendar-font-lock-keywords):
12123         Fix for calendar-day-header-width > length of any day name.
12125 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12127         * desktop.el (desktop-clear): Use new name of sort predicate.
12129         * frameset.el (frameset): Add docstring.  Move :version property to its
12130         own `version' slot.
12131         (frameset-copy): Rename from copy-frameset.
12132         (frameset-p): Check more thoroughly.
12133         (frameset-prop): Do not check for :version, which is no longer a prop.
12134         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12135         Use new :never value instead of t.
12136         (frameset-filter-alist): Expand and clarify docstring.
12137         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12138         (frameset-filter-minibuffer, frameset-filter-save-param)
12139         (frameset-filter-restore-param, frameset-filter-iconified):
12140         Add pointer to docstring of frameset-filter-alist.
12141         (frameset-filter-params): Rename filter values to be more meaningful:
12142         :never instead of t, and reverse the meanings of :save and :restore.
12143         (frameset--process-minibuffer-frames): Clarify error message.
12144         (frameset-save): Avoid unnecessary and confusing call to framep.
12145         Use new BOA constructor for framesets.
12146         (frameset--reuse-list): Doc fix.
12147         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
12148         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12149         (frameset-minibufferless-first-p): Doc fix.
12150         Rename from frameset-sort-frames-for-deletion.
12151         (frameset-restore): Doc fixes.  Use new function names.
12152         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12154 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12156         * desktop.el (desktop-restore-forces-onscreen)
12157         (desktop-restore-reuses-frames): Document :keyword constant values.
12158         (desktop-filter-parameters-alist): Remove, now identical to
12159         frameset-filter-alist.
12160         (desktop--filter-tty*): Remove, moved to frameset.el.
12161         (desktop-save-frameset, desktop-restore-frameset):
12162         Do not pass :filters argument.
12164         * frameset.el (frameset-live-filter-alist)
12165         (frameset-persistent-filter-alist): New variables.
12166         (frameset-filter-alist): Use them.  Add autoload cookie.
12167         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12168         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12169         `frameset--id' (it's supposed to be internal to frameset.el).
12170         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
12171         (frameset--initial-params): New function.
12172         (frameset--get-frame): Use it.  Doc fix.
12173         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12174         Accept :all, not 'all.
12175         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12176         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
12177         with fbound symbols.  Fix frame id matching, and remove matching ids if
12178         the frame being restored is deleted.  Obey :delete.
12180 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12182         * subr.el (macrop): New function.
12183         (text-clone--maintaining): New var.
12184         (text-clone--maintain): Rename from text-clone-maintain.  Use it
12185         instead of inhibit-modification-hooks.
12187         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12188         a proxy, so as handle autoloads and redefinitions of the target.
12189         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12191         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12192         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
12193         (pcase--mutually-exclusive-p): New function.
12194         (pcase--split-consp): Use it.
12195         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
12196         mutually exclusive with the current predicate.
12198         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12199         (edebug-macrop): Remove.  Use `macrop' instead.
12200         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
12201         (ad-macro-p):
12202         * eshell/esh-cmd.el (eshell-macrop):
12203         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
12205 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12207         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12208         (advice-mapc): New function, using it.
12209         (advice-function-member-p): New function.
12210         (advice--normalize): Store the cdr in advice--saved-rewrite since
12211         that's the part that will be changed.
12212         (advice--symbol-function): New function.
12213         (advice-remove): Handle removal before the function is defined.
12214         Adjust to new advice--saved-rewrite.
12215         (advice-member-p): Use advice-function-member-p and
12216         advice--symbol-function.
12218 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12220         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12221         (frameset-filter-minibuffer): Doc fix.
12222         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
12223         (frameset--set-id, frameset--process-minibuffer-frames)
12224         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12225         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12227         * desktop.el (desktop-clear): Only delete frames when called
12228         interactively and desktop-restore-frames is non-nil.  Doc fix.
12229         (desktop-read): Set desktop-saved-frameset to nil.
12231 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
12233         * vc/vc.el (vc-ignore): Rewrite.
12234         (vc-default-ignore-completion-table, vc--read-lines)
12235         (vc--add-line, vc--remove-regexp): New functions.
12237         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12238         (vc-svn-ignore-completion-table): New function.
12240         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12241         (vc-hg-ignore-completion-table)
12242         (vc-hg-find-ignore-file): New functions.
12244         * vc/vc-git.el (vc-git-ignore): Rewrite.
12245         (vc-git-ignore-completion-table)
12246         (vc-git-find-ignore-file): New functions.
12248         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12250         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12251         (vc-bzr-ignore-completion-table)
12252         (vc-bzr-find-ignore-file): New functions.
12254 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
12256         * frameset.el (frameset-prop): New function and setter.
12257         (frameset-save): Do not modify frame list passed by the caller.
12259 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12261         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12263 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12265         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12266         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12268         * custom.el (custom-initialize-default, custom-initialize-set)
12269         (custom-initialize-reset, custom-initialize-changed): Affect the
12270         toplevel-default-value (bug#6275, bug#14586).
12271         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12272         for bug#6275.
12274 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12276         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12277         Add cl-def* expressions.
12279         * frameset.el (frameset-filter-params): Fix order of arguments.
12281 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12283         Move code related to saving frames to frameset.el.
12284         * desktop.el: Require frameset.
12285         (desktop-restore-frames): Doc fix.
12286         (desktop-restore-reuses-frames): Rename from
12287         desktop-restoring-reuses-frames.
12288         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12289         (desktop-clear): Clear frames too.
12290         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12291         (desktop--filter-tty*, desktop-save, desktop-read):
12292         Use frameset functions.
12293         (desktop-before-saving-frames-functions, desktop--filter-*-color)
12294         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12295         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12296         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12297         (desktop--process-minibuffer-frames, desktop-save-frames)
12298         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12299         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12300         (desktop--sort-states, desktop-restoring-frames-p)
12301         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
12302         (desktop-restoring-frameset-p, desktop-restore-frameset)
12303         (desktop--check-dont-save, desktop-save-frameset): New functions.
12304         (desktop--app-id): New constant.
12305         (desktop-first-buffer, desktop-buffer-ok-count)
12306         (desktop-buffer-fail-count): Move before first use.
12307         * frameset.el: New file.
12309 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12311         * files.el: Use lexical-binding.
12312         (dir-locals-read-from-file): Remove unused `err' variable.
12313         (hack-dir-local-variables--warned-coding): New var.
12314         (hack-dir-local-variables): Use it to avoid repeated warnings.
12315         (make-backup-file-name--default-function): New function.
12316         (make-backup-file-name-function): Use it as default.
12317         (buffer-stale--default-function): New function.
12318         (buffer-stale-function): Use it as default.
12319         (revert-buffer-insert-file-contents--default-function): New function.
12320         (revert-buffer-insert-file-contents-function): Use it as default.
12321         (insert-directory): Avoid add-to-list.
12323         * autorevert.el (auto-revert-handler): Simplify.
12324         Use buffer-stale--default-function.
12326 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
12328         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12330         * whitespace.el (whitespace-ensure-local-variables): New function.
12331         (whitespace-cleanup-region): Call it.
12332         (whitespace-turn-on): Call it.
12334 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
12336         Complete file name handlers.
12338         * net/tramp.el (tramp-handle-set-visited-file-modtime)
12339         (tramp-handle-verify-visited-file-modtime)
12340         (tramp-handle-file-notify-rm-watch): New functions.
12341         (tramp-call-process): Do not bind `default-directory'.
12343         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12344         Order alphabetically.
12345         <access-file, add-name-to-file, dired-call-process>:
12346         <dired-compress-file, file-acl, file-notify-rm-watch>:
12347         <file-ownership-preserved-p, file-selinux-context>:
12348         <make-directory-internal, make-symbolic-link, set-file-acl>:
12349         <set-file-selinux-context, set-visited-file-modtime>:
12350         <verify-visited-file-modtime>: Add handler.
12351         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12353         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12354         <file-notify-add-watch, file-notify-rm-watch>:
12355         <set-file-times, set-visited-file-modtime>:
12356         <verify-visited-file-modtime>: Add handler.
12357         (with-tramp-gvfs-error-message)
12358         (tramp-gvfs-handle-set-visited-file-modtime)
12359         (tramp-gvfs-fuse-file-name): Remove.
12360         (tramp-gvfs-handle-file-notify-add-watch)
12361         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12362         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12364         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12365         Order alphabetically.
12366         <file-notify-rm-watch>: Use default Tramp handler.
12367         <executable-find>: Remove private handler.
12368         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12369         `default-directory'.
12370         (tramp-sh-handle-executable-find)
12371         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12372         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12373         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12374         Do not use `format' in `tramp-message'.
12376         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12377         <file-notify-rm-watch, set-visited-file-modtime>:
12378         <verify-visited-file-modtime>: Add handler.
12379         (tramp-smb-call-winexe): Do not bind `default-directory'.
12381 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
12383         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12385 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
12387         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12388         use it.
12389         (log-view-diff-changeset): Same.
12390         (log-view-diff-common): Call backend command `previous-revision'
12391         to find out the previous revision, in both cases.  Swap the
12392         variables `to' and `fr', so that `fr' usually refers to the
12393         earlier revision (Bug#14989).
12395 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
12397         * ibuf-ext.el (ibuffer-filter-by-filename):
12398         Make it work with dired buffers too.
12400 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
12402         * emacs-lisp/re-builder.el (reb-color-display-p):
12403         * files.el (save-buffers-kill-terminal):
12404         * net/browse-url.el (browse-url):
12405         * server.el (server-save-buffers-kill-terminal):
12406         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12407         Prefer nil to selected-frame for the first arg of frame-parameter.
12409 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
12411         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12413 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
12415         * minibuffer.el (completion--twq-all): Try and preserve each
12416         completion's case choice (bug#14907).
12418 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12420         * net/network-stream.el (open-network-stream): Mention the new
12421         :nogreeting parameter.
12422         (network-stream-open-starttls): Use the :nogreeting parameter
12423         (bug#14938).
12425         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12427         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12428         more natural than popping.
12430         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12431         (shr-urlify): Highlight under mouse.
12433 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12435         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12437         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12439         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
12440         buffer for output.
12442         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
12443         point-min==1.  Fix search string.  Fix parentheses missing.
12445         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
12446         assume point-min==1.  Fix search string.  Fix parentheses missing.
12448         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12450         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
12451         buffer for output.
12453 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
12455         * frame.el (frame-notice-user-settings): Avoid inflooping when the
12456         initial frame is minibuffer-less.  (Bug#14841)
12458 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
12460         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12461         option.
12463         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12464         (tramp-maybe-open-connection): Use it.
12466 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12468         * desktop.el (desktop--make-frame): Include `minibuffer' in the
12469         minimal set of parameters passed when creating a frame, because
12470         the minibuffer status of a frame cannot be changed later.
12472 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
12474         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12475         replace-regexp-in-string and inadvertent omissions in previous change.
12476         (todo-filter-items): Ensure only file names are comma-separated in
12477         name of filtered items buffer.
12479 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12481         * desktop.el: Optionally force offscreen frames back onscreen.
12482         (desktop-restoring-reuses-frames): New option.
12483         (desktop--compute-pos, desktop--move-onscreen): New functions.
12484         (desktop--make-frame): Use desktop--move-onscreen.
12486 2013-07-27  Alan Mackenzie  <acm@muc.de>
12488         Fontify a Java generic method as a function.
12489         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12490         value to t.
12492 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
12494         * calendar/todo-mode.el: Add command to rename todo files.
12495         (todo-rename-file): New command.
12496         (todo-key-bindings-t): Add key binding for it.  Change the
12497         bindings of todo-filter-regexp-items(-multifile) to use `x'
12498         instead of `r', since the latter is better suited to the new
12499         renaming command.
12501 2013-07-27  Alan Mackenzie  <acm@muc.de>
12503         Make Java try-with-resources statement parse properly.
12504         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
12505         (c-block-stmt-1-2-key): New language constants/variables.
12506         * progmodes/cc-engine.el (c-beginning-of-statement-1)
12507         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
12508         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
12509         with c-block-stmt-1-2-key.
12511 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
12513         * desktop.el (desktop--make-frame): Apply most frame parameters after
12514         creating the frame to force (partially or totally) offscreen frames to
12515         be restored as such.
12517 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
12519         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
12520         (Bug#14948)
12522 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12524         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
12525         `base' arg of backtrace-frame.
12527 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
12529         * simple.el (list-processes): Doc fix.
12531 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12533         * desktop.el (desktop--select-frame):
12534         Try harder to reuse existing frames.
12536 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12538         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
12539         (edebug-eval): Use backtrace-eval.
12540         (edebug--display, edebug--recursive-edit): Don't let-bind the
12541         edebug-outer-* vars that keep track of variables we locally let-bind.
12542         (edebug-outside-excursion): Don't restore outside values of locally
12543         let-bound vars.
12544         (edebug--display): Use user-error.
12545         (cl-lexical-debug, cl-debug-env): Remove.
12547 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12549         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
12550         are restored to be sure that they are visible before deleting any
12551         remaining ones.
12553 2013-07-26  Matthias Meulien  <orontee@gmail.com>
12555         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
12556         vc-print-root-log.  (Bug#14948)
12558 2013-07-26  Richard Stallman  <rms@gnu.org>
12560         Add aliases for encrypting mail.
12561         * epa.el (epa-mail-aliases): New option.
12562         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
12563         Bind inhibit-read-only so read-only text doesn't ruin everything.
12564         (epa-mail-default-recipients): New subroutine broken out.
12565         Handle epa-mail-aliases.
12567 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12569         Add support for lexical variables to the debugger's `e' command.
12570         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
12571         vars, except for debugger-outer-match-data.
12572         (debugger-frame-number): Move check for "on a function call" from
12573         callers into it.  Add `skip-base' argument.
12574         (debugger-frame, debugger-frame-clear): Simplify accordingly.
12575         (debugger-env-macro): Only reset the state stored in non-variables,
12576         i.e. current-buffer and match-data.
12577         (debugger-eval-expression): Rewrite using backtrace-eval.
12578         * subr.el (internal--called-interactively-p--get-frame): Remove.
12579         (called-interactively-p):
12580         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
12581         `base' arg of backtrace-frame instead.
12583 2013-07-26  Glenn Morris  <rgm@gnu.org>
12585         * align.el (align-regexp): Doc fix.  (Bug#14857)
12586         (align-region): Explicit error if subexpression missing/does not match.
12588         * simple.el (global-visual-line-mode):
12589         Do not duplicate the mode lighter.  (Bug#14858)
12591 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
12593         * window.el (display-buffer): In display-buffer bind
12594         split-window-keep-point to t, bug#14829.
12596 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12598         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12599         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12600         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12601         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12602         Change accordingly.
12603         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12604         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12606 2013-07-25  Glenn Morris  <rgm@gnu.org>
12608         * dired-x.el (dired-mark-extension): Convert comment to doc string.
12610 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12612         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12613         parameter to modify-frame-parameters if the value has not changed;
12614         this is a workaround for bug#14949.
12615         (desktop--make-frame): On cl-delete-if call, check parameter name,
12616         not full parameter.
12618 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12620         * vc/vc.el (vc-ignore): New function.
12622         * vc/vc-svn.el (vc-svn-ignore): New function.
12624         * vc/vc-hg.el (vc-hg-ignore): New function.
12626         * vc/vc-git.el (vc-git-ignore): New function.
12628         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12629         (vc-dir-ignore): New function.
12631         * vc/vc-cvs.el (vc-cvs-ignore): New function.
12632         (cvs-append-to-ignore): Move here from pcvs.el.
12634         * vc/vc-bzr.el (vc-bzr-ignore): New function.
12636         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12638 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
12640         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12641         (desktop-restore-frames): Warn when deleting an existing frame failed.
12643 2013-07-24  Glenn Morris  <rgm@gnu.org>
12645         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
12647 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
12649         * filenotify.el (file-notify-supported-p):
12650         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12651         Remove functions.
12653         * autorevert.el (auto-revert-use-notify)
12654         (auto-revert-notify-add-watch):
12655         * net/tramp.el (tramp-file-name-for-operation):
12656         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12657         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12658         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12659         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12660         Remove `file-notify-supported-p' entry.
12662 2013-07-24  Glenn Morris  <rgm@gnu.org>
12664         * printing.el: Replace all uses of deleted ps-windows-system,
12665         ps-lp-system, ps-flatten-list with lpr- versions.
12667 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12669         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
12670         checked with memq (bug#14935).
12672         * files.el (revert-buffer-function): Use a non-nil default.
12673         (revert-buffer-preserve-modes): Declare var to
12674         provide access to the `preserve-modes' argument.
12675         (revert-buffer): Let-bind it.
12676         (revert-buffer--default): New function, extracted from revert-buffer.
12678 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12680         * lpr.el: Signal print errors more prominently.
12681         (print-region-function): Don't default to nil.
12682         (lpr-print-region): New function, extracted from print-region-1.
12683         Check lpr's return value and signal an error in case of problem.
12684         (print-region-1): Use it.
12685         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
12686         versions instead.
12687         (ps-printer-name): Default to nil.
12688         (ps-printer-name-option): Default to lpr-printer-switch.
12689         (ps-print-region-function): Don't default to nil.
12690         (ps-postscript-code-directory): Simplify default.
12691         (ps-do-despool): Use lpr-print-region to properly check the outcome.
12692         (ps-string-list, ps-eval-switch, ps-flatten-list)
12693         (ps-flatten-list-1): Remove.
12694         (ps-multibyte-buffer): Avoid setq.
12695         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
12696         (print-region-function, ps-print-region-function): Don't set them here.
12698 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
12700         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
12701         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
12702         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
12703         (ido-decorations): Doc fix.
12705         * ansi-color.el: Fix old URL.
12707 2013-07-23  Michael R. Mauger  <michael@mauger.com>
12709         * progmodes/sql.el: Version 3.3
12710         (sql-product-alist): Improve oracle :prompt-cont-regexp.
12711         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
12712         (sql-interactive-remove-continuation-prompt): Rewrite, use
12713         functions above.  Fix continuation prompt and complete output line
12714         handling.
12715         (sql-redirect-one, sql-execute): Use `read-only-mode' on
12716         redirected output buffer.
12717         (sql-mode): Restore deleted code (Bug#13591).
12719 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12721         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
12723 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
12725         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
12727         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12728         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12729         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
12731 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
12733         * desktop.el (desktop-clear): Simplify; remove useless checks
12734         against invalid buffer names.
12735         (desktop-list*): Use cl-list*.
12736         (desktop-buffer-info, desktop-create-buffer): Simplify.
12738 2013-07-23  Leo Liu  <sdl.web@gmail.com>
12740         * bookmark.el (bookmark-make-record): Restore NAME as a default
12741         value.  (Bug#14933)
12743 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12745         * emacs-lisp/autoload.el (autoload--setup-output): New function,
12746         extracted from autoload--insert-text.
12747         (autoload--insert-text): Remove.
12748         (autoload--print-cookie-text): New function, extracted from
12749         autoload--insert-cookie-text.
12750         (autoload--insert-cookie-text): Remove.
12751         (autoload-generate-file-autoloads): Adjust calls accordingly.
12753         * winner.el (winner-hook-installed-p): Remove.
12754         (winner-mode): Simplify accordingly.
12756         * subr.el (add-to-list): Fix compiler-macro when `append' is
12757         not constant.  Don't use `cl-member' for the base case.
12759         * progmodes/subword.el: Fix boundary case (bug#13758).
12760         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
12761         own group.
12762         (subword-backward-regexp): Make it a constant.
12763         (subword-forward-internal): Don't treat a trailing capital as the
12764         beginning of a word.
12766 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
12768         * emacs-lisp/package.el (package-menu-mode): Don't modify the
12769         global value of tabulated-list-revert-hook (bug#14930).
12771 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
12773         * desktop.el: Require 'cl-lib.
12774         (desktop-before-saving-frames-functions): New hook.
12775         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
12776         for frames being saved.  Rename from desktop--save-minibuffer-frames.
12777         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
12778         Do not save frames with non-nil `desktop-dont-save' parameter.
12779         Filter out deleted frames.
12780         (desktop--find-frame): Use cl-find-if.
12781         (desktop--select-frame): Use cl-(first|second|third) to access values
12782         of desktop-mini.
12783         (desktop--make-frame): Use cl-delete-if.
12784         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
12785         (desktop-restore-frames): Use cl-(first|second|third) to access values
12786         of desktop-mini.  Look for visible frame at the end, not while
12787         restoring frames.
12789         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
12790         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
12791         Use string-match-p, looking-at-p (bug#14927).
12793 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
12795         * desktop.el (desktop-saved-frame-states):
12796         Rename from desktop--saved-states; all users changed.
12797         (desktop-save-frames): Rename from desktop--save-frames.
12798         Do not save state to desktop file.
12799         (desktop-save): Save desktop-saved-frame-states to desktop file
12800         and reset to nil.
12801         (desktop-restoring-frames-p): New function.
12802         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
12803         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
12804         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
12806         * desktop.el: Correctly restore iconified frames.
12807         (desktop--filter-iconified-position): New function.
12808         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
12810 2013-07-20  Glenn Morris  <rgm@gnu.org>
12812         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
12813         Let `message' do the formatting.
12814         (def-gdb-preempt-display-buffer): Add explicit format.
12816         * image-dired.el (image-dired-track-original-file):
12817         Use with-current-buffer.
12818         (image-dired-track-thumbnail): Use with-current-buffer.
12819         Avoid changing point of wrong window.
12821         * image-dired.el (image-dired-track-original-file):
12822         Avoid changing point of wrong window.  (Bug#14909)
12824 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
12826         * progmodes/gdb-mi.el (gdb-done-or-error):
12827         Guard against "%" in gdb output.  (Bug#14127)
12829 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
12831         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
12832         (Bug#14826)
12834         * international/mule.el (coding-system-iso-2022-flags): Fix last
12835         change.
12837 2013-07-20  Kenichi Handa  <handa@gnu.org>
12839         * international/mule.el (coding-system-iso-2022-flags):
12840         Add `8-bit-level-4'.  (Bug#8522)
12842 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12844         * net/shr.el (shr-mouse-browse-url): New command and keystroke
12845         (bug#14815).
12847         * net/eww.el (eww-process-text-input): Allow inputting when the
12848         point is at the start of the line, as the properties aren't
12849         front-sticky.
12851         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12852         degenerate widths.
12854 2013-07-19  Richard Stallman  <rms@gnu.org>
12856         * epa.el (epa-popup-info-window): Doc fix.
12858         * subr.el (split-string): New arg TRIM.
12860 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
12862         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12863         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12865 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
12867         * filenotify.el (file-notify--library): Rename from
12868         `file-notify-support'.  Do not autoload.  Adapt all uses.
12869         (file-notify-supported-p): New defun.
12871         * autorevert.el (auto-revert-use-notify):
12872         Use `file-notify-supported-p' instead of `file-notify-support'.
12873         Adapt docstring.
12874         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12876         * net/tramp.el (tramp-file-name-for-operation):
12877         Add `file-notify-supported-p'.
12879         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12880         New defun.
12881         (tramp-sh-file-name-handler-alist): Add it as handler for
12882         `file-notify-supported-p '.
12884         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12885         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12886         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12887         Add `ignore' as handler for `file-notify-*' functions.
12889 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
12891         * simple.el (line-move-partial, line-move): Don't start vscroll or
12892         scroll-up if the current line is not taller than the window.
12893         (Bug#14881)
12895 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
12897         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12898         highlight question marks in the method names as strings.
12899         (ruby-block-beg-keywords): Inline.
12900         (ruby-font-lock-keyword-beg-re): Extract from
12901         `ruby-font-lock-keywords'.
12903 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
12905         * frame.el (blink-cursor-blinks): New defcustom.
12906         (blink-cursor-blinks-done): New defvar.
12907         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12908         (blink-cursor-timer-function): Check if number of blinks has been
12909         done on X and NS.
12910         (blink-cursor-suspend, blink-cursor-check): New defuns.
12912 2013-07-15  Glenn Morris  <rgm@gnu.org>
12914         * edmacro.el (edmacro-format-keys): Fix previous change.
12916 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
12918         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12919         The hack didn't work outside English locales anyway.
12921 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
12923         * simple.el (define-alternatives): Rename from alternatives-define,
12924         per RMS' suggestion.
12926 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
12928         * desktop.el (desktop-restore-frames): Change default to t.
12929         (desktop-restore-in-current-display): Now offer more options.
12930         (desktop-restoring-reuses-frames): New customization option.
12931         (desktop--saved-states): Doc fix.
12932         (desktop-filter-parameters-alist): New variable, renamed and expanded
12933         from desktop--excluded-frame-parameters.
12934         (desktop--target-display): New variable.
12935         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12936         (desktop--filter-tty*, desktop--filter-*-color)
12937         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12938         (desktop--filter-save-desktop-parm)
12939         (desktop-restore-in-original-display-p): New functions.
12940         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12941         (desktop--save-minibuffer-frames): New function, inspired by a similar
12942         function from Martin Rudalics.
12943         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12944         (desktop--restore-in-this-display-p): Remove.
12945         (desktop--find-frame): Rename from desktop--find-frame-in-display
12946         and add predicate argument.
12947         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12948         (desktop--reuse-list): New variable.
12949         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12950         New functions.
12951         (desktop--restore-frames): Add support for "minibuffer-special" frames.
12953 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
12955         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12957 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
12959         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12960         Highlight conversion methods on Kernel.
12962 2013-07-13  Alan Mackenzie  <acm@muc.de>
12964         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12965         and comment it out.  This out-commenting enables certain C++
12966         declarations to be parsed correctly.
12968 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
12970         * international/mule.el (define-coding-system): Doc fix.
12972         * simple.el (default-font-height): Don't call font-info if the
12973         frame's default font didn't change since the frame was created.
12974         (Bug#14838)
12976 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12978         * ido.el (ido-read-file-name): Guard against non-symbol value.
12980 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12982         * progmodes/python.el (python-imenu--build-tree): Fix corner case
12983         in nested defuns.
12985 2013-07-13  Leo Liu  <sdl.web@gmail.com>
12987         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12988         ido-set-matches call.  (Bug#6852)
12990 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
12992         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12993         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12994         Ruby 2.0.
12995         (ruby-font-lock-keywords): Distinguish calls to functions with
12996         module-like names from module references.  Highlight character
12997         literals.
12999 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
13001         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13002         (gdb-send): Handle continued commands.  (Bug#14847)
13004 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13006         * desktop.el (desktop--v2s): Remove unused local variable.
13007         (desktop-save-buffer): Make defvar-local; adjust docstring.
13008         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13009         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13011 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
13013         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13015 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
13017         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13018         (Bug#14842)
13020 2013-07-12  Glenn Morris  <rgm@gnu.org>
13022         * doc-view.el: Require cl-lib at runtime too.
13023         (doc-view-remove-if): Remove.
13024         (doc-view-search-next-match, doc-view-search-previous-match):
13025         Use cl-remove-if.
13027         * edmacro.el: Require cl-lib at runtime too.
13028         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13029         (edmacro-mismatch, edmacro-subseq): Remove.
13031         * shadowfile.el: Require cl-lib.
13032         (shadow-remove-if): Remove.
13033         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13034         Use cl-remove-if.
13036         * wid-edit.el: Require cl-lib.
13037         (widget-choose): Use cl-remove-if.
13038         (widget-remove-if): Remove.
13040         * progmodes/ebrowse.el: Require cl-lib at runtime too.
13041         (ebrowse-delete-if-not): Remove.
13042         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13043         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13044         Use cl-delete-if-not.
13046 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13048         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13049         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13051 2013-07-12  Leo Liu  <sdl.web@gmail.com>
13053         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
13055 2013-07-11  Glenn Morris  <rgm@gnu.org>
13057         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13058         (edebug-gensym-index, edebug-gensym):
13059         Remove reimplementation of cl-gensym.
13060         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13062         * thumbs.el: Require cl-lib at run-time too.
13063         (thumbs-gensym-counter, thumbs-gensym):
13064         Remove reimplementation of cl-gensym.
13065         (thumbs-temp-file): Use cl-gensym.
13067         * emacs-lisp/ert.el: Require cl-lib at runtime too.
13068         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13069         (ert--intersection, ert--set-difference, ert--set-difference-eq)
13070         (ert--union, ert--gensym-counter, ert--gensym-counter)
13071         (ert--coerce-to-vector, ert--remove*, ert--string-position)
13072         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13073         (ert-make-test-unbound, ert--expand-should-1)
13074         (ert--expand-should, ert--should-error-handle-error)
13075         (should-error, ert--explain-equal-rec)
13076         (ert--plist-difference-explanation, ert-select-tests)
13077         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13078         Use cl-lib functions rather than reimplementations.
13080 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
13082         * net/tramp.el (tramp-methods): Extend docstring.
13083         (tramp-connection-timeout): New defcustom.
13084         (tramp-error-with-buffer): Reset timestamp only when appropriate.
13085         (with-tramp-progress-reporter): Simplify.
13086         (tramp-process-actions): Improve messages.
13088         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13089         * net/tramp-sh.el (tramp-maybe-open-connection):
13090         Use `tramp-connection-timeout'.
13091         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13092         (Bug#14808)
13094 2013-07-11  Leo Liu  <sdl.web@gmail.com>
13096         * ido.el (ido-read-file-name): Conform to the requirements of
13097         read-file-name.  (Bug#11861)
13098         (ido-read-directory-name): Conform to the requirements of
13099         read-directory-name.
13101 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
13103         * subr.el (delay-warning): New function.
13105 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
13107         * simple.el (default-line-height): New function.
13108         (line-move-partial, line-move): Use it instead of computing the
13109         line height inline.
13110         (line-move-partial): Always compute ROWH.  If the last line is
13111         partially-visible, but its text is completely visible, allow
13112         cursor to enter such a partially-visible line.
13114 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
13116         Improve error messages.  (Bug#14808)
13118         * net/tramp.el (tramp-current-connection): New defvar, moved from
13119         tramp-sh.el.
13120         (tramp-message-show-progress-reporter-message): Remove, not
13121         needed anymore.
13122         (tramp-error-with-buffer): Show message in minibuffer.
13123         Discard input before waiting.  Reset connection timestamp.
13124         (with-tramp-progress-reporter): Improve messages.
13125         (tramp-process-actions): Use progress reporter.  Delete process in
13126         case of error.  Improve messages.
13128         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13129         Call `tramp-error-with-buffer' with vector and buffer.
13130         (tramp-current-connection): Remove.
13131         (tramp-maybe-open-connection): The car of
13132         `tramp-current-connection' are the first 3 slots of the vector.
13134 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
13136         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13137         inside continued strings.
13139 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
13141         Timestamp fixes for undo (Bug#14824).
13142         * files.el (clear-visited-file-modtime): Move here from fileio.c.
13144 2013-07-10  Leo Liu  <sdl.web@gmail.com>
13146         * files.el (require-final-newline): Allow safe local value.
13147         (Bug#14834)
13149 2013-07-09  Leo Liu  <sdl.web@gmail.com>
13151         * ido.el (ido-read-directory-name): Handle fallback.
13152         (ido-read-file-name): Update DIR to ido-current-directory.
13153         (Bug#1516)
13154         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
13156 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
13158         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13159         "autoload".  Remove "warn lower camel case" section, previously
13160         commented out.  Highlight negation char.  Do not highlight the
13161         target in singleton method definitions.
13163 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13165         * faces.el (tty-setup-hook): Declare the hook.
13167         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13168         and detect when a guard/pred depends on local vars (bug#14773).
13169         (pcase--u1): Adjust caller.
13171 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
13173         * simple.el (line-move-partial, line-move): Account for
13174         line-spacing.
13175         (line-move-partial): Avoid setting vscroll when the last
13176         partially-visible line in window is of default height.
13178 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13180         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13181         been used a while.
13183 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
13185         * subr.el (read-quoted-char): Remove unused local variable `char'.
13187 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13189         * vc/ediff.el (ediff-version): Version update.
13190         (ediff-files-command, ediff3-files-command, ediff-merge-command)
13191         (ediff-merge-with-ancestor-command, ediff-directories-command)
13192         (ediff-directories3-command, ediff-merge-directories-command)
13193         (ediff-merge-directories-with-ancestor-command): New functions.
13194         All are command-line interfaces to ediff: to facilitate calling
13195         Emacs with the appropriate ediff functions invoked.
13197         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13198         New function.
13199         (viper-save-kill-buffer): Check if buffer is modified.
13201         * emulation/viper.el (viper-version): Version update.
13202         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13204 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13206         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13207         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13208         (viper-intercept-ESC-key): Simplify.
13209         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13210         don't use kbd.
13211         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13212         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13213         (viper-setup-ESC-to-escape): New functions.
13214         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13215         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
13217 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
13219         * simple.el (default-font-height, window-screen-lines):
13220         New functions.
13221         (line-move, line-move-partial): Use them instead of
13222         frame-char-height and window-text-height.  This makes scrolling
13223         text smoother when the buffer's default face uses a font that is
13224         different from the frame's default font.
13226 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
13228         * files.el (write-file): Do not display confirm dialog for NS,
13229         it does its own dialog, which can't be canceled (Bug#14578).
13231 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
13233         * simple.el (line-move-partial): Adjust the row returned by
13234         posn-at-point for the current window-vscroll.  (Bug#14567)
13236 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
13238         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13239         (tramp-sh-file-inotifywait-process-filter): Handle file names with
13240         spaces.
13242 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
13244         * window.el (window-state-put-stale-windows): New variable.
13245         (window--state-put-2): Save list of windows without matching buffer.
13246         (window-state-put): Remove "bufferless" windows if possible.
13248 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13250         * simple.el (alternatives-define): Remove leftover :group keyword.
13251         Tweak docstring.
13253 2013-07-06  Leo Liu  <sdl.web@gmail.com>
13255         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13256         (ido-enable-virtual-buffers): New variable.
13257         (ido-buffer-internal, ido-toggle-virtual-buffers)
13258         (ido-make-buffer-list): Use it.
13259         (ido-exhibit): Support turning on and off virtual buffers
13260         automatically.
13262 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13264         * simple.el (alternatives-define): New macro.
13266 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13268         * subr.el (read-quoted-char): Use read-key.
13269         (sit-for): Let read-event decode tty input (bug#14782).
13271 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
13273         * calendar/todo-mode.el: Add handling of file deletion, both by
13274         mode command and externally.  Fix various related bugs.
13275         Clarify Commentary and improve some documentation strings and code.
13276         (todo-delete-file): New command.
13277         (todo-check-file): New function.
13278         (todo-show): Handle external deletion of the file we're trying to
13279         show (bug#14688).  Replace called-interactively-p by an optional
13280         prefix argument to avoid problematic interaction with catch form
13281         when byte compiled (bug#14702).
13282         (todo-quit): Handle external deletion of the archive's todo file.
13283         Make sure the buffer that was visiting the archive file is still
13284         live before trying to bury it.
13285         (todo-category-completions): Handle external deletion of any
13286         category completion files.
13287         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13288         of todo files, in case of external deletion.
13289         (todo-add-file): Replace unnecessary setq by let-binding.
13290         (todo-find-archive): Check whether there are any archives.
13291         Replace unnecessary setq by let-binding.
13292         (todo-archive-done-item): Use find-file-noselect to get the
13293         archive buffer whether or not the archive already exists.
13294         Remove superfluous code.  Use file size instead of buffer-file-name to
13295         check if the archive is new; if it is, update list of archives.
13296         (todo-default-todo-file): Allow nil to be a valid value for when
13297         there are no todo files.
13298         (todo-reevaluate-default-file-defcustom): Use corrected definition
13299         of todo-default-todo-file.
13300         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13301         (todo-delete-category, todo-show-categories-table)
13302         (todo-category-number): Clarify comment.
13303         (todo-filter-items): Clarify documentation string.
13304         (todo-show-current-file, todo-display-as-todo-file)
13305         (todo-reset-and-enable-done-separator): Tweak documentation string.
13306         (todo-done-separator): Make separator length window-width, since
13307         bug#2749 is now fixed.
13309 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
13311         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13312         Support both "gvfs-monitor-dir" and "inotifywait".
13313         (tramp-sh-file-inotifywait-process-filter): Rename from
13314         `tramp-sh-file-notify-process-filter'.
13315         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13316         (tramp-get-remote-gvfs-monitor-dir): New defuns.
13318 2013-07-05  Leo Liu  <sdl.web@gmail.com>
13320         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13322 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13324         * frame.el (display-pixel-height, display-pixel-width)
13325         (display-mm-height, display-mm-width): Mention behavior on
13326         multi-monitor setups in docstrings.
13327         (w32-display-monitor-attributes-list): Declare function.
13328         (display-monitor-attributes-list): Use it.
13330 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
13332         * filenotify.el: New package.
13334         * autorevert.el (top): Require filenotify.el.
13335         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
13336         instead.
13337         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13338         (auto-revert-notify-handler): Use `file-notify-*' functions.
13340         * subr.el (file-notify-handle-event): Move function to filenotify.el.
13342         * net/tramp.el (tramp-file-name-for-operation):
13343         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13345         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13346         for `file-notify-add-watch' and `file-notify-rm-watch'.
13347         (tramp-process-sentinel): Improve trace.
13348         (tramp-sh-handle-file-notify-add-watch)
13349         (tramp-sh-file-notify-process-filter)
13350         (tramp-sh-handle-file-notify-rm-watch)
13351         (tramp-get-remote-inotifywait): New defuns.
13353 2013-07-03  Juri Linkov  <juri@jurta.org>
13355         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13356         call of `occur-read-primary-args' to interactive spec.
13358         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13359         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
13361 2013-07-03  Matthias Meulien  <orontee@gmail.com>
13363         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13364         `Buffer-menu-multi-occur'.  Add it to the menu.
13365         (Buffer-menu-mode): Document it in docstring.
13366         (Buffer-menu-multi-occur): New command.  (Bug#14673)
13368 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13370         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13371         keywords and built-ins.
13373 2013-07-03  Glenn Morris  <rgm@gnu.org>
13375         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
13377         Make info-xref checks case-sensitive by default
13378         * info.el (Info-find-node, Info-find-in-tag-table)
13379         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13380         Add option for exact case matching of nodes.
13381         * info-xref.el (info-xref): New custom group.
13382         (info-xref-case-fold): New option.
13383         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13385 2013-07-03  Leo Liu  <sdl.web@gmail.com>
13387         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13389 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13391         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13392         middle of block statement initially, lower the depth.  Remove
13393         FIXME comment, not longer valid.  Remove middle of block statement
13394         detection, no need to do that anymore since we've been using
13395         `ruby-parse-region' here.
13397 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
13399         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13401 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
13403         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13405 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
13407         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13408         (desktop-restore-in-current-display): New customization option.
13409         (desktop--excluded-frame-parameters): Add `font'.
13410         (desktop--save-frames): Rename from desktop--save-windows.
13411         (desktop--restore-in-this-display-p): New function.
13412         (desktop--make-full-frame): Remove unwanted width/height from
13413         full(width|height) frames.
13414         (desktop--restore-frames): Rename from desktop--restore-windows.
13415         Obey desktop-restore-current-display.  Do not delete old frames or
13416         select a new frame unless we were able to restore at least one frame.
13418 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
13420         * files.el (find-file-noselect): Simplify conditional expression.
13422         * textmodes/remember.el (remember-append-to-file):
13423         Don't mix `find-buffer-visiting' and `get-file-buffer'.
13425         Add `remember-notes' function to store random notes across Emacs
13426         restarts.
13427         * textmodes/remember.el (remember-data-file): Add :set callback to
13428         affect notes buffer (if any).
13429         (remember-notes): New command.
13430         (remember-notes-buffer-name, bury-remember-notes-on-kill):
13431         New defcustoms for the `remember-notes' function.
13432         (remember-notes-save-and-bury-buffer): New command.
13433         (remember-notes-mode-map): New variable.
13434         (remember-mode): New minor mode.
13435         (remember-notes--kill-buffer-query): New function.
13436         * startup.el (initial-buffer-choice): Add notes to custom type.
13438 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
13440         * bindings.el (right-char, left-char): Don't call sit-for, this is
13441         no longer needed.  Use arithmetic comparison only for numerical
13442         arguments.
13444         * international/mule-cmds.el (select-safe-coding-system):
13445         Handle the case of FROM being a string correctly.  (Bug#14755)
13447 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13449         * net/shr.el (shr-make-table-1): Add a sanity check that allows
13450         progression on degenerate tables.
13451         (shr-rescale-image): ImageMagick animated images currently don't work.
13453 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
13455         Some fixes and improvements for desktop frame restoration.
13456         It is still experimental and disabled by default.
13457         * desktop.el (desktop--save-windows): Put the selected frame at
13458         the head of the list.
13459         (desktop--make-full-frame): New function.
13460         (desktop--restore-windows): Try to re-select the frame that was
13461         selected upon saving.  Do not abort if some frames fail to restore,
13462         just show an error message and continue.  Set up maximized frames
13463         so they have default non-maximized dimensions.
13465 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
13467         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13468         Don't start heredoc inside a string or comment.
13470 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
13472         * bindings.el (visual-order-cursor-movement): New defcustom.
13473         (right-char, left-char): Provide visual-order cursor motion by
13474         calling move-point-visually.  Update the doc strings.
13476 2013-06-28  Kenichi Handa  <handa@gnu.org>
13478         * international/mule.el (define-coding-system): New coding system
13479         properties :inhibit-null-byte-detection,
13480         :inhibit-iso-escape-detection, and :prefer-utf-8.
13481         (set-buffer-file-coding-system): If :charset-list property of
13482         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13483         appropriate for setting.
13485         * international/mule-cmds.el (select-safe-coding-system):
13486         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13487         multibyte characters, return utf-8 (or one of its siblings).
13489         * international/mule-conf.el (prefer-utf-8): New coding system.
13490         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13491         files.
13493 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
13495         * net/shr.el (shr-render-region): New function.
13497         * net/eww.el: Autoload `eww-browse-url'.
13499 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
13501         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13502         Adapt to `package-desc-version' being a list.
13503         Use `package--ac-desc-version' to retrieve version from a package
13504         archive element.
13506 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
13508         New experimental feature to save&restore window and frame setup.
13509         * desktop.el (desktop-save-windows): New defcustom.
13510         (desktop--saved-states): New var.
13511         (desktop--excluded-frame-parameters): New defconst.
13512         (desktop--filter-frame-parms, desktop--find-frame-in-display)
13513         (desktop--restore-windows, desktop--save-windows): New functions.
13514         (desktop-save): Call `desktop--save-windows'.
13515         (desktop-read): Call `desktop--restore-windows'.
13517 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13519         * net/shr.el (add-face-text-property): Remove compat definition.
13521 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13523         * info.el (Info-try-follow-nearest-node): Move search for footnote
13524         above search for node name to prevent missing a footnote (bug#14717).
13526 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13528         * obsolete/otodo-mode.el: Add obsolescence info to file header.
13530 2013-06-27  Leo Liu  <sdl.web@gmail.com>
13532         * net/eww.el (eww-read-bookmarks): Check file size.
13534 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13536         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
13537         advice--pending if newdef is nil or an autoload (bug#13820).
13538         (advice-mapc): New function.
13540 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13542         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
13543         probably.
13544         (eww-mode-map): Add a menu bar.
13545         (eww-add-bookmark): New command.
13546         (eww-bookmark-mode): New mode and commands.
13547         (eww-add-bookmark): Remove newlines from the title.
13548         (eww-bookmark-browse): Don't bug out if it's the only window.
13550 2013-06-26  Glenn Morris  <rgm@gnu.org>
13552         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
13553         (hfy-size): Handle ttys.  (Bug#14668)
13555         * info-xref.el: Update for Texinfo 5 change in *note format.
13556         (info-xref-node-re, info-xref-note-re): New constants.
13557         (info-xref-check-buffer): Use info-xref-note-re.
13559 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13561         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
13563         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
13564         nil terminate the loop (bug#14718).
13566 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13568         * net/eww.el: Rework history traversal.  When going forward/back,
13569         put these actions into the history, too, so that they can be
13570         replayed.
13571         (eww-render): Move the history reset to the correct buffer.
13573 2013-06-25  Juri Linkov  <juri@jurta.org>
13575         * files-x.el (modify-dir-local-variable): Change the header comment
13576         in the file with directory local variables.  (Bug#14692)
13578         * files-x.el (read-file-local-variable-value): Add `default'.
13579         (Bug#14710)
13581 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13583         * net/eww.el (eww-make-unique-file-name): Create a unique file
13584         name before saving to entering `y' accidentally asynchronously.
13586 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
13588         * net/eww.el (eww-download): New command and keystroke.
13590 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13592         * net/eww.el (eww-copy-page-url): Change name of command.
13594         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
13595         be more consistent with Info and dired.
13597         * net/eww.el (eww-mode-map): Ditto.
13599 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13601         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
13602         packages from archives.
13603         (package-archive-contents): Change format; include obsolete packages.
13604         (package-desc): Use `dir' to mark builtin packages.
13605         (package--from-builtin): Set the `dir' field to `builtin'.
13606         (generated-autoload-file, version-control): Declare.
13607         (package-compute-transaction): Change first arg and return value to be
13608         lists of package-descs.  Adjust to new package-archive-contents format.
13609         (package--add-to-archive-contents): Adjust to new
13610         package-archive-contents format.
13611         (package-download-transaction): Arg is now a list of package-descs.
13612         (package-install): If `pkg' is a package name, pass it as
13613         a requirement, so it is subject to the usual (e.g. disabled) checks.
13614         (describe-package): Accept package-desc as well.
13615         (describe-package-1): Describe a specific package-desc.  Add links to
13616         other package-descs for the same package name.
13617         (package-menu-describe-package): Pass the actual package-desc.
13618         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13619         works correctly.
13620         (package-desc-status): New function.
13621         (package-menu--refresh): New function, extracted
13622         from package-menu--generate.
13623         (package-menu--generate): Use it.
13624         (package-delete): Update package-alist.
13625         (package-menu-execute): Don't call package-initialize.
13627         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13628         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13629         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13630         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13631         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13632         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13634 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
13636         * window.el (window--state-get-1): Workaround for bug#14527.
13637         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13639 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13641         * net/eww.el (eww-back-url): Implement the history by stashing all
13642         the data into a list.
13643         (eww-forward-url): Allow going forward in the history, too.
13645 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13647         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
13648         for values and use read--expression for expressions (bug#14710).
13649         (read-file-local-variable): Avoid setq.
13650         (read-file-local-variable-mode): Use minor-mode-list.
13652 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13654         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
13655         for DOI URLs.
13657 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13659         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
13660         Update imenu-support when dialect changes.
13662 2013-06-25  Leo Liu  <sdl.web@gmail.com>
13664         * ido.el (ido-read-internal): Allow forward slash on windows.
13666 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13668         * net/eww.el (eww): Start of strings is \\`, not ^.
13670 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13672         * net/shr.el (shr-browse-url): Fix interactive spec.
13674         * net/eww.el (eww): Add a trailing slash to domain names.
13676 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
13678         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
13680 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13682         * net/shr.el (shr-browse-url): Use an external browser if given a
13683         prefix.
13685         * net/eww.el (eww-external-browser): Move to shr.
13687 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
13689         * net/eww.el (eww): Work more correctly for file: URLs.
13690         (eww-detect-charset): Allow quoted charsets.
13691         (eww-yank-page-url): New command and keystroke.
13693 2013-06-24  Daiki Ueno  <ueno@gnu.org>
13695         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
13696         file name of gpg executable.
13697         (epg-context-program): New function.
13698         (epg-context-home-directory): New function.
13699         (epg-context-set-program): New function.
13700         (epg-context-set-home-directory): New function.
13701         (epg--start): Use `epg-context-program' instead of
13702         'epg-gpg-program'.
13703         (epg--list-keys-1): Likewise.
13705 2013-06-24  Leo Liu  <sdl.web@gmail.com>
13707         * ido.el (ido-read-internal): Fix bug#14620.
13709 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13711         * faces.el (face-documentation): Simplify.
13712         (read-face-attribute, tty-find-type, x-resolve-font-name):
13713         Use `string-match-p'.
13714         (list-faces-display): Use `string-match-p'.  Simplify.
13715         (face-spec-recalc): Check face to avoid face alias loops.
13716         (read-color): Use `string-match-p' and non-capturing parenthesis.
13718 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13720         * net/shr.el (shr-rescale-image): Use the new
13721         :max-width/:max-height functionality.
13723 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
13725         * net/eww.el (eww-search-prefix): New variable.
13726         (eww): Use it.
13727         (eww-external-browser): New variable.
13728         (eww-mode-map): New keystroke.
13729         (eww-browse-with-external-browser): New command.
13731         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
13733 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
13735         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13736         Don't skip aligning the next header field when padding is 0;
13737         otherwise, field width is not respected unless the title is as
13738         wide as the field.
13740 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13742         * emacs-lisp/package.el (package-el-version): Remove.
13743         (package-process-define-package): Fix inf-loop.
13744         (package-install): Allow symbols as arguments again.
13746 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13748         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
13749         add some more keyword-like methods.
13750         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
13752 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
13754         * bs.el (bs-buffer-show-mark): Make defvar-local.
13755         (bs-mode): Use setq-local.
13757         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
13758         (emacs-lock--try-unlocking): Make defvar-local.
13760 2013-06-22  Glenn Morris  <rgm@gnu.org>
13762         * play/cookie1.el (cookie-apropos): Minor simplification.
13764         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
13766 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
13768         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
13769         `regexp-opt', it breaks the build during dumping.
13771 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
13773         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13774         Highlight keyword-like methods on Kernel and Module with
13775         font-lock-builtin-face.
13776         (auto-mode-alist): Consolidate different entries into one regexp
13777         and add more *file-s.
13779 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
13781         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
13783         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
13784         (diary-entry): Use it in the action of this button type instead of
13785         diary-goto-entry.
13787         * calendar/todo-mode.el: New version.
13788         (todo-add-category): Append new category to end of file and give
13789         it the highest number, instead of putting it at the beginning and
13790         giving it 0.  Incorporate noninteractive functionality.
13791         (todo-forward-category): Adapt to 1-based category numbering.
13792         Allow skipping over archived categories.
13793         (todo-backward-category): Derive from todo-forward-category.
13794         (todo-backward-item, todo-forward-item): Make noninteractive and
13795         delegate interactive part to new commands.  Make sensitive to done items.
13796         (todo-categories): Make value an alist of category names and
13797         vectors of item counts.
13798         (todo-category-beg): Make a defconst.
13799         (todo-category-number): Use 1 instead of 0 as initial value.
13800         (todo-category-select): Make sensitive to overlays, optional item
13801         highlighting and done items.
13802         (todo-delete-item): Make sensitive to overlays and marked and done items.
13803         (todo-edit-item): Make sensitive to overlays and editing of
13804         date/time header optional.  Add format checks.
13805         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
13806         no-op if point is not on an item.  Advertise using todo-edit-quit.
13807         (todo-edit-mode): Make sensitive to new format, font-locking, and
13808         multiple todo files.
13809         (todo-insert-item, todo-insert-item-here): Derive from
13810         todo-basic-insert-item and extend functionality.
13811         (todo-item-end, todo-item-start): Make sensitive to done items.
13812         (todo-item-string): Don't return text properties.  Restore point.
13813         (todo-jump-to-category): Make sensitive to multiple todo files and
13814         todo archives.  Use extended category completion.
13815         (todo-lower-item, todo-raise-item): Rename to *-priority and
13816         derive from todo-set-item-priority.
13817         (todo-mode): Derive from special-mode.  Make sensitive to new
13818         format, font-locking and multiple todo files.  Make read-only.
13819         (todo-mode-map): Don't suppress digit keys, so they can supply
13820         prefix arguments.  Add many new key bindings.
13821         (todo-prefix): Insert as an overlay instead of file text.
13822         Change semantics from diary date expression to purely visual mark.
13823         (todo-print): Rename to todo-print-buffer.  Make buffer display
13824         features printable.  Remove option to restrict number of items
13825         printed.  Add option to print to file.
13826         (todo-print-function): Rename to todo-print-buffer-function.
13827         (todo-quit): Extend to handle exiting new todo modes.
13828         (todo-remove-item): Make sensitive to overlays.
13829         (todo-save): Extend to buffers of filtered items.
13830         (todo-show): Make sensitive to done items, multiple todo files and
13831         new todo modes.  Offer to convert legacy todo file before creating
13832         first new todo file.
13833         (todo-show-priorities): Rename to todo-top-priorities.
13834         Change semantics of value 0.
13835         (todo-top-priorities): Rename to todo-filter-top-priorities,
13836         derive from todo-filter-items and extend functionality.
13837         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
13838         and extend functionality to other types of filtered items.
13839         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
13840         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
13841         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
13842         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13843         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13844         (todo-edit-mode-hook, todo-entry-prefix-function)
13845         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13846         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13847         (todo-initials, todo-insert-threshold, todo-item-string-start)
13848         (todo-line-string, todo-menu, todo-mode-hook)
13849         (todo-more-important-p, todo-previous-answer, todo-previous-line)
13850         (todo-print-priorities, todo-remove-separator)
13851         (todo-save-top-priorities-too, todo-string-count-lines)
13852         (todo-string-multiline-p, todo-time-string-format)
13853         (todo-tmp-buffer-name): Remove.
13854         (todo-add-file, todo-archive-done-item, todo-choose-archive)
13855         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13856         (todo-edit-category-diary-inclusion)
13857         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13858         (todo-edit-file, todo-edit-item-date-day)
13859         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13860         (todo-edit-item-date-month, todo-edit-item-date-to-today)
13861         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13862         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13863         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13864         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13865         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13866         (todo-filter-top-priorities-multifile, todo-find-archive)
13867         (todo-find-filtered-items-file, todo-go-to-source-item)
13868         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13869         (todo-jump-to-archive-category, todo-lower-category)
13870         (todo-mark-category, todo-marked-item-p, todo-merge-category)
13871         (todo-move-category, todo-move-item, todo-next-button)
13872         (todo-next-item, todo-padded-string, todo-powerset)
13873         (todo-previous-button, todo-previous-item)
13874         (todo-print-buffer-to-file, todo-raise-category)
13875         (todo-rename-category, todo-repair-categories-sexp, todo-search)
13876         (todo-set-category-number, todo-set-item-priority)
13877         (todo-set-top-priorities-in-category)
13878         (todo-set-top-priorities-in-file, todo-show-categories-table)
13879         (todo-sort-categories-alphabetically-or-numerically)
13880         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13881         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13882         (todo-toggle-item-header, todo-toggle-item-highlighting)
13883         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13884         (todo-toggle-view-done-items, todo-toggle-view-done-only)
13885         (todo-unarchive-items, todo-unmark-category): New commands.
13886         (todo-absolute-file-name, todo-add-to-buffer-list)
13887         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13888         (todo-basic-insert-item, todo-category-completions)
13889         (todo-category-number, todo-category-string-matcher-1)
13890         (todo-category-string-matcher-2, todo-check-filtered-items-file)
13891         (todo-check-format, todo-clear-matches)
13892         (todo-comment-string-matcher, todo-convert-legacy-date-time)
13893         (todo-current-category, todo-date-string-matcher)
13894         (todo-define-insertion-command, todo-diary-expired-matcher)
13895         (todo-diary-goto-entry, todo-diary-item-p)
13896         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13897         (todo-display-categories, todo-display-sorted, todo-done-item-p)
13898         (todo-done-item-section-p, todo-done-separator)
13899         (todo-done-string-matcher, todo-files, todo-filter-items)
13900         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13901         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13902         (todo-insert-category-line, todo-insert-item-from-calendar)
13903         (todo-insert-sort-button, todo-insert-with-overlays)
13904         (todo-insertion-command-name, todo-insertion-key-bindings)
13905         (todo-label-to-key, todo-longest-category-name-length)
13906         (todo-make-categories-list, todo-mode-external-set)
13907         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13908         (todo-modes-set-3, todo-multiple-filter-files)
13909         (todo-nondiary-marker-matcher, todo-prefix-overlays)
13910         (todo-read-category, todo-read-date, todo-read-dayname)
13911         (todo-read-file-name, todo-read-time)
13912         (todo-reevaluate-category-completions-files-defcustom)
13913         (todo-reevaluate-default-file-defcustom)
13914         (todo-reevaluate-filelist-defcustoms)
13915         (todo-reevaluate-filter-files-defcustom)
13916         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13917         (todo-reset-done-separator, todo-reset-done-separator-string)
13918         (todo-reset-done-string, todo-reset-global-current-todo-file)
13919         (todo-reset-highlight-item, todo-reset-nondiary-marker)
13920         (todo-reset-prefix, todo-set-categories)
13921         (todo-set-date-from-calendar, todo-set-show-current-file)
13922         (todo-set-top-priorities, todo-short-file-name)
13923         (todo-show-current-file, todo-sort, todo-time-string-matcher)
13924         (todo-total-item-counts, todo-update-buffer-list)
13925         (todo-update-categories-display, todo-update-categories-sexp)
13926         (todo-update-count, todo-validate-name, todo-y-or-n-p):
13927         New functions.
13928         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13929         New major modes.
13930         (todo-categories, todo-display, todo-edit, todo-faces)
13931         (todo-filtered): New defgroups.
13932         (todo-archived-only, todo-button, todo-category-string, todo-date)
13933         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13934         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13935         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13936         (todo-add-item-if-new-category, todo-always-add-time-string)
13937         (todo-categories-align, todo-categories-archived-label)
13938         (todo-categories-category-label, todo-categories-diary-label)
13939         (todo-categories-done-label, todo-categories-number-separator)
13940         (todo-categories-todo-label, todo-categories-totals-label)
13941         (todo-category-completions-files, todo-completion-ignore-case)
13942         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13943         (todo-done-separator-string, todo-done-string)
13944         (todo-files-function, todo-filter-done-items, todo-filter-files)
13945         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13946         (todo-initial-category, todo-initial-file, todo-item-mark)
13947         (todo-legacy-date-time-regexp, todo-mode-line-function)
13948         (todo-nondiary-marker, todo-number-prefix)
13949         (todo-print-buffer-function, todo-show-current-file)
13950         (todo-show-done-only, todo-show-first, todo-show-with-done)
13951         (todo-skip-archived-categories, todo-top-priorities-overrides)
13952         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13953         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13954         New defcustoms.
13955         (todo-category-done, todo-date-pattern, todo-date-string-start)
13956         (todo-diary-items-buffer, todo-done-string-start)
13957         (todo-filtered-items-buffer, todo-item-start)
13958         (todo-month-abbrev-array, todo-month-name-array)
13959         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13960         (todo-top-priorities-buffer): New defconsts.
13961         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13962         (todo-categories-with-marks, todo-category-string-face)
13963         (todo-comment-face, todo-comment-string, todo-current-todo-file)
13964         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13965         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13966         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13967         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13968         (todo-font-lock-keywords, todo-global-current-todo-file)
13969         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13970         (todo-insertion-commands-args)
13971         (todo-insertion-commands-args-genlist)
13972         (todo-insertion-commands-names, todo-insertion-map)
13973         (todo-key-bindings-t, todo-key-bindings-t+a)
13974         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13975         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13976         (todo-nondiary-face, todo-print-buffer, todo-time-face)
13977         (todo-visited): New variables.
13979 2013-06-21  Glenn Morris  <rgm@gnu.org>
13981         * play/cookie1.el (cookie-apropos): Add optional display argument.
13982         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13983         (psychoanalyze-pinhead): Use cookie-doctor.
13985 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
13987         * emacs-lisp/package.el (tar-get-file-descriptor)
13988         (tar--extract): Declare.
13990 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
13992         Extend flymake's warning predicate to be a function (bug#14217).
13993         * progmodes/flymake.el (flymake-warning-predicate): New.
13994         (flymake-parse-line): Use it.
13995         (flymake-warning-re): Make obsolete alias to
13996         `flymake-warning-predicate'.
13998 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14000         * emacs-lisp/package.el (package-alist): Include obsolete packages.
14001         (package-obsolete-list): Remove.
14002         (package-activate): Remove min-version argument.  Add `force' argument.
14003         Adjust to new package-alist format.
14004         (package-mark-obsolete): Remove.
14005         (package-unpack): Force reload of the package's autoloads.
14006         (package-installed-p): Check builtins if the installed package is not
14007         recent enough.
14008         (package-initialize): Don't reset package-obsolete-list.
14009         Don't specify which package version to activate.
14010         (package-process-define-package, describe-package-1)
14011         (package-menu--generate): Adjust to new package-alist format.
14013 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14015         * allout-widgets.el (allout-widgets-mode-off)
14016         (allout-widgets-mode-on, allout-widgets-pre-command-business)
14017         (allout-widgets-post-command-business)
14018         (allout-widgets-after-copy-or-kill-function)
14019         (allout-widgets-after-undo-function, allout-test-range-overlaps)
14020         (allout-decorate-item-and-context)
14021         (allout-graphics-modification-handler): Fix typos in docstrings.
14022         (allout-get-or-create-parent-widget): Use `looking-at-p'.
14024         * cmuscheme.el (scheme-start-file): Doc fix.
14025         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14026         (scheme-input-filter): Use `string-match-p'.
14028         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14030         * dired-x.el: Use Dired consistently in docstrings.
14032         * dired.el: Use Dired consistently in docstrings.
14033         (dired-readin, dired-mode): Use `setq-local'.
14034         (dired-switches-alist): Make defvar-local.
14035         (dired-buffers-for-dir): Use `zerop'.
14036         (dired-safe-switches-p, dired-switches-escape-p)
14037         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14038         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14039         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14040         (dired-goto-next-nontrivial-file): Use `string-match-p'.
14041         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14042         (dired-toggle-marks, dired-mark-files-containing-regexp)
14043         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14044         (dired-flag-auto-save-files, dired-flag-backup-files):
14045         Use `looking-at-p'.
14046         (dired-mark-files-regexp, dired-build-subdir-alist):
14047         Use `string-match-p', `looking-at-p'.
14049         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14050         (direct-print-region-helper): Use `string-match-p'.
14052 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14054         * comint.el (comint-redirect-results-list-from-process):
14055         Fix infinite loop.
14057 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14059         * net/eww.el (eww-update-header-line-format): Quote % characters.
14061 2013-06-21  Glenn Morris  <rgm@gnu.org>
14063         * play/cookie1.el (cookie): New custom group.
14064         (cookie-file): New option.
14065         (cookie-check-file): New function.
14066         (cookie): Make it interactive.  Make start and end messages optional.
14067         Interactively, display the result.  Default to cookie-file.
14068         (cookie-insert): Default to cookie-file.
14069         (cookie-snarf): Make start and end messages optional.
14070         Default to cookie-file.  Use with-temp-buffer.
14071         (cookie-read): Rename from read-cookie.
14072         Make start and end messages optional.  Default to cookie-file.
14073         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
14074         Do not autoload it.
14075         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14076         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14078 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14080         * progmodes/octave.el (octave-mode): Backward compatibility fix.
14082 2013-06-21  Glenn Morris  <rgm@gnu.org>
14084         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14086 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14087             Daniel Hackney  <dan@haxney.org>
14089         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14090         Consolidate the single-file vs tarball code.
14091         (package-desc-suffix): New function.
14092         (package-desc-full-name): Don't bother inlining it.
14093         (package-load-descriptor): Return the new package-desc.
14094         (package-mark-obsolete): Remove unused arg `package'.
14095         (package-unpack): Make it work for single files as well.
14096         Make it update package-alist.
14097         (package--make-autoloads-and-stuff): Rename from
14098         package--make-autoloads-and-compile.  Don't compile any more.
14099         (package--compile): New function.
14100         (package-generate-description-file): New function, extracted from
14101         package-unpack-single.
14102         (package-unpack-single): Remove.
14103         (package--with-work-buffer): Add indentation and debugging info.
14104         (package-download-single): Remove.
14105         (package-install-from-archive): Rename from package-download-tar, make
14106         it take a pkg-desc, and make it work for single files as well.
14107         (package-download-transaction): Simplify.
14108         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
14109         external tar program.
14110         (package-install-from-buffer): Remove `pkg-desc' argument.
14111         Use package-tar-file-info for tar-mode buffers.
14112         (package-install-file): Simplify accordingly.
14113         (package-archive-base): Change to take a pkg-desc.
14114         * tar-mode.el (tar--check-descriptor): New function, extracted from
14115         tar-get-descriptor.
14116         (tar-get-descriptor): Use it.
14117         (tar-get-file-descriptor): New function.
14118         (tar--extract): New function, extracted from tar-extract.
14119         (tar--extract): Use it.
14120         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14121         case the summary uses non-ascii.  Adjust to new calling convention of
14122         package-tar-file-info.
14124 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14126         * comint.el (comint-redirect-results-list-from-process):
14127         Fix random delay.  (Bug#14681)
14129 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14131         * profiler.el (profiler-format-number): Use log, not log10.
14133 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14135         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14137 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14139         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14140         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14141         yet available.
14142         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14143         (AUTOGENEL): ... here.
14144         * emacs-lisp/cl-macs.el (cl--sublis): New function.
14145         (cl--defsubst-expand): Use it.
14147 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
14149         * subr.el (log10): Move here from C code, and declare as obsolete.
14150         All uses of (log10 X) replaced with (log X 10).
14152 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14154         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14155         Declare with `defvar-local'.
14156         (tabulated-list-use-header-line, tabulated-list-entries)
14157         (tabulated-list-padding, tabulated-list-printer)
14158         (tabulated-list-sort-key): Declare with `defvar-local'.
14159         (tabulated-list-init-header, tabulated-list-print-fake-header):
14160         Use `setq-local'.
14162 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
14164         * arc-mode.el (archive-mode): Add `archive-write-file' to
14165         `write-contents-functions' also for remote files.  (Bug#14652)
14167 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14169         * cus-edit.el (custom-commands): Fix typos.
14170         (custom-display): Fix tooltip text.
14171         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14172         Fix typos in docstrings.
14173         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14174         (custom-unlispify-menu-entry, custom-magic-value-create)
14175         (custom-add-see-also, custom-group-value-create): Use ?\s.
14176         (custom-guess-type, customize-apropos, editable-field)
14177         (custom-face-value-create): Use `string-match-p'.
14178         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14180         * custom.el (custom-load-symbol): Use `string-match-p'.
14182         * ansi-color.el: Convert to lexical binding.
14183         (ansi-colors): Fix URL.
14184         (ansi-color-context, ansi-color-context-region): Use defvar-local.
14185         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14186         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14188 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14190         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14192         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14194 2013-06-19  Tom Tromey  <tromey@redhat.com>
14196         * net/eww.el (eww-top-url): Remove.
14197         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14198         (eww-render): Set new variables.  Don't set eww-top-url.
14199         (eww-handle-link): Handle "prev", "home", and "contents".
14200         Downcase the rel text.
14201         (eww-top-url): Choose best top URL.
14203 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14205         * net/eww.el: Rewrite to implement form elements "by hand" instead of
14206         relying in widget.el.  Using widget.el leads to too many
14207         user interface inconsistencies.
14208         (eww-self-insert): Implement entering commands in text fields.
14209         (eww-process-text-input): New function to make text input field editing
14210         work.
14211         (eww-submit): Rewrite to use the new-style form methods.
14212         (eww-select-display): Display the correct selected item.
14213         (eww-change-select): Implement changing the select value.
14214         (eww-toggle-checkbox): Implement radio/checkboxes.
14215         (eww-update-field): Fix compilation error.
14216         (eww-tag-textarea): Implement <textarea>.
14218         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14219         we don't shadow mode-specific bindings.
14221         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14222         nothing to push.
14224         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14226 2013-06-19  Glenn Morris  <rgm@gnu.org>
14228         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14230 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14232         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14233         not needed.
14235         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14237 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14239         * net/browse-url.el (browse-url-browser-function):
14240         `eww-browse-url' has the right calling signature, `eww' does not.
14242 2013-06-19  Glenn Morris  <rgm@gnu.org>
14244         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14245         Only eval autoloaded macros.
14246         (byte-compile-autoload): Only give the macro warning for macros.
14248         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14249         (ps-underlined-faces): Declare.
14251         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14252         (speedbar-add-supported-extension): Declare.
14254         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14255         Don't include a date stamp in the header of the generated file;
14256         it leads to needless differences between output files.
14258 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14260         * net/secrets.el (secrets-struct-secret-content-type):
14261         Replace check of introspection data by a test call of "CreateItem".
14262         Some servers do not offer introspection.
14264 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14266         * electric.el (electric-pair-mode): Improve interaction with
14267         electric-layout-mode.
14268         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14269         (electric-pair-syntax): Use text-mode-syntax-table in comments
14270         and strings.
14271         (electric-pair--insert): New function.
14272         (electric-pair-post-self-insert-function): Use it and
14273         electric--after-char-pos.
14275 2013-06-19  Leo Liu  <sdl.web@gmail.com>
14277         * progmodes/octave.el (octave-help): Fix regexp.
14279 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14281         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14282         (shr-table-horizontal-line): Allow nil as a value, and change the
14283         default.
14284         (shr-insert-table-ruler): Respect the nil value.
14286 2013-06-18  Tom Tromey  <tromey@barimba>
14288         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14289         New defvars.
14290         (eww-open-file): New defun.
14291         (eww-render): Initialize new variables.
14292         (eww-display-html): Handle "link" and "a".
14293         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14294         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
14295         (eww-back-url): Rename from eww-previous-url.
14296         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14297         New defuns.
14299 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
14301         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14302         Distinguish ternary operator tokens from slash symbol and slash
14303         char literal.
14305 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14307         Convert symbol prettification into minor mode and global minor mode.
14309         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14310         `prog-prettify-symbols', and make a local defvar instead of defcustom.
14311         (prettify-symbols--keywords): Rename from
14312         `prog-prettify-symbols-alist' and make a local defvar.
14313         (prettify-symbols--compose-symbol): Rename from
14314         `prog--prettify-font-lock-compose-symbol'.
14315         (prettify-symbols--make-keywords): Rename from
14316         `prog-prettify-font-lock-symbols-keywords' and simplify.
14317         (prog-prettify-install): Remove.
14318         (prettify-symbols-mode): New minor mode, based on
14319         `prog-prettify-install'.
14320         (turn-on-prettify-symbols-mode): New function.
14321         (global-prettify-symbols-mode): New globalized minor mode.
14323         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14324         * progmodes/cfengine.el (cfengine3-mode):
14325         * progmodes/perl-mode.el (perl-mode): Don't call
14326         `prog-prettify-install'; set `prettify-symbols-alist' instead.
14328 2013-06-18  Juri Linkov  <juri@jurta.org>
14330         * files-x.el (modify-file-local-variable-message): New function.
14331         (modify-file-local-variable)
14332         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14333         and call `modify-file-local-variable-message' when it's non-nil.
14334         (add-file-local-variable, delete-file-local-variable)
14335         (add-file-local-variable-prop-line)
14336         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14337         and use it.  (Bug#9820)
14339 2013-06-18  Juri Linkov  <juri@jurta.org>
14341         * emulation/vi.el (vi-shell-op):
14342         * emulation/vip.el (vip-execute-com, ex-command):
14343         * emulation/viper-cmd.el (viper-exec-bang):
14344         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14345         the call of `shell-command-on-region'.  (Bug#14637)
14347         * simple.el (shell-command-on-region): Doc fix.
14349 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14351         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14352         (bug#14633).
14354 2013-06-18  Glenn Morris  <rgm@gnu.org>
14356         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14358         * newcomment.el (comment-search-forward, comment-search-backward):
14359         Doc fix.  (Bug#14376)
14361 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14363         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14364         (buffer-face-mode-invoke): Doc fix.
14366 2013-06-18  Matthias Meulien  <orontee@gmail.com>
14368         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14369         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14371 2013-06-18  Glenn Morris  <rgm@gnu.org>
14373         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14374         Replace obsolete function generic-make-keywords with its expansion.
14376         * progmodes/python.el (ffap-alist): Declare.
14378         * textmodes/reftex.el (bibtex-mode-map): Declare.
14380 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14382         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14383         (package-unpack, package-unpack-single): Return the pkg-dir.
14384         (package-download-transaction): Use it to update package-alist.
14386 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14388         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14389         possible choice.
14391 2013-06-17  Juri Linkov  <juri@jurta.org>
14393         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14395 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14397         * emacs-lisp/package.el (package-load-descriptor):
14398         Remove `with-syntax-table' call, `read' doesn't need it.
14399         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14401 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14403         * startup.el (command-line): Expand package name returned by
14404         `package--description-file' (bug#14639).
14406 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14408         * emacs-lisp/package.el (package-load-descriptor): Do not call
14409         `emacs-lisp-mode', just use its syntax table.
14411 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14413         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14414         `font-lock-extra-managed-props' if any prettifying keyword is added.
14415         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14416         (prog-mode): Use `setq-local'.
14418 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14420         * international/characters.el (standard-case-table): Set syntax of ?»
14421         and ?« to punctuation.
14423 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
14425         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14426         Save relevant match data before calling `syntax-ppss' (bug#14595).
14428 2013-06-15  Juri Linkov  <juri@jurta.org>
14430         * files-x.el (modify-file-local-variable-prop-line): Add local
14431         variables to the end of the existing comment on the first line.
14432         Use `file-auto-mode-skip' to skip interpreter magic line,
14433         and also skip XML declaration.
14435 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14437         * startup.el (package--builtin-versions): New var.
14438         (package-subdirectory-regexp): Remove.
14439         (package--description-file): Hard code its value instead.
14441         * emacs-lisp/package.el: Don't activate packages older than builtin.
14442         (package-obsolete-list): Rename from package-obsolete-alist, and make
14443         it into a simple list of package-desc.
14444         (package-strip-version): Remove.
14445         (package-built-in-p): Use package--builtin-versions.
14446         (package-mark-obsolete): Simplify.
14447         (package-process-define-package): Mark it obsolete if older than the
14448         builtin version.
14449         (package-handle-response): Use line-end-position.
14450         (package-read-archive-contents, package--download-one-archive):
14451         Simplify.
14452         (package--add-to-archive-contents): Skip if older than the builtin or
14453         installed version.
14454         (package-menu-describe-package): Fix last change.
14455         (package-list-unversioned): New var.
14456         (package-menu--generate): Use it.
14458         * emacs-lisp/autoload.el: Manage package--builtin-versions.
14459         (autoload--insert-text, autoload--insert-cookie-text): New functions.
14460         (autoload-builtin-package-versions): New variable.
14461         (autoload-generate-file-autoloads): Use them.
14462         Remove the list of autoloaded functions/macros from the
14463         (autoload...) comments.
14465         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14467 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
14469         * simple.el (line-move-partial): Don't jump to the next screen
14470         line as soon as it becomes visible.  Instead, continue enlarging
14471         the vscroll until the portion of a tall screen line that's left on
14472         display is about the height of the frame's default font.
14473         (Bug#14567)
14475 2013-06-15  Glenn Morris  <rgm@gnu.org>
14477         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14478         compilation-error-regexp-alist void, or local while let-bound.
14480         * progmodes/make-mode.el (makefile-mode-syntax-table):
14481         Treat "=" as punctuation.  (Bug#14614)
14483 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
14485         * help-fns.el (describe-variable):
14486         Add extra line for permanent-local variables.
14488 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
14490         * progmodes/scheme.el (scheme-font-lock-keywords-2):
14491         Add export, import, library.  (Bug#9164)
14492         (library): Set indent function.
14494 2013-06-14  Glenn Morris  <rgm@gnu.org>
14496         * term/xterm.el (xterm--query):
14497         Stop after first matching handler.  (Bug#14615)
14499 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
14501         Add support for dired in saveplace.
14502         * dired.el (dired-initial-position-hook): New variable.
14503         (dired-initial-position): Call hook to place cursor position.
14504         * saveplace.el (save-place-to-alist): Add dired position.
14505         (save-place-dired-hook): New function.
14507 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14509         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
14510         through a symbol rather than letrec.
14512         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
14513         (package-desc): Add `dir' field.
14514         (package-desc-full-name): New function.
14515         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
14516         (package-maybe-load-descriptor): Remove.
14517         (package-load-all-descriptors): Just call package-load-descriptor.
14518         (package--disabled-p): New function.
14519         (package-desc-vers, package-desc-doc): Remove aliases.
14520         (package--dir): Remove function.
14521         (package-activate): Check if a package is disabled.
14522         (package-process-define-package): New function, extracted from
14523         define-package.
14524         (define-package): Turn into a place holder.
14525         (package-unpack-single, package-tar-file-info):
14526         Use package--description-file.
14527         (package-compute-transaction): Use package--disabled-p.
14528         (package-download-transaction): Don't call
14529         package-maybe-load-descriptor since they're all loaded anyway.
14530         (package-install): Change argument to be a pkg-desc.
14531         (package-delete): Use a single pkg-desc argument.
14532         (describe-package-1): Use package-desc-dir instead of package--dir.
14533         Use package-desc property instead of package-symbol.
14534         (package-install-button-action): Adjust accordingly.
14535         (package--push): Rewrite.
14536         (package-menu--print-info): Adjust accordingly.  Change the ID format
14537         to be a pkg-desc.
14538         (package-menu-describe-package, package-menu-get-status)
14539         (package-menu--find-upgrades, package-menu-mark-upgrades)
14540         (package-menu-execute, package-menu--name-predicate):
14541         Adjust accordingly.
14542         * startup.el (package--description-file): New function.
14543         (command-line): Use it.
14544         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14545         Use package-desc-version.
14547         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
14548         (byte-compile-preprocess): Use it.
14549         (byte-compile-file-form-defalias): Try a bit harder to use macros we
14550         can't quite recognize.
14551         (byte-compile-add-to-list): Remove.
14552         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
14553         (cconv-closure-convert): Add assertion.
14555         * emacs-lisp/map-ynp.el: Use lexical-binding.
14556         (map-y-or-n-p): Remove unused vars `tail' and `object'.
14557         Factor out some repeated code.
14559 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14561         * subr.el (with-eval-after-load): New macro.
14562         (eval-after-load): Allow form to be a function.
14563         take advantage of lexical-binding.
14564         (do-after-load-evaluation): Use dolist and adjust to new format.
14565         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
14567 2013-06-13  Juri Linkov  <juri@jurta.org>
14569         * replace.el (perform-replace): Display "symbol " and other search
14570         modes from `isearch-message-prefix' in the *Help* buffer.
14572         * isearch.el (isearch-query-replace): Add " symbol" and other
14573         possible search modes from `isearch-message-prefix' to the prompt.
14574         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
14575         when reading a regexp to collect.
14577 2013-06-13  Juri Linkov  <juri@jurta.org>
14579         * isearch.el (word-search-regexp): Match whitespace if the search
14580         string begins or ends in whitespace.  The LAX arg is applied to
14581         both ends of the search string.  Use `regexp-quote' and explicit
14582         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
14583         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
14584         boundaries are replaced with symbol boundaries, and characters
14585         between symbols match non-word non-symbol syntax.  (Bug#14602)
14587 2013-06-13  Juri Linkov  <juri@jurta.org>
14589         * isearch.el (isearch-del-char): Don't exceed the length of
14590         `isearch-string' by the prefix arg.  (Bug#14563)
14592 2013-06-13  Juri Linkov  <juri@jurta.org>
14594         * isearch.el (isearch-yank-word, isearch-yank-line)
14595         (isearch-char-by-name, isearch-quote-char)
14596         (isearch-printing-char, isearch-process-search-char):
14597         Add optional count prefix arg.  (Bug#14563)
14599         * international/isearch-x.el
14600         (isearch-process-search-multibyte-characters):
14601         Add optional count prefix arg.
14603 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14605         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14606         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14607         lexical-binding.
14609 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
14611         * subr.el (set-temporary-overlay-map): Add on-exit argument.
14613 2013-06-13  Glenn Morris  <rgm@gnu.org>
14615         * startup.el (tty-handle-args):
14616         Don't just discard "--" and anything after.  (Bug#14608)
14618         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14620 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
14622         Implement changes in Secret Service API.  Make it backward compatible.
14623         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14624         (secrets-create-item): Use it.  Prefix properties with interface.
14626 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
14628         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
14629         (term-emulate-terminal): Respect term-suppress-hard-newline.
14631 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
14633         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14634         Only remove a `thumb-file' overlay.  (Bug#14548)
14636 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
14638         * mail/reporter.el (reporter-submit-bug-report):
14639         Handle missing package-name.  (Bug#14600)
14641 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14643         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
14644         (reftex-citation-prompt, reftex-default-bibliography)
14645         (reftex-bib-or-thebib, reftex-get-bibfile-list)
14646         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
14647         (reftex-bib-sort-author, reftex-bib-sort-year)
14648         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
14649         (reftex-extract-bib-entries-from-thebibliography)
14650         (reftex-get-bibkey-default, reftex-get-bib-names)
14651         (reftex-parse-bibtex-entry, reftex-get-bib-field)
14652         (reftex-format-bib-entry, reftex-parse-bibitem)
14653         (reftex-format-bibitem, reftex-do-citation)
14654         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
14655         (reftex-restrict-bib-matches, reftex-extract-bib-file)
14656         (reftex-insert-bib-matches, reftex-format-citation)
14657         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
14658         (reftex-create-bibtex-file): Add docstrings, mostly by converting
14659         existing comments into docstrings.
14661 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14663         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
14665 2013-06-12  Andreas Schwab  <schwab@suse.de>
14667         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
14668         for auto-save files.
14670 2013-06-12  Glenn Morris  <rgm@gnu.org>
14672         * ido.el (ido-delete-ignored-files): Remove.
14673         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
14674         Go back to calling ido-ignore-item-p directly.
14676 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
14678         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
14680         * ido.el (ido-delete-ignored-files): New function,
14681         split from ido-make-file-list-1.
14682         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
14683         (ido-make-file-list-1): Use ido-delete-ignored-files.
14685 2013-06-12  Leo Liu  <sdl.web@gmail.com>
14687         * progmodes/octave.el (inferior-octave-startup)
14688         (inferior-octave-completion-table)
14689         (inferior-octave-track-window-width-change)
14690         (octave-eldoc-function-signatures, octave-help)
14691         (octave-find-definition): Use single quoted strings.
14692         (inferior-octave-startup-args): Change default value.
14693         (inferior-octave-startup): Do not hard code "-i" and
14694         "--no-line-editing".
14695         (inferior-octave-resync-dirs): Add optional arg NOERROR.
14696         (inferior-octave-directory-tracker): Use it.
14697         (octave-goto-function-definition): Robustify.
14698         (octave-help): Support highlighting operators in 'See also'.
14699         (octave-find-definition): Find subfunctions only in Octave mode.
14701 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14703         * help-fns.el (help-fns--compiler-macro): If the handler function is
14704         named, then put a link to it.
14705         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
14706         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
14707         (cl-typep): Use it.
14708         (cl-eval-when): Simplify debug spec.
14709         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
14710         compiler-macro function instead of setting `compiler-macro-file'.
14712 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
14714         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
14715         * vc/vc-hooks.el (vc-stay-local): Doc fix.
14717 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14718             Daniel Hackney  <dan@haxney.org>
14720         First part of Daniel Hackney's patch to package.el.
14721         * emacs-lisp/package.el: Use defstruct.
14722         (package-desc): New, main struct.
14723         (package--bi-desc, package--ac-desc): New structs, used to describe the
14724         format in external files.
14725         (package-desc-vers): Replace with package-desc-version accessor.
14726         (package-desc-doc): Replace with package-desc-summary accessor.
14727         (package-activate-1): Remove `package' arg since the pkg-vec now
14728         includes the name.
14729         (define-package): Use package-desc-from-define.
14730         (package-unpack-single): Change file-name arg to be a symbol.
14731         (package--add-to-archive-contents): Use package-desc-create and new
14732         accessor functions to package--ac-desc.
14733         (package-buffer-info, package-tar-file-info): Return a package-desc.
14734         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
14735         arg to be a package-desc.
14736         (package-install-file): Adjust accordingly.  Use \' to match EOS.
14737         (package--from-builtin): New function.
14738         (describe-package-1, package-menu--generate): Use it.
14739         (package--make-autoloads-and-compile): Change name arg to be a symbol.
14740         (package-generate-autoloads): Idem and return the name of the file.
14741         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14742         Change pkg-info arg to be a package-desc.
14743         Use package-make-ac-desc.
14744         (package-upload-file): Use \' to match EOS.
14745         * finder.el (finder-compile-keywords): Use package-make-builtin.
14747 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14749         * vc/vc.el (vc-deduce-fileset): Change error message.
14750         (vc-read-backend): New function.
14751         (vc-next-action): Use it.
14753         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
14755         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
14756         (prolog-font-lock-keywords): Use regexp-opt instead.
14757         Don't manually highlight strings.
14758         (prolog-mode-variables): Simplify comment-start-skip.
14759         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
14761         * emacs-lisp/generic.el (generic--normalise-comments)
14762         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
14763         (generic-mode-set-comments): Use them.
14764         (generic-bracket-support): Use setq-local.
14765         (generic-make-keywords-list): Declare obsolete.
14767 2013-06-11  Glenn Morris  <rgm@gnu.org>
14769         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14770         Prettify after setting font-lock-defaults.  (Bug#14574)
14772 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
14774         * replace.el (query-replace, occur-read-regexp-defaults-function)
14775         (replace-search):
14776         * subr.el (declare-function, number-sequence, local-set-key)
14777         (substitute-key-definition, locate-user-emacs-file)
14778         (with-silent-modifications, split-string, eval-after-load):
14779         Fix typos, remove unneeded backslashes and reflow some docstrings.
14781 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14783         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
14784         default for Elisp files.
14786 2013-06-11  Glenn Morris  <rgm@gnu.org>
14788         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
14789         although define-derived-mode was doing this anyway.  (Bug#14583)
14791 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
14793         * allout.el (allout-encryption-plaintext-sanitization-regexps):
14794         Fix make-variable-buffer-local call to refer to the correct variable.
14796 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
14798         * eshell/em-term.el (eshell-visual-commands)
14799         (eshell-visual-subcommands, eshell-visual-options):
14800         Add summary line to docstrings.  Add cross-references.
14802 2013-06-10  Glenn Morris  <rgm@gnu.org>
14804         * epa.el (epa-read-file-name): New function.  (Bug#14510)
14805         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
14807 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14809         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
14810         output redirection to be ignored with visual commands.
14812 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
14814         * eshell/em-term.el (eshell-visual-command-p): New function.
14815         (eshell-term-initialize): Move long lambda to separate function
14816         eshell-visual-command-p.
14817         * eshell/em-dirs.el (eshell-dirs-initialize):
14818         * eshell/em-script.el (eshell-script-initialize):
14819         Add missing #' to lambda.
14821 2013-06-08  Leo Liu  <sdl.web@gmail.com>
14823         * progmodes/octave.el (octave-add-log-current-defun): New function.
14824         (octave-mode): Set add-log-current-defun-function.
14825         (octave-goto-function-definition): Do not move point if not found.
14826         (octave-find-definition): Enhance to try subfunctions first.
14828 2013-06-08  Glenn Morris  <rgm@gnu.org>
14830         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14831         (byte-compile-backward-char, byte-compile-backward-word):
14832         Improve previous change, to handle non-explicit nil.
14834 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14836         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
14837         (smie--opener/closer-at-point): New function.
14838         (smie--matching-block-data): Use it.  Don't match from right after an
14839         opener or right before a closer.  Obey smie-blink-matching-inners.
14840         Don't signal a mismatch for repeated inners like "switch..case..case".
14842 2013-06-07  Leo Liu  <sdl.web@gmail.com>
14844         * progmodes/octave.el (octave-mode): Set comment-use-global-state
14845         to t.  (Bug#14303)
14846         (octave-function-header-regexp): Fix.  (Bug#14570)
14847         (octave-help-mode-finish-hook, octave-help-mode-finish):
14848         Remove.  Just use temp-buffer-show-hook.
14850         * newcomment.el (comment-search-backward): Revert last change.
14851         (Bug#14434)
14853         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14855 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
14857         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14858         through xargs, to avoid failure due to MS-Windows limitations on
14859         command-line length.
14861 2013-06-06  Glenn Morris  <rgm@gnu.org>
14863         * font-lock.el (lisp-font-lock-keywords-2):
14864         Treat user-error like error.
14866         * emacs-lisp/bytecomp.el (byte-compile-char-before)
14867         (byte-compile-backward-char, byte-compile-backward-word):
14868         Handle explicit nil arguments.  (Bug#14565)
14870 2013-06-05  Alan Mackenzie  <acm@muc.de>
14872         * isearch.el (isearch-allow-prefix): New user option.
14873         (isearch-other-meta-char): Don't exit isearch when a prefix
14874         argument is typed whilst `isearch-allow-prefix' is non-nil.
14875         (Bug#9706)
14877 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14879         * autorevert.el (auto-revert-notify-handler): Use memq.
14880         Hide assertion failure.
14882         * skeleton.el: Use cl-lib.
14883         (skeleton-further-elements): Use defvar-local.
14884         (skeleton-insert): Use cl-progv.
14886 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14888         * progmodes/prog-mode.el (prog-prettify-symbols)
14889         (prog-prettify-install): Update docstrings.
14891 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14893         * simple.el: Move all the prog-mode code to prog-mode.el.
14894         * progmodes/prog-mode.el: New file.
14895         * loadup.el: Add prog-mode.el.
14897 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14899         * simple.el (prog-prettify-symbols): Add version.
14900         (prog-prettify-install): Add convenience function to prettify symbols.
14902         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14903         (perl--augmented-font-lock-keywords-1)
14904         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14905         variables and use it.
14907         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14908         (cfengine3-mode): Remove unneeded variable and use it.
14910         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14911         (lisp--augmented-font-lock-keywords-1)
14912         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14913         Remove unneeded variables and use it.
14915 2013-06-05  João Távora  <joaotavora@gmail.com>
14917         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14918         to point when opening the connection.  (Bug#14380)
14920 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14922         * subr.el (load-history-regexp, load-history-filename-element)
14923         (eval-after-load, after-load-functions, do-after-load-evaluation)
14924         (eval-next-after-load, display-delayed-warnings)
14925         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14926         definition of save-match-data.
14927         (overriding-local-map): Remove accidental obsolescence declaration.
14929         * emacs-lisp/edebug.el (edebug-result): Move before first use.
14931 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
14933         Generalize symbol prettify support to prog-mode and implement it
14934         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14935         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14936         (prog--prettify-font-lock-compose-symbol)
14937         (prog-prettify-font-lock-symbols-keywords): New variables and
14938         functions to support symbol prettification.
14939         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14940         (lisp--augmented-font-lock-keywords-1)
14941         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14942         (lisp--prettify-symbols-alist): Implement prettify of lambda.
14943         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14944         (cfengine3--prettify-symbols-alist, cfengine3-mode):
14945         Implement prettify of -> => :: strings.
14946         * progmodes/perl-mode.el (perl-prettify-symbols)
14947         (perl--font-lock-compose-symbol)
14948         (perl--font-lock-symbols-keywords): Move to prog-mode.
14949         (perl--prettify-symbols-alist): Prettify -> => :: strings.
14950         (perl-font-lock-keywords-1)
14951         (perl-font-lock-keywords-2): Remove explicit prettify support.
14952         (perl--augmented-font-lock-keywords)
14953         (perl--augmented-font-lock-keywords-1)
14954         (perl--augmented-font-lock-keywords-2, perl-mode):
14955         Implement prettify support.
14957 2013-06-05  Leo Liu  <sdl.web@gmail.com>
14959         Re-implement SMIE matching block highlight using
14960         show-paren-data-function.  (Bug#14395)
14961         * emacs-lisp/smie.el (smie-matching-block-highlight)
14962         (smie--highlight-matching-block-overlay)
14963         (smie--highlight-matching-block-lastpos)
14964         (smie-highlight-matching-block)
14965         (smie-highlight-matching-block-mode): Remove.
14966         (smie--matching-block-data-cache): New variable.
14967         (smie--matching-block-data): New function.
14968         (smie-setup): Use smie--matching-block-data for
14969         show-paren-data-function.
14971         * progmodes/octave.el (octave-mode-menu): Fix.
14972         (octave-find-definition): Skip garbage lines.
14974 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14976         Fix compilation error with simultaneous dynamic+lexical scoping.
14977         Add warning when a defvar appears after the first let-binding.
14978         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14979         (byte-compile-close-variables): Initialize it.
14980         (byte-compile--declare-var): New function.
14981         (byte-compile-file-form-defvar)
14982         (byte-compile-file-form-define-abbrev-table)
14983         (byte-compile-file-form-custom-declare-variable): Use it.
14984         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
14985         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14986         (byte-compile-bind): Handle dynamic bindings that shadow
14987         lexical bindings.
14988         (byte-compile-unbind): Make arg non-optional.
14989         (byte-compile-let): Simplify.
14990         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14991         (cconv--analyse-function, cconv-analyse-form): Populate it.
14992         Protect byte-compile-bound-variables to limit the scope of defvars.
14993         (cconv-analyse-form): Add missing rule for (defvar <foo>).
14994         Remove unneeded rule for `declare'.
14996         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14997         so as to avoid depending on cl-adjoin at run-time.
14998         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15000         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15001         (macroexp--warn-and-return): Use it.
15003 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15005         * subr.el: Convert to lexical binding.
15006         (overriding-local-map): Make obsolete.
15007         (add-to-list): Doc fix.  Add compiler macro.
15008         (read-key): Swap values of local maps.
15010 2013-06-05  Leo Liu  <sdl.web@gmail.com>
15012         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15014 2013-06-04  Leo Liu  <sdl.web@gmail.com>
15016         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15017         (compilation-auto-jump): Suppress the "Mark set" message to give
15018         way to exit message.
15020 2013-06-04  Alan Mackenzie  <acm@muc.de>
15022         Remove faulty optimisation from indentation calculation.
15023         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15024         search limit based on 2000 characters back from indent-point.
15026 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15028         * eshell/em-term.el (cl-lib): Require `cl-lib'.
15030 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15032         * emacs-lisp/lisp.el: Use lexical-binding.
15033         (lisp--local-variables-1, lisp--local-variables): New functions.
15034         (lisp--local-variables-completion-table): New var.
15035         (lisp-completion-at-point): Use it complete let-bound vars.
15037         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15038         eagerly (bug#14422).
15040 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
15042         * autorevert.el (auto-revert-notify-enabled)
15043         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15044         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15045         (auto-revert-notify-handler): Handle also gfilenotify.
15047         * subr.el (file-notify-handle-event): New defun.  Replacing ...
15048         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15049         Remove.
15051 2013-06-03  Juri Linkov  <juri@jurta.org>
15053         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15054         `M-s h .'.  (Bug#14427)
15056         * hi-lock.el (highlight-symbol-at-point): New alias for the new
15057         command `hi-lock-face-symbol-at-point'.
15058         (hi-lock-face-symbol-at-point): New command.
15059         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15060         (hi-lock-menu): Add `highlight-symbol-at-point'.
15061         (hi-lock-mode): Doc fix.
15063         * isearch.el (isearch-forward-symbol-at-point): New command.
15064         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15065         (isearch-highlight-regexp): Add a regexp which matches
15066         words/symbols for word/symbol mode.
15068         * subr.el (find-tag-default-bounds): New function with the body
15069         mostly moved from `find-tag-default'.
15070         (find-tag-default): Move most code to `find-tag-default-bounds',
15071         call it and apply `buffer-substring-no-properties' afterwards.
15073 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15075         * eshell/em-term.el (eshell-term-initialize):
15076         Use `cl-intersection' rather than `intersection'.
15078 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
15080         * vc/log-view.el: Doc fix.
15081         (log-view-mode-map): Copy keymap from `special-mode-map'.
15083 2013-06-02  Eric Ludlam  <zappo@gnu.org>
15085         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15086         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15087         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15088         (eieio-unbound, eieio-default-superclass)
15089         (eieio--define-field-accessors, method-static, method-before)
15090         (method-primary, method-after, method-num-lists)
15091         (method-generic-before, method-generic-primary)
15092         (method-generic-after, method-num-slots)
15093         (eieio-specialized-key-to-generic-key)
15094         (eieio--check-type, class-v, class-p)
15095         (eieio-class-name, define-obsolete-function-alias)
15096         (eieio-class-parents-fast, eieio-class-children-fast)
15097         (same-class-fast-p, class-constructor, generic-p)
15098         (generic-primary-only-p, generic-primary-only-one-p)
15099         (class-option-assoc, class-option, eieio-object-p)
15100         (class-abstract-p, class-method-invocation-order)
15101         (eieio-defclass-autoload-map, eieio-defclass-autoload)
15102         (eieio-class-un-autoload, eieio-defclass)
15103         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15104         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15105         (eieio--defgeneric-init-form, eieio-defgeneric-form)
15106         (eieio-defgeneric-reset-generic-form)
15107         (eieio-defgeneric-form-primary-only)
15108         (eieio-defgeneric-reset-generic-form-primary-only)
15109         (eieio-defgeneric-form-primary-only-one)
15110         (eieio-defgeneric-reset-generic-form-primary-only-one)
15111         (eieio-unbind-method-implementations)
15112         (eieio--defmethod, eieio--typep)
15113         (eieio-perform-slot-validation, eieio-validate-slot-value)
15114         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15115         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15116         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15117         (eieio-slot-name-index, eieio-class-slot-name-index)
15118         (eieio-set-defaults, eieio-initarg-to-attribute)
15119         (eieio-attribute-to-initarg, eieio-c3-candidate)
15120         (eieio-c3-merge-lists, eieio-class-precedence-c3)
15121         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15122         (eieio-class-precedence-list, eieio-generic-call-methodname)
15123         (eieio-generic-call-arglst, eieio-generic-call-key)
15124         (eieio-generic-call-next-method-list)
15125         (eieio-pre-method-execution-functions, eieio-generic-call)
15126         (eieio-generic-call-primary-only, eieiomt-method-list)
15127         (eieiomt-optimizing-obarray, eieiomt-install)
15128         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15129         (eieio-generic-form, eieio-defmethod, make-obsolete)
15130         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15131         (defclass): Remove `eval-and-compile' from macro.
15132         (call-next-method, shared-initialize): Instead of using
15133         `scoped-class' variable, use new eieio--scoped-class, and
15134         eieio--with-scoped-class.
15135         (initialize-instance): Rename local variable 'scoped-class' to
15136         'this-class' to remove ambiguitity from old global.
15138         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
15139         eieio.el.
15140         (eieio--scoped-class-stack): New variable.
15141         (eieio--scoped-class): New fcn.
15142         (eieio--with-scoped-class): New scoping macro.
15143         (eieio-defclass): Use pushnew instead of add-to-list.
15144         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15145         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15146         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15147         `scoped-class' variable, use new eieio--scoped-class, and
15148         eieio--with-scoped-class.
15150         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15152 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
15154         * eshell/esh-ext.el (eshell-external-command): Pass args to
15155         `eshell-find-interpreter'.
15156         (eshell-find-interpreter): Add new second parameter ARGS.
15158         * eshell/em-script.el (eshell-script-initialize): Add second arg
15159         to the function added as MATCH to `eshell-interpreter-alist'.
15161         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15162         the function added as MATCH to `eshell-interpreter-alist'.
15164         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15165         (eshell-visual-options): New defcustom.
15166         (eshell-escape-control-x): Adapt docstring.
15167         (eshell-term-initialize): Test `eshell-visual-subcommands' and
15168         `eshell-visual-options' in addition to `eshell-visual-commands'.
15169         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15171 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15173         * progmodes/python.el (python-indent-block-enders): Add break,
15174         continue and raise keywords.
15176 2013-06-01  Glenn Morris  <rgm@gnu.org>
15178         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15180         Plain (f)boundp silences compilation warnings since Emacs 22.1.
15181         * progmodes/cc-cmds.el (delete-forward-p):
15182         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15183         * progmodes/cc-engine.el (buffer-syntactic-context):
15184         * progmodes/cc-fonts.el (face-property-instance):
15185         * progmodes/cc-mode.el (set-keymap-parents):
15186         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15187         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15188         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15189         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15190         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15192         * progmodes/cc-vars.el (other): Emacs has this widget since
15193         at least 21.1, so don't (re)define it.
15195         * eshell/em-cmpl.el (eshell-cmpl-initialize):
15196         Replace the obsolete alias pcomplete-arg-quote-list.
15198 2013-06-01  Leo Liu  <sdl.web@gmail.com>
15200         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15201         punctuation syntax.
15202         (inferior-octave-minimal-columns)
15203         (inferior-octave-last-column-width): New variables.
15204         (inferior-octave-track-window-width-change): New function.
15205         (inferior-octave-mode): Adjust column width so that Octave output,
15206         for example from 'ls', can fit into the window nicely.
15208 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15210         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15211         Highlight expansions inside regexp literals.
15213 2013-05-31  Glenn Morris  <rgm@gnu.org>
15215         * obsolete/sym-comp.el (symbol-complete):
15216         Replace obsolete completion-annotate-function.
15218         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15220 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15222         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15223         New function, checks if point is inside a literal that allows
15224         expression expansion.
15225         (ruby-syntax-propertize-expansion): Use it.
15226         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15227         around the body.
15229 2013-05-30  Juri Linkov  <juri@jurta.org>
15231         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15232         to "\M-si".
15233         (isearch-invisible): New variable.
15234         (isearch-forward): Doc fix.
15235         (isearch-mode): Set `isearch-invisible'
15236         to the value of `search-invisible'.
15237         (isearch-toggle-case-fold): Doc fix.
15238         (isearch-toggle-invisible): New command.
15239         (isearch-query-replace): Let-bind `search-invisible'
15240         to the value of `isearch-invisible'.
15241         (isearch-search): Use `isearch-invisible' instead of
15242         `search-invisible'.  Let-bind `search-invisible'
15243         to the value of `isearch-invisible'.  (Bug#11378)
15245 2013-05-30  Juri Linkov  <juri@jurta.org>
15247         * replace.el (perform-replace): Avoid `isearch-range-invisible'
15248         call when `query-flag' is nil and `search-invisible' is non-nil.
15249         (Bug#11746)
15251 2013-05-30  Glenn Morris  <rgm@gnu.org>
15253         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15255         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15256         (cc-require): Suppress spurious "noruntime" warnings.
15257         (cc-require-when-compile): Use fboundp, for sake of compiler.
15259         * progmodes/cc-mode.el: Move load of cc-vars before that of
15260         cc-langs (which in turn loads cc-vars), to quieten compiler.
15262 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15264         * paren.el: Simplify the code.
15265         (show-paren-mode): Always start the timer.
15266         (show-paren--idle-timer): Rename from show-paren-idle-timer.
15267         (show-paren--overlay, show-paren--overlay-1): Rename from
15268         show-paren-overlay and show-paren-overlay-1, and initialize to an
15269         overlay rather than to nil.
15270         (show-paren-function): Misc cleanup and simplifications.
15272 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15274         * paren.el (show-paren-data-function): New hook.
15275         (show-paren--default): New function, extracted from show-paren-function.
15276         (show-paren-function): Use show-paren-data-function.
15278 2013-05-30  Glenn Morris  <rgm@gnu.org>
15280         * ielm.el (ielm-map, ielm-complete-symbol):
15281         Use completion-at-point rather than obsolete functions.
15282         (inferior-emacs-lisp-mode): Doc fix.
15283         Set completion-at-point-functions, rather than
15284         comint-dynamic-complete-functions.
15286         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15287         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15288         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15290         * image.el (image-animated-p): Tweak definition.
15292         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15293         (rlogin-process-connection-type): Tweak default.  Add set-after.
15294         (rlogin-host): Doc fix.
15295         (rlogin): Tweak prompt.
15296         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15298         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15299         * progmodes/tcl.el (inferior-tcl-mode-map):
15300         Use completion-at-point rather than obsolete alias.
15302         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15304         * minibuffer.el (read-file-name-completion-ignore-case):
15305         Move before completion--in-region, for eager macro expansion.
15307 2013-05-29  Juri Linkov  <juri@jurta.org>
15309         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15310         for total count of matching lines.  Add `global-matches' for total
15311         count of matches.  Rename `matches' to `lines' for count of
15312         matching lines.  Add `matches' for count of matches.
15313         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
15314         to `prev-line' for line number of prev match endpt.
15315         Increment `matches' for every match.  Print the number of
15316         matching lines in the header.
15317         (occur-context-lines): Rename `lines' to `curr-line'.
15318         Rename `prev-lines' to `prev-line'.  (Bug#14017)
15320 2013-05-29  Juri Linkov  <juri@jurta.org>
15322         * replace.el (perform-replace): Add `skip-read-only-count',
15323         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15324         Increment them for corresponding conditions and report the number
15325         of skipped occurrences in the final message.  (Bug#11746)
15326         (query-replace, query-replace-regexp, query-replace-regexp-eval)
15327         (replace-string, replace-regexp): Doc fix.
15329 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15331         * emacs-lisp/trace.el (trace--read-args): Provide a default.
15333         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15334         prog-mode-map (bug#14504).
15336 2013-05-29  Leo Liu  <sdl.web@gmail.com>
15338         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15339         (octave-help): Small simplification.
15341         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15342         off the highlight first.
15344 2013-05-29  Glenn Morris  <rgm@gnu.org>
15346         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15347         Handle idlwave-last-system-routine-info-cons-cell being nil.
15349         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15350         (idlwave-write-paths): Simplify via with-temp-buffer.
15352         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15353         * emulation/cua-rect.el: Also load cua-base at run time.
15355         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15356         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15357         (cperl-imenu-on-info): Require imenu.
15359 2013-05-28  Alan Mackenzie  <acm@muc.de>
15361         Handle "capitalised keywords" correctly.
15362         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15364 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
15366         * eshell/em-unix.el: Add -r option to cp.
15368 2013-05-28  Glenn Morris  <rgm@gnu.org>
15370         * vc/vc-arch.el (vc-exec-after): Declare.
15371         (vc-switches): Autoload.
15372         * vc/vc-bzr.el: No need to require vc when compiling.
15373         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15374         (vc-resynch-buffer, vc-dir-refresh): Declare.
15375         (vc-setup-buffer, vc-switches): Autoload.
15376         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15377         (vc-resynch-buffer): Declare.
15378         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15379         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15380         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15381         (grep-read-regexp, grep-read-files, grep-expand-template)
15382         (vc-dir-refresh): Declare.
15383         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15384         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15385         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15386         * vc/vc-mtn.el (vc-exec-after): Declare.
15387         (vc-switches): Autoload.
15388         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15389         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15390         (vc-file-tree-walk): Declare.
15391         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15392         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15393         (vc-tag-precondition, vc-rename-master): Autoload.
15394         * vc/vc-svn.el (vc-exec-after): Declare.
15395         (vc-switches, vc-setup-buffer): Autoload.
15396         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15397         Autoload.
15398         (vc-resynch-buffer): Declare.
15400         * obsolete/fast-lock.el (byte-compile-warnings):
15401         Don't warn about obsolete features in this obsolete file.
15403         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15404         Move definition before use.
15406         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15407         (dun-unix-verbs): Remove dun-zippy.
15408         (dun-zippy): Remove function.
15410         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15412 2013-05-27  Juri Linkov  <juri@jurta.org>
15414         * replace.el (replace-search): New function with code moved out
15415         from `perform-replace'.
15416         (replace-highlight, replace-dehighlight): Move function definitions
15417         up closer to `replace-search'.  (Bug#11746)
15419 2013-05-27  Juri Linkov  <juri@jurta.org>
15421         * replace.el (perform-replace): Ignore invisible matches.
15422         In addition to checking `query-replace-skip-read-only', also
15423         filter out matches by calling `run-hook-with-args-until-failure'
15424         on `isearch-filter-predicates', and also check `search-invisible'
15425         for t or call `isearch-range-invisible'.
15426         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
15428 2013-05-27  Juri Linkov  <juri@jurta.org>
15430         * isearch.el (isearch-filter-predicates): Rename from
15431         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
15432         (isearch-message-prefix): Display text from the property
15433         `isearch-message-prefix' of the currently active filters.
15434         (isearch-search): Don't compare `isearch-filter-predicate' with
15435         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
15436         on `isearch-filter-predicates'.  Also check `search-invisible' for t
15437         or call `isearch-range-invisible'.
15438         (isearch-filter-visible): Make obsolete.
15439         (isearch-lazy-highlight-search):
15440         Call `run-hook-with-args-until-failure' on
15441         `isearch-filter-predicates' and use `isearch-range-invisible'.
15443         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15444         `isearch-filter-predicates' instead of `funcall'ing
15445         `isearch-filter-predicate'.
15446         (Info-mode): Set `Info-isearch-filter' to
15447         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15449         * dired-aux.el (dired-isearch-filter-predicate-orig):
15450         Remove variable.
15451         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15452         (dired-isearch-filenames-end): Add and remove
15453         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15454         instead of changing the value of `isearch-filter-predicate'.
15455         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15456         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15457         Put property `isearch-message-prefix' to "filename " on
15458         `dired-isearch-filter-filenames'.
15460         * wdired.el (wdired-change-to-wdired-mode):
15461         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15462         locally instead of changing `isearch-filter-predicate'.
15463         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15465 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
15467         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15468         return the commit hash (Bug#14459).  Also set the
15469         `vc-git-detached' property.
15470         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15471         (vc-git-mode-line-string): Use the same help-echo format whether
15472         in detached mode or not, because we know the actual revision now.
15473         When in detached mode, shorten the revision to 7 chars.
15475 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15477         * emacs-lisp/easy-mmode.el (define-minor-mode):
15478         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15479         mode hook and provide a docstring.
15481 2013-05-27  Alan Mackenzie  <acm@muc.de>
15483         Remove spurious syntax-table text properties inserted by C-y.
15484         * progmodes/cc-mode.el (c-after-change): Also clear hard
15485         syntax-table property with value nil.
15487 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
15489         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15490         when reading the events; the buffer layout shall not be changed.
15492 2013-05-27  Leo Liu  <sdl.web@gmail.com>
15494         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15495         New variable.
15496         (inferior-octave-directory-tracker): Automatically re-sync
15497         default-directory.
15498         (octave-help): Improve handling of 'See also'.
15500 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15502         * doc-view.el: Minor naming convention tweaks.
15503         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
15505         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15506         even if there's no `display' property yet (bug#14435).
15508 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
15510         * subr.el (unmsys--file-name): Rename from reveal-filename.
15512         * Makefile.in (custom-deps, finder-data, autoloads)
15513         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15514         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15515         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
15517 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15519         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
15520         error-completion on the first 2 args of condition-case (bug#14446).
15521         Don't burp at EOB.
15523 2013-05-25  Leo Liu  <sdl.web@gmail.com>
15525         * comint.el (comint-previous-matching-input): Do not flood the
15526         *Messages* buffer with trivial messages.
15528 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15530         * progmodes/flymake.el (flymake-nop): Don't return a string.
15531         (flymake-set-at): Fix typo.
15533         * simple.el (read--expression): New function, extracted from
15534         eval-expression.  Set completion-at-point-functions (bug#14465).
15535         (eval-expression, eval-minibuffer): Use it.
15537 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
15539         * progmodes/flymake.el (flymake-save-buffer-in-file)
15540         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
15541         (flymake-selected-frame, flymake-log, flymake-ins-after)
15542         (flymake-set-at, flymake-get-buildfile-from-cache)
15543         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
15544         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
15545         Refine the doc string.
15546         (flymake-get-file-name-mode-and-masks): Reformat.
15547         (flymake-get-real-file-name-function): Fix a minor bug.
15549 2013-05-24  Juri Linkov  <juri@jurta.org>
15551         * progmodes/grep.el (grep-mode-font-lock-keywords):
15552         Support =linenumber= format used by git-grep for lines with
15553         function names.  (Bug#13549)
15555 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15557         * progmodes/octave.el (octave-smie-rules): Return nil rather than
15558         0 after a semi-colon; it works better for smie-auto-fill.
15559         (octave--indent-new-comment-line): New function.
15560         (octave-indent-new-comment-line): Use it (indirectly).
15561         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
15562         modify comment-line-break-function.
15564         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
15565         (smie-setup): Use add-function to set it.
15567 2013-05-24  Sam Steingold  <sds@gnu.org>
15569         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
15570         argument (before the `interactive' argument).
15572 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15574         * image-mode.el (image-mode-winprops): Add winprops to
15575         image-mode-winprops-alist before running
15576         image-mode-new-window-functions.
15577         * doc-view.el (doc-view-new-window-function): Don't delay
15578         doc-view-goto-page via timers (bug#14435).
15580 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
15582         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
15583         (doc-view-desktop-save-buffer): New function.
15584         (doc-view-restore-desktop-buffer): New function.
15585         (desktop-buffer-mode-handlers):
15586         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
15587         handler.
15588         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
15589         `desktop-save-buffer' function.
15591 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
15593         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
15594         (tramp-gvfs-file-name-handler): Raise a user error when
15595         `tramp-gvfs-enabled' is nil.
15596         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
15597         Do not raise a user error when loading package.  (Bug#14447)
15599         * net/xesam.el: Move to obsolete/.
15601 2013-05-24  Glenn Morris  <rgm@gnu.org>
15603         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15605         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15607         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15608         (Info-find-node, Man-getpage-in-background): Declare.
15610         * mail/unrmail.el (unrmail):
15611         Replace obsolete detect-coding-with-priority.
15613         * net/socks.el (socks-split-string): Use this rather than split-string.
15614         (socks-nslookup-host): Update for above change.
15615         (dynamic-choice, s5-dynamic-choice-match)
15616         (s5-dynamic-choice-match-inline, s5-widget-value-create):
15617         Comment out unused code.
15619         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15620         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15621         (gud-tooltip-echo-area): Make obsolete.
15622         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15624         * progmodes/js.el (js--optimize-arglist): Declare.
15626         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15628         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15629         (ediff-window-C): Declare.
15631         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15632         Tweak requires to silence compiler.
15634         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15635         (he-search-string, he-tried-table, he-expand-list)
15636         (he-init-string, he-string-member, he-substitute-string)
15637         (he-reset-string): Declare.
15639         * obsolete/options.el (list-options): Use custom-variable-p,
15640         rather than obsolete alias.
15642 2013-05-23  Sam Steingold  <sds@gnu.org>
15644         * simple.el (shell-command-on-region): Pass the `replace' argument
15645         down to `call-process-region' to comply with the doc as reported on
15646         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
15648 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15650         * emacs-lisp/smie.el (smie-indent-forward-token)
15651         (smie-indent-backward-token): Handle string tokens (bug#14381).
15653 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15655         * ielm.el (ielm-menu): New menu.
15656         (inferior-emacs-lisp-mode): Set comment-start.
15658 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15660         * textmodes/reftex.el (reftex-ref-style-toggle):
15661         Fix deactivate action.
15663         * textmodes/reftex-vars.el (reftex-ref-style-alist):
15664         Add cleveref macros.
15666         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
15667         Accept options for bibliography commands.
15668         * textmodes/reftex-vars.el (reftex-bibliography-commands):
15669         Add addbibresource.  Basic Biblatex support.
15671 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
15673         * net/tramp-gvfs.el (top):
15674         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
15675         when loading package.  (Bug#14447)
15677 2013-05-23  Glenn Morris  <rgm@gnu.org>
15679         * progmodes/js.el: No need to load comint when compiling.
15680         (ring-insert, comint-send-string, comint-send-input)
15681         (comint-last-input-end, ido-chop): Declare.
15683         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
15684         * vc/ediff-mult.el: Adjust requires.
15685         (ediff-directories-internal, ediff-directory-revisions-internal)
15686         (ediff-patch-file-internal): Declare.
15687         * vc/ediff-ptch.el: Adjust requires.
15688         (ediff-use-last-dir, ediff-buffers-internal): Declare.
15689         (ediff-find-file): Autoload.
15690         * vc/ediff-util.el: No need to load ediff when compiling.
15691         (ediff-regions-internal): Declare.
15692         * vc/ediff-wind.el: Adjust requires.
15693         (ediff-compute-toolbar-width): Define when compiling.
15694         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
15695         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
15696         (dired-get-filename, dired-get-marked-files)
15697         (ediff-last-dir-patch, ediff-patch-default-directory)
15698         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
15699         (ediff-patch-buffer-internal): Declare.
15701         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
15702         (ispell-process, ispell-buffer-local-words, lm-summary)
15703         (lm-section-start, lm-section-end): Declare.
15704         (checkdoc-ispell-init): Simplify.
15706         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
15707         (he-string-member, he-reset-string, he-substitute-string): Declare.
15709         * eshell/em-ls.el: Adjust requires.
15710         (eshell-glob-regexp): Declare.
15711         * eshell/em-tramp.el: Adjust requires.
15712         (eshell-parse-command): Autoload.
15713         * eshell/em-xtra.el: Adjust requires.
15714         (eshell-parse-command): Autoload.
15715         * eshell/esh-ext.el: Adjust requires.
15716         (eshell-parse-command, eshell-close-handles): Autoload.
15717         * eshell/esh-io.el: Adjust requires.
15718         (eshell-output-filter): Autoload.
15719         * eshell/esh-util.el: No need to load tramp when compiling.
15720         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
15721         Declare.
15722         (eshell-parse-ange-ls): Require ange-ftp and tramp.
15723         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
15724         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
15725         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
15726         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
15727         * eshell/esh-opt.el, eshell/esh-proc.el:
15728         * eshell/esh-var.el: Adjust requires.
15729         * eshell/eshell.el: Do not require esh-util twice.
15730         (eshell-add-input-to-history): Declare.
15731         (eshell-command): Check history module is active before using it.
15733         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
15735 2013-05-22  Leo Liu  <sdl.web@gmail.com>
15737         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
15739 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
15741         * autorevert.el (auto-revert-notify-add-watch)
15742         (auto-revert-notify-handler): Add `attrib' for the inotify case,
15743         it indicates changes in file modification time.
15745 2013-05-22  Glenn Morris  <rgm@gnu.org>
15747         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15748         Always delete the autoloaded function from the noruntime and
15749         unresolved functions lists.
15751         * allout.el: No need to load epa, epg, overlay when compiling.
15752         (epg-context-set-passphrase-callback, epg-list-keys)
15753         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
15754         (epg-key-user-id-list): Declare.
15756         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15757         (viper-set-parsing-style-toggling-macro)
15758         (viper-set-emacs-state-searchstyle-macros):
15759         Use called-interactively-p on Emacs.
15760         (viper-looking-back): Make it an obsolete alias.  Update callers.
15761         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
15762         Use looking-back rather than viper-looking-back.
15763         (viper-tmp-insert-at-eob, viper-enlarge-region)
15764         (viper-read-string-with-history, viper-register-to-point)
15765         (viper-append-to-register, viper-change-state-to-vi)
15766         (viper-backward-char-carefully, viper-forward-char-carefully)
15767         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
15768         (viper-change-state-to-emacs): Declare.
15769         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
15770         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
15771         * emulation/viper-mous.el: Do not load viper-cmd.
15772         (viper-backward-char-carefully, viper-forward-char-carefully)
15773         (viper-forward-word, viper-adjust-window): Declare.
15775         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
15777         * progmodes/idlw-help.el (idlwave-help-fontify):
15778         Use called-interactively-p.
15780         * term/w32console.el (w32-get-console-codepage)
15781         (w32-get-console-output-codepage): Declare.
15783         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
15784         Remove unnecessary declarations.
15785         (dframe-message): Doc fix.
15787         * info.el (dframe-select-attached-frame, dframe-current-frame):
15788         Declare.
15790         * speedbar.el (speedbar-message): Make it an obsolete alias.
15791         Update all callers.
15792         (speedbar-with-attached-buffer)
15793         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
15794         (speedbar-with-writable): Use backquote.
15795         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
15796         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
15797         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
15798         rather than speedbar- aliases.
15799         * mail/rmail.el: Load dframe rather than speedbar when compiling.
15800         (speedbar-make-specialized-keymap, speedbar-insert-button)
15801         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
15802         (speedbar-do-function-pointer): Declare.
15803         (rmail-speedbar-button, rmail-speedbar-find-file)
15804         (rmail-speedbar-move-message):
15805         Use dframe-with-attached-buffer rather than speedbar- alias.
15806         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
15807         (dframe-message, speedbar-make-specialized-keymap)
15808         (speedbar-add-expansion-list, speedbar-mode-functions-list)
15809         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
15810         (speedbar-insert-button, dframe-select-attached-frame)
15811         (dframe-maybee-jump-to-attached-frame)
15812         (speedbar-change-initial-expansion-list)
15813         (speedbar-previously-used-expansion-list-name): Declare.
15814         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
15815         Use dframe-message, dframe-with-attached-buffer rather than
15816         speedbar- aliases.
15817         (gud-sentinel): Silence compiler.
15818         * progmodes/vhdl-mode.el (speedbar-refresh)
15819         (speedbar-do-function-pointer, speedbar-add-supported-extension)
15820         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
15821         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
15822         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
15823         (speedbar-file-lists, speedbar-make-tag-line)
15824         (speedbar-line-directory, speedbar-goto-this-file)
15825         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
15826         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
15827         (speedbar-make-button, speedbar-reset-scanners)
15828         (speedbar-files-item-info, speedbar-line-text)
15829         (speedbar-find-file-in-frame, speedbar-set-timer)
15830         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
15831         (speedbar-with-writable): Do not (re)define it.
15832         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
15833         rather than speedbar- alias.
15835 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15837         * progmodes/octave.el (octave-mode-menu): Update and re-organize
15838         menu items.
15839         (octave-mode): Tweak fill-nobreak-predicate.
15840         (inferior-octave-startup): Check process to avoid infinite loop.
15841         (inferior-octave): Pop to buffer first to show abornmal process
15842         exit information.
15844 2013-05-21  Glenn Morris  <rgm@gnu.org>
15846         * printing.el (pr-menu-bar): Define when compiling.
15848 2013-05-21  Leo Liu  <sdl.web@gmail.com>
15850         * progmodes/octave.el (octave-auto-fill): Remove.
15851         (octave-indent-new-comment-line): Improve.
15852         (octave-mode): Use auto fill mode through
15853         comment-line-break-function and fill-nobreak-predicate.
15854         (octave-goto-function-definition): Support DEFUN_DLD.
15855         (octave-beginning-of-defun): Small tweak.
15856         (octave-help): Show parent directory.
15858 2013-05-21  Glenn Morris  <rgm@gnu.org>
15860         * files.el (dired-unmark):
15861         * progmodes/gud.el (gdb-input): Update declarations.
15863         * calculator.el (electric, ehelp): No need to load when compiling.
15864         (Electric-command-loop, electric-describe-mode): Declare.
15866         * doc-view.el (doc-view-current-converter-processes): Move before use.
15868         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15869         Move MODE-set-explicitly definition before use.
15871         * international/mule-diag.el (mule-diag):
15872         Don't use obsolete window-system-version.
15874         * mail/feedmail.el (smtpmail): No need to load when compiling.
15875         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15877         * mail/mail-utils.el (rfc822): No need to load when compiling.
15878         (rfc822-addresses): Autoload it.
15879         (mail-strip-quoted-names): Trivial simplification.
15881         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15882         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15884         * net/snmp-mode.el (tempo): Don't duplicate requires.
15886         * progmodes/prolog.el (info): No need to load when compiling.
15887         (comint): Require before shell requires it.
15888         (Info-goto-node): Autoload it.
15889         (Info-follow-nearest-node): Declare.
15890         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15892         * textmodes/artist.el (picture-mode-exit): Declare.
15894         * textmodes/reftex-parse.el (reftex-parse-from-file):
15895         Trivial rewrite so the compiler can parse it better.
15897 2013-05-20  Leo Liu  <sdl.web@gmail.com>
15899         * progmodes/octave.el (octave-help-mode-map)
15900         (octave-help-mode-finish-hook): New variables.
15901         (octave-help-mode, octave-help-mode-finish): New functions.
15902         (octave-help): Use octave-help-mode.
15904 2013-05-20  Glenn Morris  <rgm@gnu.org>
15906         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
15908 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
15910         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15911         start at point, so that expansion starting right after opening
15912         slash in a regexp is recognized.
15913         (ruby-syntax-before-regexp-re): New defvar, extracted from
15914         ruby-syntax-propertize-function.  Since the value of this regexp
15915         is looked up at runtime now, we should be able to turn
15916         `ruby-syntax-methods-before-regexp' into a defcustom later.
15917         (ruby-syntax-propertize-function): Split regexp matching into two
15918         parts, for opening and closing slashes.  That allows us to skip
15919         over string interpolations and support multiline regexps.
15920         Don't call `ruby-syntax-propertize-expansions', instead use another rule
15921         for them, which calls `ruby-syntax-propertize-expansion'.
15922         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15923         call to `ruby-syntax-propertize-function'.
15924         (ruby-syntax-propertize-expansion): Extracted from
15925         `ruby-syntax-propertize-expansions'.  Handles one expansion.
15926         (ruby-syntax-propertize-percent-literal): Leave point right after
15927         the percent symbol, so that the expression expansion rule can
15928         propertize the contents.
15929         (ruby-syntax-propertize-heredoc): Leave point at bol following the
15930         heredoc openers.
15931         (ruby-syntax-propertize-expansions): Remove.
15933 2013-05-18  Juri Linkov  <juri@jurta.org>
15935         * man.el (Man-default-man-entry): Remove `-' from the end
15936         of the default value.  (Bug#14400)
15938 2013-05-18  Glenn Morris  <rgm@gnu.org>
15940         * comint.el (comint-password-prompt-regexp):
15941         Allow "password for XXX" where XXX contains colons (eg https://...).
15943 2013-05-18  Leo Liu  <sdl.web@gmail.com>
15945         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15946         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
15947         (octave-source-directories): Don't check process.
15948         (octave-source-directories, octave-find-definition): Doc fix.
15950 2013-05-18  Glenn Morris  <rgm@gnu.org>
15952         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15953         Remove backspace/delete bindings.  (Bug#14392)
15955         * cus-dep.el (custom-make-dependencies): Sort the output.
15956         (custom-versions-load-alist): Convert comment to doc.
15958 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15960         * newcomment.el (comment-search-backward): Stricter in finding
15961         comment start.  (Bug#14303)
15963         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15964         (octave-comment-start-skip): Properly anchored.
15966 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15968         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15969         Clean up when turned off.  (Bug#14395)
15970         (smie--highlight-matching-block-overlay): No longer buffer-local.
15971         (smie-highlight-matching-block): Adjust.
15973 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
15975         Doc string fix for "nanoseconds" (Bug#14406).
15976         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15977         Fix doc string typo that had "nanoseconds" instead of "microseconds".
15979 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
15981         * calc/calc-units.el (math-extract-units): Preserve powers
15982         of units.
15984 2013-05-17  Leo Liu  <sdl.web@gmail.com>
15986         * subr.el (delete-consecutive-dups): New function.
15987         * ido.el (ido-set-matches-1): Use it.
15988         * progmodes/octave.el (inferior-octave-completion-table): Use it.
15989         * ido.el (ido-remove-consecutive-dups): Remove.
15991 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15993         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15994         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15995         regexp-opt's `words'.
15997 2013-05-16  Leo Liu  <sdl.web@gmail.com>
15999         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16000         (smie--highlight-matching-block-overlay)
16001         (smie--highlight-matching-block-lastpos)
16002         (smie--highlight-matching-block-timer): New variables.
16003         (smie-highlight-matching-block): New function.
16004         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
16005         (smie-setup): Conditionally enable smie-blink-matching-open.
16007 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
16009         Sync with upstream verilog-mode r840.
16010         * progmodes/verilog-mode.el (verilog-mode-version)
16011         (verilog-mode-release-date): Update.
16012         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16013         (verilog-sig-tieoff): Fix string error on
16014         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
16015         (verilog-read-decls): Fix parameters confusing
16016         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
16018 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
16020         * subr.el (reveal-filename): New function.
16022         * loadup.el: Compute Emacs executable versions on MS-Windows,
16023         where executables have the .exe extension.  Add a hard link
16024         emacs-XX.YY.ZZ.exe on MS-Windows.
16026         * Makefile.in (XARGS_LIMIT): New variable.
16027         (custom-deps, finder-data, autoloads)
16028         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16029         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16030         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16031         (compile-main): Limit xargs according to $(XARGS_LIMIT).
16033 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16035         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16036         (octave-mode-menu, octave-mode-map): Remove its uses.
16038 2013-05-16  Reto Zimmermann  <reto@gnu.org>
16040         Sync with upstream vhdl mode v3.34.2.
16041         * progmodes/vhdl-mode.el: Use `push' throughout.
16042         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16043         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16044         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
16045         (vhdl-actual-generic-name): New option to derive actual generic name.
16046         (vhdl-port-paste-signals): Replace formal by actual generics.
16047         (vhdl-beautify): New name for old group vhdl-align.  Update users.
16048         (vhdl-beautify-options): New option.
16049         (vhdl-last-input-event): New compat alias.  Use throughout.
16050         (vhdl-goto-line): Replace user level function `goto-line'.
16051         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16052         vhdl-fix-statement-buffer.
16053         (vhdl-create-mode-menu): Add some entries.
16054         (vhdl-align-region-groups): Respect vhdl-beautify-options.
16055         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16056         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16057         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16058         to force statements on one line.
16059         (vhdl-remove-trailing-spaces-region):
16060         New, split from vhdl-remove-trailing-spaces.
16061         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16062         Respect vhdl-beautify-options.
16063         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16064         (vhdl-update-sensitivity-list): Not add with index if exists without.
16065         Not include array index with signal.  Ignore keywords in comments.
16066         (vhdl-get-visible-signals): Regexp tweaks.
16067         (vhdl-template-component-inst): Handle empty library.
16068         (vhdl-template-type): Add template for 'enum' type.
16069         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16070         Use vhdl-replace-string.
16071         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16072         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16073         (vhdl-speedbar-initialize): Update for above name change.
16074         (vhdl-compose-wire-components): Fix in handling of constants.
16075         (vhdl-error-regexp-emacs-alist): New variable.
16076         (vhdl-error-regexp-add-emacs): New function;
16077         adds support for new compile.el (Emacs 22+)
16078         (vhdl-generate-makefile-1): Change target order for single lib. units.
16079         Allow use of absolute file names.
16081 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16083         * simple.el (prog-indent-sexp): Indent enclosing defun.
16085 2013-05-15  Glenn Morris  <rgm@gnu.org>
16087         * cus-start.el (show-trailing-whitespace): Move to editing basics.
16088         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16089         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16090         (whitespace-highlight): Move to whitespace group.
16092         * comint.el (comint-source):
16093         * pcmpl-linux.el (pcmpl-linux):
16094         * shell.el (shell-faces):
16095         * eshell/esh-opt.el (eshell-opt):
16096         * international/ccl.el (ccl): Remove empty custom groups.
16098         * completion.el (dynamic-completion-mode):
16099         * jit-lock.el (jit-lock-debug-mode):
16100         * minibuffer.el (completion-in-region-mode):
16101         * type-break.el (type-break-mode-line-message-mode)
16102         (type-break-query-mode):
16103         * emulation/tpu-edt.el (tpu-edt-mode):
16104         * progmodes/subword.el (global-subword-mode, global-superword-mode):
16105         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16106         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16108         * term/xterm.el (xterm): Change parent group to terminals.
16110         * master.el (master): Remove empty custom group.
16111         (master-mode): Remove unused :group argument.
16112         * textmodes/refill.el (refill): Remove empty custom group.
16113         (refill-mode): Remove unused :group argument.
16115         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16117         * cus-dep.el: Provide a feature.
16118         (custom-make-dependencies): Ignore dotfiles (dir-locals).
16119         Don't mistakenly ignore files whose basenames match a basename
16120         from preloaded-file-list (eg cedet/ede/simple.el).
16121         Add a fallback method for getting :group.
16123 2013-05-15  Juri Linkov  <juri@jurta.org>
16125         * isearch.el (isearch-char-by-name): Rename from
16126         `isearch-insert-char-by-name'.  Doc fix.
16127         (isearch-forward): Mention `isearch-char-by-name' in
16128         the docstring.  (Bug#13348)
16130         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16131         `exit-minibuffer' instead of
16132         `isearch-nonincremental-exit-minibuffer'.
16133         (isearch-edit-string): Remove mention of
16134         `isearch-nonincremental-exit-minibuffer' from docstring.
16135         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16136         (isearch-forward-exit-minibuffer)
16137         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
16139 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16141         * loadup.el: Just use unversioned DOC.
16143         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16144         literals as extending to EOB.
16145         (nxml-last-fontify-end): Remove unused variable.
16146         (nxml-after-change1): Use with-silent-modifications.
16147         (nxml-extend-after-change-region): Simplify.
16148         (nxml-extend-after-change-region1): Remove function.
16149         (nxml-after-change1): Don't adjust for dependent regions.
16150         (nxml-fontify-matcher): Simplify.
16151         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16152         (xmltok-add-dependent): Remove function.
16153         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16154         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16155         (xmltok-scan-prolog-after-processing-instruction-open): Treat
16156         unclosed <[[, <?, comment, and other literals as extending to EOB.
16157         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16158         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16159         Remove functions.
16160         (rng-do-some-validation-1): Don't mark dependent regions.
16161         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16162         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16163         (nxml-clear-dependent-regions): Remove functions.
16164         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16165         (nxml-ensure-scan-up-to-date):
16166         Don't clear&mark dependent regions.
16168 2013-05-15  Leo Liu  <sdl.web@gmail.com>
16170         * progmodes/octave.el (octave-goto-function-definition):
16171         Improve and fix callers.
16173 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16175         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16176         the setter (bug#14387).
16178         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16179         surrounding group (bug#14402).
16181 2013-05-14  Juri Linkov  <juri@jurta.org>
16183         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16184         (Bug#14390)
16186 2013-05-14  Glenn Morris  <rgm@gnu.org>
16188         * progmodes/f90.el (f90-imenu-generic-expression):
16189         Fix typo in 2013-05-08 change.  (Bug#14402)
16191 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16193         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16194         Remove signals for which replies are never received.
16196 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16198         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16199         (gdb-handler-alist, gdb-handler-number): Remove variables.
16200         (gdb-handler-list): New variable.
16201         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16202         (gdb-pending-handler-p, gdb-handle-reply)
16203         (gdb-remove-all-pending-triggers): New functions.
16204         (gdb-discard-unordered-replies): New defcustom.
16205         (gdb-handler): New defstruct.
16206         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
16207         instead of gdb-pending-triggers.  Update docstring.
16208         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
16209         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16210         (gdb-var-update-handler, def-gdb-auto-update-trigger)
16211         (def-gdb-auto-update-handler, gdb-get-changed-registers)
16212         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16213         (gdb-frame-handler): Pending triggers are now automatically managed.
16214         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16215         Remove argument.
16216         (gdb-input): Automatically handles pending triggers.  Update docstring.
16217         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16218         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16219         Update comments.
16220         (gdb-done-or-error): Now use gdb-handle-reply.
16222 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16224         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16225         gdb-debug-log.
16227 2013-05-14  Glenn Morris  <rgm@gnu.org>
16229         * subr.el (user-emacs-directory-warning): New option.
16230         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
16232 2013-05-14  Leo Liu  <sdl.web@gmail.com>
16234         * progmodes/octave.el (octave-font-lock-keywords): Fix error
16235         during redisplay.
16236         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16237         (octave-font-lock-texinfo-comment): Fix invalid search bound
16238         error: wrong side of point.
16240 2013-05-14  Glenn Morris  <rgm@gnu.org>
16242         * progmodes/flymake.el (flymake-xml-program): New option.
16243         (flymake-xml-init): Use it.
16245         * term/xterm.el: Provide a feature.
16247         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
16249 2013-05-13  Glenn Morris  <rgm@gnu.org>
16251         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16252         Add compat aliases as a hack workaround.  (Bug#14384)
16254 2013-05-13  Leo Liu  <sdl.web@gmail.com>
16256         * progmodes/octave.el (octave-indent-comment): Fix indentation for
16257         ###, and %!.
16258         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16259         C-M-q.
16260         (octave-comment-start-skip): Include %!.
16261         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16263 2013-05-12  Leo Liu  <sdl.web@gmail.com>
16265         * progmodes/octave.el (inferior-octave-startup): Store the value
16266         of __octave_srcdir__ for octave-source-directories.
16267         (inferior-octave-check-process): New function refactored out of
16268         inferior-octave-send-list-and-digest.
16269         (octave-source-directories)
16270         (octave-find-definition-filename-function): New variables.
16271         (octave-source-directories)
16272         (octave-find-definition-default-filename): New functions.
16273         (octave-find-definition): Improve to find functions implemented in C++.
16275 2013-05-12  Glenn Morris  <rgm@gnu.org>
16277         * calendar/diary-lib.el (diary-outlook-format-1):
16278         Don't include dayname in the output.  (Bug#14349)
16280 2013-05-11  Glenn Morris  <rgm@gnu.org>
16282         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16284         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16285         Treat cc-provide like provide.
16287 2013-05-11  Kevin Ryde  <user42@zip.com.au>
16289         * cus-dep.el (custom-make-dependencies):
16290         Use generated-autoload-load-name for the sake of files such
16291         such cedet/semantic/bovine/c.el, where the base file name
16292         is not in load-path.  (Bug#5277)
16294 2013-05-11  Glenn Morris  <rgm@gnu.org>
16296         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16297         Provide features.
16299 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16301         * progmodes/octave.el (octave-indent-comment): Improve.
16302         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16303         (octave-eldoc-function-signatures, octave-eldoc-function):
16304         New functions.
16305         (octave-mode, inferior-octave-mode): Add eldoc support.
16307 2013-05-11  Richard Stallman  <rms@gnu.org>
16309         * epa.el (epa-decrypt-file): Take output file name as argument
16310         and read it using `interactive'.
16312 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16314         * progmodes/octave.el (octave-beginning-of-line)
16315         (octave-end-of-line): Check before using up-list because it jumps
16316         out of more syntactic contructs since moving to smie.
16317         (octave-indent-comment): New function.
16318         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
16319         (octave-begin-keywords, octave-end-keywords)
16320         (octave-reserved-words, octave-smie-bnf-table)
16321         (octave-smie-rules): Add new keywords from Octave 3.6.4.
16323 2013-05-11  Glenn Morris  <rgm@gnu.org>
16325         * faces.el (internal-face-x-get-resource):
16326         * frame.el (ns-display-monitor-attributes-list):
16327         * calc/calc-aent.el (math-to-radians-2):
16328         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16329         Fix declarations.
16331         * calc/calc-menu.el: Make it loadable in isolation.
16333         * net/eudcb-bbdb.el: Make it loadable without bbdb.
16334         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16335         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16336         (eudc-bbdb-query-internal): Require 'bbdb.
16338         * lpr.el (lpr-headers-switches):
16339         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16341         * progmodes/sql.el (sql-login-params): Fix and improve :type.
16343         * emulation/edt-mapper.el: In batch mode, error rather than hang.
16345         * term.el (term-set-escape-char): Make it idempotent.
16347 2013-05-10  Leo Liu  <sdl.web@gmail.com>
16349         * progmodes/octave.el (inferior-octave-completion-table):
16350         No longer a function and all uses changed.  Use cache to speed up
16351         completion due to bug#11906.
16352         (octave-beginning-of-defun): Re-write to be more general.
16354 2013-05-10  Glenn Morris  <rgm@gnu.org>
16356         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16358 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16360         * comint.el (comint-redirect-send-command-to-process): Use :around
16361         rather than :override for comint-redirect-filter.
16362         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16363         Call it instead of comint-redirect-original-filter-function (which
16364         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
16366 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
16368         * frame.el (display-monitor-attributes-list): Add NS case.
16369         (ns-display-monitor-attributes-list): Declare.
16371 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
16373         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
16375 2013-05-09  Glenn Morris  <rgm@gnu.org>
16377         * international/fontset.el (vertical-centering-font-regexp):
16378         Set standard-value.
16380         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16382         * bookmark.el (bookmark-search-delay):
16383         * cus-start.el (vertical-centering-font-regexp):
16384         * ps-mule.el (ps-mule-font-info-database-default):
16385         * ps-print.el (ps-default-fg, ps-default-bg):
16386         * type-break.el (type-break-good-break-interval):
16387         * whitespace.el (whitespace-indentation-regexp)
16388         (whitespace-space-after-tab-regexp):
16389         * emacs-lisp/testcover.el (testcover-1value-functions)
16390         (testcover-noreturn-functions, testcover-progn-functions)
16391         (testcover-prog1-functions):
16392         * emulation/viper-init.el (viper-emacs-state-cursor-color):
16393         * eshell/em-glob.el (eshell-glob-translate-alist):
16394         * play/tetris.el (tetris-tty-colors):
16395         * progmodes/cpp.el (cpp-face-default-list):
16396         * progmodes/flymake.el (flymake-allowed-file-name-masks):
16397         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16398         (idlwave-help-browser-generic-args):
16399         * progmodes/make-mode.el (makefile-special-targets-list):
16400         * progmodes/python.el (python-shell-virtualenv-path):
16401         * progmodes/verilog-mode.el (verilog-active-low-regexp)
16402         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16403         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16404         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16405         * textmodes/reftex-vars.el (reftex-format-label-function):
16406         * textmodes/remember.el (remember-diary-file): Fix custom types.
16408         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16409         Add :version.
16411 2013-05-09  Leo Liu  <sdl.web@gmail.com>
16413         * progmodes/octave.el (inferior-octave-completion-at-point):
16414         Restore file completion.  (Bug#14300)
16415         (inferior-octave-startup): Fix incorrect highlighting for the
16416         first prompt.
16418 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16420         * progmodes/ruby-mode.el: First cut at SMIE support.
16421         (ruby-use-smie): New var.
16422         (ruby-smie-grammar): New constant.
16423         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16424         (ruby-smie--forward-token, ruby-smie--backward-token)
16425         (ruby-smie-rules): New functions.
16426         (ruby-mode-variables): Setup SMIE if applicable.
16428 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
16430         * simple.el (line-move-visual): Signal beginning/end of buffer
16431         only if vertical-motion moved less than it was requested.  Avoids
16432         silly incorrect error messages when there are display strings with
16433         multiple newlines at EOL.
16435 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16437         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16438         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16439         (prolog-char-quote-workaround):
16440         * progmodes/cperl-mode.el (cperl-under-as-char):
16441         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16442         Mark as obsolete.
16443         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16444         their declaration.
16445         (vhdl-mode-syntax-table-init): Remove.
16447         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16448         last change.
16450         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16451         syntax for "_".
16452         (ld-script-font-lock-keywords):
16453         Change regexps to use things like \_< and \_>.
16455         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16456         Change all regexps to use things like \_< and \_>.
16458         * progmodes/autoconf.el (autoconf-definition-regexp)
16459         (autoconf-font-lock-keywords, autoconf-current-defun-function):
16460         Handle a _ with symbol syntax.
16461         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16463         * progmodes/ada-mode.el (ada-mode-abbrev-table):
16464         Consolidate declaration.
16465         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16466         the declaration.
16467         (ada-create-syntax-table): Remove.
16468         (ada-capitalize-word): Don't mess with the syntax of "_" since it
16469         already has the right syntax nowadays.
16470         (ada-goto-next-word): Don't change the syntax of "_".
16472         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16473         with-wrapper-hook.
16475 2013-05-08  Sam Steingold  <sds@gnu.org>
16477         * thingatpt.el (thing-at-point): Accept optional second argument
16478         NO-PROPERTIES to strip the text properties from the return value.
16479         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16480         to `thing-at-point' instead of stripping the properties ourselves.
16481         Also, when `thing-at-point' fails to find a url, prepend "http://"
16482         to the filename at point on the assumption that the user is
16483         pointing at something like gnu.org/gnu.
16485 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
16487         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16488         * faces.el (crm-separator):
16489         Silence byte-compiler.
16491         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16492         (tool-bar-map): Remove unneeded defvars.
16494 2013-05-08  Leo Liu  <sdl.web@gmail.com>
16496         Re-work a fix for bug#10994 based on Le Wang's patch.
16497         * ido.el (ido-remove-consecutive-dups): New helper.
16498         (ido-completing-read): Use it.
16499         (ido-chop): Revert fix for bug#10994.
16501 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
16503         * cus-edit.el (custom-save-variables):
16504         Pretty-print long values.  (Bug#14187)
16506 2013-05-08  Glenn Morris  <rgm@gnu.org>
16508         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
16509         (m4-mode-syntax-table): Init in the defvar.
16510         (m4-mode-abbrev-table): Let define-derived-mode define it.
16512 2013-05-08  Tom Tromey  <tromey@redhat.com>
16514         * progmodes/m4-mode.el (m4-mode-syntax-table):
16515         Do not treat "_" as word constituent.  (Bug#14167)
16517 2013-05-07  Glenn Morris  <rgm@gnu.org>
16519         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
16520         Remove explicit eshell-isearch-cancel-map.
16522         * progmodes/f90.el (f90-smart-end-names): New option.
16523         (f90-smart-end): Doc fix.
16524         (f90-end-block-optional-name): New constant.
16525         (f90-block-match): Respect f90-smart-end-names.
16527 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16529         * progmodes/octave.el (octave-smie-forward-token): Be more careful
16530         about implicit semi-colons (bug#14218).
16532 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16534         * frame.el (display-monitor-attributes-list)
16535         (frame-monitor-attributes): New functions.
16537 2013-05-06  Leo Liu  <sdl.web@gmail.com>
16539         * progmodes/octave.el (octave-syntax-propertize-function): Change
16540         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
16541         (octave-font-lock-keywords): Use octave-operator-regexp.
16542         (octave-completion-at-point): Rename from
16543         octave-completion-at-point-function.
16544         (inferior-octave-directory-tracker): Robustify.
16545         (octave-text-functions): Remove and fix its uses.  No such things
16546         any more.
16548 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16550         * emacs-lisp/trace.el (trace--display-buffer): New function.
16551         (trace-make-advice): Use it.
16553 2013-05-06  Juri Linkov  <juri@jurta.org>
16555         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
16556         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
16557         Doc fix.
16558         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
16559         in the help string.  (Bug#12985)
16561 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
16563         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
16565 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16567         * progmodes/perl-mode.el: Add support for here documents.
16568         (perl-syntax-propertize-function): Match here-doc markers.
16569         (perl-syntax-propertize-special-constructs): Find their end.
16570         (perl-imenu-generic-expression): Use [:alnum:].
16572         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
16573         (advice--add-function): Refresh the advice if already present
16574         (bug#14317).
16576 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
16578         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
16580 2013-05-06  Glenn Morris  <rgm@gnu.org>
16582         * w32-fns.el (w32-charset-info-alist): Declare.
16584         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
16585         of its defcustom properties.
16586         (eshell-cmpl-initialize): No need to load pcomplete.
16588         * generic-x.el: No need to require comint when compiling.
16590         * net/eudc-export.el: Make it loadable without bbdb.
16591         (top-level): Use require rather than load-library.
16592         (eudc-create-bbdb-record, eudc-bbdbify-phone)
16593         (eudc-batch-export-records-to-bbdb)
16594         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
16595         Require bbdb.
16597 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16599         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16600         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16601         some tweaks, instead.
16603 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16605         * progmodes/octave.el (octave-font-lock-keywords)
16606         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16607         (inferior-octave-send-list-and-digest): Improve error message.
16608         (octave-mode, inferior-octave-mode): Use setq-local.
16609         (octave-help): Set info-lookup-mode.
16611 2013-05-05  Richard Stallman  <rms@gnu.org>
16613         * vc/compare-w.el (compare-windows-whitespace):
16614         Treat no-break space as whitespace.
16616         * mail/rmailsum.el (rmail-summary-rmail-update):
16617         Detect empty summary and don't change selected message.
16618         (rmail-summary-goto-msg): Likewise.
16620         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16621         Doc fixes, rename args.
16623 2013-05-05  Alan Mackenzie  <acm@muc.de>
16625         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16627 2013-05-05  Juri Linkov  <juri@jurta.org>
16629         * info.el (Info-read-subfile): Use (point-min) instead of (point)
16630         to not add the length of the summary segment to the return value.
16631         (Bug#14125)
16633 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16635         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16636         (inferior-octave-output-filter): Remove.
16637         (octave-send-region, inferior-octave-startup): Fix callers.
16638         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16639         (octave-binary-file-extensions): New user variable.
16640         (octave-find-definition): Confirm if opening binary files.
16641         (octave-help-file): Use octave-find-definition to get the binary
16642         confirmation.
16643         (octave-help): Adjust for octave-help-file change.
16645 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16647         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
16648         Merge the two entries that handle function definitions.
16649         (pascal--syntax-propertize): New const.
16650         (pascal-mode): Use it.  Use setq-local.
16652 2013-05-04  Glenn Morris  <rgm@gnu.org>
16654         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
16655         (diary-from-outlook): Respect diary-from-outlook-function.
16657 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16659         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
16660         Move the declaration from C.
16661         (read-minibuffer, eval-minibuffer): Move from C.
16662         (completion-setup-function): Avoid minibuffer-completion-contents.
16664 2013-05-03  Leo Liu  <sdl.web@gmail.com>
16666         * progmodes/octave.el (octave-font-lock-keywords): Do not
16667         dehighlight 'end' in comments or strings.
16668         (octave-completing-read, octave-goto-function-definition):
16669         New helpers.
16670         (octave-help-buffer): New user variable.
16671         (octave-help-file, octave-help-function): New button types.
16672         (octave-help): New command and bind it to C-h ;.
16673         (octave-find-definition): New command and bind it to M-.
16674         (user-error): Alias to error if not defined.
16676 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16678         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
16679         for \.  (bug#14332)
16680         (octave-font-lock-keywords): Include [ and {.
16682 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16684         * progmodes/octave.el (inferior-octave-startup-file): Change default.
16685         (inferior-octave): Remove calling comint-mode and return the buffer.
16686         (inferior-octave-startup): Cosmetic changes.
16688 2013-05-02  Leo Liu  <sdl.web@gmail.com>
16690         * progmodes/octave.el (octave-syntax-propertize-function):
16691         Include the case when ' is at line beginning.  (Bug#14336)
16693 2013-05-02  Glenn Morris  <rgm@gnu.org>
16695         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
16696         * desktop.el (vc-dir-mode): Just autoload it here.
16698 2013-05-02  Alan Mackenzie  <acm@muc.de>
16700         Eliminate variable c-standard-font-lock-fontify-region-function.
16701         * progmodes/cc-mode.el
16702         (c-standard-font-lock-fontify-region-function): Remove.
16703         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
16705 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16707         * progmodes/octave.el: Compatible with older emacs-24 releases.
16708         (inferior-octave-has-built-in-variables): Remove.  Built-in
16709         variables were removed from Octave in 2007.
16710         (inferior-octave-startup): Fix uses.
16711         (comint-line-beginning-position): Remove compatibility code for
16712         emacs 21.
16714 2013-05-01  Juri Linkov  <juri@jurta.org>
16716         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
16718 2013-05-01  Juri Linkov  <juri@jurta.org>
16720         * comint.el (comint-previous-matching-input): Don't print message
16721         "History item: %d" when `isearch-mode' is active.
16722         (comint-history-isearch-message): Print message "History item: %d"
16723         when `comint-input-ring-index' is not empty and this function is
16724         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
16726 2013-05-01  Leo Liu  <sdl.web@gmail.com>
16728         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
16729         definitions.  Use completion-at-point to insert keywords.
16730         (octave-abbrev-start): Remove.
16731         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
16733 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16735         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
16736         change.
16738 2013-04-30  Alan Mackenzie  <acm@muc.de>
16740         Handle arbitrarily long C++ member initialisation lists.
16741         * progmodes/cc-engine.el (c-back-over-member-initializers):
16742         new function.
16743         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
16744         (most) member init lists.
16746 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16748         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
16749         variable.
16751 2013-04-30  Leo Liu  <sdl.web@gmail.com>
16753         * progmodes/octave.el (octave-variables): Remove.  No builtin
16754         variables any more.  All converted to functions.
16755         (octave-font-lock-keywords, octave-completion-at-point-function):
16756         Fix uses.
16757         (octave-font-lock-texinfo-comment): New user variable.
16758         (octave-texinfo-font-lock-keywords): New variable for texinfo
16759         comment block.
16760         (octave-function-comment-block): New face.
16761         (octave-font-lock-texinfo-comment): New function.
16762         (octave-mode): Font lock texinfo comment block.
16764 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16766         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
16767         indexing expression.
16768         (octave-continuation-string): Do not use \.
16769         (inferior-octave-complete-impossible): Remove.
16770         (inferior-octave-completion-table)
16771         (inferior-octave-completion-at-point): Remove its uses.
16772         (inferior-octave-startup): completion_matches was introduced to
16773         Octave in 1996 so safe to assume it.
16774         (octave-function-file-comment): Improve to follow how Octave does it.
16775         (octave-update-function-file-comment): Tweak.
16777 2013-04-29  Leo Liu  <sdl.web@gmail.com>
16779         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
16780         (inferior-octave-startup): Remove inferior-octave-startup-hook.
16781         (octave-function-file-comment): Fix typo.
16782         (octave-sync-function-file-names): Use read-char-choice.
16784 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
16786         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
16787         to t for the less important warnings.
16789 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
16791         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
16793 2013-04-27  Glenn Morris  <rgm@gnu.org>
16795         * vc/log-view.el (log-view-current-entry):
16796         Treat "---" separator lines as part of the following rev.  (Bug#14169)
16798 2013-04-27  Juri Linkov  <juri@jurta.org>
16800         * subr.el (read-number): Doc fix about using it by interactive
16801         code letter `n'.  (Bug#14254)
16803 2013-04-27  Juri Linkov  <juri@jurta.org>
16805         * desktop.el (desktop-auto-save-timeout): New option.
16806         (desktop-file-checksum): New variable.
16807         (desktop-save): Add optional arg `auto-save' and don't auto-save
16808         if nothing changed.
16809         (desktop-auto-save-timer): New variable.
16810         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
16811         (after-init-hook): Call `desktop-auto-save-set-timer'.
16812         Suggested by Reuben Thomas <rrt@sc3d.org> in
16813         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
16815 2013-04-27  Leo Liu  <sdl.web@gmail.com>
16817         * progmodes/octave.el (octave-function-file-p)
16818         (octave-skip-comment-forward, octave-function-file-comment)
16819         (octave-update-function-file-comment): New functions.
16820         (octave-mode-map): Bind C-c ; to
16821         octave-update-function-file-comment.
16822         (octave-mode-menu): Add octave-update-function-file-comment.
16823         (octave-mode, inferior-octave-mode): Fix doc-string.
16824         (octave-insert-defun): Conform to Octave's coding convention.
16825         (Bug#14285)
16827         * files.el (basic-save-buffer): Don't let errors in
16828         before-save-hook prevent saving buffer.
16830 2013-04-20  Roland Winkler  <winkler@gnu.org>
16832         * faces.el (read-face-name): Use completing-read if arg multiple
16833         is nil.
16835 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
16837         * ls-lisp.el (ls-lisp-insert-directory): If no files are
16838         displayed, move point to after the totals line.
16839         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
16840         for the details.
16842 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16844         * emacs-lisp/package.el (package-autoload-ensure-default-file):
16845         Add current dir to the load-path.
16846         (package-generate-autoloads): Don't rely on
16847         autoload-ensure-default-file.
16849 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
16851         * textmodes/remember.el (remember-store-in-files): Document that
16852         the file name format is passed to `format-time-string'.
16854 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16856         * progmodes/octave.el (octave-sync-function-file-names): New function.
16857         (octave-mode): Use it in before-save-hook.
16859 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16861         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16862         (bug#14274).
16864         * progmodes/octave.el (octave-smie-forward-token): Properly skip
16865         \n and comment, even if it's not an implicit ; (bug#14218).
16867 2013-04-26  Glenn Morris  <rgm@gnu.org>
16869         * subr.el (read-number): Once more use `read' rather than
16870         `string-to-number', to trap non-numeric input.  (Bug#14254)
16872 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
16874         * emacs-lisp/syntax.el (syntax-propertize-multiline):
16875         Use `syntax-multiline' text property consistently instead of
16876         `font-lock-multiline'.  (Bug#14237)
16878 2013-04-26  Glenn Morris  <rgm@gnu.org>
16880         * emacs-lisp/shadow.el (list-load-path-shadows):
16881         No longer necessary to check for duplicate simple.el, since
16882         2012-07-07 change to init_lread to not include installation lisp
16883         directories in load-path when running uninstalled.  (Bug#14270)
16885 2013-04-26  Leo Liu  <sdl.web@gmail.com>
16887         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16888         (octave-mode, inferior-octave-mode): Use setq-local.
16889         (octave-not-in-string-or-comment-p): Rename to
16890         octave-in-string-or-comment-p.
16891         (octave-in-comment-p, octave-in-string-p)
16892         (octave-in-string-or-comment-p): Replace defsubst with defun.
16894 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
16896         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16898 2013-04-25  Bastien Guerry  <bzg@gnu.org>
16900         * textmodes/remember.el (remember-data-directory)
16901         (remember-directory-file-name-format): Fix custom types.
16903 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16905         * progmodes/octave.el (octave-completion-at-point-function):
16906         Make use of inferior octave process.
16907         (octave-initialize-completions): Remove.
16908         (inferior-octave-completion-table): New function.
16909         (inferior-octave-completion-at-point): Use it.
16910         (octave-completion-alist): Remove.
16912 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16914         * progmodes/opascal.el: Use font-lock and syntax-propertize.
16915         (opascal-mode-syntax-table): New var.
16916         (opascal-literal-kind, opascal-is-literal-end)
16917         (opascal-literal-token-at): Rewrite.
16918         (opascal--literal-start-re, opascal-font-lock-keywords)
16919         (opascal--syntax-propertize): New constants.
16920         (opascal-font-lock-defaults): Adjust.
16921         (opascal-mode): Use them.  Set comment-<foo> variables as well.
16922         (delphi-comment-face, opascal-comment-face, delphi-string-face)
16923         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16924         (delphi-other-face, opascal-other-face): Remove face variables.
16925         (opascal-save-state): Remove macro.
16926         (opascal-fontifying-progress-step): Remove constant.
16927         (opascal--ignore-changes): Remove var.
16928         (opascal-set-token-property, opascal-parse-next-literal)
16929         (opascal-is-stable-literal, opascal-complete-literal)
16930         (opascal-is-literal-start, opascal-face-of)
16931         (opascal-parse-region, opascal-parse-region-until-stable)
16932         (opascal-fontify-region, opascal-after-change)
16933         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16934         (opascal-debug-parse-region, opascal-debug-parse-window)
16935         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16936         (opascal-debug-fontify-buffer): Remove.
16937         (opascal-debug-mode-map): Adjust accordingly.
16939 2013-04-25  Leo Liu  <sdl.web@gmail.com>
16941         Merge octave-mod.el and octave-inf.el into octave.el with some
16942         cleanups.
16943         * progmodes/octave.el: New file renamed from octave-mod.el.
16944         * progmodes/octave-inf.el: Merged into octave.el.
16945         * progmodes/octave-mod.el: Renamed to octave.el.
16947 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
16949         * textmodes/reftex-vars.el
16950         (reftex-label-ignored-macros-and-environments): New defcustom.
16952         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16954 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16956         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16957         (smie-indent-keyword): Improve the check to ensure that the next
16958         comment is really on the same line.
16959         (smie-indent-comment): Don't align with a subsequent closer (or eob).
16961         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16962         semi-colons if the line is not otherwise empty (bug#14218).
16964 2013-04-25  Glenn Morris  <rgm@gnu.org>
16966         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16968 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16970         * progmodes/opascal.el (opascal-set-token-property): Rename from
16971         opascal-set-text-properties and only set `token' (bug#14134).
16972         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16973         (opascal-literal-text-properties): Remove.
16974         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16975         Adjust callers.
16977 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
16979         * textmodes/remember.el (remember-handler-functions): Add an
16980         option for a new handler `remember-store-in-files'.
16981         (remember-data-directory, remember-directory-file-name-format):
16982         New options.
16983         (remember-store-in-files): New function to store remember notes
16984         as separate files within a directory.
16986 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
16988         * progmodes/compile.el (compilation-next-error-function):
16989         Pass "formats" to compilation-find-file (bug#11777).
16991 2013-04-24  Glenn Morris  <rgm@gnu.org>
16993         * vc/vc-bzr.el (vc-bzr-print-log):
16994         * vc/vc-hg.el (vc-hg-print-log):
16995         * vc/vc-svn.el (vc-svn-print-log):
16996         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
16998         * vc/vc-bzr.el (vc-bzr-print-log):
16999         * vc/vc-cvs.el (vc-cvs-print-log):
17000         * vc/vc-git.el (vc-git-print-log):
17001         * vc/vc-hg.el (vc-hg-print-log):
17002         * vc/vc-mtn.el (vc-mtn-print-log):
17003         * vc/vc-rcs.el (vc-rcs-print-log):
17004         * vc/vc-sccs.el (vc-sccs-print-log):
17005         * vc/vc-svn.el (vc-svn-print-log):
17006         * vc/vc.el (vc-print-log-internal): Doc fixes.
17008 2013-04-23  Glenn Morris  <rgm@gnu.org>
17010         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17011         Remove venerable code attempting to avoid substitute-command-keys.
17013 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
17015         * textmodes/reftex-vars.el (reftex-label-regexps):
17016         Call `reftex-compile-variables' after changes to this variable.
17018 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17020         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17021         Use lexical-binding.
17022         (jit-lock-force-redisplay): Use markers, check buffer's continued
17023         existence and beware narrowed buffers.
17024         (jit-lock-fontify-now): Adjust call accordingly.
17026 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17028         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17029         to avoid misleading the user.
17031 2013-04-22  Leo Liu  <sdl.web@gmail.com>
17033         * info-look.el: Prefer latex2e.info.  (Bug#14240)
17035 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
17037         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
17039         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17040         * net/tramp.el (tramp-call-process): ... here.
17041         (tramp-set-completion-function, tramp-parse-putty):
17042         * net/tramp-adb.el (tramp-adb-execute-adb-command):
17043         * net/tramp-gvfs.el (tramp-gvfs-send-command):
17044         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17045         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17046         (tramp-call-local-coding-command): Use `tramp-call-process'
17047         instead of `tramp-compat-call-process'.
17049         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17050         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17051         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17052         (tramp-find-inline-compress): Improve traces.
17053         (tramp-maybe-send-script): Check for Perl binary.
17054         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17056 2013-04-22  Daiki Ueno  <ueno@gnu.org>
17058         * epg.el (epg-context-pinentry-mode): New function.
17059         (epg-context-set-pinentry-mode): New function.
17060         (epg--start): Pass --pinentry-mode option to gpg command.
17062 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
17064         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17065         `comint-dynamic-complete' is obsolete since 24.1, replaced by
17066         `completion-at-point'.  (Bug#13774)
17068         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17069         default key binding for `describe-distribution' has been moved to
17070         `C-h C-o'.  (Bug#13970)
17072 2013-04-21  Glenn Morris  <rgm@gnu.org>
17074         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17075         Add doc strings.
17076         (vc-print-log): Clarify interactive prompt.
17078 2013-04-20  Glenn Morris  <rgm@gnu.org>
17080         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17081         No longer include timestamp etc information.
17083 2013-04-20  Roland Winkler  <winkler@gnu.org>
17085         * faces.el (read-face-name): Bug fix, return just one face if arg
17086         multiple is nil.  (Bug#14209)
17088 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17090         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17091         (remove-function): Autoload.
17093         * comint.el (comint-redirect-original-filter-function): Remove.
17094         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17095         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17096         (vc-cvs-annotate-command):
17097         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17098         * progmodes/prolog.el (prolog-consult-compile):
17099         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17100         Use add/remove-function instead.
17101         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17102         (gud-tooltip-process-output, gud-tooltip-tips):
17103         Use add/remove-function instead.
17104         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17105         (scheme-interaction-mode, exit-scheme-interaction-mode):
17106         Use add/remove-function instead.
17108         * vc/vc-dispatcher.el: Use lexical-binding.
17109         (vc--process-sentinel): Rename from vc-process-sentinel.
17110         Change last arg to be the code to run.  Don't use vc-previous-sentinel
17111         and vc-sentinel-commands any more.
17112         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
17113         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17115 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
17117         * progmodes/sh-script.el (sh-imenu-generic-expression):
17118         Handle function names with a single character.  (Bug#14111)
17120 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17122         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17123         for subroutines defined in an eval (bug#14182).
17125 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17127         * bookmark.el (bookmark-completing-read): Improve handling of empty
17128         string (bug#14176).
17130 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17132         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17134 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17136         New faster Imenu implementation (bug#14058).
17137         * progmodes/python.el (python-imenu-prev-index-position)
17138         (python-imenu-format-item-label-function)
17139         (python-imenu-format-parent-item-label-function)
17140         (python-imenu-format-parent-item-jump-label-function):
17141         New vars.
17142         (python-imenu-format-item-label)
17143         (python-imenu-format-parent-item-label)
17144         (python-imenu-format-parent-item-jump-label)
17145         (python-imenu--put-parent, python-imenu--build-tree)
17146         (python-imenu-create-index, python-imenu-create-flat-index)
17147         (python-util-popn): New functions.
17148         (python-mode): Set imenu-create-index-function to
17149         python-imenu-create-index.
17151 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17153         * winner.el (winner-active-region): Use region-active-p, activate-mark
17154         and deactivate-mark (bug#14225).
17156         * simple.el (deactivate-mark): Don't inline it.
17158 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
17160         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17162 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
17164         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17165         file extensions from the archive-mode entry in order to prefer
17166         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17168 2013-04-18  Leo Liu  <sdl.web@gmail.com>
17170         * bindings.el (help-event-list): Add ?\?.
17172 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17174         * subr.el (with-wrapper-hook): Declare obsolete.
17175         * simple.el (filter-buffer-substring-function): New hook.
17176         (filter-buffer-substring): Use it.
17177         (filter-buffer-substring-functions): Mark obsolete.
17178         * minibuffer.el (completion-in-region-function): New hook.
17179         (completion-in-region): Use it.
17180         (completion-in-region-functions): Mark obsolete.
17181         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17182         * abbrev.el (abbrev-expand-function): New hook.
17183         (expand-abbrev): Use it.
17184         (abbrev-expand-functions): Mark obsolete.
17185         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17186         and :filter-return.
17188 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17190         * progmodes/python.el (python-nav--syntactically): Fix cornercases
17191         and do not care about match data.
17193 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17195         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17196         completion tables when completing error conditions and
17197         `declare' arguments.
17198         (lisp-complete-symbol, field-complete): Mark as obsolete.
17199         (check-parens): Unmatched parens are user errors.
17200         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17202 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
17204         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17205         command changed buffer (ie. `flyspell-pre-buffer' is not current
17206         buffer), which prevents making decisions based on invalid value of
17207         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
17208         cause an error when `flyspell-pre-point' was nil after switching
17209         buffers.
17210         (flyspell-post-command-hook): No longer needs to change buffers when
17211         checking pre-word.  While at it remove unnecessary progn.
17213 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
17215         * textmodes/ispell.el (ispell-add-per-file-word-list):
17216         Fix `flyspell-correct-word-before-point' error when accepting
17217         words and `coment-padding' is an integer by using
17218         `comment-normalize-vars' (Bug #14214).
17220 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17222         New defun movement commands.
17223         * progmodes/python.el (python-nav--syntactically)
17224         (python-nav--forward-defun, python-nav-backward-defun)
17225         (python-nav-forward-defun): New functions.
17227 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17229         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17230         (python-syntax-context): Use named compiler-macro for backwards
17231         compatibility with Emacs 24.x.
17233 2013-04-17  Leo Liu  <sdl.web@gmail.com>
17235         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17236         octave-hide-process-buffer.
17238 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17240         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17241         (bug#14216).
17243 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
17245         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17246         Fix adjustment of offset when receiving incomplete responses from GDB
17247         (bug#14129).
17249 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17251         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17252         python-mode-abbrev-table.
17253         (python-skeleton-define): Adjust accordingly.
17254         (python-mode-abbrev-table): New table that inherits from it so that
17255         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17257         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17258         (abbrev-symbol): Use it.
17259         (abbrev--before-point): Use it since we already handle inheritance.
17261 2013-04-16  Leo Liu  <sdl.web@gmail.com>
17263         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17264         binding to info-lookup-symbol.
17266 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
17268         * minibuffer.el (completion--twq-all):
17269         * term/ns-win.el (ns-initialize-window-system):
17270         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17272 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17274         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17275         global bindings.
17277         * doc-view.el (doc-view-start-process): Handle url-handler directories.
17279 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
17281         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17282         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17283         to nil.
17284         (ruby-end-of-defun): Remove the unused arg, change the docstring
17285         to reflect that this function is only used as the value of
17286         `end-of-defun-function'.
17287         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17288         to reflect an earlier change that beginning/end-of-defun functions
17289         jump between methods in a class definition, as well as top-level
17290         functions.
17292 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17294         * minibuffer.el (minibuffer-complete): Don't just scroll
17295         a *Completions* that's been iconified.
17296         (minibuffer-force-complete): Make sure repetitions do cycle when going
17297         through completion-in-region -> minibuffer-complete.
17299 2013-04-15  Alan Mackenzie  <acm@muc.de>
17301         Correct the placement of c-cpp-delimiters when there're #s not at
17302         col 0.
17304         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17305         place a submatch around the #.
17306         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17307         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
17308         on the #, not BOL.
17310 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17312         * emacs-lisp/nadvice.el: Properly test names when adding advice.
17313         (advice--member-p): New arg `name'.
17314         (advice--add-function, advice-member-p): Use it (bug#14202).
17316 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
17318         Reformulate java imenu-generic-expression.
17319         The old expression contained ill formed regexps.
17321         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17322         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17323         (cc-imenu-java-method-arg-regexp): New defconsts.
17324         (cc-imenu-java-build-type-args-regex): New defun.
17325         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17326         handling of spaces in the regexp.
17328 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17330         * textmodes/ispell.el (ispell-command-loop): Remove
17331         flyspell highlight of a word when ispell accepts it (bug #14178).
17333 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
17335         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17336         uses code from the previous `ange-ftp-run-real-handler'.
17337         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17338         only in case that function exist.  This is needed for proper
17339         unloading of Tramp.
17341 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
17343         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17345         * textmodes/reftex.el (reftex-compile-variables): Use it.
17347 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17349         * files.el (normal-mode): Only use default major-mode if no other mode
17350         was specified.
17352         * emacs-lisp/trace.el (trace-values): New function.
17354         * files.el: Allow : in local variables (bug#14089).
17355         (hack-local-variable-regexp): New var.
17356         (hack-local-variables-prop-line, hack-local-variables): Use it.
17358 2013-04-13  Roland Winkler  <winkler@gnu.org>
17360         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
17361         data before it gets modified by bibtex-beginning-of-entry.
17363 2013-04-13  Roland Winkler  <winkler@gnu.org>
17365         * textmodes/bibtex.el (bibtex-url): Doc fix.
17367 2013-04-13  Roland Winkler  <winkler@gnu.org>
17369         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17370         does not visit a BibTeX file, exclude it from the list of buffers
17371         returned by bibtex-initialize.
17373 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
17375         * window.el (split-window): Remove interactive form, since as a
17376         command this function is a special case of split-window-below.
17377         Correct doc string.
17379 2013-04-12  Roland Winkler  <winkler@gnu.org>
17381         * faces.el (read-face-name): Do not override value of arg default.
17382         Allow single faces and strings as default values.  Remove those
17383         elements from return value that are not faces.
17384         (describe-face): Simplify.
17385         (face-at-point): New optional args thing and multiple so that this
17386         function can provide the same functionality previously provided by
17387         read-face-name.
17388         (make-face-bold, make-face-unbold, make-face-italic)
17389         (make-face-unitalic, make-face-bold-italic, invert-face)
17390         (modify-face, read-face-and-attribute): Use face-at-point.
17392         * cus-edit.el (customize-face, customize-face-other-window)
17393         * cus-theme.el (custom-theme-add-face)
17394         * face-remap.el (buffer-face-set)
17395         * facemenu.el (facemenu-set-face): Use face-at-point.
17397 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
17399         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17401 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
17403         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17404         off leading { and trailing } from field values.
17406 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17408         * emacs-lisp/timer.el (timer--check): New function.
17409         (timer--time, timer-set-function, timer-event-handler): Use it.
17410         (timer-set-idle-time): Simplify.
17411         (timer--activate): CSE.
17412         (timer-event-handler): Give more info in error message.
17413         (internal-timer-start-idle): New function, moved from C.
17415         * mpc.el (mpc-proc): Add `restart' argument.
17416         (mpc-proc-cmd): Use it.
17417         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17418         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17419         less often.
17421 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
17423         * progmodes/sh-script.el: Implement `sh-mode' own
17424         `add-log-current-defun-function' (bug#14112).
17425         (sh-current-defun-name): New function.
17426         (sh-mode): Use the function.
17428 2013-04-09  Bastien Guerry  <bzg@gnu.org>
17430         * simple.el (choose-completion-string): Fix docstring (bug#14163).
17432 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17434         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17436         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17437         timer (bug#14156).
17439 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
17441         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17442         declaration.
17444 2013-04-07  Leo Liu  <sdl.web@gmail.com>
17446         * pcmpl-x.el: New file.
17448 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
17450         Do not set x-display-name until X connection is established.
17451         This is needed to prevent from weird situation described at
17452         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17453         * frame.el (make-frame): Set x-display-name after call to
17454         window system initialization function, not before.
17455         * term/x-win.el (x-initialize-window-system): Add optional
17456         display argument and use it.
17457         * term/w32-win.el (w32-initialize-window-system):
17458         * term/ns-win.el (ns-initialize-window-system):
17459         * term/pc-win.el (msdos-initialize-window-system):
17460         Add compatible optional display argument.
17462 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
17464         * files.el (normal-backup-enable-predicate): On MS-Windows and
17465         MS-DOS compare truenames of temporary-file-directory and of the
17466         file, so that 8+3 aliases (usually found in $TEMP on Windows)
17467         don't fail comparison by compare-strings.  Also, compare file
17468         names case-insensitively on MS-Windows and MS-DOS.
17470 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17472         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17473         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17475 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
17477         * whitespace.el (whitespace-color-on, whitespace-color-off):
17478         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17480 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
17482         * ispell.el (ispell-set-spellchecker-params):
17483         Really set `ispell-args' for all equivs.
17485 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17487         * ido.el (ido-completions): Use extra elements of ido-decorations
17488         (bug#14143).
17489         (ido-decorations): Update docstring.
17491 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
17493         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17494         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
17495         nil during initialization, in order not to miss changes since the
17496         file was opened.  (Bug#14140)
17498 2013-04-05  Leo Liu  <sdl.web@gmail.com>
17500         * kmacro.el (kmacro-call-macro): Fix bug#14135.
17502 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
17504         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
17506 2013-04-04  Glenn Morris  <rgm@gnu.org>
17508         * electric.el (electric-pair-inhibit-predicate): Add :version.
17510 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17512         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
17513         when a package is required several times (bug#14082).
17515 2013-04-04  Roland Winkler  <winkler@gnu.org>
17517         * faces.el (read-face-name): Behave as promised by the docstring.
17518         Assume that arg default is a list of faces.
17519         (describe-face): Call read-face-name with list of default faces.
17521 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17523         * bookmark.el: Fix deletion of bookmarks (bug#13972).
17524         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
17525         (bookmark-bmenu-execute-deletions): Only skip first line if it's
17526         the header.
17527         (bookmark-exit-hook-internal): Save even if list is empty.
17529 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
17531         * emacs-lisp/package.el (package-pinned-packages): New var.
17532         (package--add-to-archive-contents): Obey it (bug#14118).
17534 2013-04-03  Alan Mackenzie  <acm@muc.de>
17536         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
17537         Also adapt to the new values of element 7 of a parse state.
17539         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
17540         parameter `not-in-delimiter'.  Handle being inside comment opener.
17541         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
17542         character in case we're typing a '*' after a '/'.
17543         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
17544         instead by passing the parameter to c-state-pp-to-literal.
17546         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
17547         for elt. 7 of a parse state.
17549 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
17551         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
17552         * international/latin1-disp.el, international/mule-util.el:
17553         * language/cyril-util.el, language/european.el, language/ind-util.el:
17554         * language/lao-util.el, language/thai.el, language/tibet-util.el:
17555         * language/tibetan.el, language/viet-util.el:
17556         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
17558 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17560         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
17561         (electric-pair-post-self-insert-function): Use it.
17562         (electric-pair-default-inhibit): New function, extracted from
17563         electric-pair-post-self-insert-function.
17565 2013-03-31  Roland Winkler  <winkler@gnu.org>
17567         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
17569 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17571         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
17573 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
17575         Un-indent after "pass" and "return" statements (Bug#13888)
17576         * progmodes/python.el (python-indent-block-enders): New var.
17577         (python-indent-calculate-indentation): Use it.
17579 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
17581         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
17582         defun.  Defining it as defalias could introduce too eager
17583         byte-compiler optimization.  (Bug#14030)
17585 2013-03-30  Chong Yidong  <cyd@gnu.org>
17587         * iswitchb.el (iswitchb-read-buffer): Fix typo.
17589 2013-03-30  Leo Liu  <sdl.web@gmail.com>
17591         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
17592         (kmacro-execute-from-register): Pass the keyboard macro to
17593         kmacro-call-macro or repeating won't work correctly.
17595 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
17597         * progmodes/subword.el: Back to using `forward-symbol'.
17599         * subr.el (forward-whitespace, forward-symbol)
17600         (forward-same-syntax): Move from thingatpt.el.
17602 2013-03-29  Leo Liu  <sdl.web@gmail.com>
17604         * kmacro.el (kmacro-to-register): New command.
17605         (kmacro-execute-from-register): New function.
17606         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
17608 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17610         * mpc.el: Use defvar-local and setq-local.
17611         (mpc--proc-connect): Connection failures are not bugs.
17612         (mpc-mode-map): `follow-link' only applies to the buffer's content.
17613         (mpc-volume-map): Bind to the up-events.
17615 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
17617         * progmodes/subword.el (superword-mode): Use `forward-sexp'
17618         instead of `forward-symbol'.
17620 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17622         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17623         (edebug--recursive-edit): Use it.
17624         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17625         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17627 2013-03-28  Leo Liu  <sdl.web@gmail.com>
17629         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
17631 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
17633         * facemenu.el (list-colors-callback): New defvar.
17634         (list-colors-redisplay): New function.
17635         (list-colors-display): Install list-colors-redisplay as the
17636         revert-buffer-function.  (Bug#14063)
17638 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17640         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17641         and suffixes don't overlap (bug#14061).
17643         * case-table.el: Use lexical-binding.
17644         (case-table-get-table): New function.
17645         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
17647 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
17649         * progmodes/subword.el: Add `superword-mode' to do word motion
17650         over symbol_words (parallels and leverages `subword-mode' which
17651         does word motion inside MixedCaseWords).
17653 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
17655         * eshell/em-unix.el: Move su and sudo to...
17656         * eshell/em-tramp.el: ...Eshell tramp module.
17658 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17660         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
17661         Change return value to be a sexp.  Delay `get-buffer' to after
17662         restoring the desktop (bug#13951).
17664 2013-03-26  Leo Liu  <sdl.web@gmail.com>
17666         * register.el: Move semantic tag handling back to
17667         cedet/semantic/senator.el.  (Bug#14052)
17669 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17671         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
17672         into the prompt either (bug#13963).
17674 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17676         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
17677         part of "(error-foo)".
17679 2013-03-24  Juri Linkov  <juri@jurta.org>
17681         * replace.el (list-matching-lines-prefix-face): New defcustom.
17682         (occur-1): Pass `list-matching-lines-prefix-face' to the function
17683         `occur-engine' if `face-differs-from-default-p' returns t.
17684         (occur-engine): Add `,' inside backquote construct to evaluate
17685         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
17686         Pass `prefix-face' to the functions `occur-context-lines' and
17687         `occur-engine-add-prefix'.
17688         (occur-engine-add-prefix, occur-context-lines): Add optional arg
17689         `prefix-face' and propertize the prefix with `prefix-face'.
17690         (Bug#14017)
17692 2013-03-24  Leo Liu  <sdl.web@gmail.com>
17694         * nxml/rng-valid.el (rng-validate-while-idle)
17695         (rng-validate-quick-while-idle): Guard against deleted buffer.
17696         (Bug#13999)
17698         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
17699         is the last entry in kill-buffer-hook.
17701         * files.el (kill-buffer-hook): Doc fix.
17703 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
17705         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
17706         Make it safe-local.
17708         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
17710 2013-03-23  Leo Liu  <sdl.web@gmail.com>
17712         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
17713         Remove.
17715         * nxml/rng-valid.el (rng-validate-mode)
17716         (rng-after-change-function, rng-do-some-validation):
17717         * nxml/rng-maint.el (rng-validate-buffer):
17718         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
17719         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
17720         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
17721         (nxml-extend-after-change-region): Use with-silent-modifications.
17723         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
17724         timer-idle-list.
17726         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
17727         (rng-next-error-1, rng-previous-error-1): Do not let-bind
17728         timer-idle-list.  (Bug#13999)
17730 2013-03-23  Juri Linkov  <juri@jurta.org>
17732         * info.el (info-index-match): New face.
17733         (Info-index, Info-apropos-matches): Add a nested subgroup to the
17734         main pattern and add text properties with the new face to matches
17735         in index entries relative to the beginning of the index entry.
17736         (Bug#14015)
17738 2013-03-21  Eric Ludlam  <zappo@gnu.org>
17740         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
17741         Inhibit read only while inserting objects.
17743 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
17745         * progmodes/cfengine.el: Update docs to mention
17746         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
17747         symbol motion.  Remove "_" from the word syntax.
17749 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
17751         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
17752         syntax for both `cfengine2-mode' and `cfengine3-mode'.
17754 2013-03-20  Juri Linkov  <juri@jurta.org>
17756         * info.el (Info-next-reference-or-link)
17757         (Info-prev-reference-or-link): New functions.
17758         (Info-next-reference, Info-prev-reference): Use them.
17759         (Info-try-follow-nearest-node): Handle footnote navigation.
17760         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
17762 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17764         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
17765         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
17767 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
17769         Suppress unnecessary non-ASCII chatter during build process.
17770         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
17771         (batch-skkdic-convert): Suppress most of the chatter.
17772         It's not needed so much now that machines are faster,
17773         and its non-ASCII component was confusing; see Dmitry Gutov in
17774         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
17776 2013-03-20  Leo Liu  <sdl.web@gmail.com>
17778         * ido.el (ido-chop): Fix bug#10994.
17780 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17782         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
17783         Remove vars.
17784         (whitespace-color-on, whitespace-color-off):
17785         Use `font-lock-fontify-buffer' (Bug#13817).
17787 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17789         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
17790         remapping in mode-line.
17791         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
17793 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
17795         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
17796         value for `whitespace-line' face (Bug#13875).
17797         (whitespace-font-lock-keywords): Change description.
17798         (whitespace-color-on): Don't save `font-lock-keywords' value, save
17799         the constructed keywords instead.
17800         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
17802 2013-03-19  Leo Liu  <sdl.web@gmail.com>
17804         * progmodes/compile.el (compilation-display-error): New command.
17805         (compilation-mode-map, compilation-minor-mode-map): Bind it to
17806         C-o.  (Bug#13992)
17808 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17810         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
17812 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
17814         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
17816 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
17818         * net/tramp-compat.el (tramp-compat-user-error): New defun.
17820         * net/tramp-adb.el (tramp-adb-handle-shell-command):
17821         * net/tramp-gvfs.el (top):
17822         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
17823         (tramp-handle-shell-command): Use it.
17824         (tramp-dissect-file-name): Raise an error when hostname is a
17825         method name, and neither method nor user is specified.
17827         * net/trampver.el: Update release number.
17829 2013-03-18  Leo Liu  <sdl.web@gmail.com>
17831         Make sure eldoc can be turned off properly.
17832         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
17833         eldoc-mode.
17834         (eldoc-display-message-p): Revert last change.
17835         (eldoc-display-message-no-interference-p)
17836         (eldoc-print-current-symbol-info): Tweak.
17838 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
17840         * doc-view.el (doc-view-new-window-function): Check the new window
17841         overlay's display property instead the char property of the
17842         buffer's first char.  Use `with-selected-window' instead of
17843         `save-window-excursion' with `select-window'.
17844         (doc-view-document->bitmap): Check the current doc-view overlay's
17845         display property instead the char property of the buffer's first char.
17847 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
17849         Automate the build of ja-dic.el (Bug#13984).
17850         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17851         from the input, rather than assume that it's been done for us by the
17852         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
17853         the current date into a ja-dic.el comment, as that complicates
17854         regression testing.
17856 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17858         * whitespace.el: Fix double evaluation.
17859         (whitespace-space, whitespace-hspace, whitespace-tab)
17860         (whitespace-newline, whitespace-trailing, whitespace-line)
17861         (whitespace-space-before-tab, whitespace-indentation)
17862         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17863         obsolete defvars.
17864         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17865         (whitespace-color-on): Use a single font-lock-add-keywords call.
17866         Fix double-evaluation of face variables.
17868 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
17870         * net/tramp-adb.el (tramp-adb-parse-device-names):
17871         Use `start-process' instead of `call-process'.  Otherwise, the
17872         function might be blocked under MS Windows.  (Bug#13299)
17874 2013-03-17  Leo Liu  <sdl.web@gmail.com>
17876         Extend eldoc to display info in the mode-line.  (Bug#13978)
17877         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17878         (eldoc-mode-line-string): New variable.
17879         (eldoc-minibuffer-message): New function.
17880         (eldoc-message-function): New variable.
17881         (eldoc-message): Use it.
17882         (eldoc-display-message-p)
17883         (eldoc-display-message-no-interference-p):
17884         Support eldoc-post-insert-mode.
17886         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17887         (eval-expression): Run it.
17889 2013-03-17  Roland Winkler  <winkler@gnu.org>
17891         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17892         strings in the list of return values.
17894 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
17896         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17897         radix before checking for HMS forms.
17899 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17901         * progmodes/scheme.el: Add indentation and font-locking for λ.
17902         (Bug#13975)
17904 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17906         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17907         token before point (bug#13942).
17909 2013-03-16  Leo Liu  <sdl.web@gmail.com>
17911         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
17913 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
17915         * startup.el (command-line-normalize-file-name): Fix handling of
17916         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
17917         <xfq.free@gmail.com> in
17918         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17920 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
17922         Sync with Tramp 2.2.7.
17924         * net/trampver.el: Update release number.
17926 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
17928         * doc-view.el: Fix bug#13887.
17929         (doc-view-insert-image): Don't modify overlay associated to
17930         non-live windows, and implement horizontal centering of image in
17931         case it's smaller than the window.
17932         (doc-view-new-window-function): Force redisplay of new windows on
17933         doc-view buffers.
17935 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
17937         * saveplace.el (save-place-alist-to-file): Don't sort
17938         `save-place-alist', just pretty-print it (bug#13882).
17940 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
17942         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17943         Check whether `default-file-name-coding-system' is bound.
17944         It isn't in XEmacs.
17946 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17948         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17949         backquotes for `obsolete' (bug#13929).
17951         * international/mule.el (find-auto-coding): Include file name in
17952         obsolescence warning (bug#13922).
17954 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
17956         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17957         for CFEngine 3-specific indentation.
17958         (cfengine3-indent-line): Use it.  Fix up category regex.
17959         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17961 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17963         * type-break.el (type-break-file-name):
17964         * textmodes/remember.el (remember-data-file):
17965         * strokes.el (strokes-file):
17966         * shadowfile.el (shadow-initialize):
17967         * saveplace.el (save-place-file):
17968         * ps-bdf.el (bdf-cache-file):
17969         * progmodes/idlwave.el (idlwave-config-directory):
17970         * net/quickurl.el (quickurl-url-file):
17971         * international/kkc.el (kkc-init-file-name):
17972         * ido.el (ido-save-directory-list-file):
17973         * emulation/viper.el (viper-custom-file-name):
17974         * emulation/vip.el (vip-startup-file):
17975         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17976         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17978 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
17980         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17981         * language/thai-word.el: Switch to UTF-8.
17983 See ChangeLog.16 for earlier changes.
17985 ;; Local Variables:
17986 ;; coding: utf-8
17987 ;; End:
17989   Copyright (C) 2011-2014 Free Software Foundation, Inc.
17991   This file is part of GNU Emacs.
17993   GNU Emacs is free software: you can redistribute it and/or modify
17994   it under the terms of the GNU General Public License as published by
17995   the Free Software Foundation, either version 3 of the License, or
17996   (at your option) any later version.
17998   GNU Emacs is distributed in the hope that it will be useful,
17999   but WITHOUT ANY WARRANTY; without even the implied warranty of
18000   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18001   GNU General Public License for more details.
18003   You should have received a copy of the GNU General Public License
18004   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.