emacs-lisp/package.el (package-initialize): Populate `package-selected-packages'.
[emacs.git] / lisp / ChangeLog
blobdd8605a0f20b10049094ce34322b207a45b0a58d
1 2015-02-02  Artur Malabarba  <bruce.connor.am@gmail.com>
3         * emacs-lisp/package.el (package--find-non-dependencies): New
4         function.
5         (package-initialize): Use it to populate `package-selected-packages'.
7 2015-02-02  Michael Albinus  <michael.albinus@gmx.de>
9         * net/tramp-sh.el (tramp-histfile-override): Add another choice 'unset.
10         (tramp-open-shell, tramp-maybe-open-connection): Support it.
11         (Bug#19731)
13 2015-02-02  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15         * emacs-lisp/package.el (package-delete): Remove package from
16         package-selected-packages.
17         (package-autoremove): Remove unneeded variable.
19 2015-02-01  Artur Malabarba  <bruce.connor.am@gmail.com>
21         * emacs-lisp/package.el (package-selected-packages): Fix :type
22         (package-install): Rename ARG to MARK-SELECTED.
23         (package--get-deps): Fix for indirect dependencies.
24         (package-used-elsewhere-p): Rename to
25         (package--used-elsewhere-p): New function.
26         (package-reinstall, package-user-selected-packages-install)
27         (package-autoremove): Use sharp-quote.
28         (package-user-selected-packages-install): Reindent and rename to
29         (package-install-user-selected-packages): New function.
31 2015-02-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
33         * emacs-lisp/package.el: Don't allow deleting dependencies.
35         (package-used-elsewhere-p): New function.
36         (package-delete): Use it, return now an error when trying to
37         delete a package used as dependency by another package.
39         Add a reinstall package command.
40         (package-reinstall): New function.
42         Add a package-autoremove command.
43         (package-selected-packages): New user var.
44         (package-install): Add an optional arg to notify interactive use.
45         Fix docstring. Save installed package to
46         packages-installed-directly.
47         (package-install-from-buffer): Same.
48         (package-user-selected-packages-install): Allow installing all
49         packages in packages-installed-directly at once.
50         (package--get-deps): New function.
51         (package-autoremove): New function.
52         (package-install-button-action): Call package-install with
53         interactive arg.
54         (package-menu-execute): Same but only for only for not installed
55         packages.
57 2015-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
59         * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
60         and eieio-make-child-predicate.
61         (eieio-class-parents): Use eieio--class-object.
62         (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
63         (slot-exists-p): Use find-class.
65         * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
66         Use find-lisp-object-file-name, help-fns-short-filename and new calling
67         convention for eieio-class-def.
68         (eieio-build-class-list): Remove function, unused.
69         (eieio-method-def): Remove button type, unused.
70         (eieio-class-def): Inherit from help-function-def.
71         (eieio--defclass-regexp): New constant.
72         (find-function-regexp-alist): Use it.
73         (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
74         (eieio-help-find-method-definition, eieio-help-find-class-definition):
75         Remove functions.
77         * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
78         Use cl-check-type everywhere instead.
79         (eieio-class-object): Remove, use find-class instead when needed.
80         (class-p): Don't inline.
81         (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
82         such as eieio classes, as objects.  Don't inline.
83         (object-p): Mark as obsolete.
84         (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
85         (eieio--generic-tagcode): Avoid `class-p'.
86         (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
87         (eieio-defclass-internal): Use current-load-list rather than
88         `class-location'.
90         * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
92 2015-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
94         * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
95         since it may be "equivalent" in some sense, yet different (bug#19734).
97 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
99         * outline.el (outline-font-lock-face): Add docstring.
100         (outline-invisible-p): Improve docstring.
101         (outline-invent-heading): Add docstring.
102         (outline-promote): Improve docstring.
103         (outline-demote): Improve docstring.
104         (outline-head-from-level): Improve docstring.
105         (outline-end-of-heading): Add docstring.
106         (outline-next-visible-heading): Improve docstring.
107         (outline-previous-visible-heading): Improve docstring.
108         (outline-hide-region-body): Improve docstring.
109         (outline-flag-subtree): Add docstring.
110         (outline-end-of-subtree): Add docstring.
111         (outline-headers-as-kill): Improve docstring.
113 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
115         * outline.el (outline-hide-entry): Rename from `hide-entry'.
116         (hide-entry): Declare as obsolete.
117         (outline-show-entry): Rename from `show-entry'.
118         (show-entry): Declare as obsolete.
119         (outline-hide-body): Rename from `hide-body'.
120         (hide-body): Declare as obsolete.
121         (outline-hide-region-body): Rename from `hide-region-body'.
122         (hide-region-body): Declare as obsolete.
123         (outline-show-all): Rename from `show-all'.
124         (show-all): Declare as obsolete.
125         (outline-hide-subtree): Rename from `hide-subtree'.
126         (hide-subtree): Declare as obsolete.
127         (outline-hide-leaves): Rename from `hide-leaves'.
128         (hide-leaves): Declare as obsolete.
129         (outline-show-subtree): Rename from `show-subtree'.
130         (show-subtree): Declare as obsolete.
131         (outline-hide-sublevels): Rename from `hide-sublevels'.
132         (hide-sublevels): Declare as obsolete.
133         (outline-hide-other): Rename from `hide-other'.
134         (hide-other): Declare as obsolete.
135         (outline-show-children): Rename from `show-children'.
136         (show-children): Declare as obsolete.
137         (outline-show-branches): Rename from `show-branches'.
138         (show-branches): Declare as obsolete.
140 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
142         * outline.el (outline-mode): Clean up docstring.
143         (font-lock-warning-face): Remove obsolete declaration.
144         (outline-font-lock-face): Remove obsolete comment.
146 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
148         * lisp/custom.el (defface): Set `indent' to 1.
150 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
152         * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
154 2015-01-30  Michal Nazarewicz  <mina86@mina86.com>
156         * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
157         is set, but user has just been asked whether they really want to
158         kill Emacs (for example with a ‘Modified buffers exist; exit
159         anyway?’ prompt), do not ask them for another confirmation.
161 2015-01-29  Jay Belanger  <jay.p.belanger@gmail.com>
163         * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
164         (calc-convert-units): Check for missing units.
165         (math-consistent-units-p): Strengthen the test for consistent units.
167         * lisp/calc/calc-ext.el (calc-init-extensions):  Autoload
168         `calc-convert-exact-units' and assign it a keybinding.
170         * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
171         "un" keybinding.
173 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
175         * emacs-lisp/cl.el (cl--function-convert): Simplify.
177 2015-01-28  Tassilo Horn  <tsdh@gnu.org>
179         * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
180         punctuation syntax since to allow bibtex fields with values such
181         as {Test 1) and 2)} (bug#19205, bug#19707).
182         (reftex--prepare-syntax-tables): New function.
183         (reftex-mode): Use it.
185 2015-01-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
187         python.el: New non-global state dependent indentation engine.
188         (Bug#18319, Bug#19595)
189         * progmodes/python.el (python-syntax-comment-or-string-p):
190         Accept PPSS as argument.
191         (python-syntax-closing-paren-p): New function.
192         (python-indent-current-level)
193         (python-indent-levels): Mark obsolete.
194         (python-indent-context): Return more context cases.
195         (python-indent--calculate-indentation)
196         (python-indent--calculate-levels): New functions.
197         (python-indent-calculate-levels): Use them.
198         (python-indent-calculate-indentation, python-indent-line):
199         (python-indent-line-function): Rewritten to use new API.
200         (python-indent-dedent-line): Simplify logic.
201         (python-indent-dedent-line-backspace): Use `unless`.
202         (python-indent-toggle-levels): Delete function.
204 2015-01-28  Daniel Koning  <dk@danielkoning.com>  (tiny change)
206         * subr.el (posnp): Correct docstring of `posnp'.
207         (posn-col-row): Make it work with all mouse position objects.
208         * textmodes/artist.el (artist-mouse-draw-continously):
209         Cancel timers if an error occurs during continuous drawing.  (Bug#6130)
211 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
213         * button.el (button-activate, push-button): Doc fix.  (Bug#19628)
215 2015-01-28  Michael Albinus  <michael.albinus@gmx.de>
217         * filenotify.el (file-notify-descriptors, file-notify-handle-event):
218         Adapt docstring.
219         (file-notify--descriptor): New defun.
220         (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
221         Adapt docstring.  Handle multiple values for
222         `file-notify-descriptors' entries.  (Bug#18880)
224         * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
225         `file-notify-descriptors', the implementation has been changed.
227 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
229         * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
230         On MS-Windows, bind coding-system-for-read to the console output
231         codepage.  (Bug#19458)
233 2015-01-28  Dmitry Gutov  <dgutov@yandex.ru>
235         Unbreak `mouse-action' property in text buttons.
236         * button.el (push-button): Fix regression from 2012-12-06.
238 2015-01-28  Glenn Morris  <rgm@gnu.org>
240         * progmodes/sh-script.el (sh-mode): Doc fix.
241         (sh-basic-indent-line): Handle electric newline.  (Bug#18756)
243 2015-01-28  Paul Eggert  <eggert@cs.ucla.edu>
245         Fix dired quoting bug with "Hit`N`Hide".  Fixes Bug#19498.
246         * files.el (shell-quote-wildcard-pattern): Also quote "`".
248 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
250         Tighten up the tagcode used for eieio and cl-struct objects.
251         * loadup.el: Load cl-preloaded.
252         * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
253         slot of the tag symbol to :quick-object-witness-check.
254         (eieio-object-p): Use :quick-object-witness-check.
255         (eieio--generic-tagcode): Use cl--generic-struct-tag.
256         * emacs-lisp/cl-preloaded.el: New file.
257         * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
258         (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
259         (cl--make-usage-args): Strip away &aux args.
260         (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
261         (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
262         (cl-defstruct): Use `declare' and cl-struct-define.
263         * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
264         (cl--generic-struct-tagcode): Use it to tighten the tagcode.
266 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
268         * emacs-lisp/cl.el (cl--function-convert):
269         Merge cache that cl--labels-convert adds (bug#19699).
271 2015-01-27  Ivan Shmakov  <ivan@siamics.net>
273         * tar-mode.el: Allow for adding new archive members.  (Bug#19274)
274         (tar-new-regular-file-header, tar--pad-to, tar--put-at)
275         (tar-header-serialize): New functions.
276         (tar-current-position): Split from tar-current-descriptor.
277         (tar-current-descriptor): Use it.
278         (tar-new-entry): New command.
279         (tar-mode-map): Bind it.
281 2015-01-27  Sam Steingold  <sds@gnu.org>
283         * progmodes/python.el (python-check-custom-command): Buffer local
284         because it usually includes the buffer name.
285         (python-check-command): Set to epylint when pyflakes is not available.
287 2015-01-27  Artur Malabarba  <bruce.connor.am@gmail.com>
289         * isearch.el (isearch-process-search-char): Add docstring.
291 2015-01-27  Oleh Krehel  <ohwoeowho@gmail.com>
293         * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
295 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
297         * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
298         for the case cl-flet or cl-labels form is wrapped with lexical-let
299         (bug#19613).
301 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
303         * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
304         (cl--generic): The method-table is now a (list-of cl--generic-method).
305         (cl--generic-member-method): New function.
306         (cl-generic-define-method): Use it.
307         (cl--generic-build-combined-method, cl--generic-cache-miss):
308         Adapt to new method-table.
309         (cl--generic-no-next-method-function): Add `method' argument.
310         (cl-generic-call-method): Adapt to new method representation.
311         (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
312         (cl-find-method, cl-method-qualifiers): New functions.
313         (cl--generic-method-info): Adapt to new method representation.
314         Return a string for the qualifiers.
315         (cl--generic-describe):
316         * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
317         (eieio-all-generic-functions, eieio-method-documentation):
318         Adjust to new method representation.
320         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
322 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
324         * emacs-lisp/cl-generic.el: Add a method-combination hook.
325         (cl-generic-method-combination-function): New var.
326         (cl--generic-lambda): Remove `with-cnm' arg.
327         (cl-defmethod): Change accordingly.
328         (cl-generic-define-method): Don't check qualifiers validity.
329         Preserve all qualifiers in `method-table'.
330         (cl-generic-call-method): New function.
331         (cl--generic-nest): Remove (morph into cl-generic-call-method).
332         (cl--generic-build-combined-method): Adjust to new format of method-table
333         and use cl-generic-method-combination-function.
334         (cl--generic-standard-method-combination): New function, extracted from
335         cl--generic-build-combined-method.
336         (cl--generic-cnm-sample): Adjust to new format of method-table.
338         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
339         instead of :primary.
341         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
342         Remove obsolete function.
344 2015-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
346         * net/shr.el (shr-make-table-1): Fix colspan typo.
347         (shr-make-table-1): Add comments.
348         (shr-make-table-1): Make colspan display more sensibly.
350         * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
351         slightly.
353 2015-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
355         * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
356         (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
357         (bug#19672).
358         (cl--generic-typeof-types): Add support for `sequence'.
359         (cl-defmethod): Add non-keywords in the qualifiers.
361 2015-01-25  Dmitry Gutov  <dgutov@yandex.ru>
363         * emacs-lisp/find-func.el (find-function-regexp): Don't match
364         `defgroup' (regression from the previous change here).
366 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
368         * net/ldap.el (ldap-search-internal): Mention binddn in invalid
369         credentials error message.
371 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
373         * net/ldap.el (ldap-password-read): Validate password before
374         caching it.
375         (ldap-search-internal): Handle ldapsearch error conditions.
377 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
379         * net/ldap.el (ldap-password-read): Handle password-cache being nil.
381 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
383         * net/eudc.el (eudc-expand-inline): Always restore former server
384         and protocol.
386 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
388         * net/eudcb-ldap.el: Don't nag the user in case a default base is
389         provided by the LDAP system configuration file.
391 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
393         * net/eudc.el (eudc-format-query): Preserve the
394         eudc-inline-query-format ordering of attributes in the returned list.
395         * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
396         Append the LDAP wildcard character to the last attribute value.
398 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
400         * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
401         Downcase field names of LDAP results.
402         (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
404 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
406         * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
407         (ldap-search-internal): Send password to ldapsearch through a pipe
408         instead of via the command line.
410 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
412         * net/ldap.el: Require password-cache.
413         (ldap-password-read): New function.
414         (ldap-search-internal): Call ldap-password-read when it is
415         configured to be called.
417 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
419         * net/eudc-vars.el (eudc-expansion-overwrites-query):
420         Change default to nil.
422 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
424         * net/eudc.el (eudc-expand-inline): Ignore text properties of
425         string-to-expand.
427 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
429         * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
430         format that includes first name and surname.
432 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
434         * net/eudc-vars.el (eudc-inline-query-format): Change default to
435         query email and first name instead of surname.
437 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
439         * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
441 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
443         * net/eudc-vars.el (eudc-server): Adjust docstring to mention
444         eudc-server-hotlist.
445         (eudc-server-hotlist): Move from eudc.el and make defcustom.
446         * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
447         (eudc-set-server): Allow setting protocol to nil.
448         (eudc-expand-inline): Support hotlist-only expansions when server
449         is not set.
451 2015-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
453         * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
454         (cl--generic-build-combined-method): Use it.
456 2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
458         Don't downcase system diagnostics' first letters
459         * emacs-lisp/bytecomp.el (byte-compile-file):
460         * ffap.el (find-file-at-point):
461         * files.el (insert-file-1):
462         * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
463         (ange-ftp-copy-file-internal):
464         * progmodes/etags.el (visit-tags-table):
465         Keep diagnostics consistent with system's.
466         * ffap.el (ffap-machine-p):
467         Ignore case while comparing diagnostics.
469 2015-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
471         * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
472         arg (bug#19645).
473         * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
474         body with a docstring.
476 2015-01-22  Dmitry Gutov  <dgutov@yandex.ru>
478         * progmodes/xref.el (xref-location-marker, xref-location-group):
479         Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
480         counterparts.
482         * progmodes/etags.el (xref-location-marker): Same.
484         * progmodes/xref.el (xref--current): Rename from `xref--selected'.
485         (xref--inhibit-mark-current): Rename from
486         `xref--inhibit-mark-selected'.  Update the usages.
487         (xref-quit): Reword the docstring.  Kill buffers after quitting
488         windows instead of before.
489         (xref--insert-xrefs): Tweak help-echo.
490         (xref--read-identifier-history, xref--read-pattern-history):
491         New variables.
492         (xref--read-identifier, xref-find-apropos): Use them.
494 2015-01-21  Ulrich Müller  <ulm@gentoo.org>
496         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
497         Allow the 'update-game-score' helper program to run suid or sgid.
499 2015-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
501         * emacs-lisp/eieio.el: Use cl-defmethod.
502         (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
503         (eieio-object-name-string): Declare as obsolete.
505         * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
506         (eieio--specializers-apply-to-class-p): New function.
507         (eieio-all-generic-functions): Use it.
508         (eieio-method-documentation): Use it as well as cl--generic-method-info.
509         Change format of return value.
510         (eieio-help-class): Adapt accordingly.
512         * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
513         errors when there's a `before' but no `primary' (bug#19645).
514         (next-method-p): Return nil rather than signal an error.
515         (eieio-defgeneric): Remove bogus (fboundp 'method).
517         * emacs-lisp/eieio-speedbar.el:
518         * emacs-lisp/eieio-datadebug.el:
519         * emacs-lisp/eieio-custom.el:
520         * emacs-lisp/eieio-base.el: Use cl-defmethod.
522         * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
523         (cl--generic-setf-rewrite): Setup the setf expander right away.
524         (cl-defmethod): Make sure the setf expander is setup before we expand
525         the body.
526         (cl-defmethod): Silence byte-compiler warnings.
527         (cl-generic-define-method): Shuffle code to change return value.
528         (cl--generic-method-info): New function, extracted from
529         cl--generic-describe.
530         (cl--generic-describe): Use it.
532 2015-01-21  Dmitry Gutov  <dgutov@yandex.ru>
534         * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
535         the major mode.  Remap `quit-window' to `xref-quit'.
536         (xref--xref-buffer-mode): Inherit from special-mode.
538         xref: Keep track of temporary buffers  (bug#19466).
539         * progmodes/xref.el (xref--temporary-buffers, xref--selected)
540         (xref--inhibit-mark-selected): New variables.
541         (xref--mark-selected): New function.
542         (xref--show-location): Maybe add the buffer to
543         `xref--temporary-buffers', add `xref--mark-selected' to
544         `buffer-list-update-hook' there.
545         (xref--window): Add docstring.
546         (xref-quit): Rename from `xref--quit'.  Update both references.
547         Add KILL argument.  When it's non-nil, kill the temporary buffers
548         that haven't been selected by the user.
549         (xref--show-xref-buffer): Change the second argument to alist,
550         extract the values for `xref--window' and
551         `xref--temporary-buffers' from it.  Add `xref--mark-selected' to
552         `buffer-list-update-hook' to each buffer in the list.
553         (xref--show-xrefs): Move the logic of calling `xref-find-function'
554         here.  Save the difference between buffer lists before and after
555         it's called as "temporary buffers", and `pass it to
556         `xref-show-xrefs-function'.
557         (xref--find-definitions, xref-find-references)
558         (xref-find-apropos): Update accordingly.
560 2015-01-20  Artur Malabarba  <bruce.connor.am@gmail.com>
562         * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
564 2015-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
566         * emacs-lisp/eieio-generic.el: Remove.
567         (defgeneric, defmethod): Move to eieio-compat.el.  Mark obsolete.
568         * emacs-lisp/eieio-compat.el: New file.
569         * emacs-lisp/eieio.el: Don't require eieio-generic any more.
570         * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
571         Remove unused function.
572         (eieio-defclass): Move to eieio-compat.el.
573         * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
574         (macroexp--expand-all): Use it.
575         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
577 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
579         * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
580         major modes should use `add-function' to alter value of the variable.
581         * hexl.el (hexl-mode):
582         * ielm.el (inferior-emacs-lisp-mode):
583         * progmodes/cfengine.el (cfengine3-mode):
584         * progmodes/elisp-mode (emacs-lisp-mode):
585         * progmodes/octave.el (octave-mode):
586         * progmodes/python.el (python-mode):
587         * simple.el (read--expression): Set `eldoc-documentation-function'
588         using `add-function' so the default value is always used.
590         * descr-text.el (describe-char-eldoc): New function returning
591         basic Unicode codepoint information (e.g. name) about character
592         at point.  It is meant to be used as a default value of the
593         `eldoc-documentation-function' variable.
594         (describe-char-eldoc--format, describe-char-eldoc--truncate):
595         New helper functions for `describe-char-eldoc' function.
597 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
599         * textmodes/paragraphs.el (sentence-end-base): Include an
600         ellipsis (…) and interrobang (‽) characters as end of a sentence,
601         and a closing single quote (’) as an end of a quote.
603 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
605         * textmodes/tildify.el (tildify-double-space-undos): A new
606         variable specifying whether pressing space in `tildify-mode' after
607         a space has been replaced with hard space undos the substitution.
608         (tildify-space): Add code branch for handling `tildify-doule-space'.
610         * textmodes/tildify.el (tildify-space): A new function
611         which can be used as a `post-self-insert-hook' to automatically
612         convert spaces into hard spaces.
613         (tildify-space-pattern): A new variable specifying pattern where
614         `tildify-space' should take effect.
615         (tildify-space-predicates): A new variable specifying list of
616         predicate functions that all must return non-nil for
617         `tildify-space' to take effect.
618         (tildify-space-region-predicate): A new functions meant to be
619         used as a predicate in `tildify-space-predicates' list.
620         (tildify-mode): A new minor mode enabling `tildify-space' as a
621         `post-self-insert-hook'
623 2015-01-20  Daniel Colascione  <dancol@dancol.org>
625         * vc/vc-dir.el (vc-dir): Default to repository root, not
626         default-directory.
628 2015-01-20  Dmitry Gutov  <dgutov@yandex.ru>
630         * progmodes/etags.el (xref-etags-location): New class.
631         (xref-make-etags-location): New function.
632         (etags--xref-find-definitions): Use it.
633         (xref-location-marker): New method implementation.
635         * progmodes/xref.el: Mention that xref-location is an EIEIO class.
636         (xref--insert-xrefs): Expand help-echo string.
638 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
640         * ido.el: Update Customization instructions.
642 2015-01-19  Jonas Bernoulli  <jonas@bernoul.li>
644         Define Ido keymaps once (bug#17000).
645         * ido.el (ido-common-completion-map)
646         (ido-file-dir-completion-map)
647         (ido-file-completion-map, ido-buffer-completion-map): Set up key
648         bindings when each variable is defined.
649         (ido-completion-map): Move definition.
650         (ido-init-completion-maps): Noop.
651         (ido-common-initialization): Don't call it.
652         (ido-setup-completion-map): Improve doc-string, cleanup.
654 2015-01-19  Ivan Shmakov  <ivan@siamics.net>
656         * cus-dep.el (custom-make-dependencies): Ensure that
657         default-directory is interpreted as a directory (see bug#19140.)
659 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
661         * progmodes/xref.el (xref--display-position):
662         Set `other-window-scroll-buffer'.
663         (xref-goto-xref): Use `user-error'.
665 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
667         * progmodes/xref.el (xref--display-history): New variable.
668         (xref--window-configuration): Remove.
669         (xref--save-to-history): New function.
670         (xref--display-position): Use it.  Add new argument.
671         (xref--restore-window-configuration): Remove.
672         (xref--show-location, xref-show-location-at-point):
673         Update accordingly.
674         (xref--xref-buffer-mode): Don't use `pre-command-hook'.
675         (xref--quit): New command.
676         (xref-goto-xref): Use it.
677         (xref--xref-buffer-mode-map): Bind `q' to it.
679 2015-01-18  Dmitry Gutov  <dgutov@yandex.ru>
681         * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
682         indentation or at eol.
684 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
686         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
687         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
688         New functions.
689         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
691         * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
692         `newname' argument.
694         * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
695         introduction of a new dispatch argument.
696         (cl--generic-cache-miss): Handle dispatch on an argument which was not
697         considered as dispatchable for this method.
698         (cl-defmethod): Warn when adding a method to an obsolete generic function.
699         (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
701         * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
703 2015-01-18  Artur Malabarba  <bruce.connor.am@gmail.com>
705         * emacs-lisp/package.el (package--append-to-alist): Rename from
706         `package--add-to-alist'
707         Updated docstring due to new name.
709 2015-01-18  Leo Liu  <sdl.web@gmail.com>
711         * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
712         multiple evaluation.  (Bug#19519)
714         * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
715         error.  (Bug#19434)
717 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
719         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
720         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
721         New functions.
722         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
724         * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
725         or print is nil.
726         (cl-struct-type-p): New function.
728         * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
729         (cl-defmethod): Add edebug spec.
730         (cl--generic-build-combined-method): Fix call to
731         cl-no-applicable-method.
732         (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
733         (cl--generic-isnot-nnm-p): New function.
734         (cl--generic-lambda): Use it to add support for cl-next-method-p.
735         (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
736         (cl-next-method-p): New function.
738 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
740         * version.el (emacs-repository-get-version): Update docstring.
742 2015-01-17  Ivan Shmakov  <ivan@siamics.net>
744         * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
745         and print-level to nil to avoid writing a garbled list.  (Bug#16805)
747         * files.el (find-file-other-window, find-file-other-frame):
748         Use mapc instead of mapcar.  (Bug#18175)
750         * files.el (dir-locals-collect-variables): Use default-directory
751         in place of the file name while working on non-file buffers, just
752         like hack-dir-local-variables already does.  (Bug#19140)
754         * textmodes/enriched.el (enriched-encode):
755         Use inhibit-point-motion-hooks in addition to inhibit-read-only.
756         (Bug#18246)
758         * desktop.el (desktop-read): Do not call desktop-clear when no
759         desktop file is found.  (Bug#18371)
761         * misearch.el (multi-isearch-unload-function): New function.
762         (misearch-unload-function): New alias.  (Bug#19566)
764 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
766         * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
767         class-constructor, and make it an alias for `identity'.
768         Update all callers.
770         * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
771         argument here (bug#19620)...
772         (defclass): ...instead of in the constructor here.
774 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
776         * emacs-lisp/package.el (package-archive-priorities):
777         Specify correct type.
779 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
781         * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
782         Remove.
783         (emacs-repository-get-version): Discard the Bazaar case.
784         * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
785         emacs-bzr-version-dirstate and move from version.el to here.
786         (vc-bzr-working-revision): Use it.
788 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
790         * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
791         eieio--scoped-class any more.
793         * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
794         (eieio--scoped-class): Remove function.
795         (eieio--with-scoped-class): Remove macro.  Replace uses with `progn'.
796         (eieio--slot-name-index): Don't check the :protection anymore.
797         (eieio-initializing-object): Remove var.
798         (eieio-set-defaults): Don't let-bind eieio-initializing-object.
800 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
802         Improve handling of doc-strings and describe-function for cl-generic.
804         * help-mode.el (help-function-def): Add optional arg `type'.
806         * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
807         as it's a symbol.
808         (help-fns-short-filename): New function.
809         (describe-function-1): Use it.  Use autoload-do-load.
811         * emacs-lisp/find-func.el: Use lexical-binding.
812         (find-function-regexp): Don't rule out `defgeneric'.
813         (find-function-regexp-alist): Document new possibility of including
814         a function instead of a regexp.
815         (find-function-search-for-symbol): Implement that new possibility.
816         (find-function-library): Don't assume that `function' is a symbol.
817         (find-function-do-it): Remove unused var `orig-buf'.
819         * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
820         (eieio--defgeneric-init-form): Don't throw away a previous docstring.
821         (eieio--method-optimize-primary): Don't mess with the docstring.
822         (defgeneric): Keep the `args' in the docstring.
823         (defmethod): Don't use the method's docstring for the generic
824         function's docstring.
826         * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
827         (eieio-defclass-autoload): Don't record the superclasses any more.
828         (eieio-defclass-internal): Reuse the old class object if it was just an
829         autoload stub.
830         (eieio--class-precedence-list): Load the class if it's autoloaded.
832         * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
833         override an autoload.
834         (cl-generic-current-method-specializers): Replace dyn-bind variable
835         with a lexically-scoped macro.
836         (cl--generic-lambda): Update accordingly.
837         (cl-generic-define-method): Record manually in the load-history with
838         type `cl-defmethod'.
839         (cl--generic-get-dispatcher): Minor optimization.
840         (cl--generic-search-method): New function.
841         (find-function-regexp-alist): Add entry for `cl-defmethod' type.
842         (cl--generic-search-method): Add hyperlinks for methods.  Merge the
843         specializers and the function's arguments.
845 2015-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
847         * emacs-lisp/package.el (package--read-pkg-desc):
848         New function. Read a `define-package' form in current buffer.
849         Return the pkg-desc, with desc-kind set to KIND.
850         (package-dir-info): New function. Find package information for a
851         directory. The return result is a `package-desc'.
852         (package-install-from-buffer): Install packages from dired buffer.
853         (package-install-file): Install packages from directory.
854         (package-desc-suffix)
855         (package-install-from-archive)
856         * emacs-lisp/package-x.el (package-upload-buffer-internal):
857         Ensure all remaining instances of `package-desc-kind' handle the 'dir
858         value.
860 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
862         * emacs-lisp/package.el: Provide repository priorities.
863         (package-archive-priorities): New variable.
864         (package--add-to-alist): New function.
865         (package--add-to-archive-contents): Use it.
866         (package-menu--find-upgrades): Use it as well. Small clean up to
867         make the use of the package name here explicit.
868         (package-archive-priority): New function.
869         (package-desc-priority-version): New function.
871 2015-01-16  Daniel Colascione  <dancol@dancol.org>
873         * cus-start.el (all): Make `ring-bell-function' customizable.
875 2015-01-16  Dmitry Gutov  <dgutov@yandex.ru>
877         * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
878         vc-svn-after-dir-status's second argument.  (Bug#19429)
880 2015-01-16  Samer Masterson  <samer@samertm.com>  (tiny change)
882         * pcomplete.el (pcomplete-parse-arguments): Parse arguments
883         regardless of pcomplete-cycle-completions's value.  (Bug#18950)
885 2015-01-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
887         * dom.el (dom-strings): New function.
889         * files.el (directory-files-recursively): Don't use the word
890         "path" for a file name.
892 2015-01-15  Wolfgang Jenkner  <wjenkner@inode.at>
894         * calc/calc-units.el (math-units-in-expr-p)
895         (math-single-units-in-expr-p, math-find-compatible-unit-rec)
896         (math-extract-units): Handle the `neg' operator.  (Bug#19582)
898 2015-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
900         * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
901         (cl--labels-convert): Use it to ask the macro what is its replacement
902         in the #'f case.
904         * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
905         Return the value of the primary rather than the after method.
907         * emacs-lisp/eieio-core.el: Provide support for cl-generic.
908         (eieio--generic-tagcode): New function.
909         (cl-generic-tagcode-function): Use it.
910         (eieio--generic-tag-types): New function.
911         (cl-generic-tag-types-function): Use it.
912         (eieio-object-p): Tighten up the test.
914         * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
916 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
918         * emacs-lisp/cl-generic.el: New file.
920         * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
921         (cl-load-time-value, cl-labels): Use closures rather than
922         backquoted lambdas.
923         (cl-macrolet): Use `eval' to create the function value, and support CL
924         style arguments in for the defined macros.
926 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
928         * net/eww.el: Use lexical-binding.
929         (eww-links-at-point): Remove unused arg.
930         (eww-mode-map): Inherit from special-mode-map.
931         (eww-mode): Derive from special-mode.  Don't use `setq' on a hook.
933 2015-01-13  Alan Mackenzie  <acm@muc.de>
935         Allow compilation during loading of CC Mode-derived modes (bug#19206).
936         * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
937         New function which walks the stack to discover whether we're compiling
938         or loading.
939         (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
940         (cc-bytecomp-is-loading): New defsubst.
941         (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
942         Use the above defsubsts.
943         (cc-require-when-compile, cc-bytecomp-defvar)
944         (cc-bytecomp-defun): Simplify conditionals.
945         * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
946         "Borrow" this function from cc-bytecomp.el.
947         (c-get-current-file): Reformulate using the above.
948         (c-lang-defconst): Prevent duplicate entries of file names in a
949         symbol's 'source property.
950         (c-lang-const): Use cc-bytecomp-is-compiling.
951         * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
952         Use cc-bytecomp-is-compiling.
954 2015-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
956         * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
957         (bug#19552).
959 2015-01-13  Dmitry Gutov  <dgutov@yandex.ru>
961         * menu-bar.el (menu-bar-goto-menu): Before calling
962         `xref-marker-stack-empty-p', first check that `xref' is loaded.
963         (Bug#19554)
965 2015-01-12  Martin Rudalics  <rudalics@gmx.at>
967         * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
968         cookie (Bug#19554).
970         * frame.el (frame-notice-user-settings): Remove code dealing with
971         frame-initial-frame-tool-bar-height.  Turn off `tool-bar-mode'
972         only if `window-system-frame-alist' or `default-frame-alist' ask
973         for it.
974         (make-frame): Update frame-adjust-size-history if needed.
976 2015-01-12  Paul Eggert  <eggert@cs.ucla.edu>
978         Have 'make' output better GEN names
979         * Makefile.in (PHONY_EXTRAS): New macro.
980         (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
981         relevant files' time stamps are ignored.
982         (custom-deps, $(lisp)/cus-load.el, finder-data)
983         ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
984         (custom-deps, $(lisp)/cus-load.el, finder-data)
985         ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
986         ($(lisp)/subdirs.el, update-subdirs):
987         Output more-accurate destination names with GEN.
989         Say "ELC foo.elc" instead of "GEN foo.elc"
990         * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
991         New macros.
992         ($(THEFILE)c, .el.elc): Use them.
994 2015-01-11  Michael Albinus  <michael.albinus@gmx.de>
996         * files.el (directory-files-recursively): Do not include
997         superfluous remote file names.
999 2015-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1001         * net/eww.el (eww): Interpret anything that looks like a protocol
1002         designator as a full URL.
1004 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1006         * net/shr.el (shr-urlify): Don't bother the user about
1007         invalidly-encoded display strings.
1009 2015-01-10  Ivan Shmakov  <ivan@siamics.net>
1011         * net/shr.el (shr-urlify): Decode URLs before using them as titles
1012         (bug#19555).
1014 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1016         * net/eww.el (eww): Always interpret URLs that start with https?:
1017         as plain URLs, even if they have spaces in them (bug#19556).
1018         (eww): Also interpret things like "en.wikipedia.org/wiki/Free
1019         software" as an URL.
1020         (eww): Don't interpret "org/foo" as an URL.
1021         (eww): Clear the title when loading so that we don't display
1022         misleading information.
1024 2015-01-10  Daniel Colascione  <dancol@dancol.org>
1026         * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
1027         by analogy with dired.
1029 2015-01-09  Daniel Colascione  <dancol@dancol.org>
1031         * progmodes/js.el (js--function-heading-1-re)
1032         (js--function-prologue-beginning): Parse ES6 generator function
1033         declarations.  (That is, "function* name()").
1035 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1037         * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
1038         that creates functions, and most of the sanity checks.
1039         Mark as obsolete the <class>-child-p function.
1040         * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
1041         (eieio--class, eieio--object): Use cl-defstruct.
1042         (eieio--object-num-slots): Define manually.
1043         (eieio-defclass-autoload): Use eieio--class-make.
1044         (eieio-defclass-internal): Rename from eieio-defclass.  Move all the
1045         `(lambda...) definitions and most of the sanity checks to `defclass'.
1046         Mark as obsolete the <class>-list-p function, the <class> variable and
1047         the <initarg> variables.  Use pcase-dolist.
1048         (eieio-defclass): New compatibility function.
1049         * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
1050         (eieio-class-speedbar): Don't use eieio-default-superclass var.
1052 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1054         * emacs-lisp/eieio-generic.el: New file.
1055         * emacs-lisp/eieio-core.el: Move all generic function code to
1056         eieio-generic.el.
1057         (eieio--defmethod): Declare.
1059         * emacs-lisp/eieio.el: Require eieio-generic.  Move all generic
1060         function code to eieio-generic.el.
1061         * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
1062         eieio-generic.el.
1063         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
1064         to eieio--generic-call.
1065         * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
1066         <class>-child type.
1068 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1070         * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
1071         Don't use <class> as a variable.
1073         * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
1074         (call-next-method): Simplify.
1075         (clone): Obey eieio-backward-compatibility.
1077         * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
1078         (eieio-read-generic): Use `generic-p' instead.
1080         * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
1081         (eieio-defclass-autoload): Obey it.
1082         (eieio--class-object): Improve error behavior.
1083         (eieio-class-children-fast, same-class-fast-p): Remove.  Inline at
1084         every use site.
1085         (eieio--defgeneric-form-primary-only): Rename from
1086         eieio-defgeneric-form-primary-only; update all callers.
1087         (eieio--defgeneric-form-primary-only-one): Rename from
1088         eieio-defgeneric-form-primary-only-one; update all callers.
1089         (eieio-defgeneric-reset-generic-form)
1090         (eieio-defgeneric-reset-generic-form-primary-only)
1091         (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
1092         (eieio--method-optimize-primary): New function to replace them.
1093         (eieio--defmethod, eieio-defmethod): Use it.
1094         (eieio--perform-slot-validation): Rename from
1095         eieio-perform-slot-validation; update all callers.
1096         (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
1097         Change `class' to be a class object.  Update all callers.
1098         (eieio--validate-class-slot-value): Rename from
1099         eieio-validate-class-slot-value.  Change `class' to be a class object.
1100         Update all callers.
1101         (eieio-oset-default): Accept class object as well.
1102         (eieio--generic-call-primary-only): Rename from
1103         eieio-generic-call-primary-only.  Update all callers.
1105         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1106         Improve error messages.
1107         (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
1108         well as user-defined types.  Emit errors for legacy types like
1109         <class>-child and <class>-list, if not eieio-backward-compatibility.
1111 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1113         * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
1114         (eieio--class-slot-initarg): Rename from class-slot-initarg.
1115         Change `class' arg to be a class object.  Update all callers.
1116         (call-next-method): Adjust to new return value of `eieio-generic-form'.
1117         (eieio-default-superclass): Set var to the class object.
1118         (eieio-edebug-prin1-to-string): Fix recursive call for lists.
1119         Change print behavior to affect class objects rather than
1120         class symbols.
1122         * emacs-lisp/eieio-core.el (eieio-class-object): New function.
1123         (eieio-class-parents-fast): Remove macro.
1124         (eieio--class-option-assoc): Rename from class-option-assoc.
1125         Update all callers.
1126         (eieio--class-option): Rename from class-option.  Change `class' arg to
1127         be a class object.  Update all callers.
1128         (eieio--class-method-invocation-order): Rename from
1129         class-method-invocation-order.  Change `class' arg to be a class
1130         object.  Update all callers.
1131         (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
1132         a list of class objects rather than names.
1133         (eieio-defclass): Remove redundant quotes.  Use `eieio-oref-default'
1134         for accessors to class allocated slots.
1135         (eieio--perform-slot-validation-for-default): Rename from
1136         eieio-perform-slot-validation-for-default.  Update all callers.
1137         (eieio--add-new-slot): Rename from eieio-add-new-slot.
1138         Update all callers.  Use push.
1139         (eieio-copy-parents-into-subclass): Adjust to new content of
1140         `parent' field.  Use dolist.
1141         (eieio-oref): Remove support for providing a class rather than
1142         an object.
1143         (eieio-oref-default): Prefer class objects over class names.
1144         (eieio--slot-originating-class-p): Rename from
1145         eieio-slot-originating-class-p.  Update all callers.  Use `or'.
1146         (eieio--slot-name-index): Turn check into assertion.
1147         (eieio--class-slot-name-index): Rename from
1148         eieio-class-slot-name-index.  Change `class' arg to be a class object.
1149         Update all callers.
1150         (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
1151         (eieio--c3-candidate): Rename from eieio-c3-candidate.
1152         Update all callers.
1153         (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
1154         Update all callers.
1155         (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
1156         Update all callers.
1157         (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
1158         Update all callers.
1159         (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
1160         Update all callers.  Adjust to new `parent' content.
1161         (eieio--class-precedence-list): Rename from -class-precedence-list.
1162         Update all callers.
1163         (eieio-generic-call): Use autoloadp and autoload-do-load.
1164         Slight simplification.
1165         (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
1166         return value of `eieio-generic-form'.
1167         (eieiomt-add): Index the hashtable with class objects rather than
1168         class names.
1169         (eieio-generic-form): Accept class objects as well.
1171         * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
1172         Adjust to new convention for eieio-persistent-validate/fix-slot-value.
1173         (eieio-persistent-validate/fix-slot-value):
1174         Change `class' arg to be a class object.  Update all callers.
1176 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1178         * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
1179         additionally to class names.
1181         * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
1182         (object): Remove first (constant) slot; rename second to `class-tag'.
1183         (eieio--object-class-object, eieio--object-class-name): New funs
1184         to replace eieio--object-class.
1185         (eieio--class-object, eieio--class-p): New functions.
1186         (same-class-fast-p): Make it a defsubst, change its implementation
1187         to check the class objects rather than their names.
1188         (eieio-object-p): Rewrite.
1189         (eieio-defclass): Adjust the object initialization according to the new
1190         object layout.
1191         (eieio--scoped-class): Declare it returns a class object (not a class
1192         name any more).  Adjust calls accordingly (along with calls to
1193         eieio--with-scoped-class).
1194         (eieio--slot-name-index): Rename from eieio-slot-name-index and change
1195         its class arg to be a class object.  Adjust callers accordingly.
1196         (eieio-slot-originating-class-p): Make its start-class arg a class
1197         object.  Adjust all callers.
1198         (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
1199         Make its `class' arg a class object.  Adjust all callers.
1201         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1202         Use eieio--slot-name-index rather than eieio-slot-name-index.
1204 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1206         * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
1207         name argument.
1208         (eieio-object-name): Use eieio-object-name-string.
1209         (eieio--object-names): New const.
1210         (eieio-object-name-string, eieio-object-set-name-string): Re-implement
1211         using a hashtable rather than a built-in slot.
1212         (eieio-constructor): Rename from `constructor'.  Remove `newname' arg.
1213         (clone): Don't mess with the object's "name".
1215         * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
1216         (eieio-object-value-get): Use eieio-object-set-name-string.
1218         * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
1219         (eieio--object): Remove `name' field.
1220         (eieio-defclass): Adjust to new convention where constructors don't
1221         take an "object name" any more.
1222         (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
1223         (eieio-validate-slot-value, eieio-oset-default)
1224         (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
1225         (eieio-generic-call-primary-only): Simplify.
1227         * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
1228         Use call-next-method.
1229         (eieio-constructor): Rename from `constructor'.
1230         (eieio-persistent-convert-list-to-object): Drop objname.
1231         (eieio-persistent-validate/fix-slot-value): Don't hardcode
1232         eieio--object-num-slots.
1233         (eieio-named): Use a normal slot.
1234         (slot-missing) <eieio-named>: Remove.
1235         (eieio-object-name-string, eieio-object-set-name-string, clone)
1236         <eieio-named>: New methods.
1238 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
1241         (method-*): Add a "eieio--" prefix to those constants.
1243         * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
1245         * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
1247 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1249         * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
1250         `eieio-default-superclass'.
1252         * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
1254         * emacs-lisp/eieio-custom.el: Use lexical-binding.
1255         (eieio-object-value-to-abstract): Simplify.
1257         * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
1258         (eieio-build-class-alist): Use dolist.
1259         (eieio-all-generic-functions): Adjust to use of hashtables.
1261         * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
1262         symbol-hashtable.  It contains a hashtable instead of an obarray.
1263         (generic-p): Use symbol property `eieio-method-hashtable' instead of
1264         `eieio-method-obarray'.
1265         (generic-primary-only-p, generic-primary-only-one-p):
1266         Slight optimization.
1267         (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
1268         (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
1269         (eieio-class-un-autoload): Use autoload-do-load.
1270         (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
1271         Use new cl-deftype-satisfies.  Adjust to use of hashtables.
1272         Don't hardcode the value of eieio--object-num-slots.
1273         (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
1274         Use a closure rather than a backquoted lambda.
1275         (eieio--defmethod): Adjust call accordingly.  Set doc-string via the
1276         function-documentation property.
1277         (eieio-slot-originating-class-p, eieio-slot-name-index)
1278         (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
1279         (eieio-generic-form): Adjust to use of hashtables.
1280         (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
1281         additional class argument.
1282         (eieio-generic-call-methodname): Remove, unused.
1284         * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
1285         Prefer \' to $.
1287 2015-01-08  Eli Zaretskii  <eliz@gnu.org>
1289         * simple.el (line-move-visual): When converting X pixel coordinate
1290         to temporary-goal-column, adjust the value for right-to-left
1291         screen lines.  This fixes vertical-motion, next/prev-line, etc.
1293 2015-01-08  Glenn Morris  <rgm@gnu.org>
1295         * files.el (file-tree-walk): Remove; of unknown authorship.  (Bug#19325)
1297 2015-01-07  K. Handa  <handa@gnu.org>
1299         * international/ccl.el (define-ccl-program): Improve the docstring.
1301 2015-01-06  Sam Steingold  <sds@gnu.org>
1303         * shell.el (shell-display-buffer-actions): Remove,
1304         use `display-buffer-alist' instead.
1306 2015-01-05  Dmitry Gutov  <dgutov@yandex.ru>
1308         * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
1309         to the references.
1311 2015-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1313         * minibuffer.el (completion-category-defaults): New var.
1314         Set unicode-name to use substring completion.
1315         (completion-category-defaults): Set it to nil.
1317 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
1319         Add mouse interaction to xref.
1320         * progmodes/xref.el (xref--button-map): New variable.
1321         (xref--mouse-2): New command.
1322         (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
1323         the inserted references.
1325 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
1327         Less 'make' chatter for lisp dir
1328         * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
1329         to make it clearer that the caller must specify it.
1330         (compile-onefile): Remove, replacing by ...
1331         ($(THEFILE)c): ... new rule.  This lets us use AM_V_GEN here.
1332         ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
1333         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1334         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1335         Use AM_V_GEN to lessen 'make' chatter.
1336         (.el.elc): Omit duplicate comment.
1338         Less 'make' chatter in batch mode
1339         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1340         * emacs-lisp/bytecomp.el (byte-compile-file):
1341         * files.el (save-buffer, basic-save-buffer):
1342         * international/quail.el (quail-update-leim-list-file):
1343         Don't output messages like "Generating ..." in batch mode.
1345 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
1347         Unbreak `mouse-action' property in text buttons.
1348         * button.el (push-button): Fix regression from 2012-12-06.
1350 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
1352         * progmodes/xref.el (xref-marker-stack-empty-p): New function.
1354         * menu-bar.el (menu-bar-goto-menu): Use it.
1356 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
1358         * progmodes/xref.el (xref--window-configuration): New variable.
1359         (xref-show-location-at-point): New command.
1360         (xref--restore-window-configuration): New function.
1361         (xref-next-line, xref-prev-line): Delegate to
1362         `xref-show-location-at-point'.
1363         (xref--location-at-point): Don't signal the error.
1364         (xref-goto-xref): Do that here instead.
1365         (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
1366         to `pre-command-hook'.
1367         (xref--xref-buffer-mode-map): Don't remap `next-line' and
1368         `previous-line'.  Additionally bind `xref-next-line' and
1369         `xref-prev-line' to `n' and `p' respectively.
1370         Bind `xref-show-location-at-point' to `C-o'.
1372 2015-01-01  Eli Zaretskii  <eliz@gnu.org>
1374         * tool-bar.el (tool-bar-local-item)
1375         (tool-bar-local-item-from-menu): Call force-mode-line-update to
1376         make sure the tool-bar changes show on display.
1378 2015-01-01  Michael Albinus  <michael.albinus@gmx.de>
1380         Sync with Tramp 2.2.11.
1382         * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
1383         Make an alias for `default-toplevel-value' if it doesn't exist.
1385         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1386         Use `tramp-compat-delete-directory'.
1388         * net/trampver.el: Update release number.
1390 2015-01-01  Filipp Gunbin  <fgunbin@fastmail.fm>
1392         * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
1393         for remote files.  (Bug#19449)
1395 2015-01-01  Simen Heggestøyl  <simenheg@gmail.com>  (tiny change)
1397         * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
1399 2014-12-31  Paul Eggert  <eggert@cs.ucla.edu>
1401         Less 'make' chatter in lisp directory
1402         * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
1403         (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
1404         (custom-deps, finder-data, autoloads, update-subdirs): Use them.
1406 2014-12-31  Filipp Gunbin  <fgunbin@fastmail.fm>
1408         * info.el (info-display-manual): Limit the completion alternatives
1409         to currently visited manuals if prefix argument is non-nil.
1411 2014-12-30  Paul Eggert  <eggert@cs.ucla.edu>
1413         * Makefile.in (semantic): Simplify.
1415 2014-12-30  Juri Linkov  <juri@linkov.net>
1417         * net/eww.el (eww-isearch-next-buffer): New function.
1418         (eww-mode): Set multi-isearch-next-buffer-function to it.
1420 2014-12-30  Dmitry Gutov  <dgutov@yandex.ru>
1422         * progmodes/xref.el (xref-find-definitions): Mention "no
1423         identifier at point" case in the docstring.
1425         * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
1426         (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
1427         and `separator-tag-file' items.
1429 2014-12-29  Paul Eggert  <eggert@cs.ucla.edu>
1431         * obsolete/pc-select.el (pc-selection-mode): Use system-type.
1432         This is instead of system-name, which is both wrong here and obsolete.
1433         * desktop.el (desktop-save-frameset):
1434         * dnd.el (dnd-get-local-file-uri):
1435         * nxml/rng-uri.el (rng-uri-file-name-1):
1436         Prefer (system-name) to system-name, and avoid naming
1437         locals 'system-name'.
1438         * startup.el (system-name): Now an obsolete variable.  (Bug#19438)
1440 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
1442         * menu-bar.el (menu-bar-next-tag-other-window)
1443         (menu-bar-next-tag): Remove.
1445 2014-12-29  K. Handa  <handa@gnu.org>
1447         * international/mule.el (make-translation-table-from-alist):
1448         Accept nil or zero-length vector for FROM and TO.
1450 2014-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
1452         * net/eww.el (eww-mode): Truncate overlong lines for prettier
1453         display when resizing.
1455         * net/shr.el (shr-width): Default to using the window width when
1456         rendering.
1458 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
1460         Unbreak jumping to an alias's definition.
1461         * emacs-lisp/find-func.el (find-function-library): Return a pair
1462         (ORIG-FUNCTION . LIBRARY) instead of just its second element.
1463         (find-function-noselect): Use it.
1464         * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
1465         `elisp--xref-identifier-location', incorporate logic from
1466         `elisp--xref-find-definitions', use the changed
1467         `find-function-library' return value.
1469 2014-12-29  Juri Linkov  <juri@linkov.net>
1471         * comint.el (comint-history-isearch-message): Use field-beginning
1472         instead of comint-line-beginning-position - that's more fixes for
1473         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1474         (comint-history-isearch-message): Fix args of isearch-message-prefix.
1476 2014-12-29  Juri Linkov  <juri@linkov.net>
1478         * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
1479         (vc-dir-mode-map): Bind it to "\C-o".
1480         (vc-dir-menu-map): Add it to menu.
1482 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
1484         * progmodes/etags.el (find-tag-other-window)
1485         (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
1486         (tags-apropos): Declare obsolete.
1488         * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
1489         with xref ones.
1491 2014-12-28  Eli Zaretskii  <eliz@gnu.org>
1493         * international/mule.el (define-coding-system): Fix typos in the
1494         doc string.
1496 2014-12-28  Kenichi Handa  <handa@gnu.org>
1498         * international/mule.el (define-coding-system): Improve the doc
1499         string.
1501 2014-12-28  Ivan Shmakov  <ivan@siamics.net>
1503         * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
1504         elements in tables (bug#19444).
1506         * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
1507         (bug#19445).
1509 2014-12-28  Juri Linkov  <juri@linkov.net>
1511         * vc/compare-w.el: Require diff-mode for diff faces.
1512         (compare-windows-removed, compare-windows-added): New faces
1513         inheriting from diff faces.
1514         (compare-windows): Define obsolete face alias.
1515         (compare-windows-highlight): Replace face `compare-windows' with
1516         new faces `compare-windows-added' and `compare-windows-removed'
1517         (bug#19451).
1518         (compare-windows-get-recent-window): Signal an error when
1519         no other window is found (bug#19170).
1521 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
1523         * progmodes/elisp-mode.el (elisp--xref-identifier-file):
1524         Skip features that have no sources.
1526         * simple.el (execute-extended-command):
1527         When `suggest-key-bindings' is nil, don't.
1529 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1531         python.el: Native readline completion.
1532         * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
1533         (python-shell-completion-native-enable)
1534         (python-shell-completion-native-output-timeout): New defcustoms.
1535         (python-shell-completion-native-interpreter-disabled-p)
1536         (python-shell-completion-native-try)
1537         (python-shell-completion-native-setup)
1538         (python-shell-completion-native-turn-off)
1539         (python-shell-completion-native-turn-on)
1540         (python-shell-completion-native-turn-on-maybe)
1541         (python-shell-completion-native-turn-on-maybe-with-msg)
1542         (python-shell-completion-native-toggle): New functions.
1543         (python-shell-completion-native-get-completions): New function.
1544         (python-shell-completion-at-point): Use it.
1546 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1548         python.el: Enhance shell user interaction and deprecate
1549         python-shell-get-or-create-process.
1550         * progmodes/python.el (python-shell-get-process-or-error):
1551         New function.
1552         (python-shell-with-shell-buffer): Use it.
1553         (python-shell-send-string, python-shell-send-region)
1554         (python-shell-send-buffer, python-shell-send-defun)
1555         (python-shell-send-file, python-shell-switch-to-shell): Use it.
1556         Add argument MSG to display user-friendly message when no process
1557         is running.
1558         (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
1559         (python-shell-make-comint): Rename argument SHOW from POP.
1560         Use display-buffer instead of pop-to-buffer.
1561         (run-python): Doc fix.  Return process.
1562         (python-shell-get-or-create-process): Make obsolete.
1564 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1566         * progmodes/python.el (python-shell-buffer-substring):
1567         Handle cornercase when region sent starts at point-min.
1569 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
1571         * language/misc-lang.el (composition-function-table): Add Syriac
1572         characters and also ZWJ/ZWNJ.
1573         See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
1574         for the details.
1576 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1578         python.el: Fix message when sending region.
1579         * progmodes/python.el (python-shell-send-region): Rename argument
1580         send-main from nomain.  Fix message.
1581         (python-shell-send-buffer): Rename argument send-main from arg.
1583         python.el: Cleanup temp files even with eval errors.
1584         * progmodes/python.el (python-shell-send-file): Make file-name
1585         mandatory.  Fix temp file removal in the majority of cases.
1587         python.el: Handle file encoding for shell.
1588         * progmodes/python.el (python-rx-constituents): Add coding-cookie.
1589         (python-shell--save-temp-file): Write file with proper encoding.
1590         (python-shell-buffer-substring): Add coding cookie for detected
1591         encoding to generated content.  Fix blank lines when removing
1592         if-name-main block.
1593         (python-shell-send-file): Handle file encoding.
1594         (python-info-encoding-from-cookie)
1595         (python-info-encoding): New functions.
1597 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
1599         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1600         Use `tramp-rsh-end-of-line', it ought to be more robust.
1602 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1604         * progmodes/js.el (js-syntax-propertize): "return" can't be divided
1605         (bug#19397).
1607 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
1609         * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
1611         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
1612         as end-of-line delimeter for passwords, when running on MS Windows.
1614 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1616         * progmodes/sh-script.el (sh-set-shell): Don't change the global value
1617         of indent-line-function (bug#19433).
1619 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1621         Fix line numbers on Python shell.
1622         * progmodes/python.el (python-shell--save-temp-file): Do not
1623         append coding cookie.
1624         (python-shell-send-string): Generalize for
1625         python-shell-send-region.
1626         (python--use-fake-loc): Delete var.
1627         (python-shell-buffer-substring): Cleanup fake-loc logic.
1628         (python-shell-send-region): Remove fake-loc logic, simplify.
1630 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1632         * progmodes/python.el (python-indent-post-self-insert-function):
1633         Make colon to re-indent only for dedenters, handling
1634         multiline-statements gracefully.
1636 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
1638         * net/tramp.el (tramp-handle-insert-file-contents):
1639         Set `find-file-not-found-functions' in case of errors.  (Bug#18623)
1641 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
1643         * net/tramp-sh.el (tramp-send-command-and-read): New optional
1644         arg MARKER.
1645         (tramp-get-remote-path): Use it.
1647 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1649         * subr.el (redisplay-dont-pause): Mark as obsolete.
1651 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
1653         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
1654         (tramp-accept-process-output): Use nil as argument for
1655         `accept-process-output', when there is a gateway prepended.
1657         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
1658         wrong debug buffer.
1659         (tramp-gw-open-connection): Set process coding system 'binary.
1660         (tramp-gw-open-network-stream): Handle HTTP error 403.
1662         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
1663         wrong debug buffer.
1664         (tramp-maybe-open-connection): Set connection property "gateway".
1666 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1668         * subr.el (sit-for): Tweak docstring (bug#19381).
1670 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
1672         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
1673         stage to after `diff-index' (bug#19386).
1675 2014-12-27  João Távora  <joaotavora@gmail.com>
1677         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
1678         `electric-pair-mode' (bug#19356).
1680 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
1682         elisp-xref-find: Don't create buffers eagerly.
1684         * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
1685         into `elisp--company-location'.
1686         (elisp--identifier-completion-table): Rename to
1687         `elisp--identifier-completion-table', and do not include just any
1688         symbols with a property list.
1689         (elisp-completion-at-point): Revert the 2014-12-25 change.
1690         (elisp--xref-identifier-file): New function.
1691         (elisp--xref-find-definitions): Use it.
1693         * emacs-lisp/find-func.el (find-function-library): New function,
1694         extracted from `find-function-noselect'.
1696         * progmodes/xref.el (xref-elisp-location): New class.
1697         (xref-make-elisp-location): New function.
1698         (xref-location-marker): New implementation.
1700 2014-12-27  Juri Linkov  <juri@linkov.net>
1702         * minibuffer.el (minibuffer-completion-help):
1703         Use shrink-window-if-larger-than-buffer in window-height
1704         when temp-buffer-resize-mode is nil.
1706         * window.el (with-displayed-buffer-window): Remove window-height
1707         from the action alist in the temp-buffer-window-show call
1708         when window-height is handled explicitly afterwards (bug#19355).
1710 2014-12-27  Juri Linkov  <juri@linkov.net>
1712         Support subdirectories when saving places in dired.
1713         * saveplace.el (toggle-save-place, save-place-to-alist)
1714         (save-places-to-alist, save-place-dired-hook):
1715         Use dired-current-directory instead of dired-directory (bug#19436).
1716         (save-place-dired-hook): Add check for alist to make the new
1717         format future-proof to allow other possible formats.
1719 2014-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1721         python.el: Generate clearer shell buffer names.
1722         * progmodes/python.el (python-shell-get-process-name)
1723         (python-shell-internal-get-process-name): Use `buffer-name`.
1724         (python-shell-internal-get-or-create-process): Simplify.
1726 2014-12-26  Dmitry Gutov  <dgutov@yandex.ru>
1728         Add basic xref apropos implementation to elisp-mode.
1730         * progmodes/elisp-mode.el (elisp--xref-find-definitions):
1731         Filter out nil results.
1732         (elisp--xref-find-apropos): New function.
1733         (elisp-xref-find): Use it.
1735         * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
1737 2014-12-25  Filipp Gunbin  <fgunbin@fastmail.fm>
1739         * dired-aux.el (dired-maybe-insert-subdir):
1740         Make dired-maybe-insert-subdir always skip trivial files.
1742 2014-12-25  Helmut Eller  <eller.helmut@gmail.com>
1743             Dmitry Gutov  <dgutov@yandex.ru>
1745         Consolidate cross-referencing commands.
1747         Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
1748         `C-x 5 .' from etags.el to xref.el.
1750         * progmodes/xref.el: New file.
1752         * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
1753         (elisp--identifier-location): New function, extracted from
1754         `elisp--company-location'.
1755         (elisp--company-location): Use it.
1756         (elisp--identifier-completion-table): New variable.
1757         (elisp-completion-at-point): Use it.
1758         (emacs-lisp-mode): Set the local values of `xref-find-function'
1759         and `xref-identifier-completion-table-function'.
1760         (elisp-xref-find, elisp--xref-find-definitions)
1761         (elisp--xref-identifier-completion-table): New functions.
1763         * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
1764         favor of `xref--marker-ring'.
1765         (tags-lazy-completion-table): Autoload.
1766         (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
1767         (find-tag-noselect): Use `xref-push-marker-stack'.
1768         (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
1769         (etags--xref-limit): New constant.
1770         (etags-xref-find, etags--xref-find-definitions): New functions.
1772 2014-12-25  Martin Rudalics  <rudalics@gmx.at>
1774         * cus-start.el (resize-mini-windows): Make it customizable.
1776 2014-12-24  Stephen Leake  <stephen_leake@stephe-leake.org>
1778         * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
1779         to (info "(emacs)Contributing").  (Bug#19299)
1781 2014-12-24  Martin Rudalics  <rudalics@gmx.at>
1783         * window.el (mouse-autoselect-window-position-1): New variable.
1784         (mouse-autoselect-window-cancel)
1785         (mouse-autoselect-window-select, handle-select-window):
1786         With delayed autoselection select window only if mouse moves after
1787         selecting its frame.
1789 2014-12-24  Michael Albinus  <michael.albinus@gmx.de>
1791         * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
1792         remote file names.  (Bug#18782)
1794 2014-12-23  Sam Steingold  <sds@gnu.org>
1796         * shell.el (shell-display-buffer-actions): New user option.
1797         (shell): Pass it to `pop-to-buffer' instead of hard-coding
1798         `pop-to-buffer-same-window'.
1800 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1802         * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
1803         (js-syntax-propertize-regexp): Use it to recognize "slash in
1804         a character class" (bug#19397).
1806 2014-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1808         * completion.el: Use post-self-insert-hook (bug#19400).
1809         (completion-separator-self-insert-command)
1810         (completion-separator-self-insert-autofilling): Remove.
1811         (completion-separator-chars): New var.
1812         (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
1813         of changing the keymap.
1814         (completion--post-self-insert): New function.
1815         (dynamic-completion-mode): Use it instead of rebinding keys.
1816         (cmpl--completion-string): Rename from completion-string.
1817         (add-completion-to-head, delete-completion): Let-bind it explicitly.
1819 2014-12-22  Bozhidar Batsov  <bozhidar@batsov.com>
1821         * progmodes/ruby-mode.el (ruby--string-region): Simplify code
1822         by leveraging `syntax-ppss'.
1824 2014-12-22  Artur Malabarba  <bruce.connor.am@gmail.com>
1826         * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
1828 2014-12-20  Michael Albinus  <michael.albinus@gmx.de>
1830         * net/tramp-sh.el (tramp-histfile-override): Add :version.
1832 2014-12-20  Teodor Zlatanov  <tzz@lifelogs.com>
1834         * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
1836 2014-12-19  Artur Malabarba  <bruce.connor.am@gmail.com>
1838         * let-alist.el (let-alist): Enable access to deeper alists by
1839         using dots inside the dotted symbols.
1841 2014-12-19  Alan Mackenzie  <acm@muc.de>
1843         Make C++11 uniform init syntax work.
1844         New keywords "final" and "override".
1845         * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
1846         New function.
1847         (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
1848         new function.
1849         * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
1850         carefully for "are we at a declarator?" using
1851         c-back-over-member-initializers.
1852         * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
1853         and "override" in the C++ value.
1855 2014-12-19  Martin Rudalics  <rudalics@gmx.at>
1857         * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
1859 2014-12-21  Lars Ingebrigtsen  <larsi@gnus.org>
1861         * net/nsm.el (nsm-save-host): Don't save the host name twice
1862         (bug#19269).
1864 2014-12-18  Sam Steingold  <sds@gnu.org>
1866         Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
1867         * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
1868         (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
1869         * menu-bar.el (menu-bar-buffer-vector): Extract from
1870         `menu-bar-update-buffers'.
1871         (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
1872         (buffer-menu-open): New user command, bound globally to C-f10,
1873         provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
1874         (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
1875         convert the value returned by `mouse-buffer-menu-map' to a list
1876         acceptable to `popup-menu' for `buffer-menu-open'.
1878 2014-12-18  Artur Malabarba  <bruce.connor.am@gmail.com>
1880         * let-alist.el (let-alist): Evaluate the `alist' argument only once.
1882 2014-12-18  Sam Steingold  <sds@gnu.org>
1884         * emacs-lisp/package.el: Avoid compilation warning by declaring
1885         the `find-library-name' function.
1886         (package-activate-1): Fix the `with-demoted-errors' calls:
1887         the first argument must be a string literal.
1889 2014-12-18  Martin Rudalics  <rudalics@gmx.at>
1891         Add code for "preserving" window sizes.
1892         * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
1893         `preserve-size' t.
1894         (dired-mark-pop-up): Preserve size of window showing marked files.
1895         * electric.el (Electric-pop-up-window):
1896         * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
1897         with `preserve-size' t.
1898         * minibuffer.el (minibuffer-completion-help):
1899         Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
1900         (Bug#19355).  Preserve size of completions window.
1901         * register.el (register-preview): Preserve size of register
1902         preview window.
1903         * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
1904         with `preserve-size' t (Bug#1291).
1905         * window.el (with-displayed-buffer-window): Add calls to
1906         `window-preserve-size'.
1907         (window-min-pixel-size, window--preservable-size)
1908         (window-preserve-size, window-preserved-size)
1909         (window--preserve-size, window--min-size-ignore-p): New functions.
1910         (window-min-size, window-min-delta, window--resizable)
1911         (window--resize-this-window, split-window-below)
1912         (split-window-right): Amend doc-string.
1913         (window--min-size-1, window-sizable, window--size-fixed-1)
1914         (window-size-fixed-p, window--min-delta-1)
1915         (frame-windows-min-size, window--max-delta-1, window-resize)
1916         (window--resize-child-windows, window--resize-siblings)
1917         (enlarge-window, shrink-window, split-window): Handle preserving
1918         window sizes.
1919         (adjust-window-trailing-edge): Handle preserving window
1920         sizes.  Signal user-error instead of an error when there's no
1921         window above or below.
1922         (window--state-put-2): Handle horizontal scroll bars.
1923         (window--display-buffer): Call `preserve-size' if asked for.
1924         (display-buffer): Mention `preserve-size' alist member in doc-string.
1925         (fit-window-to-buffer): New argument PRESERVE-SIZE.
1926         * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
1927         scroll bar on ispell's windows.  Don't count window lines and
1928         don't deal with dedicated windows.
1929         (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
1930         do the window handling.
1931         (ispell-adjusted-window-height, ispell-overlay-window): Remove.
1932         (ispell-display-buffer): New function to reuse, create and fit
1933         window to ispell's buffers.  (Bug#3413)
1935 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
1937         * emacs-lisp/package.el (package-activate): Do not re-activate or
1938         reload the dependencies (bug#19390).
1940 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1942         * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
1943         (c-update-modeline):
1944         * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
1945         * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
1946         (c-mode-base-map): Use c-subword-mode.
1948 2014-12-18  Eli Zaretskii  <eliz@gnu.org>
1950         * international/mule-diag.el (describe-font-internal):
1951         Display additional info returned by font-info.
1953         * linum.el (linum--face-width): Rename from linum--face-height,
1954         and use the new functionality of font-info.
1955         (linum-update-window): Use linum--face-width and frame-char-width,
1956         instead of approximating with height.
1958 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
1960         * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
1961         change (bug#19387).  Use `apply' on `vc-dir-command'  (bug#19405).
1963         * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
1964         and a docstring.
1965         (package-activate): Call itself on dependencies on PACKAGE with
1966         the same FORCE argument.  Pass FORCE as RELOAD into
1967         `package-activate-1'  (bug#19390).
1969 2014-12-17  Sam Steingold  <sds@gnu.org>
1971         * emacs-lisp/package.el (package--list-loaded-files):
1972         Handle `(nil ...)' elements in `load-history'.
1974 2014-12-17  Teodor Zlatanov  <tzz@lifelogs.com>
1976         * net/tramp-sh.el (tramp-histfile-override): New variable.
1977         (tramp-open-shell, tramp-maybe-open-connection): Use it.
1979 2014-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1981         * vc/vc.el: Improve `dir-status-files' description.
1983         * emacs-lisp/package.el (package--list-loaded-files): Don't call
1984         file-truename on load-history elements (bug#19390).
1986 2014-12-16  Nicolas Petton <petton.nicolas@gmail.com>
1988         * emacs-lisp/seq.el: New file.
1990 2014-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1992         * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
1993         is 0 and there is no input pending.
1995 2014-12-15  Juri Linkov  <juri@linkov.net>
1997         * replace.el (query-replace-read-from): Use query-replace-compile-replacement
1998         only on the return value (bug#19383).
2000 2014-12-15  Juri Linkov  <juri@linkov.net>
2002         * isearch.el (isearch-lazy-highlight-search): Extend the bound of
2003         the wrapped search by the length of the search string to be able
2004         to lazy-highlight the whole search string at point (bug#19353).
2006 2014-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2008         * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
2010 2014-12-14  Alan Mackenzie  <acm@muc.de>
2012         * cus-start.el (all): Add fast-but-imprecise-scrolling.
2014 2014-12-14  Artur Malabarba  <bruce.connor.am@gmail.com>
2016         * let-alist.el: Add lexical binding.
2018 2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)
2020         * emacs-lisp/package.el (package-menu-mode): Use an extra column
2021         for the "Version" column, to accomodate date-and-time-based versions.
2023 2014-12-14  Cameron Desautels  <camdez@gmail.com>
2025         * cus-edit.el (custom-unsaved-options): New function, extracted
2026         from `customize-unsaved'.
2027         (custom-unsaved): Use it.
2028         (custom-prompt-customize-unsaved-options): New function.
2029         (Bug#19328)
2031 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
2033         * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
2035 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
2037         Move ASYNC argument to the `diff' VC command to the fifth
2038         position, for better compatibility with existing third-party code,
2039         and document it.
2041         * vc/vc.el (vc-diff-internal): Pass `async' argument to the
2042         backend `diff' command in the last position.
2044         * vc/vc-svn.el (vc-svn-diff):
2045         * vc/vc-src.el (vc-src-diff):
2046         * vc/vc-sccs.el (vc-sccs-diff):
2047         * vc/vc-rcs.el (vc-rcs-diff):
2048         * vc/vc-mtn.el (vc-mtn-diff):
2049         * vc/vc-hg.el (vc-hg-diff):
2050         * vc/vc-git.el (vc-git-diff):
2051         * vc/vc-dav.el (vc-dav-diff):
2052         * vc/vc-cvs.el (vc-cvs-diff):
2053         * vc/vc-bzr.el (vc-bzr-diff):
2054         * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
2056 2014-12-14  Paul Eggert  <eggert@cs.ucla.edu>
2058         * emacs-lisp/cconv.el (cconv--analyze-use):
2059         Rename from cconv--analyse-use.
2060         (cconv--analyze-function): Rename from cconv--analyse-function.
2061         (cconv-analyze-form): Rename from cconv-analyse-form.
2063 2014-12-13  Andreas Schwab  <schwab@linux-m68k.org>
2065         * net/shr.el (shr-next-link): Don't error out at eob.
2067 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2069         * isearch.el (isearch-open-necessary-overlays): Open overlay
2070         ending at point (bug#19333).
2072 2014-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2074         * net/shr.el (shr-fold-text): New function.
2075         (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
2076         alt/title texts.
2077         (shr-fold-text): Inhibit state from being altered.
2079         * files.el (directory-files-recursively): Really check whether
2080         files are symlinks.
2081         (directory-name-p): New function.
2082         (directory-files-recursively): Use it.
2084 2014-12-13  Artur Malabarba  <bruce.connor.am@gmail.com>
2086         * emacs-lisp/package.el (package--list-loaded-files): New function
2087         to list files in a given directory which correspond to already
2088         loaded files.
2089         (package-activate-1): Reload files given by `package--list-loaded-files'.
2090         Fix bug#10125, bug#18443, and bug#18448.
2092 2014-12-13  Eric S. Raymond  <esr@snark.thyrsus.com>
2094         * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
2096 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
2098         * simple.el (password-word-equivalents): Add "passcode", used for
2099         numeric secrets like PINs or RSA tokens.
2101 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
2103         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
2104         order to determine `tramp-own-remote-path'.
2106 2014-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2108         * progmodes/python.el (python-shell-parse-command):
2109         Quote `python-shell-interpreter`.  (Bug#19289)
2111 2014-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2113         * progmodes/python.el (python-indent-line): Use `noindent' in strings.
2114         (python-indent-levels): Document extra value.
2115         (python-indent-calculate-indentation): Return `noindent' in strings.
2116         (python-indent-post-self-insert-function)
2117         (python-indent-calculate-levels): Handle new value.
2119 2014-12-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2121         * net/network-stream.el (network-stream-open-starttls): No need to
2122         check for the availability of `gnutls-available-p'.
2124         * files.el (directory-files-recursively): Don't follow symlinks to
2125         other directories.
2127 2014-12-12  Eric S. Raymond  <esr@snark.thyrsus.com>
2129         * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
2130         * vc/vc.el: latest-on-branch-p is no longer a public method.
2132         * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
2133         * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
2134         Remove `rollback' method, to be replaced in the future by uncommit.
2136 2014-12-11  Michael Albinus  <michael.albinus@gmx.de>
2138         * vc/vc-hg.el (vc-hg-state): Make FILE absolute.  Handle the case
2139         that there is empty output.
2141 2014-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2143         * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
2144         (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
2146 2014-12-10  Artur Malabarba  <bruce.connor.am@gmail.com>
2148         * let-alist.el: Add new package and macro.
2150 2014-12-10  Eric S. Raymond  <esr@snark.thyrsus.com>
2152         * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
2153         * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
2154         it's a shoot-self-in-foot archaism.  Workfiles are always kept.
2156 2014-12-10  Rasmus Pank Roulund  <emacs@pank.eu>
2158         * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
2159         trouble with ls over ftp.  These flags result in ls returning no
2160         output, causing Tramp-breakage.  (bug#19192)
2162 2014-12-10  Andreas Schwab  <schwab@suse.de>
2164         * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
2166 2014-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2168         * files.el (directory-files-recursively):
2169         Use `file-name-all-completions' instead of `directory-files' for
2170         greater speed.
2172         * net/shr.el (shr-tag-object): Don't bug out on text elements in
2173         <object>.
2175 2014-12-09  Bozhidar Batsov  <bozhidar@batsov.com>
2177         * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
2178         and Puppetfile.
2179         (ruby-toggle-string-quotes): New command that allows you to quickly
2180         toggle between single-quoted and double-quoted string literals.
2182 2014-12-09  Eric S. Raymond  <esr@snark.thyrsus.com>
2184         * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
2185         list, avoids problems witt names containing hyphens.
2187 2014-12-09  Wilson Snyder  <wsnyder@wsnyder.org>
2189         Sync with upstream verilog-mode revision aa4b777.
2190         * progmodes/verilog-mode.el (verilog-mode-version): Update.
2191         (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
2192         (verilog-set-auto-endcomments): Automatically comment property/
2193         endproperty blocks to match other similar blocks like sequence/
2194         endsequence, function/endfunction, etc.  Reported by Alex Reed.
2195         (verilog-set-auto-endcomments): Fix end comments for functions of
2196         type void, etc.  Detect the function- or task-name when
2197         auto-commenting blocks that lack an explicit portlist.
2198         Reported by Alex Reed.
2199         (verilog-nameable-item-re): Fix nameable items that can have an
2200         end-identifier to include endchecker, endgroup, endprogram,
2201         endproperty, and endsequence.  Reported by Alex Reed.
2202         (verilog-preprocessor-re, verilog-beg-of-statement):
2203         Fix indentation of property/endproperty around pre-processor
2204         directives.  Reported by Alex Reed.
2205         (verilog-label-be): When auto-commenting a buffer, consider
2206         auto-comments on all known keywords (not just a subset thereof).
2207         Reported by Alex Reed.
2208         (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
2209         Reported by Alex Reed.
2210         (verilog-beg-of-statement-1, verilog-at-constraint-p):
2211         Fix hanging with many curly-bracket pairs, bug663.
2212         (verilog-do-indent): Fix electric tab deleting form-feeds.
2213         Note caused by indent-line-to deleting tabls pre 24.5.
2214         (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
2215         (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
2216         (verilog-read-always-signals, verilog-auto-sense-sigs)
2217         (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
2218         bug844.  Reported by Greg Hilton.
2220 2014-12-09  Alex Reed  <acreed4@gmail.com>  (tiny change)
2222         * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
2223         Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
2224         'foreach', and 'do' keywords.
2225         (verilog-endcomment-reason-re, verilog-beg-of-statement):
2226         Fix labeling do-while blocks, bug842.
2227         (verilog-backward-token): Fix indenting sensitivity lists with
2228         named events, bug840.
2230 2014-12-09  Reto Zimmermann  <reto@gnu.org>
2232         Sync with upstream vhdl mode v3.36.1.
2233         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2234         (vhdl-compiler-alist): Anchor all error regexps.
2235         (vhdl-compile-use-local-error-regexp): Change default to nil.
2236         (vhdl-asort, vhdl-anot-head-p): Remove.
2237         (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
2238         Remove optional argument of vhdl-aget and update all callers.
2239         (vhdl-import-project): Also set `vhdl-compiler'.
2241 2014-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2243         * files.el (find-files): New function.
2245         * net/shr.el (shr-dom-print): Don't print comments.
2246         (shr-tag-svg): Give inline SVG images the right type.
2248         * net/eww.el (eww-update-header-line-format): Mark valid/invalid
2249         certificates in the header line.
2250         (eww-invalid-certificate, eww-valid-certificate): New faces.
2252 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2254         * progmodes/python.el (inferior-python-mode):
2255         Set `comint-prompt-read-only` to `t` only locally.
2257 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2259         * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
2260         (nsm-format-certificate): Include more data about the connection.
2261         (nsm-query): Fill the text to that it looks nicer.
2262         (nsm-check-protocol): Also warn if using SSL3 or older.
2264 2014-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2266         * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
2268         * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
2270         * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
2272         * info.el (Info-mode-map): Remove left-over binding.
2274         * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
2275         (avl-tree--root): Remove redundant defsetf.
2277 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2279         * net/nsm.el (network-security-level): Remove the detailed
2280         description, which was already outdated, and refer the users to
2281         the manual.
2282         (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
2283         (bug#19153).
2285 2014-12-06  Andrey Kotlarski  <m00naticus@gmail.com>
2287         * net/eww.el (eww-buffers-mode): New major mode.
2288         (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
2289         (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
2290         New commands/functions (bug#19131).
2292 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2294         * net/gnutls.el (gnutls-negotiate): Ignore files found via
2295         'file-name-handler-alist' since the gnutls library can't use those
2296         (bug#15866).
2298 2014-12-08  Dmitry Gutov  <dgutov@yandex.ru>
2300         * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
2301         when FILES is non-nil (bug#19304).
2303 2014-12-08  Eric S. Raymond  <esr@snark.thyrsus.com>
2305         * vc/vc-arch.el: Move to obsolete directory so a test framework
2306         won't trip over bit-rot in it.  There has been no Arch snapshot
2307         for nine years.
2309 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2311         * net/eww.el (eww-follow-link): Revert prefix behaviour to
2312         previous behavior.
2313         (eww-copy-page-url): Add doc string.
2315 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
2317         * net/eww.el (eww): Move history recording here...
2318         (eww-browse-url): ... from here (bug#19253).
2320         * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
2321         iterating over possible buffer names.)
2323 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2325         * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2326         (eww-current-buffer): Compilation fix for bug#18550 patch.
2328 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
2330         * net/eww.el (eww-list-histories): Restore the history in the
2331         correct buffer (bug#18550).
2333 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2335         * net/eww.el (eww-bookmark-prepare): Display URLs in first by
2336         displaying shortened titles first (bug#16398).
2338 2014-12-07  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2340         * progmodes/python.el: Recognize docstrings.
2341         (python-docstring-at-p, python-font-lock-syntactic-face-function):
2342         New functions.
2343         (python-mode): Use them.
2345 2014-12-06  Ulf Jasper  <ulf.jasper@web.de>
2347         * net/newst-treeview.el (newsticker--treeview-list-add-item)
2348         (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
2349         (newsticker--treeview-create-groups-menu)
2350         (newsticker--treeview-create-tree-menu): Remove.
2351         (newsticker--treeview-tree-open-menu): New.
2352         (newsticker-treeview-tree-click): Pass event to
2353         `newsticker-treeview-tree-do-click'.
2354         (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2356 2014-12-05  Juri Linkov  <juri@linkov.net>
2358         * comint.el (comint-history-isearch-search)
2359         (comint-history-isearch-wrap): Use field-beginning instead of
2360         comint-line-beginning-position.
2361         (comint-send-input): Go to the end of the field instead of the end
2362         of the line to accept whole multi-line input.
2363         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2365 2014-12-05  Juri Linkov  <juri@linkov.net>
2367         * minibuffer.el (minibuffer-completion-help):
2368         Compare selected-window with minibuffer-window to check whether
2369         completions should be displayed near the minibuffer.  (Bug#17809)
2370         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
2372 2014-12-05  Michael Albinus  <michael.albinus@gmx.de>
2374         * vc/vc-mtn.el (vc-mtn-root):
2375         * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2377 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2379         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
2380         of the whole pipe when indenting an opening keyword after a |.
2381         Generalize this treatment to opening keywords like "while" (bug#18031).
2383 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2385         * simple.el (newline): Place the hook buffer-locally,
2386         to make sure it's first.
2388         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2389         Fix handling of symbols with different syntax at beginning/end or with
2390         symbol rather than word syntax.
2392 2014-12-05  Eli Zaretskii  <eliz@gnu.org>
2394         * simple.el (line-move): If noninteractive, call line-move-1, not
2395         forward-line, since the former is compatible with line-move-visual
2396         both in terms of the column to which it moves and the return
2397         value.  (Bug#19211)
2399 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2401         * vc/ediff-init.el (ediff-odd-p): Remove.
2402         (ediff-background-face): Use cl-oddp instead.
2403         (ediff-buffer-live-p): Make it a defsubst.
2405         * tooltip.el (tooltip-region-active-p): Remove.
2407         * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
2408         (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
2410         * fringe.el (fringe-bitmap-p): Make it a plain function.
2412         * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
2413         (class-p, generic-p, eieio-object-p, class-abstract-p):
2414         Make them defsubst, so as to avoid corner case problems where
2415         the arg might be evaluated in the condition-case, or it can't be passed
2416         to higher-order functions like `cl-some'.
2418 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2420         * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
2421         and remove old menu-related code.
2423 2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2425         * net/eww.el (eww-display-pdf): Let mailcap determine how to
2426         display PDF files (bug#19270).
2428 2014-12-05  Juri Linkov  <juri@linkov.net>
2430         Compare with the most recent window by default.
2431         * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
2432         (compare-windows-get-recent-window)
2433         (compare-windows-get-next-window): New functions.
2434         (compare-windows, compare-windows-sync-default-function):
2435         Use `compare-windows-get-window-function' instead of `next-window'.
2436         (compare-windows): Add diff/match messages with region boundaries.
2437         (Bug#19170)
2439 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2441         * subr.el (filter): Remove.  Use `cl-remove-if-not' or `seq-filter'.
2443 2014-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2445         * net/shr.el (shr--extract-best-source): Ignore non-text children.
2447 2014-12-04  Eli Zaretskii  <eliz@gnu.org>
2449         Implement copying of a buffer portion while preserving visual order.
2450         * simple.el (bidi-directional-controls-chars)
2451         (bidi-directional-non-controls-chars): New variables.
2452         (squeeze-bidi-context-1, squeeze-bidi-context)
2453         (line-substring-with-bidi-context)
2454         (buffer-substring-with-bidi-context): New functions.
2456         * files.el (file-tree-walk): Doc fix.
2458 2014-12-04  Rupert Swarbrick  <ruperts@broadcom.com> (tiny change)
2459             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
2461         * autoinsert.el (auto-insert-alist): Update C/C++ header and
2462         program support to match more extensions.  Replace non-alnum
2463         characters when generating include guards (headers) and check for
2464         more extensions when generating includes (programs)
2465         (bug#19254).
2467 2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
2469         * files.el (file-tree-walk): Fix docstring.
2471 2014-12-03  Karl Fogel  <kfogel@red-bean.com>
2473         Fix bug whereby saving files hung in VC hook.
2475         Saving a buffer visiting a file under SVN control would hang if
2476         the remote repository were unreachable, because the VC hooks tried
2477         to run "svn status -u" on the file, where the "-u" tells svn to
2478         get update information from the remote repository.
2479         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
2481         * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
2482         argument and always pass "-v" to "svn status", never "-u".
2484 2014-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2486         * emacs-lisp/inline.el: Fix up copyright header.
2487         (inline-quote, inline-const-p, inline-const-val, inline-error):
2488         Silence compiler warnings.
2489         (inline-letevals): Fix edebug spec.
2490         (inline--testconst-p): Consider lambda expressions as const-p.
2491         (inline--getconst-val): Use inline--testconst-p.
2493         * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
2494         and change default to stay in the minibuffer when called from
2495         the minibuffer (bug#19250).
2496         (lazy-completion-table): Use this new argument to preserve the
2497         old behavior.
2499         * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
2500         incorrect lexical elements (bug#19250).
2502 2014-12-03  A. N. Other  <none@example.com>
2504         * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
2506 2014-12-02  Glenn Morris  <rgm@gnu.org>
2508         * whitespace.el (whitespace-big-indent-regexp): Add :version.
2510 2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
2512         * subr.el (filter): New macro.  Because it's just silly for a Lisp
2513         not to have this in 2014.  And VC needs it.
2515         * vc.el: All backends: API simplification: Abolish dir-status.
2516         It's replaced by dir-status-files.
2518         * vc.el: All backends: API simplification: Remove 4th
2519         'default-state' argument from vc-dir-status files and its backend
2520         methods - no backend method ever set it.  It was used only in the
2521         fallback method to to set a default of 'up-to-date, though a
2522         convoluted call chain obscured this.
2524         * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
2526         * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
2527         improving behavior on directories using multiple file-oriented VCSes.
2529         * vc/vc.el: All backends: API simplification; clear-headers
2530         is no longer a public method.  It is now local to the one place
2531         it's used, in the RCS steal-lock method.
2533 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
2535         * vc/vc.el: In all backends: API simplification; could-register
2536         is no longer a public method.  (vc-cvs.el still has a private
2537         implementation.)
2539         * vc/vc.el: In all backends: API cleanup; the backend diff method
2540         takes an explicit async flag.  This eliminates a particularly ugly
2541         global.
2543         * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
2544         VC randomly/unpredictably fails without it; cause not yet established.
2546 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2548         Merge some of the differences from the standalone CC-mode.
2549         The main change is to only use the `category' text-property only when
2550         available.  For that many calls are changed to use c-get-char-property,
2551         c-next-single-property-change, c-sc-scan-lists,
2552         c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
2554         * progmodes/cc-mode.el (c-just-done-before-change): New var.
2555         (c-basic-common-init): Initialize it.
2556         (c-common-init): Only use mode-require-final-newline when available.
2557         (c-before-change): Check and set c-just-done-before-change.
2558         (c-after-change): Re-set c-just-done-before-change.
2559         (c-advise-fl-for-region): New macro.
2560         (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
2561         (font-lock-after-change-function, jit-lock-after-change):
2562         Advise if needed.
2564         * progmodes/cc-langs.el (c-modified-constant): New lang var.
2565         (c-known-type-key): Don't make a list just to throw it away.
2567         * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
2568         Handle the case where categories are not available.
2569         (c-record-parse-state-state, c-replay-parse-state-state):
2570         Handle marker values.
2571         (c-before-change-check-<>-operators): Look for the `syntax-table'
2572         property rather than for the corresponding `category'.
2573         (c-looking-at-decl-block): Remove unused var
2574         `c-disallow-comma-in-<>-arglists'.
2575         (c-forward-<>-arglist-recur): Remove unused var
2576         `orig-record-found-types'.
2578         * progmodes/cc-defs.el (c-version): Bump up to 5.33.
2579         (c-use-category): New const.
2580         (c-next-single-property-change): New macro.
2581         (c-region-is-active-p): Prefer region-active-p when available.
2582         (c-search-backward-char-property): Fix old min/max typo; probably
2583         a copy/paste error.
2584         (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
2585         Turn them into macros that obey c-use-category.
2586         (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
2587         (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
2588         (c-sc-scan-lists, c-sc-parse-partial-sexp)
2589         (c-looking-at-non-alphnumspace): New macros.
2590         (c-sc-parse-partial-sexp-no-category): New function.
2591         (c-emacs-features): Add `category-properties' element.
2593         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2594         (c-backward-into-nomenclature): Use cc-subword if subword-mode is
2595         not available.
2596         (c-beginning-of-defun, c-end-of-defun, c-mark-function)
2597         (c-indent-line-or-region): Use c-region-is-active-p.
2599         * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
2600         (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
2601         (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
2602         (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
2603         (cc-bytecomp-obsolete-fun): Delete unused functions.
2605         * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
2607 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2609         * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
2610         dom.el changes.
2612 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2614         * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
2615         current "project" rather than just the current directory.
2616         * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
2617         the file names make sense.
2619         * vc/smerge-mode.el (smerge-swap): New command.
2621         * vc/diff-mode.el (diff-kill-applied-hunks): New command.
2623 2014-12-01  Ulf Jasper  <ulf.jasper@web.de>
2625         * net/newst-treeview.el (newsticker--treeview-item-show):
2626         Check window liveliness before measuring its width.
2628         * net/newst-backend.el (newsticker--get-news-by-url-callback):
2629         Pass correct status to `newsticker--sentinel-work'.
2630         (newsticker--sentinel-work): Use "newsticker--download-error" as
2631         guid in order to prevent multiple "Could not download..."
2632         messages.  Fixes bug#19166.
2634 2014-12-01  Ivan Shmakov  <ivan@siamics.net>
2636         * net/eww.el (eww-render): Call `eww-after-render-hook' in the
2637         correct buffer (bug#19225).
2639 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2641         * net/nsm.el (network-security-level): Change the default to `medium'.
2643         * net/eww.el (eww): Leave point in a place that doesn't cause
2644         scrolling when displaying "Loading...".
2646 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
2648         * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
2649         backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
2650         'merge-branch'.  Prompting for merge revisions is pushed down to
2651         the back ends; this fixes a layering violation that caused bad
2652         behavior with SVN.
2654         * vc/vc.el, vc-hooks.el: All backends: API simplification;
2655         vc-stay-local-p and repository-hostname are no longer public
2656         methods.  Only the CVS and SVN backends used these, and the SVN
2657         support was conditioned out because svn status -v is too slow.
2658         The CVS back end retains this machinery and the vc-stay-local
2659         configuration variable now only affects it.
2661 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2663         * emacs-lisp/inline.el: New file.
2665 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
2667         * vc/vc.el, vc-hooks.el: All backends: API simplification;
2668         vc-state-heuristic is no longer a public method, having been
2669         removed where it is redundant, unnecessary, or known buggy.
2670         This eliminated all backends except CVS.  Eliminates bug#7850.
2672         * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
2673         Eliminate vc-mistrust-permissions.  It was only relevant to the
2674         RCS and SCCS back ends and defaulted to t.  Code now always
2675         mistrusts permissions - by actual measurement the effect on
2676         performance is negligible.  As a side effect bug#11490 is now
2677         irrelevant.
2679         * vc/vc.el, vc-hooks.el: All backends: API simplification;
2680         vc-workfile-unchanged-p is no longer a public method (but the RCS
2681         and SCCS back ends retain it as a private method used in state
2682         computation).  This method was redundant with vc-state and usually
2683         implemented as a trivial call to same.  Fixes the failure mode
2684         described in bug#694.
2686         * vc/vc.el: All backends: API simplification; init-revision is
2687         gone, and vc-registered functions no longer take an
2688         initial-revision argument.
2690 2014-11-29  Glenn Morris  <rgm@gnu.org>
2692         * vc/vc-src.el (vc-src, vc-src-diff-switches)
2693         (vc-src-master-templates): Fix :version tags.
2695 2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
2697         * outline.el (outline-move-subtree-down): Refactor and improve code.
2699 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
2700             Stefan Monnier  <monnier@iro.umontreal.ca>
2702         * outline.el (outline-move-subtree-down): Make sure we can move
2703         forward to find the end of the subtree and the insertion point
2704         (bug#19102).
2706 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2708         * progmodes/python.el (python-shell-completion-setup-code):
2709         Use __builtin__ module (or builtins in Python 3) and catch all errors
2710         when importing readline and rlcompleter.
2712 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
2714         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
2715         (todo-revert-buffer): New function.
2716         (todo-modes-set-1): Use it as the buffer-local value of
2717         revert-buffer-function.
2719 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
2721         * calendar/todo-mode.el (todo-mode): If called interactively, just
2722         display a message saying to call todo-show to enter Todo mode
2723         (Bug#19112).
2725 2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
2727         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
2728         (Bug#18579)
2730         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
2731         files.  (Bug#18579)
2733 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
2735         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
2736         remote `buffer-file-name'.
2738 2014-11-29  Leo Liu  <sdl.web@gmail.com>
2740         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
2742 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2744         Set PYTHONUNBUFFERED on shell startup.
2746         * progmodes/python.el (python-shell-unbuffered): New var.
2747         (python-shell-calculate-process-environment): Use it.
2749 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
2751         * net/tramp.el (tramp-action-password): Clean password on subsequent
2752         attempts even if there was no wrong password indication.  (Bug#19047)
2754         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
2755         fallback.
2756         (tramp-open-connection-setup-interactive-shell): No need to check
2757         for nil as `tramp-get-remote-locale' return value.
2759 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
2761         * vc/vc-git.el (vc-git-command, vc-git--call):
2762         Bind coding-system-for-read and coding-system-for-write to
2763         vc-git-commits-coding-system.
2764         (vc-git-previous-revision): Use "~1" instead of "^", since the
2765         latter is a special character for MS-Windows system shells.
2767 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
2769         Improve XEmacs compatibility.
2771         * net/tramp.el (tramp-autoload-file-name-handler):
2772         Wrap `temporary-file-directory' by `symbol-value', it doesn't
2773         exist in XEmacs.
2774         (tramp-read-passwd): Don't use `with-timeout-suspend' and
2775         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
2776         (tramp-time-less-p, tramp-time-subtract): Remove functions.
2777         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
2778         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
2779         * net/tramp-cache.el (tramp-get-file-property):
2780         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2781         Use `time-less-p' and `time-subtract, respectively.
2783         * net/tramp-adb.el (top): Do not require time-date.el.
2785         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
2787         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2788         Check, whether `utf-8' is a valid coding system.
2790 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
2792         * vc/vc.el (vc-retrieve-tag): Doc fix.
2794 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2796         * simple.el (execute-extended-command--shorter): Fix the "M-p" case
2797         (bug#19152).
2799 2014-11-28  Martin Rudalics  <rudalics@gmx.at>
2801         Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
2802         * help.el (help-window-old-frame): New variable.
2803         (help-window-select): Default to nil (Bug#11039).
2804         Rewrite doc-string.
2805         (help-window-setup): When the help window appears on another
2806         frame and `help-window-select' is non-nil, give that frame input
2807         focus too (Bug#19012).
2808         (with-help-window): Store selected frame in
2809         help-window-old-frame.
2811 2014-11-28  Ulf Jasper  <ulf.jasper@web.de>
2813         * net/newst-treeview.el (newsticker--treeview-load): Take care of
2814         nil value for `newsticker-groups-filename'.
2816 2014-11-28  Daiki Ueno  <ueno@gnu.org>
2818         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
2819         (epa-sign-region, epa-encrypt-region):
2820         Use `epg-context-set-{passphrase,progress}-callback', instead of
2821         `setf'.  This partially reverts commit 9e48a95c (bug#19150).
2822         Reported by José A. Romero L.
2824 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2826         * net/eww.el (eww-restore-history):
2827         Bind `inhibit-modification-hooks' instead of `after-change-functions'.
2829 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
2831         * net/newst-backend.el (newsticker--parse-atom-1.0):
2832         Handle embedded (x)html in summary node.
2834 2014-11-27  Sam Steingold  <sds@gnu.org>
2836         * menu-bar.el (menu-bar-open): When everything else fails,
2837         use (mouse-menu-bar-map).
2839 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
2841         * net/newst-treeview.el (newsticker-groups-filename):
2842         Change default value to nil.  Point out that variable is obsolete in doc
2843         string.
2844         (newsticker--treeview-load): Change wording of the questions the
2845         user is asked when `newsticker-groups-filename' is found to be
2846         used and we offer to read and remove the groups file.  (Bug#19165)
2848 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2850         * net/eww.el (eww): Record the new URL immediately, so that if the
2851         HTTP fetch fails, we have the right URL in the buffer.
2852         (eww-process-text-input): Don't shorten the input field if
2853         deleting at the last character (bug#19085).
2854         (eww-restore-history): Inhibit change functions while restoring
2855         the history.
2856         (eww-process-text-input): Fix deletion at the start of the field, too.
2857         (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
2858         (eww-process-text-input): Try to keep track of the size more reliably.
2860         * dom.el (dom-pp): New function.
2862 2014-11-27  Eli Zaretskii  <eliz@gnu.org>
2864         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
2865         Don't assume --long is the default for "bzr log", always specify
2866         it explicitly, in case the user defined an alias for 'log' that
2867         uses some other format.
2869 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2871         * progmodes/python.el (python-eldoc--get-doc-at-point):
2872         Strip shell output before returning.  (bug#18794)
2874 2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
2876         Fix indentation before `!=' and after `+='.  Originally reported
2877         in https://github.com/mooz/js2-mode/issues/174.
2878         * progmodes/js.el (js--indent-operator-re): Make assignments and
2879         (in)equality operator a separate case.
2880         (js--continued-expression-p): Escape the second `+' in the regexp.
2882 2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2884         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
2886 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2888         * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
2889         when querying about new certificates.
2891         * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
2893         * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
2894         can be strings.
2895         (dom-elements): Protect against non-text nodes.
2896         (dom-non-text-children): New function.
2898         * net/eww.el (eww-tag-title): Use `dom-text'.
2900 2014-11-26  Sam Steingold  <sds@gnu.org>
2902         * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
2904 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2906         * net/eww.el (eww-highest-readability): More dom.el fixes.
2908 2014-11-26  Ulf Jasper  <ulf.jasper@web.de>
2910         * net/newst-backend.el (newsticker--parse-generic-items):
2911         Take care of UIDs when adding elements to cache.
2913 2014-11-26  Alan Mackenzie  <acm@muc.de>
2915         Remove spurious reference to symbol category_properties.
2916         * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
2918 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2920         * net/eww.el: Use the new dom.el accessors throughout.
2922         * net/shr.el: Ditto.
2924         * dom.el: New file.
2926 2014-11-26  Glenn Morris  <rgm@gnu.org>
2928         * arc-mode.el (archive-visit-single-files): Add :version.
2930 2014-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2932         * net/nsm.el (nsm-format-certificate): Don't bug out on missing
2933         elements.
2934         (nsm-warnings-ok-p): The new version of this function always
2935         returned nil when everything was OK.
2937 2014-11-25  Teodor Zlatanov  <tzz@lifelogs.com>
2939         * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
2941         * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
2942         (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
2944 2014-11-20  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2946         * emacs-lisp/byte-run.el (function-put): Match argument names to
2947         docstring.
2949 2014-11-24  Sam Steingold  <sds@gnu.org>
2951         * vc/vc-hooks.el (vc-directory-exclusion-list):
2952         Fix a trivial typo (bug#19171).
2954 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2956         * vc/vc-hooks.el (vc-state-base-face): Don't override
2957         mode-line-inactive.
2959 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2961         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
2962         (eww-process-text-input): Inhibit read only so that input fields
2963         don't get shortened (bug#19085).
2965 2014-11-24  Leo Liu  <sdl.web@gmail.com>
2967         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
2969         * window.el (with-temp-buffer-window)
2970         (with-current-buffer-window, with-displayed-buffer-window):
2971         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
2972         * emacs-lisp/cl-lib.el (substring):
2973         * emacs-lisp/cl-extra.el (cl-getf): Use it.
2975 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
2977         * isearch.el (isearch-update): Don't assume
2978         pos-visible-in-window-p will return nil when point is hscrolled
2979         out of view.  (Bug#19157)
2981 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
2983         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
2984         (eww-follow-link): Follow in new buffer in case of prefix
2985         argument, open externally with double prefix (bug#19130).
2987 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2989         * net/eww.el (eww-display-html): Decode the document-defined charset.
2990         (eww): Pop to the *eww* buffer immediately after executing the
2991         `M-x eww' command to avoid having buffers pop up later.
2992         (eww-display-html): Don't pop the *eww* buffer.
2993         (eww-display-raw): Ditto.
2994         (eww-display-image): Ditto.
2995         (eww-follow-link): Make going to #targets in the page work again.
2997 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
2999         * net/eww.el (eww-suggest-uris): New variable.
3000         (eww-suggested-uris): New function.
3001         (eww): Default to URL under point.
3002         (eww-links-at-point): New function.
3004 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
3006         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
3008 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
3010         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
3012 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
3014         * net/eww.el (eww-set-character-encoding): New command and keystroke.
3015         (eww-display-raw): Use it (bug#16225).
3017 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3019         * net/nsm.el (network-security-level): Rename from
3020         `nsm-security-level' and documented.
3022         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
3023         we're sending a password.
3025         * net/nsm.el: New file that implements a Network Security Manager.
3027         * net/network-stream.el (open-network-stream): Add a new
3028         :warn-unless-encrypted parameter.
3029         (network-stream-open-plain): Allow warning unless encrypted.
3030         (network-stream-open-starttls): Call the Network Security Manager.
3031         (network-stream-open-tls): Ditto.
3033 2014-11-23  Leo Liu  <sdl.web@gmail.com>
3035         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
3036         (calendar-chinese-to-absolute-for-diary)
3037         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
3038         Handle leap months in Chinese calendar.  (Bug#18953)
3040 2014-11-22  Alan Mackenzie  <acm@muc.de>
3042         Fix error with `mark-defun' and "protected:" in C++ Mode.
3043         Fixes: debbugs:19134.
3045         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
3046         return code of (label) from c-beginning-of-decl-1.
3048 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
3050         * net/newst-backend.el (newsticker--sentinel-work):
3051         Tell `libxml-parse-xml-region' to discard comments.  Fixes bug#18787.
3053 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
3055         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
3056         (tramp-sh-handle-process-file): Propagate `process-environment'.
3058         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
3059         Tramp propagates environment variables now.
3061 2014-11-22  Eric S. Raymond  <esr@snark>
3063         * vc/vc-filewise.el: New file to isolate code used only by the
3064         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
3065         live in vc.el and certainly not in vc-hooks.el.
3067         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
3068         This is preparatory to isolating all the 'master' functions
3069         used only by the file-oriented back ends.  With this done first,
3070         the substantive diffs will be easier to read.
3072 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3074         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
3075         that is recognized by `help-mode'.
3077 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3079         * desktop.el (desktop-create-buffer): Use activate-mark to set
3080         `mark-active' (bug#19058).
3082 2014-11-21  Eric S. Raymond  <esr@snark>
3084         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
3085         nil state.
3087 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
3089         * vc/vc.el (vc-deduce-fileset): Support invocation from
3090         *vc-change-log* buffer.  (Bug#19084)
3092 2014-11-13  Matthew Leach  <matthew@mattleach.net>
3094         * arc-mode.el (archive-visit-single-files): New.
3095         (archive-mode): Visit file if archive contains a single file.
3096         (Bug#1702)
3098 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
3100         * vc/vc.el: Fix a typo in the commentary.
3102 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
3104         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
3105         testing and a real log-view mode.
3107         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
3108         * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
3109         * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
3110         checkout methods; where it matters (which is only in SCCS and RCS)
3111         files are always checked out editable.  This may actually have
3112         been dynamically true already - it looks like the vc-next-action
3113         code evolved past visiting the other case.  Tested with RCS.
3115         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
3116         * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
3117         * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
3118         argument from the backend checkin methods.  Only the RCS, SCCS,
3119         and CVS back ends tried to do anything with it, and that code was
3120         never exercised.  Chiseling away the cruft of decades...
3122 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3124         * net/eww.el (eww-render): Remove a no-op :title setting.
3126 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
3128         * net/eww.el (eww-history-limit): New variable.
3129         (eww-save-history): Use it (bug#19105).
3130         (eww-reload): Reload the page in the right buffer.
3132 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3134         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
3136 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
3138         * net/eww.el (eww-desktop-remove-duplicates)
3139         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
3140         (eww-mode): Set up desktop mode (bug#18010).
3141         (eww-desktop-data-save, eww-desktop-data-1)
3142         (eww-desktop-history-duplicate, eww-desktop-misc-data)
3143         (eww-restore-desktop): New functions.
3145 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
3147         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
3148         correct buffer.  (Bug#19101)
3150 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3152         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
3153         `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
3155 2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
3157         * ido.el (ido-bury-buffer-at-head): New command.
3158         (ido-buffer-completion-map): Bind it to C-S-b.
3160 2014-11-18  Juri Linkov  <juri@linkov.net>
3162         * simple.el (next-line-or-history-element): Wrap next-line
3163         in with-no-warnings.
3164         (previous-line-or-history-element): Wrap previous-line
3165         in with-no-warnings.
3167 2014-11-18  Juri Linkov  <juri@linkov.net>
3169         * progmodes/grep.el (grep-compute-defaults):
3170         Compute grep-highlight-matches before its use.
3172 2014-11-18  Juri Linkov  <juri@linkov.net>
3174         * replace.el (query-replace-from-to-separator): Turn defvar into
3175         defcustom.  Wrap char-displayable-p in ignore-errors because an
3176         attempt to autoload char-displayable-p fails during pre-loading.
3177         Move (propertize "\0" ... 'separator t) out of customizable part
3178         to query-replace-read-from.
3179         (query-replace-read-from): Call custom-reevaluate-setting on
3180         query-replace-from-to-separator to reevaluate the separator
3181         depending on the return value of char-displayable-p.
3182         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
3184 2014-11-18  Juri Linkov  <juri@linkov.net>
3186         * bindings.el (minibuffer-local-map): Rebind [down] from
3187         next-history-element to next-line-or-history-element, and [up]
3188         from previous-history-element to previous-line-or-history-element.
3190         * simple.el (next-line-or-history-element)
3191         (previous-line-or-history-element): New commands.
3192         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
3194 2014-11-18  Leo Liu  <sdl.web@gmail.com>
3196         * emacs-lisp/nadvice.el (define-advice): New macro.
3197         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3198         Add define-advice.
3199         (lisp-font-lock-keywords-1): Add define-advice.
3201 2014-11-18  Daiki Ueno  <ueno@gnu.org>
3203         * epg.el (epg-context): New slot EDIT-CALLBACK.
3204         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
3205         (epg-reset): Reset EDIT-CALLBACK of the context.
3206         (epg-start-edit-key): New function.
3207         (epg-edit-key): New function.
3209 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
3211         Port new time stamp handling to Emacs 23.2.
3212         This fix is for Gnus.  Reported by Katsumi Yamaoka.
3213         * calendar/time-date.el (time-add, time-subtract, time-less-p):
3214         Use eval-and-compile, not eval-when-compile.
3216 2014-11-18  Daiki Ueno  <ueno@gnu.org>
3218         * epg.el (epg-context-set-passphrase-callback)
3219         (epg-context-set-progress-callback): Check if the CALLBACK
3220         argument is a function, instead of a cons.
3222 2014-11-18  Daiki Ueno  <ueno@gnu.org>
3224         * epa-file.el (epa-file-insert-file-contents)
3225         (epa-file-write-region): Remove redundant check of
3226         epa-pinentry-mode.
3227         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3228         (epa-sign-region, epa-encrypt-region): Remove redundant check of
3229         epa-pinentry-mode.
3231 2014-11-18  Daiki Ueno  <ueno@gnu.org>
3233         * epa-file.el (epa-file-insert-file-contents): Don't show
3234         "*Error*" buffer if input file does not exist.
3235         Reported by Herbert J. Skuhra.
3237 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
3238             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3240         * progmodes/cc-langs.el: Support some of the new keywords in C++11.
3241         An alternative version of the patch from bug#13871.
3242         (c-operators): Add "alignof".
3243         (c-primitive-type-kwds): Add "char16_t", "char32_t".
3244         (c-type-modifier-kwds): Add "constexpr", "noexcept".
3245         (c-modifier-kwds): Add "thread_local".
3246         (c-constant-kwds): Add "nullptr".
3248 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
3250         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
3251         New variables for specifying tildify pattern and representation of
3252         a hard space -- a no-break space by default -- respectively.
3253         Being buffer-local they are much easier to handle than
3254         `tildify-string-alist' and `tildify-pattern-alist' respectively
3255         that have been used so far.  They also works better with derived
3256         modes.
3257         (tildify-foreach-region-function): New variable specifying
3258         a function determining portions of buffer that should be
3259         tildified.  It allows major modes to create a filtering function
3260         more elaborate than a set of regular expressions.  Initialised to
3261         `tildify--deprecated-ignore-evironments' by default to handle now
3262         deprecated `tildify-ignored-environments-alist' variable.
3263         (tildify--foreach-region): A new function that takes
3264         `tildify-foreach-region-function' into account and calls callback
3265         for regions of the buffer that should be tildified.
3266         (tildify-foreach-ignore-environments): A new function which can be
3267         partially applied and used as `tildify-foreach-region-function'.
3268         (tildify-ignored-environments-alist, tildify-pattern)
3269         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
3270         (tildify--find-env): Rename from `tildify-find-env' and mark as
3271         obsolete.
3272         (tildify--deprecated-ignore-evironments): New function,
3273         immediately marked as obsolete, used to handle deprecated
3274         `tildify-ignored-environments-alist'.
3276         * textmodes/tex-mode.el (tex-common-initialization):
3277         Set `tildify-space-string' and `tildify-foreach-region-function'
3278         variables in all variants of TeX mode since `tildify-string-alist'
3279         and `tildify-ignored-environments-alist' are now empty by default.
3281         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
3282         If encoding supports it use no-break space instead of character
3283         entity; this changes previous default which used a numeric
3284         reference.
3286         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
3287         If encoding does not support no-break space, use numeric reference;
3288         this changes previous default which used named entity (“&nbsp;”)
3289         in HTML mode.
3291 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
3293         * calendar/icalendar.el (icalendar-export-alarms):
3294         New customizable variable.  (Bug#5433)
3295         (icalendar-export-region): Export alarms as specified in
3296         `icalendar-export-alarms'.
3297         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
3298         New functions for exporting alarms.
3300 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3302         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
3304 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
3306         Port new time stamp handling to old Emacs and to XEmacs.
3307         This is needed for Gnus, which copies time-date.el and which
3308         runs on older Emacs implementations.
3309         * calendar/time-date.el (with-decoded-time-value):
3310         Handle 'nil' and floating-point arg more compatibly with new Emacs.
3311         (encode-time-value, with-decoded-time-value):
3312         Obsolete only if new Emacs.
3313         (time-add, time-subtract, time-less-p): Define if not new Emacs.
3315         Improve time stamp handling, and be more consistent about it.
3316         This implements a suggestion made in:
3317         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
3318         Among other things, this means timer.el no longer needs to
3319         autoload the time-date module.
3320         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
3321         * arc-mode.el (archive-ar-summarize):
3322         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
3323         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
3324         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
3325         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3326         * proced.el (proced-time-lessp):
3327         * timezone.el (timezone-time-from-absolute):
3328         * type-break.el (type-break-schedule, type-break-time-sum):
3329         Simplify by using new functionality.
3330         * calendar/cal-dst.el (calendar-next-time-zone-transition):
3331         Do not return time values in obsolete and undocumented (HI . LO)
3332         format; use (HI LO) instead.
3333         * calendar/time-date.el (with-decoded-time-value):
3334         Treat 'nil' as current time.  This is mostly for XEmacs.
3335         (encode-time-value, with-decoded-time-value): Obsolete.
3336         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
3337         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
3338         * ldefs-boot.el: Update to match new time-date.el
3339         * proced.el: Do not require time-date.
3341 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3343         * net/eww.el (eww-mode): Make the buffer read-only.
3344         (eww-form-text): Inhibit read-only-ness in text input fields
3345         (bug#16476).
3347 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3349         * simple.el (execute-extended-command--shorter): Cut search here.
3350         (execute-extended-command): Instead of here.
3352 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3354         * progmodes/python.el (python-mode): Avoid use of set-local to
3355         keep Emacs 24.x compatibility.
3357 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3359         * net/shr.el (shr): Move to the new defgroup `web'.
3361         * net/eww.el (eww): Ditto.
3363         * simple.el (execute-extended-command): Don't show the help
3364         message if the binding isn't significantly shorter than the
3365         M-x command the user typed (bug#19013).
3367 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
3369         * calendar/icalendar.el (icalendar--convert-tz-offset):
3370         Return complete cons when offsets of standard time and daylight saving
3371         time are equal.
3372         (icalendar-export-region): Fix unbound variable warning.
3374 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3376         * progmodes/python.el (run-python): Allow CMD to be optional and
3377         default it to a safe command, even for Windows.  (bug#18596)
3379 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3381         * progmodes/python.el (python-shell-calculate-command):
3382         Rename from python-shell-parse-command.  Cleanup.
3383         (run-python, run-python-internal): Use it.
3384         (python-shell-calculate-pythonpath): Rename from
3385         python-new-pythonpath.
3386         (python-shell-calculate-process-environment): Use it.
3387         (python-shell-calculate-exec-path): Add comment.
3389 2014-11-16  Thierry Banel <tbanelwebmin@free.fr>  (tiny change)
3391         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
3392         for date handling.
3394 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
3396         * version.el (emacs-repository-get-version): Use git rev-parse
3397         instead of git log.
3399 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3401         * progmodes/python.el (python-indent-calculate-levels):
3402         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
3404 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3406         * progmodes/python.el (python-indent-region):
3407         Use python-indent-line and skip special cases.  (Bug#18843)
3409 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
3411         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
3412           envelope-from when reporting through sendmail (bug#19054).
3414 2014-11-16  Oscar Fuentes <ofv@wanadoo.es>
3416         Add faces for the VC modeline state indicator.
3417         * vc/vc-hooks.el:
3418         (vc-state-faces, vc-state-base-face)
3419         (vc-up-to-date-state, vc-needs-update-state)
3420         (vc-locked-state, vc-locally-added-state)
3421         (vc-conflict-state, vc-removed-state)
3422         (vc-missing-state, vc-edited-state):
3423         New faces.
3424         (vc-default-mode-line-string): Use them
3426 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3428         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
3430 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3432         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
3434 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3436         * progmodes/python.el (python-eldoc-setup-code): Enhance string
3437         type checks, simplify printing.  (Bug#18962)
3439 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
3441         * progmodes/python.el (python-shell-font-lock-kill-buffer):
3442         (python-shell-font-lock-with-font-lock-buffer)
3443         (python-shell-get-buffer, python-ffap-module-path):
3444         Use `derived-mode-p' instead of equality test on `major-mode'.
3446 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3448         * progmodes/python.el (python-shell-virtualenv-root): Rename from
3449         python-shell-virtualenv-path.
3450         (python-shell-internal-get-process-name)
3451         (python-shell-calculate-process-environment)
3452         (python-shell-calculate-exec-path): Use it.
3454 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
3456         * bindings.el (search-map): Fix last change: don't use 'kbd' in
3457         bindings.el, since it is not yet loaded when bindings.el is
3458         preloaded.
3460 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3462         * progmodes/python.el (python-shell-completion-get-completions):
3463         Fix previous merge.
3465 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3467         * net/eww.el (eww-render): Don't set the title to the URL.
3469 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
3471         * version.el (emacs-repository-get-version): Call `git log'
3472         command with proper format argument (bug#19049).
3474 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3476         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
3478 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3480         * net/eww.el (eww-search-words): New command (bug#16258).
3482 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3484         * net/shr.el (shr-inhibit-images): Add a doc string.
3486         * net/eww.el (eww-after-render-hook): New variable.
3487         (eww-render): Use it.
3489         * net/shr.el (shr-descend): Don't descend further than
3490         `max-specpdl-size' allows (bug#16587).
3491         (shr-depth): New variable.
3492         (shr-warning): New variable.
3494 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
3496         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
3497         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
3499 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3501         * net/eww.el (eww): Add comment to clarify.
3503         * net/shr.el (shr-parse-image-data): Remove blocked bits from
3504         external SVG images.
3505         (shr-tag-object): Display images in <object> forms (bug#16244).
3506         (shr-tag-table): Also insert <objects> after the tables.
3508 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
3510         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
3512 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3514         * net/eww.el (eww-form-file): Fix version number.
3516 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3518         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
3520 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3522         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
3523         (eww-submit-file): New key map of file upload.
3524         (eww-form-file): New file upload button and file name context.
3525         (eww-select-file): Select file and display selected file name.
3526         (eww-tag-input): Handle input tag of file type.
3527         (eww-update-field): Add point offset.
3528         (eww-submit): Add submit with multipart/form-data.
3530 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3532         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
3533         Allow taking a buffer to render data in.  This allows using several
3534         eww buffers (bug#16211).
3536 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
3538         * net/eww.el (eww-download-callback): Save only the file contents,
3539         not the headers.
3541 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3543         * net/eww.el (eww-data): New plist to store all the data relevant
3544         to a single page, used throughout the file instead of the
3545         variables `eww-current-url', `eww-current-dom',
3546         `eww-current-source', and `eww-current-title'.
3547         (eww-readable): Copy over pertinent data from the parent page.
3548         (eww-save-history): Don't let the history grow infinitely.
3550         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
3551         `eww-up-url', `eww-home-url', `eww-start-url' and
3552         `eww-contents-url' and put the data into the `eww-data' plist.
3553         This allow restoring these values after going back in the history.
3555 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
3557         Allow VTIMEZONE where daylight and standard time zones are equal.
3558         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
3559         * calendar/icalendar.el (icalendar--convert-tz-offset):
3560         Support timezone without daylight saving time.
3562 2014-11-10  Glenn Morris  <rgm@gnu.org>
3564         * startup.el (command-line): Handle nil elements in load-path.
3566 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3568         * help.el (view-lossage): Include the actual commands run.
3570 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
3572         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
3573         no state is specified.  (Bug#18964)
3575 2014-11-09  Eric Ludlam  <zappo@gnu.org>
3577         * emacs-lisp/eieio-custom.el (eieio-customize-object):
3578         Set eieio-cog (current group) to g, which is an improved form of input
3579         group.
3581 2014-11-09  Juri Linkov  <juri@jurta.org>
3583         * isearch.el (isearch-message-prefix): Show "Multi-file" and
3584         "Multi-buffer" instead of "Multi".  (Bug#13592)
3586         * misearch.el (multi-isearch-file-list):
3587         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
3588         (multi-isearch-end): Reset multi-isearch-buffer-list and
3589         multi-isearch-file-list to nil.
3591 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3593         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3594         Don't call byte-compile-preprocess since the result will go through
3595         cconv.
3596         (byte-compile-output-docform): Handle uninterned `name' correctly.
3597         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
3598         to circumvent byte-compiler bug.
3600         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
3601         (macroexp--compiler-macro): Remove left-over debug code.
3603         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
3605 2014-11-08  Juri Linkov  <juri@jurta.org>
3607         * simple.el (shell-command): Use buffer-name when output-buffer is
3608         a buffer.  (Bug#18096)
3610 2014-11-08  Juri Linkov  <juri@jurta.org>
3612         * minibuffer.el (minibuffer-completion-help): Compare this-command
3613         with completion-at-point.  (Bug#17809)
3615 2014-11-08  Glenn Morris  <rgm@gnu.org>
3617         * emacs-lisp/bytecomp.el (byte-compile-report-error):
3618         Allow the argument to be a string.  Due to the vague doc,
3619         it was already being used this way.
3621 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
3623         * net/tramp.el (tramp-check-cached-permissions): Include hop in
3624         the constructed Tramp file name.  (Bug#18943)
3626 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3628         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
3629         (bug#18952).
3630         (cua-set-mark, cua--post-command-handler-1):
3631         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
3633 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
3635         * files.el (file-name-non-special): Wrap the call of
3636         `insert-file-contents' by `unwind-protect', in order to set the
3637         buffer's file name anyway.  (Bug#18891)
3639 2014-11-08  Alan Mackenzie  <acm@muc.de>
3641         Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
3642         * progmodes/cc-fonts.el (c-font-lock-declarations):
3643         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
3644         the buffer is sometimes narrowed to less than "limit" (e.g., in
3645         the presence of macros).
3647 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
3649         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
3650         only when message appeared in minibuffer.  (Bug#18891)
3652         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
3653         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
3654         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
3655         case of errors.
3657 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3659         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3660         Don't compile before eval in `eval-and-compile'.
3661         (byte-compile-arglist-warn): Add check for defining macros after their
3662         first use.  Check call use even if the function is fboundp.
3664 2014-11-08  Richard Stallman  <rms@gnu.org>
3666         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
3667         Check more carefully for mime-part specified character set.
3668         Check for mime-part Content Transfer Encoding.
3669         Notify if no armor found.
3671 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
3673         * faces.el (face-set-after-frame-default): Enable running
3674         `window-configuration-change-hook'.
3676 2014-11-07  Juri Linkov  <juri@jurta.org>
3678         * replace.el: History for query replace pairs.
3679         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
3680         (query-replace-from-to-separator): New variable.
3681         (query-replace-read-from): Let-bind query-replace-from-to-history
3682         to a list of FROM-TO strings created from query-replace-defaults
3683         and separated by query-replace-from-to-separator.  Use it as
3684         the history while reading from the minibuffer.  Split the returned
3685         string by the separator to get FROM and TO parts, and add them
3686         to the history variables.
3687         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
3688         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
3689         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
3691         * isearch.el (isearch-text-char-description): Keep characters
3692         intact and put formatted strings with the `display' property.
3694 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
3696         * cus-start.el (frame-resize-pixelwise): Fix group.
3697         (frame-inhibit-implied-resize): Add entry.
3699 2014-11-07  Daiki Ueno  <ueno@gnu.org>
3701         * epa.el (epa-pinentry-mode): New user option.
3702         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3703         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
3704         * epa-file.el (epa-file-insert-file-contents)
3705         (epa-file-write-region): Respect epa-pinentry-mode.
3707 2014-11-07  Daiki Ueno  <ueno@gnu.org>
3709         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
3710         (bug#18979).  Reported by Hideki Saito.
3712 2014-11-06  Daiki Ueno  <ueno@gnu.org>
3714         * emacs-lisp/package.el (package--display-verify-error): New function.
3715         (package--check-signature): Use it to display output sent to stderr.
3717 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3719         * subr.el (pop): Don't call the getter twice (bug#18968).
3721         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
3722         uses of `funcall'.
3724 2014-11-06  Daiki Ueno  <ueno@gnu.org>
3726         * epa.el (epa-error-buffer): New variable.
3727         (epa-display-error): New function.
3728         (epa-decrypt-file, epa-verify-file, epa-verify-region)
3729         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
3730         (epa-sign-file, epa-sign-region, epa-encrypt-region)
3731         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
3732         Use setf instead of epg-context-set-*.
3733         * epa-file.el (epa-file-insert-file-contents):
3734         Use epa-display-error instead of epa-display-info.  Mimic the behavior
3735         of jka-compr when decryption program is not found.
3736         (epa-file-write-region): Use epa-display-error instead of
3737         epa-display-info.
3739 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3741         * vc/vc.el (vc-region-history): New command.
3742         (vc-print-log-internal): Use cl-some.
3744         * vc/vc-git.el (vc-git-region-history): New function.
3745         (vc-git-region-history-mode-map)
3746         (vc-git--log-view-long-font-lock-keywords)
3747         (vc-git-region-history-font-lock-keywords): New vars.
3748         (vc-git-region-history-font-lock): New function.
3749         (vc-git-region-history-mode): New major mode.
3751 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
3753         * net/eww.el (subr-x): Require subr-x at compile-time because eww
3754         uses string-trim.
3756 2014-11-05  Daiki Ueno  <ueno@gnu.org>
3758         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
3759         (epg-error-output): New buffer-local variable.
3760         (epg--start): Initialize epg-error-output.
3761         (epg--process-filter): Record output lines sent to stderr, in
3762         epg-error-output.
3763         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
3764         slot of context.
3765         * epa-file.el (epa-file-insert-file-contents): On error, display
3766         output sent to stderr.
3767         (epa-file-write-region): Likewise.
3769 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
3771         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
3772         returned by load-average.
3774 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
3776         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
3777         a local copy; setting `inhibit-file-name-handlers' proper might be
3778         more performant.  (Bug#18751)
3780 2014-11-05  Glenn Morris  <rgm@gnu.org>
3782         * mail/emacsbug.el (report-emacs-bug): No longer include
3783         recent-keys in the report.  (Bug#18900)
3785 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
3787         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
3789 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
3791         * net/eww.el (eww): Trim URL with `string-trim'.
3792         Suggested by Vibhav Pant <vibhavp@gmail.com>.
3794 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3796         * net/eww.el (eww-score-readability): Don't count comments positively.
3798         * net/shr.el (shr-retransform-dom): Typo fix.
3800         * net/eww.el (eww-score-readability): Parse SVC images correctly.
3801         (eww-display-html): Don't leave point inside forms.
3803         * net/shr.el: Ditto.
3805 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3807         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
3808         edebug-prin1-to-string already handles circularity.
3810         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
3811         autoloading when specified as a lambda.
3813         * simple.el (execute-extended-command--last-typed): New var.
3814         (read-extended-command): Set it.
3815         Don't complete obsolete commands.
3816         (execute-extended-command--shorter-1)
3817         (execute-extended-command--shorter): New functions.
3818         (execute-extended-command): Use them to suggest shorter names.
3819         (indicate-copied-region, deactivate-mark): Use region-active-p.
3821 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
3823         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
3824         local copy of FILENAME, when it is remote.  (Bug#18751)
3826         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
3827         an error when the command fails; the return code must indicate.
3828         (tramp-adb-send-command-and-check): Fix docstring.
3830 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3832         * net/shr.el (shr-retransform-dom): Don't ignore elements that
3833         have no children like <br />.
3835         * net/eww.el (eww-display-html): Clear `url-queue'.
3836         (eww-display-pdf): New function.
3837         (eww-render): Display PDFs with `doc-view'.
3838         (url-queue): Require `url-queue' to avoid compilation warning.
3839         (eww-colorize-region): Remove duplicate function.
3840         (eww-tag-body): Use `shr-colorize-region'.
3842 2014-11-03  Yoni Rabkin <yrk@gnu.org>
3844         * net/eww.el (eww-list-bookmarks): Autoload.
3846 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3848         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
3850         * net/eww.el (eww-display-html): The charset is called `utf-8',
3851         not `utf8'.
3852         (eww-readable): Decode the saved text correctly.
3853         (eww-readable): Save the history before displaying so that we can
3854         go back to the non-readable version.
3855         (eww-display-html): Don't try to decode the text if we've been
3856         passed in a pre-parsed DOM.
3857         (eww-tag-title): Remove newlines and extra whitespace from the
3858         displayed title.
3860 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3862         * net/eww.el (eww-readable): New command and keystroke.
3864         * net/shr.el (shr-retransform-dom): New function.
3866         * net/eww.el (eww-display-html): Set `eww-current-source' in the
3867         correct buffer.
3868         (eww-view-source): Use it.
3870 2014-11-02  Ivan Shmakov <ivan@siamics.net>
3872         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
3873         (Bug#18603).
3875 2014-11-02  Brian McKenna <brian@brianmckenna.org>  (tiny change)
3877         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
3879 2014-11-02  Ivan Shmakov <ivan@siamics.net>
3881         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
3883 2014-11-02  Ivan Shmakov <ivan@siamics.net>
3885         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
3886         (Bug#18834).
3888 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
3890         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
3891         use as advice.
3892         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
3894 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3896         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
3897         (bug#18821).
3898         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
3900 2014-11-01  Michael R. Mauger  <michael@mauger.com>
3902         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
3903         syntax, add new keywords, and parse longer keywords first.
3904         (sql-redirect-one): Protect against empty command.
3905         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
3906         to SQL.  (Bug#14759)
3908 2014-11-01  Michael R. Mauger  <michael@mauger.com>
3910         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
3911         Bug#16814 with let-bind of comint-input-ring variables around read
3912         and save functions.
3914 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
3916         * net/tramp-cache.el (tramp-get-file-property)
3917         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
3918         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
3919         be compiler warnings.
3921         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
3922         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
3924 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
3926         * progmodes/compile.el (compilation-mode): Turn off deferred
3927         fontifications locally.  (Bug#18856)
3929 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
3931         * net/tramp-sh.el (tramp-send-command): Fix the case where the
3932         remote-echo connection property is non-nil (bug#18858).
3934 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3936         * simple.el (newline): Add assertions to try and help catch bug#18913.
3938         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
3939         (bug#18886).
3940         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
3942 2014-11-01  Kim F. Storm  <storm@cua.dk>
3944         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
3945         * delsel.el (delete-selection-save-to-register)
3946         (delsel--replace-text-or-position): New vars.
3947         (delete-active-region): Use them.
3948         (delete-selection-repeat-replace-region): New command, moved from
3949         cua-base.el.
3950         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
3951         (cua-repeat-replace-region): Move command to delsel.el.
3952         (cua--init-keymaps): Update binding accordingly.
3953         (cua-mode): Set delete-selection-save-to-register.
3955 2014-11-01  Alan Mackenzie  <acm@muc.de>
3957         Make blink-parens work with a closing template delimiter.
3958         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
3959         before calling blink-paren-function, so as to apply syntax-table
3960         properties to the ">".
3962 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
3964         * select.el (gui-get-selection): Comment: data-type ignored on NS.
3966 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3968         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
3969         (macroexp--expand-all): Unrelated tweaks.
3971         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
3973 2014-10-30  Glenn Morris  <rgm@gnu.org>
3975         * startup.el (command-line): Remove pointless attempt to avoid
3976         statting the file-system (which expand-file-name doesn't do).
3978 2014-10-30  Daniel Colascione  <dancol@dancol.org>
3980         Add "enum class" support to C++ mode.
3981         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
3982         (c-after-brace-list-key): New language consts/variables.
3983         * progmodes/cc-engine.el (c-looking-at-decl-block):
3984         Exclude spurious match of "enum struct" from decl-block recognition.
3985         (c-backward-colon-prefixed-type): New function.
3986         (c-backward-over-enum-header): Call above function to extend
3987         recognition of enum structure.
3989 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3991         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
3992         (c-lang-defconst):
3993         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
3995 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
3997         * progmodes/compile.el (compilation-start):
3998         If compilation-scroll-output is non-nil, don't force window-start of
3999         the compilation buffer to be at beginning of buffer.  (Bug#18874)
4001         * startup.el (fancy-about-text): Read the entire tutorial, not
4002         just its first 256 bytes.  (Bug#18760)
4004 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4006         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
4007         * emacs-lisp/cl-extra.el: Add missing provide.
4009         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
4010         all args are copyable (bug#18767).
4011         (=, <, >, <=, >=): Re-enable the optimization.
4013 2014-10-29  Glenn Morris  <rgm@gnu.org>
4015         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
4017         * version.el (emacs-bzr-version, emacs-bzr-get-version):
4018         Revert 2014-10-26 change.
4020 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
4022         Simplify use of current-time and friends.
4023         * allout-widgets.el (allout-widgets-hook-error-handler):
4024         * calendar/appt.el (appt-display-message):
4025         * calendar/icalendar.el (icalendar--convert-float-to-ical):
4026         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
4027         (timeclock-last-period, timeclock-day-base):
4028         * eshell/em-ls.el (eshell-ls-file):
4029         * eshell/esh-util.el (eshell-parse-ange-ls):
4030         * generic-x.el (named-database-print-serial):
4031         * net/newst-backend.el (newsticker--get-news-by-url-callback)
4032         (newsticker-get-news, newsticker--sentinel-work)
4033         (newsticker--image-get, newsticker--image-sentinel):
4034         * net/tramp-sh.el (tramp-get-remote-touch):
4035         * progmodes/opascal.el (opascal-debug-log):
4036         * textmodes/remember.el (remember-mail-date)
4037         (remember-store-in-files):
4038         * vc/vc-annotate.el (vc-annotate-display-autoscale)
4039         (vc-default-annotate-current-time):
4040         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
4041         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
4042         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
4043         Omit unnecessary call to current-time.
4044         * calendar/time-date.el (time-to-seconds) [!float-time]:
4045         * vc/vc-annotate.el (vc-annotate-convert-time):
4046         Use current time if arg is nil, to be compatible with float-time.
4047         (time-date--day-in-year): New function, with most of the guts of
4048         the old time-to-day-in-year.
4049         (time-to-day-in-year): Use it.
4050         (time-to-days): Use it, to avoid decoding the same time stamp twice.
4051         * calendar/timeclock.el (timeclock-time-to-date):
4052         Arg is now optional, like current-time-string.
4053         (timeclock-update-mode-line):
4054         Don't call current-time twice to get the current time stamp,
4055         as this can lead to inconsistent results.
4056         * completion.el (cmpl-hours-since-origin):
4057         * ido.el (ido-time-stamp):
4058         * vc/vc-annotate.el (vc-annotate-convert-time):
4059         Simplify by using float-time.
4060         * completion.el (save-completions-to-file):
4061         Rename local var to avoid confusion.
4062         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
4063         time-to-seconds now behaves like float-time with respect to nil arg.
4064         * subr.el (progress-reporter-do-update):
4065         Don't call float-time unless needed.
4067 2014-10-29  Leo Liu  <sdl.web@gmail.com>
4069         * net/rcirc.el (rcirc-fill-column): Use function.
4070         (rcirc-markup-fill): Remove adjustment.
4072 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
4074         * calc/calc.el (quick-calc):
4075         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
4077 2014-10-28  Sam Steingold  <sds@gnu.org>
4079         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
4080         the sake of `window-body-width' (in addition to `frame-width').
4082 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
4084         * version.el: Fix some fallback values to conform to the actual
4085         release number.
4087 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
4089         * Makefile.in: Change some production names so they're neutral
4090         about the repository type.
4092 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
4094         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
4095         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
4096         during initialization.  (Bug#18774)
4098 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4100         * ses.el (macroexp): Add require for this package, so that
4101         function `ses--cell' gets macroexp-quote --- this change was
4102         supposed to be in my previous commit, but left out by mistake.
4103         (ses--cell): Do not make formula a macroexp-quote of value when
4104         value, not formula, is *skip*.
4106 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4108         * ses.el (macroexp): Add require for this package, so that function
4109         `ses--cell gets macroexp-quote.
4110         (ses--cell): Makes formula a macroexp-quote of value when formula
4111         is nil.  The rationale of this changr is to allow in the future
4112         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
4113         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'.  In such a case
4114         reference list REFLIST would be re-computed after load --- thus
4115         trading off load time against file size.
4117         * emacs-lisp/package.el (package--alist-to-plist-args):
4118         Use macroexp-quote instead of a lambda expression which has the same
4119         content as macroexp-quote.
4120         (macroexp): Add require for this package, so that function
4121         `package--alist-to-plist-args' gets macroexp-quote.
4123         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
4125 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4127         * term/ns-win.el (ns-store-cut-buffer-internal)
4128         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
4130 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
4132         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
4133         Calculate increment from last position instead of window edge.
4134         Add right- and bottom-divider bindings to transient map.
4136 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4138         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
4139         even if :predicate was nil, for the benefit of typep.
4140         Record the name of the predicate for typep's use.
4141         (cl--make-type-test): Use pcase.  Obey new
4142         cl-deftype-satisfies property.
4144         * epg.el: Use cl-defstruct.
4145         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
4146         (epg-data-string): Define via cl-defstruct.
4147         (epg--gv-nreverse): New macro.
4148         (epg-context--make): New constructor (provided vi cl-defstruct).
4149         (epg-make-context): Rewrite using it.
4150         (epg-context-protocol, epg-context-program)
4151         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
4152         (epg-context-include-certs, epg-context-cipher-algorithm)
4153         (epg-context-digest-algorithm, epg-context-compress-algorithm)
4154         (epg-context-passphrase-callback, epg-context-progress-callback)
4155         (epg-context-signers, epg-context-sig-notations, epg-context-process)
4156         (epg-context-output-file, epg-context-result, epg-context-operation)
4157         (epg-context-pinentry-mode): Define using cl-defstruct.
4158         (epg-context-set-protocol, epg-context-set-program)
4159         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
4160         (epg-context-set-digest-algorithm)
4161         (epg-context-set-sig-notations, epg-context-set-process)
4162         (epg-context-set-output-file, epg-context-set-result)
4163         (epg-context-set-operation, epg-context-set-pinentry-mode)
4164         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
4165         (epg-context-set-armor, epg-context-set-textmode)
4166         (epg-context-set-signers): Redefine using setf
4167         and declare as obsolete.
4168         (epg-context-set-passphrase-callback)
4169         (epg-context-set-progress-callback): Use setf.
4170         (epg-signature-notations): Rename from epg-sig-notations.
4171         (epg-make-signature, epg-signature-status, epg-signature-key-id)
4172         (epg-signature-validity, epg-signature-fingerprint)
4173         (epg-signature-creation-time, epg-signature-expiration-time)
4174         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
4175         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
4176         (epg-signature-set-status, epg-signature-set-key-id)
4177         (epg-signature-set-validity, epg-signature-set-fingerprint)
4178         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
4179         (epg-signature-set-pubkey-algorithm)
4180         (epg-signature-set-digest-algorithm, epg-signature-set-class)
4181         (epg-signature-set-version, epg-signature-set-notations): Remove.
4182         Use setf instead.
4183         (epg-make-new-signature, epg-new-signature-type)
4184         (epg-new-signature-pubkey-algorithm)
4185         (epg-new-signature-digest-algorithm, epg-new-signature-class)
4186         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
4187         Define using cl-defstruct.
4188         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
4189         (epg-key-user-id-list): Define using cl-defstruct.
4190         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
4191         Use setf instead.
4192         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
4193         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
4194         (epg-sub-key-id, epg-sub-key-creation-time)
4195         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
4196         cl-defstruct.
4197         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
4198         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
4199         (epg-user-id-signature-list): Define using cl-defstruct.
4200         (epg-user-id-set-signature-list): Remove.  Use setf instead.
4201         (epg-make-key-signature, epg-key-signature-validity)
4202         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
4203         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
4204         (epg-key-signature-user-id, epg-key-signature-class)
4205         (epg-key-signature-exportable-p): Define using cl-defstruct.
4206         (epg-make-sig-notation, epg-sig-notation-name)
4207         (epg-sig-notation-value, epg-sig-notation-human-readable)
4208         (epg-sig-notation-critical): Define using cl-defstruct.
4209         (epg-sig-notation-set-value): Remove.  Use setf instead.
4210         (epg-make-import-status, epg-import-status-fingerprint)
4211         (epg-import-status-reason, epg-import-status-new)
4212         (epg-import-status-user-id, epg-import-status-signature)
4213         (epg-import-status-sub-key, epg-import-status-secret): Define using
4214         cl-defstruct.
4215         (epg-make-import-result, epg-import-result-considered)
4216         (epg-import-result-no-user-id, epg-import-result-imported)
4217         (epg-import-result-imported-rsa, epg-import-result-unchanged)
4218         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
4219         (epg-import-result-new-signatures, epg-import-result-new-revocations)
4220         (epg-import-result-secret-read, epg-import-result-secret-imported)
4221         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
4222         (epg-import-result-imports): Define using cl-defstruct.
4224         * emacs-lisp/package.el: Require EPG during macroexpansion.
4225         (package--check-signature, package-import-keyring): Use setf instead of
4226         epg-context-set-home-directory.
4228 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4230         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
4232 2014-10-23  Leo Liu  <sdl.web@gmail.com>
4234         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
4235         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
4236         (cfengine3-current-defun): New function.
4237         (cfengine3-mode): Set add-log-current-defun-function.
4239 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4241         * select.el: Use lexical-binding.
4242         (gui-set-selection): Provide an implementation for non-GUI frames
4243         (bug#18791).
4244         * term/x-win.el: Use lexical-binding.
4245         (x-clipboard-yank): Fix up missed renamings.
4246         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
4247         (w32--set-selection): Fix up var names.
4248         * term/pc-win.el: Use lexical-binding.
4249         (w16-selection-exists-p): Silence compiler warning.
4250         (w16-selection-owner-p): Fix up missed renamings.
4252         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
4254         * frame.el (frame-notice-user-settings): Fix excessive quoting.
4256 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
4258         * doc-view.el (doc-view-open-text): View the document's plain text
4259         in the current buffer instead of a new one.
4260         (doc-view-toggle-display): Handle the case where the current
4261         buffer contains the plain text contents of the document.
4262         (doc-view-initiate-display): Don't switch to fallback mode if the
4263         user wants to view the doc's plain text.
4264         (doc-view-set-doc-type): Use assoc-string instead of
4265         assoc-ignore-case.
4267 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4269         * subr.el (read-key): Fix clicks on the mode-line.
4270         (set-transient-map): Return exit function.
4272         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
4273         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
4274         (mouse-yank-secondary): Use gui-get-selection.
4275         (mouse--down-1-maybe-follows-link): Use read-key.
4277         * xt-mouse.el: Add `event-kind' property on the fly from
4278         xterm-mouse-translate-1 rather than statically at the outset.
4280 2014-10-21  Daniel Colascione  <dancol@dancol.org>
4282         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
4283         change window configuration when we turn it off.
4285 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4287         Get rid of backend-dependent selection-handling functions for kill/yank
4288         and make it generic instead by relying on the lower-level selection
4289         management functions.
4291         * select.el (select-enable-clipboard): Rename from
4292         gui-select-enable-clipboard.
4293         (select-enable-primary): Move from x-win.el and rename from
4294         x-select-enable-primary.
4295         (gui-last-selected-text): Remove.
4296         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
4297         New vars.
4298         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
4299         (gui-select-text-alist, gui-selection-value-alist): Remove.
4300         (x-select-request-type): Move from x-win.el.
4301         (gui--selection-value-internal): New function, taken from x-win's
4302         x-selection-value-internal.
4303         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
4304         (gui-set-selection-alist): Rename from gui-own-selection-alist and
4305         extend it to handle a nil value as a "disown" request.
4306         (gui-disown-selection-alist): Remove.
4307         (xselect-convert-to-delete): Adjust accordingly.
4308         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
4310         * term/x-win.el (x-last-selected-text-primary)
4311         (x-select-enable-primary): Remove (moved to select.el).
4312         (x-select-request-type): Move to select.el.
4313         (x-selection-value-internal, x--selection-value): Remove functions.
4314         (gui-selection-value, gui-select-text): Remove moethods.
4315         (gui-set-selection): Merge own and disown methods.
4317         * term/w32-win.el (w32--select-text, w32--get-selection-value):
4318         Delete function (move functionality into w32--set-selection and
4319         w32--get-selection).
4320         (gui-select-text, gui-selection-value): Don't define methods.
4321         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
4322         New functions.
4323         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
4324         Use them.
4325         (gui-selection-exists-p): Adjust to new name of C primitive.
4327         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
4328         test of gui-select-enable-clipboard, to make it usable as
4329         a gui-get-selection method.
4330         (gui-selection-exists-p): Adjust to new name of C primitive.
4331         (gui-set-selection): Merge own and disown methods.
4332         (gui-select-text, gui-selection-value): Delete methods.
4333         (w16--select-text): Delete function.
4335         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
4336         (ns-selection-value): Remove functions.
4337         (gui-select-text, gui-selection-value): Don't define method any more.
4338         (gui-set-selection): Merge the old own and disown methods.
4339         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
4340         underlying C primitive.
4342         * startup.el (command-line): Adjust now that `gui-method' expects nil
4343         for ttys.
4345         * frame.el (gui-method): Use window-system rather than framep.
4346         (gui-method-declare): The tty case is now nil rather than t.
4347         (make-frame): Adjust accordingly.
4349 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4351         * net/newst-reader.el (newsticker--image-read): Simplify.
4352         (newsticker--icon-read): Use dolist and fix free var error.
4354         * imenu.el (imenu--menubar-keymap): New var.
4355         (imenu-add-to-menubar): Set it to remember the keymap we used.
4356         (imenu-update-menubar): Use it instead of asking lookup-key.
4358         * obsolete/cc-compat.el: Make obsolete (bug#18561).
4360         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
4362         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4363         case (bug#18767).
4365 2014-10-21  Glenn Morris  <rgm@gnu.org>
4367         * Merge in all changes up to version 24.4 release.
4369 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4371         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4372         case (bug#18767).
4374 2014-10-20  Glenn Morris  <rgm@gnu.org>
4376         * Merge in all changes up to 24.4 release.
4378 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
4380         * net/newst-backend.el
4381         (newsticker--image-download-by-url-callback): Make this function
4382         actually work: Check status properly, then save image.
4384 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4386         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
4387         `this-event'.
4388         (mouse-drag-line): Unless there's no actual mouse, use the event's
4389         position info.
4391 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4393         * textmodes/css-mode.el (scss-mode): New major-mode.
4394         (css-mode-syntax-table): Use d style comment, to ease the scss case.
4395         (css-ident-re): Allow things like @-moz-keyframes.
4396         (scss--hash-re): New const.
4397         (css--font-lock-keywords): New function, extracted from
4398         css-font-lock-keywords.
4400 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
4402         * net/newst-backend.el: Require url-parse.
4403         (newsticker--get-news-by-wget): Store feed name as process property.
4404         (newsticker--sentinel): Read feed name from process property.
4405         (newsticker--sentinel-work): Rename argument name to feed-name.
4406         Rename variable imageurl to image-url.  Pick icon url from Atom
4407         1.0 data.  Launch download of feed icon.
4408         (newsticker--get-icon-url-atom-1.0): New.
4409         (newsticker--unxml)
4410         (newsticker--unxml-node)
4411         (newsticker--unxml-attribute): Documentation.
4412         (newsticker--icons-dir): New.
4413         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
4414         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
4415         (newsticker--image-download-by-wget): New.  Use process properties
4416         for storing informations.
4417         (newsticker--image-sentinel): Read informations from process properties.
4418         (newsticker--image-save)
4419         (newsticker--image-remove)
4420         (newsticker--image-download-by-url)
4421         (newsticker--image-download-by-url-callback): New.
4422         (newsticker-opml-export): Handle url list entries containing a
4423         function instead of an url string.
4425         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
4426         (newsticker--print-extra-elements)
4427         (newsticker--do-print-extra-element):
4428         Documentation (newsticker--image-read): Optionally limit image height.
4429         Use imagemagick if possible.
4430         (newsticker--icon-read): New.
4432         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
4433         (newsticker--treeview-tree-expand): Use feed icons in treeview.
4434         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
4435         (newsticker--tree-widget-leaf-icon): Use feed icon.
4437 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4439         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
4440         Use help-function-arglist instead.
4442         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
4443         (eieio--with-scoped-class): Use `declare'.
4444         (eieio-defclass): Remove compatibility code.
4445         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
4446         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
4448 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
4450         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
4452         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
4453         replacements to stock names before stock names in a list.
4454         Cdr may be a list, each name is tried in turn until one is found.
4456 2014-10-18  Alan Mackenzie  <acm@muc.de>
4458         Check that a "macro" found near point-min isn't a ## operator.
4459         Fixes bug #18749.
4460         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
4461         (c-beginning-of-macro): Use the above new function.
4463 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
4465         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
4466         correct data to `gnutls-boot' (Bug#18664).
4467         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
4469 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
4471         * whitespace.el (whitespace-style, whitespace-big-indent)
4472         (whitespace-big-indent-regexp, whitespace-style-value-list)
4473         (whitespace-toggle-option-alist, whitespace-interactive-char)
4474         (whitespace-toggle-options)
4475         (global-whitespace-toggle-options, whitespace-help-text)
4476         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
4477         style to `whitespace-mode' to indicate that the line indentation
4478         is too deep.  By default, 32 SPACEs or four TABs are considered
4479         too many but `whitespace-big-indent-regexp' can be configured.
4481 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
4483         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
4484         tildify-mode-alist.
4486 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4488         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
4489         (defclass, defgeneric, defmethod): Add doc-string position.
4490         (with-slots): Require cl-lib.
4492         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
4493         (list-of): New type.
4494         (eieio--typep): Remove.
4495         (eieio-perform-slot-validation): Use cl-typep instead.
4497         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
4499         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
4501 2014-10-16  Alan Mackenzie  <acm@muc.de>
4503         Trigger showing when point is in the "periphery" of a line or just
4504         inside a paren.
4505         * paren.el (show-paren-style, show-paren-delay)
4506         (show-paren-priority, show-paren-ring-bell-on-mismatch):
4507         Remove superfluous :group specifications.
4508         (show-paren-when-point-inside-paren)
4509         (show-paren-when-point-in-periphery): New customizable variables.
4510         (show-paren-highlight-openparen): Make into a defcustom.
4511         (show-paren--unescaped-p, show-paren--categorize-paren)
4512         (show-paren--locate-near-paren): New defuns.
4513         (show-paren--default): Refaactor and trigger on more paren
4514         positions.
4515         (show-paren-function): Small consequential changes.
4517 2014-10-16  Tom Tromey  <tom@tromey.com>
4519         * files.el (auto-mode-alist): Use javascript-mode for .jsm
4520         (bug #18719).
4522 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
4524         * international/characters.el (bracket-type): Force pre-loading of
4525         uni-brackets.el.
4527 2014-10-16  Alan Mackenzie  <acm@muc.de>
4529         * cus-edit.el (custom-command-apply): Specify the return value in
4530         the doc string.
4531         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
4532         custom-command-apply has returned non-nil.
4534 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4536         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
4537         Remove incorrect handling of eldoc-print-after-edit.
4538         (eldoc-message-commands, eldoc-last-data): Use defvar.
4539         * loadup.el (emacs-lisp/eldoc): Load it.
4541         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
4542         (m4-mode): Use it.
4543         (m4--quoted-p): New function.
4544         (m4-font-lock-keywords): Don't handle #..\n comments any more.
4545         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
4546         for most special characters.
4548         * progmodes/compile.el (compilation--previous-directory): Simplify.
4549         (compilation-next-error): Ensure the parse before we look at
4550         compilation-message property.
4552 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
4554         * simple.el (what-cursor-position):
4555         * descr-text.el (describe-char): Update to support the new bidi
4556         characters.
4558         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
4559         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
4560         buffer-menu display when the first buffer happens to start with
4561         R2L letter.
4563 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4565         * progmodes/elisp-mode.el (elisp--local-variables-1):
4566         Handle quoted expressions (bug#18688).
4568 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
4569             Michael Albinus  <michael.albinus@gmx.de>
4571         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4572         Reduce the amount of set environment variable commands.
4574 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4576         Fix import completion.  (Bug#18582)
4577         * progmodes/python.el (python-shell-completion-get-completions):
4578         Fix import case regexp.
4580 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4582         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
4583         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
4584         * progmodes/prolog.el (prolog-electric--underscore): Same.
4586 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
4588         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
4590 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
4592         * cus-start.el (all): Add missing ns and boolean to
4593         ns-use-fullscreen-animation.
4595 2014-10-11  Leo Liu  <sdl.web@gmail.com>
4597         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
4598         Use strings.
4599         (cfengine3-create-imenu-index): New function.
4600         (cfengine3-mode): Use it for `imenu-create-index-function'.
4601         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
4602         buffer is empty.
4604 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
4606         * cus-start.el (all): Add ns-use-fullscreen-animation.
4608 2014-10-11  Glenn Morris  <rgm@gnu.org>
4610         * calendar/diary-lib.el (diary-display-function):
4611         Drop support for deprecated nil and list forms.
4612         (diary-list-entries): Update for the above.
4613         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
4615 2014-10-10  Leo Liu  <sdl.web@gmail.com>
4617         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
4618         (Bug#18656)
4620 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4622         * select.el (gui-selection-exists-p-alist): New method.
4623         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
4624         * simple.el (deactivate-mark): Use it.
4625         * term/x-win.el (gui-selection-exists-p):
4626         * term/w32-win.el (gui-selection-exists-p):
4627         * term/pc-win.el (gui-selection-exists-p):
4628         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
4630 2014-10-10  Glenn Morris  <rgm@gnu.org>
4632         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
4633         Fix :type.  Allow t to mean no limit.
4634         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
4636 2014-10-09  Glenn Morris  <rgm@gnu.org>
4638         * frame.el (display-monitor-attributes-list): Doc tweaks.
4640 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
4642         * faces.el (display-grayscale-p): Mention in the doc string that
4643         the argument can be either a display name or a frame.
4645         * frame.el (display-pixel-height, display-pixel-width)
4646         (display-mm-height, display-mm-width, display-backing-store)
4647         (display-save-under, display-planes, display-color-cells)
4648         (display-visual-class, display-monitor-attributes-list)
4649         (display-screens): Mention in the doc string that the argument can
4650         be either a display name or a frame.  Improve the docs of the
4651         monitor attributes.  (Bug#18636)
4653 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
4655         * term.el (term-window-width): Subtract 1 from the width when
4656         any fringe has zero width, not just the right fringe.  (Bug#18601)
4658 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4660         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
4662 2014-10-08  Leo Liu  <sdl.web@gmail.com>
4664         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
4666 2014-10-08  Glenn Morris  <rgm@gnu.org>
4668         * calendar/cal-x.el (calendar-dedicate-diary):
4669         Drop support for recently deleted aliases.
4671 2014-10-08  Leo Liu  <sdl.web@gmail.com>
4673         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
4674         Always return a syntax.  Replace call-process-shell-command with
4675         process-file.  Ensure cfengine-mode-syntax-functions-regex is
4676         always set.  Ensure cache when cfengine-cf-promises fails.
4677         (Bug#18620)
4679 2014-10-07  Glenn Morris  <rgm@gnu.org>
4681         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
4683 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
4685         Sync with upstream verilog-mode revision c075a492.
4686         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4687         (verilog-menu): Add AUTOINSERTLAST.
4688         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
4689         is nil, fix indenting initial/final to match always statements, bug825.
4690         Reported by Tim Clapp.
4691         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
4692         bug557.  Reported by ZeDong Mao and Jason Forkey.
4693         (verilog-read-decls): Fix parsing typed interfaces.
4694         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
4695         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
4696         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
4697         Reported by Pierre-David Pfister.
4698         (verilog-auto-insert-lisp): Doc fix.
4699         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
4700         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
4701         (verilog-sk-ovm-class, verilog-sk-uvm-object)
4702         (verilog-sk-uvm-component): Fix missing string keyword in class
4703         skeletons, bug824.  Reported by eldad faruhi.
4705 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4707         * term/w32-win.el: Move all code from 32-common-fns.el here.
4708         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
4709         console as well (bug#18629).
4710         * w32-common-fns.el: Remove.
4711         * loadup.el: Don't load w32-common-fns.el.
4712         * w32-fns.elc: Don't require w32-common-fns.
4714         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
4715         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
4716         Remove redundant obsolescence thingy.
4717         * loadup.el: Don't load obsolete/loaddefs.el.
4718         * Makefile.in (obsolete-autoloads): Remove.
4719         (AUTOGENEL): Remove obsolete/loaddefs.el.
4721 2014-10-06  Glenn Morris  <rgm@gnu.org>
4723         * Makefile.in (obsolete-autoloads): Write to a separate file,
4724         to workaround autoloads bug.  (Bug#17407)
4725         (AUTOGENEL): Add obsolete/loaddefs.el.
4726         * loadup.el: Load obsolete/loaddefs.el if present.
4727         * subr.el (do-after-load-evaluation):
4728         Don't warn about obsolete/loaddefs.el.
4730         * menu-bar.el (menu-bar-games-menu): Remove landmark.
4731         It has zero relationship to a game.
4733 2014-10-06  Leo Liu  <sdl.web@gmail.com>
4735         * imenu.el (imenu): Re-write for clarity.
4737 2014-10-06  Glenn Morris  <rgm@gnu.org>
4739         Remove calendar code obsolete since at least version 23.1.
4740         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
4741         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
4742         (calendar-goto-bahai-date, list-bahai-diary-entries)
4743         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
4744         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4745         (insert-yearly-bahai-diary-entry):
4746         * calendar/cal-china.el (chinese-calendar-time-zone)
4747         (chinese-calendar-location-name)
4748         (chinese-calendar-daylight-time-offset)
4749         (chinese-calendar-standard-time-zone-name)
4750         (chinese-calendar-daylight-time-zone-name)
4751         (chinese-calendar-daylight-savings-starts)
4752         (chinese-calendar-daylight-savings-ends)
4753         (chinese-calendar-daylight-savings-starts-time)
4754         (chinese-calendar-daylight-savings-ends-time)
4755         (chinese-calendar-celestial-stem)
4756         (chinese-calendar-terrestrial-branch)
4757         (calendar-absolute-from-chinese, calendar-print-chinese-date)
4758         (calendar-goto-chinese-date):
4759         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
4760         (calendar-print-coptic-date, coptic-prompt-for-date)
4761         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
4762         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
4763         * calendar/cal-french.el (calendar-absolute-from-french)
4764         (calendar-print-french-date, calendar-goto-french-date):
4765         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
4766         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
4767         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
4768         (holiday-rosh-hashanah-etc, holiday-hanukkah)
4769         (holiday-passover-etc, holiday-tisha-b-av-etc)
4770         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
4771         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
4772         (insert-monthly-hebrew-diary-entry)
4773         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
4774         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
4775         (diary-sabbath-candles):
4776         * calendar/cal-islam.el (calendar-absolute-from-islamic)
4777         (calendar-print-islamic-date, calendar-goto-islamic-date)
4778         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
4779         (mark-islamic-diary-entries, insert-islamic-diary-entry)
4780         (insert-monthly-islamic-diary-entry)
4781         (insert-yearly-islamic-diary-entry):
4782         * calendar/cal-iso.el (calendar-absolute-from-iso)
4783         (calendar-print-iso-date, calendar-iso-read-args)
4784         (calendar-goto-iso-date, calendar-goto-iso-week):
4785         * calendar/cal-julian.el (calendar-absolute-from-julian)
4786         (calendar-print-julian-date, calendar-goto-julian-date)
4787         (calendar-absolute-from-astro, calendar-print-astro-day-number)
4788         (calendar-goto-astro-day-number):
4789         * calendar/cal-mayan.el (calendar-print-mayan-date)
4790         (calendar-next-haab-date, calendar-previous-haab-date)
4791         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
4792         (calendar-next-calendar-round-date)
4793         (calendar-previous-calendar-round-date)
4794         (calendar-absolute-from-mayan-long-count)
4795         (calendar-goto-mayan-long-count-date):
4796         * calendar/cal-move.el (scroll-calendar-left)
4797         (scroll-calendar-right, scroll-calendar-left-three-months)
4798         (scroll-calendar-right-three-months):
4799         * calendar/cal-persia.el (calendar-absolute-from-persian)
4800         (calendar-print-persian-date, persian-prompt-for-date)
4801         (calendar-goto-persian-date):
4802         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
4803         * calendar/calendar.el (view-diary-entries-initially)
4804         (mark-diary-entries-in-calendar, calendar-today-face)
4805         (diary-face, holiday-face, view-calendar-holidays-initially)
4806         (mark-holidays-in-calendar, initial-calendar-window-hook)
4807         (today-visible-calendar-hook, today-invisible-calendar-hook)
4808         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
4809         (bahai-diary-entry-symbol, american-date-diary-pattern)
4810         (european-date-diary-pattern, european-calendar-display-form)
4811         (american-calendar-display-form, holidays-in-diary-buffer)
4812         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
4813         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
4814         (fancy-diary-buffer, increment-calendar-month)
4815         (extract-calendar-month, extract-calendar-day)
4816         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
4817         (mark-visible-calendar-date, calendar-version):
4818         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
4819         (diary-display-hook, list-diary-entries-hook)
4820         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
4821         (nongregorian-diary-marking-hook, print-diary-entries-hook)
4822         (abbreviated-calendar-year, number-of-diary-entries)
4823         (view-other-diary-entries, add-to-diary-list)
4824         (include-other-diary-files, simple-diary-display)
4825         (fancy-diary-display, print-diary-entries, mark-diary-entries)
4826         (mark-sexp-diary-entries, mark-included-diary-files)
4827         (mark-calendar-days-named, mark-calendar-month)
4828         (mark-calendar-date-pattern, sort-diary-entries)
4829         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
4830         (insert-weekly-diary-entry, insert-monthly-diary-entry)
4831         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
4832         (insert-block-diary-entry, insert-cyclic-diary-entry)
4833         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
4834         * calendar/holidays.el (general-holidays, oriental-holidays)
4835         (local-holidays, other-holidays, hebrew-holidays)
4836         (christian-holidays, islamic-holidays, bahai-holidays)
4837         (solar-holidays, list-calendar-holidays)
4838         (check-calendar-holidays, mark-calendar-holidays)
4839         (filter-visible-calendar-holidays):
4840         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
4841         (diary-phases-of-moon): Remove obsolete aliases.
4842         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
4843         * calendar/cal-x.el (calendar-one-frame-setup)
4844         (calendar-only-one-frame-setup, calendar-two-frame-setup):
4845         Remove obsolete functions.
4846         (cal-x-load-hook): Remove obsolete hook.
4847         * calendar/calendar.el (european-calendar-style):
4848         Remove obsolete variable.
4849         (calendar-date-style): No longer consult european-calendar-style.
4850         * calendar/calendar.el (european-calendar, american-calendar):
4851         Remove obsolete commands.
4852         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
4853         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
4854         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
4855         Use the face `diary' instead of the variable `diary-face'.
4856         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
4857         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
4858         * calendar/icalendar.el (icalendar--date-style): Remove function.
4859         Replace all uses with calendar-date-style.
4860         * textmodes/remember.el (calendar-date-style): Declare.
4861         (remember-diary-convert-entry):
4862         No longer consult european-calendar-style.
4864 2014-10-05  Leo Liu  <sdl.web@gmail.com>
4866         * imenu.el (imenu-default-goto-function): Fix typo.
4868 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
4870         * net/ntlm.el (ntlm-build-auth-request):
4871         Add NTLM2 Session support.  (Bug#15603)
4873 2014-10-04  Glenn Morris  <rgm@gnu.org>
4875         * apropos.el (apropos-symbols-internal):
4876         Avoid error with non-symbol properties.  (Bug#18337#16)
4878         * startup.el (command-line):
4879         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
4881 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
4883         * window.el (window-full-height-p): Make it behave correctly for
4884         minibuffer window.
4885         (window-current-scroll-bars): Fix code.
4886         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
4887         window-scroll-bars.
4888         * frame.el (frame-current-scroll-bars): Fix doc-string.
4889         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
4891 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
4893         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
4895 2014-10-04  Glenn Morris  <rgm@gnu.org>
4897         * frame.el (frame-monitor-attributes)
4898         (display-monitor-attributes-list): Doc fixes.
4900 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4902         Merge trivially safe differences from standalone CC-mode.
4903         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
4904         just to then pass it to `symbol-value'.
4905         (prog-mode): Provide fallback definition, if needed.
4906         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
4907         Remove "cl-" prefix accordingly.
4908         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
4909         characterp depending on the type of characters.
4910         (c-font-lock-enum-tail): Remove unused var `start'.
4911         * progmodes/cc-engine.el: Load CL at compile-time.
4912         (c-declare-lang-variables): Use mapcan.
4913         (c-append-to-state-cache): Remove unused var `ce+1'.
4914         (c-parse-state-state): Make buffer-local.
4915         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
4916         (c-just-after-func-arglist-p): Remove unused var `end'.
4917         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
4918         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
4919         (c-make-keywords-re): Use delete-dups.
4920         (c-get-current-file): Avoid file-name-base.
4921         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
4922         `close-paren-inserted'.
4923         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
4925         * progmodes/python.el: Avoid building unneeded markers.
4926         (python-font-lock-keywords, python-indent-dedent-line)
4927         (python-fill-paren, python-shell-completion-complete-or-indent):
4928         Prefer point over point-marker.
4929         (inferior-python-mode): Remove redundant completion settings.
4931 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
4933         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
4934         (vc-svn-ignore): Use it.  (Bug#18619)
4936 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
4938         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4939         In doc-string mention need to set `frame-resize-pixelwise'.
4941 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4943         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
4944         similarly to Rogers's 2010-06-16 change for the remote case
4945         (bug#18605).
4947 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4949         New gui-selection-value consolidating x-selection-value.
4950         * select.el (gui-selection-value-alist): New method.
4951         (gui-selection-value): New function.
4952         (x-selection-value): Make it an obsolete alias.
4953         * simple.el (interprogram-paste-function): Default to
4954         gui-selection-value.
4955         * w32-common-fns.el (w32-get-selection-value): Simplify.
4956         (x-selection-value): Remove alias.
4957         (interprogram-paste-function): Don't set.
4958         (gui-selection-value): Define for w32.
4959         * term/x-win.el (gui-selection-value): Define for x.
4960         (x--selection-value): Rename from x--selection-value.
4961         (interprogram-paste-function): Don't set.
4962         * term/pc-win.el (w16-get-selection-value): Simplify.
4963         (msdos-initialize-window-system): Don't set
4964         interprogram-paste-function.
4965         (gui-selection-value): Define for pc.
4966         * term/ns-win.el (x-selection-value): Remove.
4967         (gui-selection-value): Define for ns, instead.
4968         * term/common-win.el (x-setup-function-keys): Don't set
4969         interprogram-paste-function.
4970         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
4971         Use gui-selection-value.
4973 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
4975         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
4977 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4979         * obsolete/lucid.el (read-number): Remove, redundant.
4980         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
4981         Remove, broken.
4983 2014-10-02  Glenn Morris  <rgm@gnu.org>
4985         * emacs-lisp/package.el (package-import-keyring):
4986         Create gnupg directory private.  (Bug#17625#155)
4988 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4990         * progmodes/python.el (python-shell-completion-get-completions):
4991         Use python-shell--prompt-calculated-input-regexp from the
4992         process buffer (bug#18582).
4993         Don't assume that `line' comes from the process buffer.
4995 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4997         * frame.el: Use lexical-binding (bug#18598).
4998         (make-frame): Use t rather than nil for tty's window-system.
4999         * startup.el (command-line): Use gui-method.
5001         Consolidate management/ownership of selections.
5002         * select.el (gui-get-selection-alist): New method.
5003         (gui-get-selection): Use it.  Rename from x-get-selection.
5004         (x-get-selection): Define as obsolete alias.
5005         (x-get-clipboard): Mark obsolete.
5006         (gui-get-primary-selection): New function.
5007         (x-get-selection-value): Mark obsolete.
5008         (gui-own-selection-alist, gui-disown-selection-alist)
5009         (gui-selection-owner-p-alist): New methods.
5010         (gui-set-selection): Use them.  Rename from x-set-selection.
5011         (x-set-selection): Define as obsolete alias.
5012         (gui--valid-simple-selection-p): Rename from
5013         x-valid-simple-selection-p.
5014         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
5015         (gui-selection-owner-p, gui-get-selection): Define for w32.
5016         (w32-get-selection-value): Rename from x-get-selection-value.
5017         Use the new gui-last-selected-text.
5018         * term/x-win.el (x-get-selection-value): Remove.
5019         (x-clipboard-yank): Declare obsolete.
5020         (gui-own-selection, gui-disown-selection, gui-get-selection)
5021         (gui-selection-owner-p): Define for x.
5022         * term/w32-win.el (w32-win-suspend-error): Rename from
5023         x-win-suspend-error.
5024         * term/pc-win.el (w16-get-selection-value): Rename from
5025         x-get-selection-value.
5026         (w16-selection-owner-p): Rename from x-selection-owner-p.
5027         (gui-own-selection, gui-disown-selection, gui-get-selection)
5028         (gui-selection-owner-p): Define for pc.
5029         (w16--select-text): New function.
5030         * term/ns-win.el (gui-own-selection, gui-disown-selection)
5031         (gui-get-selection, gui-selection-owner-p): Define for ns.
5032         * term.el (term-mouse-paste):
5033         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
5035 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
5037         * calc/calc-help.el (calc-describe-thing): Quote strings
5038         which could look like regexps.
5040 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5042         Consolidate x-select-text.
5043         * frame.el (gui-method, gui-method-define, gui-method-declare)
5044         (gui-call): New macros.
5045         (gui-method--name): New function.
5046         (frame-creation-function-alist): Use gui-method-declare.
5047         (make-frame): Use gui-method.
5048         * select.el (gui-select-enable-clipboard): Rename from
5049         x-select-enable-clipboard and move here.
5050         (x-select-enable-clipboard): Define as obsolete alias.
5051         (gui-last-selected-text): New var, to replace x-last-selected-text.
5052         (gui-select-text): New GUI method.
5053         (gui-select-text): New function.
5054         (x-select-text): Define as obsolete alias.
5055         * term/common-win.el (x-select-enable-clipboard, x-select-text):
5056         Move to select.el.
5057         * simple.el (interprogram-cut-function): Change default to
5058         x-select-text.
5059         (interprogram-paste-function): Change default to `ignore'.
5060         * w32-common-fns.el (interprogram-cut-function): Don't modify.
5061         * term/x-win.el (interprogram-cut-function): Don't modify.
5062         (gui-select-text): Add method for x.
5063         * term/w32-win.el (gui-select-text): Add method for w32.
5064         * term/pc-win.el (x-last-selected-text): Remove, use
5065         gui-last-selected-text instead.
5066         (msdos-initialize-window-system): Don't set interprogram-cut-function.
5067         (gui-select-text): Add method for pc.
5068         * term/ns-win.el (ns-last-selected-text): Remove, use
5069         gui-last-selected-text instead.
5070         (gui-select-text): Add method for ns.
5071         (x-setup-function-keys): Don't change interprogram-cut-function.
5072         * loadup.el ("startup"): Load after "frame".
5073         * subr.el (package--builtin-versions, package--description-file):
5074         Move from startup.el.
5075         * startup.el (package--builtin-versions, package--description-file):
5076         Move to subr.el.
5077         (handle-args-function-alist, window-system-initialization-alist):
5078         Use gui-method-declare.
5079         (command-line): Use gui-method.
5081 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5083         * subr.el (alist-get): New accessor.
5084         * emacs-lisp/gv.el (alist-get): Provide expander.
5085         * winner.el (winner-remember):
5086         * tempo.el (tempo-use-tag-list):
5087         * progmodes/gud.el (minor-mode-map-alist):
5088         * international/mule-cmds.el (define-char-code-property):
5089         * frameset.el (frameset-filter-params):
5090         * files.el (dir-locals-set-class-variables):
5091         * register.el (get-register, set-register):
5092         * calc/calc-yank.el (calc-set-register): Use it.
5093         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
5094         * tooltip.el (tooltip-set-param): Mark as obsolete.
5095         (tooltip-show): Use alist-get instead.
5096         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
5098 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
5100         * net/newst-backend.el: Remove Time-stamp.  Rename variable
5101         `newsticker--download-logos' to `newsticker-download-logos' and
5102         make it customizable.
5103         (newsticker--sentinel-work): Move xml-workarounds to function
5104         `newsticker--do-xml-workarounds', call unless libxml-parser is
5105         used.  Allow single quote in regexp for encoding.
5106         Use libxml-parser if available, else fall back to `xml-parse-region'.
5107         Take care of possibly missing namespace prefixes (like "RDF"
5108         instead of "rdf:RDF") when checking xml nodes and attributes (as
5109         libxml correctly removes the prefixes).  Always use Atom 1.0 as
5110         fallback feed type.  Rename `newsticker--download-logos' to
5111         `newsticker-download-logos'
5112         (newsticker--unxml, newsticker--unxml-node)
5113         (newsticker--unxml-attribute): New.
5114         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
5115         HTML code has become part of the xml parse tree.
5116         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
5117         of possibly missing namespace prefixes.
5118         (newsticker--parse-generic-items): Code formatting.  Typo.
5119         (newsticker--images-dir): Add trailing slash.
5120         (newsticker--image-get): Fix error message.
5122         * net/newst-plainview.el: Remove Time-stamp.
5124         * net/newst-reader.el: Remove Time-stamp.
5125         (newsticker-download-logos): Rename variable
5126         `newsticker--download-logos' to `newsticker-download-logos' and
5127         make it customizable.
5128         (newsticker--print-extra-elements): Add optional parameter
5129         'htmlish for using html markup.  Amend list of ignored elements.
5130         (newsticker--do-print-extra-element): Add parameter 'htmlish for
5131         using html markup.
5133         * net/newst-ticker.el: Remove Time-stamp.
5135         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
5136         for formatting extra elements.
5138         * net/newsticker.el:  Remove Time-stamp, Version.
5139         (newsticker-version): Make obsolete.
5141 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
5143         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
5144         (bug#18462).
5146 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5148         * emacs-lisp/package.el (package-check-signature): Default to nil if
5149         GPG is not available.
5150         (package-refresh-contents): Don't mess with the keyring if we won't
5151         check the signatures anyway.
5153 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5155         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
5156         (ses-center, ses-center-span): Use them.
5157         (ses-print-cell): Bind them while calling the printer.
5158         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
5159         (ses-dorange): Revert last change.
5160         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
5161         the formula.
5162         (ses-set-cell): Avoid `eval'.
5163         (ses--time-check): Rename it from ses-time-check and turn it into
5164         a macro.
5166         * ses.el (ses-setup): Don't assume modifying the iteration var of
5167         dotimes affects the iteration (bug#18191).
5169 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5171         * ses.el (ses-calculate-cell): Bind row and col dynamically to
5172         their values with 'cl-progv'.
5173         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
5174         their values with 'cl-progv', also use non-interned symbols for
5175         row, minrow, maxrow, mincol and maxcol.
5176         (maxrow maxcol): New defvar, to make the compiler happy.
5178 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5180         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
5181         completion functions.
5183 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5185         * ses.el (ses--letref): Quote value before it gets re-evaluated.
5187 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
5189         Font-lock `cl-flet*', too.
5190         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
5191         Add "flet*" to intermediate var `cl-lib-kw'.
5193 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5195         * epg-config.el (epg-gpg-program): Use the plain program names rather
5196         than their absolute file name.
5198         * subr.el (track-mouse): New macro.
5199         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5200         Remove track-mouse case.
5201         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
5203 2014-09-27  Leo Liu  <sdl.web@gmail.com>
5205         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
5207         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
5209 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5211         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
5212         Handle the case where `match' is :pcase--succeed or :pcase--fail
5213         (bug#18554).
5215         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
5216         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
5217         (eldoc-schedule-timer): Obey it.
5218         (eldoc-documentation-function): Default to nil.
5219         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
5220         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
5221         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
5222         (eldoc-last-data-store, eldoc-docstring-first-line)
5223         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
5224         (eldoc-beginning-of-sexp, eldoc-current-symbol)
5225         (eldoc-function-argstring): Move to elisp-mode.el.
5226         (eldoc-symbol-function): Remove, unused.
5227         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
5228         (elisp-completion-at-point): Rename from lisp-completion-at-point.
5229         (elisp--preceding-sexp): Rename from preceding-sexp.
5230         * loadup.el: Load new file progmodes/elisp-mode.
5231         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
5232         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
5233         (lisp--local-variables-completion-table, lisp--expect-function-p)
5234         (lisp--form-quoted-p, lisp--company-doc-buffer)
5235         (lisp--company-doc-string, lisp--company-location)
5236         (lisp-completion-at-point): Move to elisp-mode.el.
5237         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
5238         extracted from emacs-lisp-mode-syntax-table.
5239         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
5240         elisp-mode.el.
5241         (lisp-imenu-generic-expression): Add comments to document what comes
5242         from which Lisp dialect.
5243         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
5244         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
5245         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
5246         (emacs-lisp-byte-code-comment)
5247         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
5248         (lisp-interaction-mode-map, lisp-interaction-mode)
5249         (eval-print-last-sexp, last-sexp-setup-props)
5250         (last-sexp-toggle-display, prin1-char, preceding-sexp)
5251         (eval-last-sexp-1, eval-last-sexp-print-value)
5252         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
5253         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
5255 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
5257         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
5258         Do not match file names that end in '/', as they cannot be 'grep'
5259         hits nowadays.  This prevents confusion when 'grep -r' reports a
5260         match in a file whose basename is ':12345:'.  Conversely, do not
5261         require exactly the same sequence of spaces and tabs after both
5262         colons, and allow spaces or tabs before the second colon, as per
5263         the POSIX spec for 'grep' output.
5265 2014-09-26  Leo Liu  <sdl.web@gmail.com>
5267         Add cl-parse-integer based on parse-integer (Bug#18557)
5268         * calendar/parse-time.el (parse-time-digits): Remove.
5269         (digit-char-p, parse-integer) Moved to cl-lib.el.
5270         (parse-time-tokenize, parse-time-rules, parse-time-string):
5271         Use cl-parse-integer.
5273         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
5275         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
5276         (cl-digit-char-p): New function.
5278 2014-09-25  Juri Linkov  <juri@jurta.org>
5280         * vc/add-log.el (change-log-next-buffer): Don't create an empty
5281         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
5282         Return the current buffer if no files match the default pattern
5283         ChangeLog.[0-9].  Signal "end of multi" when file is nil.  (Bug#18547)
5285 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5287         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
5288         the global vc-handled-backends (bug#18535).
5290 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5292         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
5293         Suggested by <lompik@voila.fr>.
5295 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
5297         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
5298         Rename from `newsticker--treeview-do-get-node'.
5299         (newsticker--treeview-get-node-by-id):
5300         Rename from `newsticker--treeview-get-node'.
5301         (newsticker--treeview-buffer-init)
5302         (newsticker--treeview-buffer-init): Disable buffer undo.
5303         (newsticker--treeview-unfold-node): Adapt to modified
5304         `newsticker--group-find-parent-group'.
5305         (newsticker--group-do-find-group):
5306         Rename from `newsticker--group-do-find-group-for-feed'.
5307         Now works for both, groups and feeds.
5308         (newsticker--group-find-parent-group):
5309         Rename from `newsticker--group-find-group-for-feed'.
5310         Now works for both, groups and feeds.
5311         (newsticker--group-do-get-parent-group)
5312         (newsticker--group-get-parent-group): Remove.
5313         (newsticker-group-add-group): Change interactive prompts.
5314         (newsticker-group-add-group): Finally jump to added group.
5315         (newsticker-group-delete-group): Finally jump to current feed.
5316         (newsticker--group-do-rename-group, newsticker-group-rename-group)
5317         (newsticker--get-group-names, newsticker--group-names): New.
5318         (newsticker-group-move-feed): Finally jump to moved feed.
5319         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
5320         (newsticker-group-shift-group-down)
5321         (newsticker-group-shift-group-up, newsticker--group-shift): New.
5322         (newsticker-treeview-mode-map): New keybindings for new shift commands.
5324         * net/newst-backend.el (newsticker--item-list)
5325         (newsticker--item-position, newsticker--prev-message)
5326         (newsticker--scrollable-text): Move to newst-ticker.el.
5328         * net/newst-ticker.el (newsticker--item-list)
5329         (newsticker--item-position, newsticker--prev-message)
5330         (newsticker--scrollable-text): Move from newst-backend.el.
5332 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
5334         * window.el (fit-window-to-buffer): When counting buffer width,
5335         count the whole visible buffer.  Correctly convert the body-height
5336         to pixel size for window-text-pixel-size (Bug#18498).
5338 2014-09-22  Sam Steingold  <sds@gnu.org>
5340         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
5341         (sql-execute): Use `special-mode'.
5343 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5345         Add pcase-defmacro, as well as `quote' and `app' patterns.
5346         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
5347         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
5348         (pcase--funcall, pcase--eval): New functions.
5349         (pcase--u1): Use them for guard, pred, let, and app.
5350         (\`): Use the new feature to generate better code for vector patterns.
5351         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
5352         (pcase--upat): Remove.
5353         (pcase--macroexpand): Don't hardcode handling of `.
5354         (pcase--split-consp, pcase--split-vector): Remove.
5355         (pcase--split-equal): Disregard ` since it's expanded away.
5356         (pcase--split-member): Optimize for quote rather than for `.
5357         (pcase--split-pred): Optimize for quote rather than for `.
5358         (pcase--u1): Remove handling of ` (and of `or' and `and').
5359         Quote non-selfquoting values when passing them to `eq'.
5360         Drop `app's let-binding if the variable is not used.
5361         (pcase--q1): Remove.
5362         (`): Define as a pattern macro.
5363         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
5364         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
5365         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
5366         quote patterns.
5367         (pcase--split-match): Don't hoist or/and here any more.
5368         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
5369         (pcase--flip): New helper macro.
5370         (pcase--u1): Optimize the memq case directly.
5371         Don't handle neither self-quoting nor and/or patterns any more.
5372         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
5373         (pcase--macroexpand): New function.
5374         (pcase--expand): Use it.
5375         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
5376         New optimization functions.
5377         (pcase--u1): Add support for `quote' and `app'.
5378         (pcase): Document them in the docstring.
5380 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5382         Use lexical-bindin in Ibuffer.
5383         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
5384         (ibuffer-compile-format): Simplify.
5385         (ibuffer-clear-summary-columns): Simplify.
5386         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
5387         elem of dotimes when we don't refer to the iteration var from it.
5388         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
5389         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
5390         Silence byte-compiler.
5392 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5394         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
5395         expression for a list.
5397         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
5398         for functions with no arguments.
5400         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
5401         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
5403 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
5405         * simple.el (clone-indirect-buffer): Mention the return value
5406         (bug#18478).
5408         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
5409         Text mode in docstring (bug#18464).
5411 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5413         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5414         Accept underscores in identifiers after "sub" (bug#18502).
5416 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
5418         * textmodes/reftex-sel.el (reftex-select-label-mode)
5419         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
5420         from special-mode (instead of fundamental-mode) and propertize
5421         with font-lock-face instead of just face.  (Bug#18496)
5423         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
5425 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
5427         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
5428         `table-etc' when `end' is non-nil.
5429         (lisp-completion-at-point): Move `end' back if it's after quote.
5430         If in comment or string, only complete when after backquote.
5431         (Bug#18265)
5432         (lisp-completion-at-point): Don't use
5433         `lisp--local-variables-completion-table' in the
5434         `lisp--form-quoted-p' case.
5436 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
5438         * emacs-lisp/lisp.el (lisp--expect-function-p)
5439         (lisp--form-quoted-p): New functions.
5440         (lisp-completion-at-point): Use them to see if we're completing a
5441         variable reference, a function name, or just any symbol.
5442         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
5444 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
5446         * net/shr.el, net/eww.el: Don't override `shr-width', but
5447         introduce a new variable `shr-internal-width'.  This allows users
5448         to specify a width themselves.
5450 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5452         * image-mode.el (image-toggle-display-image): If we have a
5453         `fit-width' or a `fit-height', don't limit the size of the image
5454         to the window size, because that doesn't preserve the aspect ratio.
5455         * image-mode.el: Move defvars earlier to avoid a byte-compilation
5456         warning.
5458 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
5460         * progmodes/js.el: Add interpreter-mode-alist support for various
5461         JavaScript interpreters.
5463 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
5465         Don't assume 'grep' supports GREP_OPTIONS.
5466         The GREP_OPTIONS environment variable is planned to be marked
5467         obsolescent in GNU grep, due to problems in its use, so stop
5468         relying on it.
5469         * progmodes/grep.el (grep-highlight-matches): Document this.
5470         (grep-process-setup): Do not set GREP_OPTIONS.
5471         (grep-compute-defaults): Use an explicit --color option if supported.
5473 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5475         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
5476         Don't add outdated key-shortcut cache (bug#18482).
5478 2014-09-15  Glenn Morris  <rgm@gnu.org>
5480         * image.el (image-multi-frame-p): Fix thinko - do not force
5481         a delay if none was specified.  (Bug#18334)
5483 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
5485         * window.el (fit-window-to-buffer): Doc fix.
5487 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
5489         * desktop.el (desktop-create-buffer): Check that buffers are still live
5490         before burying them (bug#18373).
5492 2014-09-15  Glenn Morris  <rgm@gnu.org>
5494         * calendar/diary-lib.el (diary-list-entries):
5495         Restore 24.3 display behavior.  (Bug#18381)
5497 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
5499         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
5500         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
5501         discrepancy between window-pixel-edges and mouse events, and
5502         avoids moving mode line up when the mouse click is on the modeline
5503         and no drag is attempted.
5505 2014-09-14  Daniel Colascione  <dancol@dancol.org>
5507         * register.el (insert-register): Change default interactive
5508         insertion mode.
5510 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
5512         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
5513         Suppress debug messages.
5515         * net/tramp.el (tramp-file-name-handler):
5516         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
5517         appropriate.
5519 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
5521         * calendar/calendar.el (calendar-update-mode-line):
5522         Do not overwrite mode-line-format if calendar-mode-line-format is
5523         nil.  (Bug#18467)
5525 2014-09-13  Leo Liu  <sdl.web@gmail.com>
5527         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
5528         (pcase--expand): Use it.
5529         (pcase-exhaustive): New macro.  (Bug#16567)
5531         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5532         Add pcase-exhaustive.
5534 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
5536         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
5537         using the specified transfer-encoding, if any, or 'undecided'.
5538         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
5539         broken at the window margin.
5541 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
5543         Support rendering of HTML parts in Rmail (bug#4258).
5544         * mail/rmailmm.el (rmail-mime-process): Handle text/html
5545         separately from other text/ types.  Suppress tagline for
5546         multipart body.
5547         (rmail-mime-parse): Don't change visibility of tagline here.
5548         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
5549         Handle text/html specially.
5550         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
5551         (rmail-mime-insert-html, rmail-mime-render-html-shr)
5552         (rmail-mime-render-html-lynx): New functions.
5553         (rmail-mime-fix-inserted-faces): New function.
5554         (rmail-mime-process-multipart): Find the best part to show
5555         following rmail-mime-prefer-html if set.
5556         (rmail-mime-searching): New variable.
5557         (rmail-search-mime-message): Bind rmail-mime-searching to
5558         suppress rendering while searching.
5560 2014-09-12  Sam Steingold  <sds@gnu.org>
5562         * progmodes/sql.el (sql-product-alist): Add vertica.
5563         (sql-vertica-program, sql-vertica-options)
5564         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
5565         New functions and variables to support Vertica.
5566         Inspired by code by Roman Scherer <roman@burningswell.com>.
5568 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
5570         * ses.el (ses-file-format-extend-parameter-list): Rename from
5571         ses-file-format-extend-paramter-list, to correct a misspelling.
5572         All uses changed.
5574 2014-09-10  Alan Mackenzie  <acm@muc.de>
5576         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
5577         gets loaded at run-time).
5578         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
5579         c-lang-const to c-make-no-parens-syntax-table and correct the
5580         logic.
5581         (c-no-parens-syntax-table): Correct the logic of the
5582         c-lang-defvar.
5584 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5586         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
5587         plus misc cleanup.
5588         * progmodes/cc-mode.el (c-basic-common-init):
5589         Set open-paren-in-column-0-is-defun-start.
5590         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
5591         Remove declarations, unused.
5592         (run-mode-hooks): Remove declaration.
5593         (font-lock-defaults): Use plain `defvar' to declare.
5594         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
5595         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
5596         (c-make-mode-syntax-table): Don't micro-optimize.
5597         (c-keywords, c-keyword-member-alist): Simplify.
5598         (c-kwds-lang-consts): Don't eval at compile-time.
5599         (c-primary-expr-regexp): Comment out unused vars.
5600         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
5601         (c-font-byte-compile): New var.
5602         (c--compile): New function.  Use it instead of `byte-compile'.
5603         (c-cpp-matchers): Quote the value returned by
5604         `c-make-syntactic-matcher' in case it's not self-evaluating.
5605         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
5606         parentheses instead (in case MATCHER happens to be a list).
5607         (c-font-lock-enum-tail): Remove unused var `start'.
5608         (c-font-lock-objc-methods): Silence byte-compiler warnings.
5609         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
5610         test into an argument.
5611         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
5612         (c-get-char-property): Don't use `eval' just to unquote a constant.
5613         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
5614         more efficiently.
5615         (c-put-char-property-fun): Don't call `byte-compile' by hand.
5616         (c-clear-char-property, c-clear-char-properties): Check that `property'
5617         is a quoted constant.
5618         (c-emacs-features): Remove `infodock', `syntax-properties', and
5619         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
5620         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
5621         changing buffer, so we don't have to setq them again afterwards.
5622         (c-lang-const): Remove redundant symbolp assertions.
5623         (c-find-assignment-for-mode): Use `or'.
5624         * Makefile.in (compile-one-process): Remove cc-mode dependency.
5626 2014-09-09  Sam Steingold  <sds@gnu.org>
5628         * progmodes/sql.el (sql-default-directory): Fix type annotation.
5630 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5632         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
5633         Change doc comments into docstrings.
5634         * Makefile.in: Remove cc-awk dependency.
5636 2014-09-08  Sam Steingold  <sds@gnu.org>
5638         * progmodes/sql.el (sql-send-line-and-next): New command,
5639         bound to C-c C-n.
5640         (sql-show-sqli-buffer): Display the buffer instead of its name and
5641         bind the command to C-c C-z.
5642         (sql-default-directory): New user option.
5643         (sql-product-interactive): Bind `default-directory' to it to
5644         enable remote connections using Tramp.
5645         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
5646         suitable buffer is available.
5648 2014-09-08  Glenn Morris  <rgm@gnu.org>
5650         * calendar/calendar.el (calendar-basic-setup):
5651         Fix calendar-view-holidays-initially-flag and fancy display.
5652         * calendar/diary-lib.el (diary-live-p): Doc fix.
5654         * calendar/calendar.el (calendar-basic-setup):
5655         Avoid clobbering calendar with diary.  (Bug#18381)
5657 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5659         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
5661 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
5663         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
5664         as well (bug#18400).
5666 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
5668         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
5670 2014-09-06  Leo Liu  <sdl.web@gmail.com>
5672         * emacs-lisp/pcase.el (pcase): Doc fix.
5673         (pcase--split-vector): New function.
5674         (pcase--q1): Support vector qpattern.  (Bug#18327)
5676 2014-09-05  Sam Steingold  <sds@gnu.org>
5678         * textmodes/tex-mode.el (tex-print-file-extension): New user
5679         option.
5680         (tex-print): Use it instead of the hard-coded string.
5682 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
5684         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5685         Expand `default-directory'.
5687 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
5689         * scroll-bar.el (horizontal-scroll-bars-available-p):
5690         New function.
5691         (horizontal-scroll-bar-mode): Rewrite using
5692         horizontal-scroll-bars-available-p.
5693         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
5694         horizontal-scroll-bars-available-p.
5696 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5698         * subr.el (call-process-shell-command, process-file-shell-command):
5699         Make the `args' obsolete (bug#18409).
5700         (start-process-shell-command, start-file-process-shell-command):
5701         Use `declare'.
5703 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
5705         * calc/calc-forms.el (math-normalize-hms): Do a better check for
5706         "negative" hms forms.
5708 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
5710         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
5711         returns nil (bug#18391).
5713 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5715         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
5716         terminating paren (bug#18352).
5717         (eldoc-last-data-store): Return cached data.
5718         (eldoc-get-var-docstring): Avoid setq.
5719         (eldoc-get-fnsym-args-string): Clarify data flow.
5721 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5723         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
5724         case where we're currently providing part of the &rest arg after some
5725         &key args, as in define-ibuffer-op (bug#18048).
5727 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5729         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
5730         buffer-local setting of which-func-mode.
5731         (which-func-mode): Use defvar-local.
5732         (which-function-mode): Don't reset which-func-mode in each buffer since
5733         it might have been set by someone else.
5734         (which-func-update-ediff-windows): Check which-function-mode.
5736 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
5738         * frame.el (frame-initialize): Remove horizontal-scroll-bars
5739         from frame-initial-frame-alist.
5740         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
5741         (horizontal-scroll-bar-mode-explicit)
5742         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
5743         (toggle-horizontal-scroll-bar): Remove.
5744         (horizontal-scroll-bar-mode): Remove defcustom.
5745         (horizontal-scroll-bar-mode): Fix doc-string.
5746         (scroll-bar-toolkit-scroll)
5747         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
5749 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5751         * emacs-lisp/package.el (package-generate-description-file):
5752         Properly quote the arguments (bug#18332).  Change second arg.
5753         (package--alist-to-plist-args): Rename from package--alist-to-plist and
5754         quote the elements.
5755         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
5756         the *-pkg.el file.  Adjust to new calling convention of
5757         package-generate-description-file.
5759         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
5760         (gud-gdb-completions): Remove obsolete workaround.
5762 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
5764         * subr.el (posn-col-row): Revert the change from commit
5765         2010-11-13T21:07:58Z!eliz@gnu.org, which
5766         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
5767         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
5768         introduced an off-by-one error in the reported row when there is a
5769         header line.  (Bug#18384)
5771 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5773         * progmodes/python.el (python-indent-post-self-insert-function):
5774         Avoid electric colon at beginning-of-defun.  (Bug#18228)
5776 2014-09-03  Glenn Morris  <rgm@gnu.org>
5778         * tutorial.el (tutorial--display-changes):
5779         Fix 2014-08-01 change.  (Bug#18382)
5781 2014-09-03  Ken Brown  <kbrown@cornell.edu>
5783         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
5784         the Cygwin-w32 build.  (Bug#18347)
5786 2014-09-03  Glenn Morris  <rgm@gnu.org>
5788         * tar-mode.el (tar--extract, tar-extract):
5789         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
5791 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5793         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
5794         handle multiline elements (bug#18380).
5796 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
5798         * ls-lisp.el (ls-lisp-use-string-collate)
5799         (ls-lisp-UCA-like-collation): New defcustoms.
5800         (ls-lisp-string-lessp): Use them to control sorting by file
5801         names.  (Bug#18051)
5802         (ls-lisp-version-lessp): New function.
5803         (ls-lisp-handle-switches): Use it to implement the -v switch of
5804         GNU ls.
5805         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
5807 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
5809         * ibuffer.el: Replace mode-specific quit function with
5810         `quit-window' via `special-mode'.
5811         (ibuffer-mode-map): Use keybindings from special-mode-map instead
5812         of local overrides.
5813         (ibuffer): Don't store previous windows configuration.
5814         Let `quit-window' handle restoring.
5815         (ibuffer-quit): Remove function.  Use `quit-window' instead.
5816         (ibuffer-restore-window-config-on-quit): Remove variable.
5817         (ibuffer-prev-window-config): Remove variable.
5819 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
5821         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
5822         name instead of variable name in hook docstring.  (Bug#18349)
5824 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
5826         * window.el (display-buffer-at-bottom): Prefer bottom-left
5827         window to other bottom windows.  Reuse a bottom window if it
5828         shows the buffer already.  Suggested by Juri Linkov
5829         <juri@jurta.org> in discussion of (Bug#18181).
5831 2014-08-29  Leo Liu  <sdl.web@gmail.com>
5833         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
5834         append to minibuffer-setup-hook.  (Bug#18341)
5836 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5838         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
5839         byte-compiler.
5840         (lookup-syntax-properties): Silence byte-compiler.
5841         (c-lang-defconst): Quote the code with `lambda' rather than with
5842         `quote'.
5843         (c-lang-const): Avoid unneeded setq.
5844         (c-lang-constants-under-evaluation): Add docstring.
5845         (c-lang--novalue): New constant.
5846         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
5847         (c-get-lang-constant): Same here.
5848         Get the mode's value using `funcall' now that the code is quoted
5849         with `lambda'.
5851 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
5853         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
5854         (Bug#18326)
5856 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
5858         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
5859         interpretation of `portion-whole'.
5861 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
5863         * net/tramp-adb.el: Spell author name correctly.
5865 2014-08-28  João Távora  <joaotavora@gmail.com>
5867         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
5868         use url-expand-file-name.  (Bug#18310)
5870 2014-08-28  Glenn Morris  <rgm@gnu.org>
5872         * emulation/cua-rect.el (cua--highlight-rectangle):
5873         Avoid error at point-min.  (Bug#18309)
5875 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5877         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
5878         executable-find (bug#18244).
5880         * simple.el (self-insert-uses-region-functions): Defvar.
5882 2014-08-28  Glenn Morris  <rgm@gnu.org>
5884         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
5886 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
5888         * startup.el (normal-top-level): Now use internal--top-level-message.
5890 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
5892         * startup.el (normal-top-level): Use top-level-message.
5894 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5896         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
5897         URLs containing spaces and the like.
5899 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
5901         * subr.el (remq): Fix docstring (Bug#18253).
5903 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
5905         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
5907 2014-08-24  Alan Mackenzie  <acm@muc.de>
5909         Handle C++11's "auto" and "decltype" constructions.
5910         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
5911         and return 'decltype.
5912         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
5913         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
5914         keyword.
5915         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
5916         "decltype" keyword.
5917         (c-font-lock-c++-new): Handle "decltype" constructions.
5918         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
5919         New c-lang-defconsts/defvars.
5920         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
5921         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
5922         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
5923         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
5925         Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
5926         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
5927         off from c->-op-cont-re.
5928         (c->-op-cont-tokens): Change to use the above.
5929         (c->-op-without->-cont-regexp): New lang-const.
5930         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
5931         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
5934 2014-08-23  Alan Mackenzie  <acm@muc.de>
5936         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
5937         loop, bug #18306.  The bug was introduced on 2014-08-02.
5939 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
5941         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
5942         Don't recognize a Top node if there are other sectioning commands
5943         earlier in the Texinfo file.  This fixes a bug in
5944         texinfo-make-menu and avoids inflooping in
5945         texinfo-all-menus-update when they are invoked on texinfo.texi.
5947 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
5949         * window.el (window--side-window-p): New function.
5950         (split-window, window-splittable-p): Use window--side-window-p to
5951         determine whether WINDOW can be split (Bug#18304).
5952         * calendar/calendar.el (calendar-basic-setup): Fix one call of
5953         `window-splittable-p' and add another (Bug#18304).
5955 2014-08-20  Sam Steingold  <sds@gnu.org>
5957         * progmodes/python.el (python-new-pythonpath): Extract from
5958         `python-shell-calculate-process-environment'.
5960 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5962         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
5963         for &key args (bug#18048).
5965 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5967         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
5968         (eldoc-function-argstring-format): Remove.
5969         (eldoc-function-argstring): Always return upcase args.
5970         Use help-make-usage.  Don't add parens.
5971         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
5972         it's too late to do it right (bug#18048).
5974 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
5976         * scroll-bar.el (scroll-bar-horizontal-drag-1)
5977         (scroll-bar-toolkit-horizontal-scroll): When determining the
5978         paragraph direction, use the buffer of the window designated in
5979         the event.
5981 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
5983         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
5984         context of unified diff.
5986 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
5988         Add dependencies to fix loaddefs race during parallel builds.
5989         Without this, for example, 'make -j bootstrap' can fail and report
5990         "Opening input file: no such file or directory,
5991         .../lisp/calendar/diary-loaddefs.el ... recipe for target
5992         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
5993         got confused because diary-loaddefs.el was being built in parallel.
5994         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
5995         Depend on $(CAL_DIR)/cal-loaddefs.el.
5996         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
5998 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
6000         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
6001         portion-whole for scrolling right-to-left text.
6003 2014-08-15  Leo Liu  <sdl.web@gmail.com>
6005         * speedbar.el (speedbar-generic-list-tag-p): Allow special
6006         elements from imenu.
6008 2014-08-15  Glenn Morris  <rgm@gnu.org>
6010         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
6012 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
6014         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6015         Add Guile regexpses.
6017 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
6019         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
6020         add Guile debugger support for GUD.
6022 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6024         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
6025         (mouse-sel--ignore): New function.
6026         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
6027         (mouse-sel-original-interprogram-cut-function)
6028         (mouse-sel-original-interprogram-paste-function): Remove.
6030 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
6032         * vc/vc-git.el (vc-git-resolve-when-done): New function.
6033         Call "git add" when there are no longer conflict markers.
6035 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6037         * vc/vc-git.el (vc-git-find-file-hook): New function.
6038         Adds support for calling smerge (and resolve) on a conflicted file.
6039         (vc-git-conflicted-files): New function.
6040         Useful in itself and a step towards better smerge support.
6042 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6044         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
6045         to the first part if they're the same as the selection.
6047 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6049         * image-mode.el (image-transform-reset): New command and menu item.
6050         (image-mode-map): Rearrange the menu items to put presumably more
6051         obscure items at the end.
6053 2014-08-12  Juri Linkov  <juri@jurta.org>
6055         * vc/vc-annotate.el (vc-annotate-background-mode):
6056         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
6058 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6060         * files.el (out-of-memory-warning-percentage): Turn it off by default.
6062 2014-08-11  Sam Steingold  <sds@gnu.org>
6064         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
6065         the presence of known validators (tidy, (o)nsgmls).
6067 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
6069         Newsticker: introduce `newsticker-treeview-date-format'.  (Bug#17227)
6070         * net/newst-treeview.el (newsticker-treeview-date-format): New.
6071         (newsticker--treeview-list-add-item):
6072         Use `newsticker-treeview-date-format'.
6074 2014-08-11  Glenn Morris  <rgm@gnu.org>
6076         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
6077         chose coding system for writing before backing up, since it causes
6078         a more serious problem than the one it solves.  (Closes Bug#18141,
6079         reopens Bug#13522.)
6081 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
6083         * window.el (window-total-size): Make doc-string more self-contained.
6085         * window.el (display-buffer-below-selected): Restore original
6086         behavior if buffer is already displayed in the window below the
6087         selected one (Bug#18181).
6089 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6091         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
6092         event (bug#18212).
6094 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
6096         * info.el (info): Doc fix.
6098 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6100         * info.el (Info-mode-map): Override a global down-mouse-2 binding
6101         (bug#18212).
6103 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
6105         * simple.el (default-line-height): A floating-point value of
6106         line-spacing means a fraction of the default frame font's height,
6107         not of the font currently used by the 'default' face.
6108         Truncate the pixel value, like the display engine does.
6109         (window-screen-lines): Use window-inside-pixel-edges for
6110         determining the window height in pixels.  (Bug#18195)
6112 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
6114         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
6116 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
6118         Enumerate evaluated sexp diary entries (Bug#7911).
6119         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
6120         (icalendar-export-sexp-enumeration-days): New.
6121         (icalendar-export-region): Now `icalendar--convert-to-ical'
6122         returns a cons cell or a list of cons cells.
6123         (icalendar--convert-to-ical): Take care of
6124         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
6125         (icalendar--convert-ordinary-to-ical)
6126         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6127         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
6128         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
6129         (icalendar--convert-anniversary-to-ical): Return cons cell.
6130         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
6131         entries.  Return (list of) cons cells.
6133 2014-08-09  Juri Linkov  <juri@jurta.org>
6135         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
6136         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
6138 2014-08-09  Alan Mackenzie  <acm@muc.de>
6140         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
6141         for top-level that can cause unacceptable slow-down in scrolling.
6142         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
6143         Antipov from 2013-10-14 in emacs-devel.
6145 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6147         * ibuffer.el (ibuffer-mode-map): Use toggle button for
6148         `ibuffer-auto-mode' menu entry.
6149         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
6151 2014-08-08  Matthias Meulien  <orontee@gmail.com>
6153         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
6154         (Bug#16394)
6156 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
6158         * window.el (window--min-size-1): Explicitly set WINDOW arg in
6159         calls of window-min-pixel-height and window-min-pixel-width.
6161 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
6163         * progmodes/ada-mode.el:
6164         * net/tramp.el (tramp-handle-file-symlink-p):
6165         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
6166         about VMS, which we no longer support.
6167         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
6168         and fix a FIXME, using convert-standard-filename in place of
6169         removed ada-convert-file-name.
6171 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
6173         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
6175 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
6177         Refer to MS-DOS using the same name everywhere.
6178         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
6179         ``msdog'' become ``MS-DOS''.
6181 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
6183         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6184         Use cached "remote-copy-args" value, if available.  (Bug#18199)
6186 2014-08-07  Leo Liu  <sdl.web@gmail.com>
6188         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
6189         Revert change on 2014-03-22.
6191 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
6193         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
6194         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
6195         (Bug#13750).
6198 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6200         * image-mode.el (image-toggle-display-image): Always rescale images
6201         to not be bigger than the current window.
6203 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
6205         * net/eww.el (eww-bookmarks-directory): New variable.
6206         (eww-write-bookmarks): Use it.
6207         (eww-read-bookmarks): Ditto.
6209 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6211         * net/shr.el (shr-copy-url): Also copy the image URL.
6213 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
6215         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
6216         also for Tramp working buffers.
6218 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6220         * progmodes/python.el: Fix completions inside (i)pdb.
6221         (python-shell-completion-pdb-string-code): Make obsolete.
6222         (python-shell-completion-get-completions):
6223         Use python-shell-completion-string-code resending setup code
6224         continuously for (i)pdb.
6226 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
6228         * rect.el (rectangle--default-line-number-format): Rename
6229         from misspelled rectange--default-line-number-format (Bug#18045).
6230         All uses changed.
6232 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
6234         Don't mishandle year-9999 dates (Bug#18176).
6235         * calendar/parse-time.el (parse-time-rules):
6236         Allow years up to most-positive-fixnum.
6237         * calendar/time-date.el (date-to-time):
6238         Pass "Specified time is not representable" errors through.
6240 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6242         * progmodes/python.el: Completion code cleanups.
6243         (python-shell-completion-get-completions): Detect and send import
6244         statements directly to completion function.
6245         (python-shell-completion-at-point): Simplify prompt calculation
6246         and import vs input completion logic.
6248 2014-08-02  Alan Mackenzie  <acm@muc.de>
6250         Fix confusion in C++ file caused by comma in "= {1,2},".
6251         Bug #17756.
6252         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
6253         for a statement boundary marked by "}", check there's no "="
6254         before the "{".
6255         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
6256         non-nil `comma-delim' argument.
6257         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
6258         initializer expression more accurately.
6260         Correct loop termination condition in c-syntactic-skip-backward.
6261         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
6262         the situation where, after moving back out of a literal,
6263         skip-chars-backward doesn't move further, yet checks have still to
6264         be done.
6266 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
6268         * tutorial.el (tutorial--display-changes): Accept punctuation
6269         characters before the key binding.  (Bug#18146)
6271 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6273         * progmodes/python.el: Shell output capture enhancements.
6274         (python-shell-accept-process-output): New function.
6275         (inferior-python-mode)
6276         (python-shell-send-setup-code): Use it.
6278 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
6280         * calendar/icalendar.el (icalendar--decode-isodatetime):
6281         Use actual current-time-zone when converting to local time.  (Bug#15408)
6283 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
6285         * window.el (window--state-put-2): Handle horizontal scroll
6286         bars, if present.
6288 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6290         * menu-bar.el (menu-bar-update-buffers): Update item list format
6291         in `buffers-menu' to confirm with changes to `get_keyelt'
6292         (r117463).  (Bug#18016)
6294 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6296         * progmodes/python.el (inferior-python-mode): Make input prompts
6297         read-only.
6299 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
6301         * net/tramp-sh.el (tramp-get-remote-python): Also search for
6302         executables named "python2" or "python3".
6303         (tramp-get-remote-uid-with-python): Use parentheses around
6304         arguments to `print' to make it compatible with Python 3.
6305         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
6307 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
6309         * window.el (window--pixel-to-total): Use FRAME's root window, not
6310         that of the selected frame.  (Bug#18112, Bug#16674)
6312 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
6314         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6315         (Bug#18117)
6317 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6319         * progmodes/python.el (inferior-python-mode): Doc fix.
6321 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
6323         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
6324         not a character, ignore it instead of raising an error.
6326         * calendar/todo-mode.el: Fix handling of marked items and make
6327         minor code improvements.
6328         (todo-edit-item): If there are marked items, ensure user can only
6329         invoke editing commands that work with marked items.
6330         (todo-edit-item--text): When there are marked items, make it a
6331         noop if invoked with point not on an item; otherwise, ensure it
6332         applies only to item at point.
6333         (todo-item-undone): If there are marked not-done items, return
6334         point to its original position before signaling user error.
6335         (todo--user-error-if-marked-done-item): New function.
6336         (todo-edit-item--header, todo-edit-item--diary-inclusion)
6337         (todo-item-done): Use it.
6339 2014-07-28  Glenn Morris  <rgm@gnu.org>
6341         * files.el (toggle-read-only): Re-add basic doc-string.
6342         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
6344         * progmodes/prolog.el (prolog-mode-keybindings-edit):
6345         Replace missing `switch-to-prolog' with `run-prolog'.
6346         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
6348 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
6350         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
6351         of file-wide setting when changing category-wide setting.
6353 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
6355         * doc-view.el (doc-view-open-text): Don't require that the
6356         document is saved in a file (e.g., email attachment).
6358 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6360         Parse completion input in a iPython friendly way.  (Bug#18084)
6361         * progmodes/python.el
6362         (python-shell-completion-at-point): Rename from
6363         python-shell-completion-complete-at-point.
6364         (inferior-python-mode): Use it.
6365         (python-completion-at-point): Rename from
6366         python-completion-complete-at-point.  Parse input up to first
6367         backward occurrence of whitespace, open-paren, close-paren or
6368         string delimiter.
6369         (python-mode): Use it.
6371 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6373         * progmodes/python.el
6374         (python-shell-with-shell-buffer): New macro.
6375         (python-shell-font-lock-get-or-create-buffer)
6376         (python-shell-font-lock-kill-buffer)
6377         (python-shell-font-lock-with-font-lock-buffer)
6378         (python-shell-font-lock-cleanup-buffer)
6379         (python-shell-font-lock-toggle): Use it.
6380         (python-shell-font-lock-turn-on)
6381         (python-shell-font-lock-turn-off): Use it.  Make command.
6383 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6385         Grab all Python process output before inferior-python-mode hooks.
6386         * progmodes/python.el (inferior-python-mode):
6387         Call accept-process-output and sit-for to ensure all output for process
6388         has been received before running hooks.
6389         (python-shell-internal-get-or-create-process):
6390         Cleanup accept-process-output and sit-for calls.
6392 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6394         More robust shell startup and code setup.
6395         * progmodes/python.el (python-shell-make-comint):
6396         Remove accept-process-output call.
6397         (python-shell-get-buffer): Return current buffer if major-mode is
6398         inferior-python-mode.
6399         (python-shell-get-or-create-process): Use it.
6400         (python-shell-send-setup-code): Send all setup code in one string,
6401         output success message and accept-process-output.
6403 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
6405         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
6406         Add rudimentary support for bidirectional text.
6408 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
6410         * frame.el (frame-notice-user-settings): Rewrite using
6411         frame-initial-frame-tool-bar-height.
6412         * menu-bar.el (menu-bar-horizontal-scroll-bar)
6413         (menu-bar-no-horizontal-scroll-bar): New functions.
6414         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
6415         scroll bars.
6416         * scroll-bar.el (scroll-bar-lines)
6417         (set-horizontal-scroll-bar-mode)
6418         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
6419         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
6420         (scroll-bar-toolkit-horizontal-scroll): New functions.
6421         (horizontal-scroll-bar-mode)
6422         (previous-horizontal-scroll-bar-mode)
6423         (horizontal-scroll-bar-mode-explicit): New variables.
6424         (horizontal-scroll-bar-mode): New option.
6425         (toggle-horizontal-scroll-bar): Do something.
6426         (top-level): Bind horizontal-scroll-bar mouse-1.
6427         * startup.el (tool-bar-originally-present): Remove variable.
6428         (command-line): Don't set tool-bar-originally-present.
6429         * window.el (window-min-height): Update doc-string.
6430         (window--dump-frame): Dump horizontal scroll bar values.
6431         (window--min-size-1): Handle minibuffer window separately.
6432         Count in margins and horizontal scroll bar.  Return safe value
6433         iff IGNORE equals 'safe.
6434         (frame-windows-min-size): New function (used by frame resizing
6435         routines).
6436         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
6437         scroll bars.
6438         (window--sanitize-window-sizes): New function.
6439         (window-split-min-size): Remove.
6440         (split-window): Count divider-width.  Don't use
6441         `window-split-min-size' any more.  Reword error messages.
6442         Sanitize windows sizes after splitting.
6444 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
6446         Use `defvar-local' more.
6447         * progmodes/hideshow.el
6448         (hs-c-start-regexp, hs-block-start-regexp)
6449         (hs-block-start-mdata-select, hs-block-end-regexp)
6450         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
6451         remove corresponding `make-variable-buffer-local' top-level calls.
6453 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6455         Cleanup error signals.  (Bug#18067)
6456         * progmodes/python.el
6457         (python-indent-shift-left): Use user-error instead.
6458         (python-shell-prompt-detect): Use lwarn with python group.
6459         (python-completion-complete-at-point)
6460         (python-eldoc--get-doc-at-point): Don't signal error.
6462 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6464         Support for packages in Python shell.  (Bug#13570)
6465         * progmodes/python.el (python-shell--package-depth): New var.
6466         (python-shell-package-enable): New command.
6467         (python-util-list-directories, python-util-list-files)
6468         (python-util-list-packages): New functions.
6470 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6472         Faster comint output.  (Bug#16875)
6473         * progmodes/python.el:
6474         (python-comint-output-filter-function): Make obsolete.
6475         (python-comint-postoutput-scroll-to-bottom): New function.
6476         (inferior-python-mode): Set comint-output-filter-functions to a
6477         minimum.
6479 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6481         * progmodes/python.el (python-shell-font-lock-post-command-hook):
6482         Safeguard current point and undo history.
6484 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6486         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
6487         * progmodes/python.el:
6488         (python-shell-prompt-input-regexps): Add iPython block prompt.
6489         (python-shell-output-syntax-table): Delete var.
6490         (python-shell-font-lock-with-font-lock-buffer): New macro.
6491         (python-shell-font-lock-get-or-create-buffer)
6492         (python-shell-font-lock-kill-buffer)
6493         (python-shell-font-lock-cleanup-buffer)
6494         (python-shell-font-lock-post-command-hook)
6495         (python-shell-font-lock-turn-off): New functions.
6496         (python-shell-font-lock-turn-on): New function.
6497         (inferior-python-mode): Use it.
6498         (python-shell-font-lock-toggle): New command.
6499         (python-shell-font-lock-enable): Rename from
6500         python-shell-enable-font-lock.
6501         (run-python-internal): Use it.
6502         (python-shell-font-lock-comint-output-filter-function): New function.
6503         (python-shell-comint-end-of-output-p): New function.
6504         (python-shell-output-filter): Use it.
6505         (python-util-comint-last-prompt): New function.
6506         (python-util-text-properties-replace-name): New function.
6508 2014-07-25  Glenn Morris  <rgm@gnu.org>
6510         * vc/ediff-init.el (ediff-toggle-read-only-function):
6511         * vc/ediff-util.el (ediff-toggle-read-only):
6512         Replace obsolete toggle-read-only with read-only-mode.
6514 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
6516         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
6517         with `save-match-data'.  (Bug#18095)
6519 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6521         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
6522         order to ensure that row and col are lexically bound inside the
6523         evaluated sexp.
6525 2014-07-21  Glenn Morris  <rgm@gnu.org>
6527         * progmodes/hideif.el (hide-ifdef-mode-submap):
6528         Also substitute read-only-mode.
6529         * bindings.el (mode-line-toggle-read-only):
6530         * bs.el (bs-toggle-readonly):
6531         * buff-menu.el (Buffer-menu-toggle-read-only):
6532         * dired.el (dired-toggle-read-only):
6533         * files.el (view-read-only, find-file-read-only)
6534         (find-file-read-only-other-window)
6535         (find-file-read-only-other-frame):
6536         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
6537         Doc fixes re toggle-read-only.
6539 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6541         * progmodes/python.el: Add comment about pipe buffering and
6542         solutions for missing/delayed output in inferior Python shells.
6543         (Bug#17304)
6545         * progmodes/python.el (python-mode): Don't set
6546         mode-require-final-newline.  (Bug#17990)
6548         Make python.el work with IPython automatically.  (Bug#15510)
6549         * progmodes/python.el:
6550         (python-shell-completion-setup-code): New value supporting iPython.
6551         (python-shell-completion-string-code): New value supporting iPython.
6552         (python-shell-completion-get-completions): Use them.
6553         (python-shell-completion-module-string-code): Make obsolete.
6554         (python-shell-prompt-input-regexps)
6555         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
6556         (python-shell-output-filter): Fix comment typo.
6558         Fix Python shell prompts detection for remote hosts.
6559         * progmodes/python.el (python-shell-prompt-detect):
6560         Replace call-process with process-file and make it more robust.
6562         Autodetect Python shell prompts.  (Bug#17370)
6563         * progmodes/python.el:
6564         (python-shell-interpreter-interactive-arg)
6565         (python-shell-prompt-detect-enabled)
6566         (python-shell-prompt-detect-failure-warning)
6567         (python-shell-prompt-input-regexps)
6568         (python-shell-prompt-output-regexps): New vars.
6569         (python-shell-prompt-calculated-input-regexp)
6570         (python-shell-prompt-calculated-output-regexp): New vars.
6571         (python-shell-get-process-name)
6572         (python-shell-internal-get-process-name)
6573         (python-shell-output-filter)
6574         (python-shell-completion-get-completions): Use them.
6575         (python-shell-prompt-detect)
6576         (python-shell-prompt-validate-regexps): New functions.
6577         (python-shell-prompt-set-calculated-regexps): New function.
6578         (inferior-python-mode): Use it.  Also honor overriden
6579         python-shell-interpreter and python-shell-interpreter-args.
6580         (python-shell-make-comint): Honor overriden
6581         python-shell-interpreter and python-shell-interpreter-args.
6582         (python-shell-get-or-create-process): Make it testable by allowing
6583         to call run-python non-interactively.
6584         (python-util-valid-regexp-p): New function.
6585         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
6586         (python-shell-prompt-output-regexp)
6587         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
6589 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6591         * emacs-lisp/smie.el (smie-config--guess-1): Split from
6592         smie-config--guess.
6593         (smie-config--guess): Use it.
6595         * emacs-lisp/edebug.el: Use nadvice.
6596         (edebug-original-read): Remove.
6597         (edebug--read): Rename from edebug-read and add `orig' arg.
6598         (edebug-uninstall-read-eval-functions)
6599         (edebug-install-read-eval-functions): Use nadvice.
6600         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
6601         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
6602         (edebug-read-string, edebug-read-function): Use just `read'.
6603         (edebug-original-debug-on-entry): Remove.
6604         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
6605         `orig' arg.
6606         (debug-on-entry): Override with nadvice.
6608         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
6609         it also makes sense to bind it to a non-mouse event.
6611         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
6613 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6615         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
6616         (bug#18015).
6618         * rect.el (rectangle--string-preview): Don't assume there
6619         a non-nil default (bug#17984).
6621 2014-07-16  Glenn Morris  <rgm@gnu.org>
6623         * desktop.el (after-init-hook): Disable startup frame restoration
6624         in non-graphical situations.  (Bug#17693)
6626         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
6627         if it was "empty", or used for a different set of files.  (Bug#17884)
6629 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
6631         * bindings.el (mode-line-remote): If default-directory is not a
6632         string, don't call file-remote-p on it; instead state in the
6633         help-echo that it is nil.  (Bug#17986)
6635 2014-07-14  Daniel Colascione  <dancol@dancol.org>
6637         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
6638         to `macroexpand-all'
6640         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
6641         Use `macroexpand-all' instead of `cl-macroexpand-all'.
6643 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
6645         Fix bug: C-x v v discarded existing log message (Bug#17884).
6646         * vc/vc-dispatcher.el (vc-log-edit):
6647         Don't clobber an already-existing log message.
6649 2014-07-12  Glenn Morris  <rgm@gnu.org>
6651         * vc/log-edit.el (log-edit-changelog-entries):
6652         Check for a visited-but-never-saved ChangeLog.
6654 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6656         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
6657         a non-existing file (bug#17970).
6659         * faces.el (face-name): Undo last change.
6660         (x-resolve-font-name): Don't call face-name (bug#17956).
6662 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6664         Fix dedenters and electric colon handling.  (Bug#15163)
6665         * progmodes/python.el
6666         (python-rx-constituents): Add dedenter and block-ender.
6667         (python-indent-dedenters, python-indent-block-enders): Delete.
6668         (python-indent-context): Return new case for dedenter-statement.
6669         (python-indent-calculate-indentation): Handle new case.
6670         (python-indent-calculate-levels): Fix levels calculation for
6671         dedenter statements.
6672         (python-indent-post-self-insert-function): Fix colon handling.
6673         (python-info-dedenter-opening-block-message): New function.
6674         (python-indent-line): Use it.
6675         (python-info-closing-block)
6676         (python-info-closing-block-message): Remove.
6677         (python-info-dedenter-opening-block-position)
6678         (python-info-dedenter-opening-block-positions)
6679         (python-info-dedenter-statement-p): New functions.
6681 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
6683         * files.el (out-of-memory-warning-percentage): New defcustom.
6684         (warn-maybe-out-of-memory): Use it.
6686 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
6688         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
6689         when calling `read-string'.  (Bug#17839)
6691 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
6693         * files.el (warn-maybe-out-of-memory): Fix the wording of the
6694         warning.
6696 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
6698         * files.el (warn-maybe-out-of-memory): New function.
6699         (find-file-noselect): Use it.
6701 2014-07-09  Sam Steingold  <sds@gnu.org>
6703         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
6704         `constant' like `bless', `return' &c
6706 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6708         * rect.el (apply-on-rectangle): Check forward-line really moved to the
6709         next line.
6711 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
6714         the middle of a line (bug#17896).
6716 2014-07-09  Juri Linkov  <juri@jurta.org>
6718         * startup.el (command-line): Append displaying the warning about
6719         the errors in the init file to the end of `after-init-hook'.
6720         (Bug#17927)
6722         * faces.el (face-name): Return input arg `face' as-is
6723         when it's not a symbol.
6724         (x-resolve-font-name): Don't check if the face is a symbol.
6725         (Bug#17956)
6727         * facemenu.el (list-colors-print): In help-echo format use %.2f
6728         instead of %d because now HSV values are floating-point components
6729         between 0.0 and 1.0.
6731 2014-07-09  Glenn Morris  <rgm@gnu.org>
6733         * emulation/cua-rect.el (cua--activate-rectangle):
6734         Avoid setting cua--rectangle to nil.  (Bug#17877)
6736 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
6738         * calendar/todo-mode.el: Fix wrong-type-argument error when
6739         marking multiple consecutive items.
6740         (todo-toggle-mark-item): Don't try to mark the empty lines at the
6741         end of the todo and done items sections.  Note in doc string that
6742         items marked by passing a numeric prefix argument can include the
6743         last todo and first done items.
6744         (todo-mark-category): Don't try to mark the empty line between the
6745         todo and done items sections.
6747 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6749         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
6750         proper Lisp quoting (bug#17934).
6752         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
6753         require-final-newline since prog-mode already took care of it (bug#17947).
6755 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
6757         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
6758         refer to the Todo mode Info manual.  Update the comment on
6759         requiring cl-lib.
6760         (todo-find-filtered-items-file): Add todo-prefix overlays.
6761         (todo-filter-items): Reorder a let-bound variable to avoid a
6762         wrong-type-argument error on canceling the file choice dialog.
6764 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6766         * progmodes/octave.el (inferior-octave-mode):
6767         Set comint-input-ring-size to a number (bug#17912).
6769 2014-07-09  Juri Linkov  <juri@jurta.org>
6771         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
6772         and `isearch-mode' associated with nil.  (Bug#17849)
6774 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6776         * linum.el (linum--face-height): New function (bug#17813).
6777         (linum-update-window): Use it to adjust margin to linum's width.
6779         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
6780         * eshell/em-smart.el (eshell-smart-scroll-window):
6781         Use with-selected-window.
6783         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
6784         Remove also pointless window&mark manipulation.
6786         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
6787         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
6788         (perl-continuation-line-p): Don't skip over anything else than labels.
6789         Return the previous char.
6790         (perl-calculate-indent): Use syntax-ppss instead of parse-start
6791         and update callers accordingly.  For continuation lines, check the
6792         the case of array hashes.
6793         (perl-backward-to-noncomment): Make it non-interactive.
6794         (perl-backward-to-start-of-continued-exp): Rewrite.
6796 2014-07-08  Sam Steingold  <sds@gnu.org>
6798         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
6799         New user commands.
6801 2014-07-08  Juri Linkov  <juri@jurta.org>
6803         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
6804         (vc-annotate-color-map): Use less saturated colors (20%) for
6805         background-mode.
6806         (vc-annotate-very-old-color): Add default value for background-mode.
6807         (vc-annotate-background): Set default value to nil since now text on
6808         the default backgrounds should be legible in light and dark modes.
6809         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
6810         (Bug#17808)
6812 2014-07-08  Juri Linkov  <juri@jurta.org>
6814         * simple.el (transpose-chars): Don't move point into read-only area.
6815         (Bug#17829)
6817 2014-07-08  Juri Linkov  <juri@jurta.org>
6819         * window.el (with-displayed-buffer-window): New macro.
6820         (with-temp-buffer-window, with-current-buffer-window):
6821         Use `macroexp-let2' to evaluate and bind variables
6822         in the same order as macro arguments.
6823         (display-buffer--action-function-custom-type):
6824         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
6826         * minibuffer.el (minibuffer-completion-help): Replace
6827         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
6828         with actions that display *Completions* at-bottom when called
6829         from the minibuffer, or below-selected in a normal buffer.
6830         Associate `window-height' with `fit-window-to-buffer'.
6831         Let-bind `pop-up-windows' to nil.
6833         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
6834         instead of `with-current-buffer-window'.  (Bug#17809)
6836 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
6838         * progmodes/hideif.el (hide-ifdef-env): Change to global.
6839         (hide-ifdef-env-backup): New variable.
6840         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
6841         New customizable variables.
6842         (hif-clear-all-ifdef-defined): New defun.
6843         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
6844         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
6845         (hif-tokenize): Fix for MS-DOS/Win EOL style.
6846         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
6847         Fix bug to hide the correct #elif region(s).
6848         (hif-range-elif): New defun.
6849         (hif-recurse-level): New var.
6850         (hif-evaluate-region, hif-evaluate-macro): New defun.
6851         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
6852         fully hidden.
6853         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
6854         Better interaction.
6856 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
6858         * net/dbus.el (dbus-peer-handler): New defun.
6859         (dbus-register-service): Register it.  (Bug#17858)
6860         (dbus-managed-objects-handler): Fix docstring.
6862 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
6864         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
6865         (narrow-to-defun): New arg include-comments, defaulting to it
6866         (bug#16328).
6868 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6870         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
6871         different calling convention to rectangle--unhighlight-for-redisplay.
6873 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
6875         * net/tramp.el (tramp-call-process): Handle error strings.
6877         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
6879         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
6880         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
6882         * net/trampver.el: Update release number.
6884 2014-07-03  Juri Linkov  <juri@jurta.org>
6886         * desktop.el (desktop-save): Rename arg `auto-save' to
6887         `only-if-changed'.  Doc fix.  (Bug#17873)
6889 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6891         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6892         Use insert-for-yank (bug#17271).
6894 2014-07-03  Leo Liu  <sdl.web@gmail.com>
6896         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
6897         Support lexical-binding.
6899 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6901         * vc/log-edit.el (log-edit-goto-eoh): New function.
6902         (log-edit--match-first-line): Use it (bug#17861).
6904 2014-07-03  Glenn Morris  <rgm@gnu.org>
6906         * vc/log-edit.el (log-edit-hook): Add missing :version.
6908 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6910         * progmodes/python.el (python-indent-post-self-insert-function):
6911         Enhancements to electric indentation behavior inside
6912         parens.  (Bug#17658)
6914 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6916         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
6917         buffer-invisibility-spec (bug#17867).
6919 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
6921         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
6922         pass "-a".
6924 2014-07-03  Glenn Morris  <rgm@gnu.org>
6926         * cus-edit.el (help):
6927         * finder.el (finder-known-keywords):
6928         * help.el (help-for-help-internal):
6929         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
6930         (ediff-redraw-registry-buffer):
6931         * vc/ediff-ptch.el (ediff-patch-file-internal):
6932         Doc fixes re "online" help.  (Bug#17803)
6934         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
6935         (idlwave-mode): Doc URL update.
6937 2014-07-01  Juri Linkov  <juri@jurta.org>
6939         * man.el: Display man pages immediately and use process-filter
6940         to format them asynchronously.
6941         (Man-width): Doc fix.
6942         (man): Doc fix.
6943         (Man-start-calling): Use `with-selected-window' to get
6944         `frame-width' and `window-width'.
6945         (Man-getpage-in-background): Call `Man-notify-when-ready'
6946         immediately after creating a new buffer.  Call `Man-mode' and set
6947         `mode-line-process' in the created buffer.  Set process-filter to
6948         `Man-bgproc-filter' in start-process branch.  In call-process branch
6949         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
6950         Use `Man-start-calling' inside `with-current-buffer'.
6951         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
6952         (Man-cleanup-manpage): Don't print messages.
6953         (Man-bgproc-filter): New function.
6954         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
6955         user moved it during asynchronous formatting.  Move calls of
6956         `Man-fontify-manpage' and `Man-cleanup-manpage' to
6957         `Man-bgproc-filter'.  Move the call of `Man-mode' to
6958         `Man-getpage-in-background'.  Use `quit-restore-window'
6959         instead of `kill-buffer'.  Use `message' instead of `error'
6960         because errors are caught by process sentinel.
6961         (Man-mode): Move calls of `Man-build-page-list',
6962         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
6963         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
6965         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
6966         for the message about the man page cleaned up.
6968 2014-07-01  Mario Lang  <mlang@delysid.org>
6970         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
6971         cosutomization option `gnutls-verify-error'.
6973 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6975         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
6976         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
6978         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
6979         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
6980         is suspended (bug#17857).
6982 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
6984         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6985         Prefer utf-8 coding.  (Bug#17859)
6987 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6989         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
6990         for `reverse'.
6992 2014-06-30  Glenn Morris  <rgm@gnu.org>
6994         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
6995         (autoload-ensure-default-file): Maybe make existing output writable.
6996         * Makefile.in (AUTOGEN_VCS): Remove.
6997         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
6999 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7001         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
7003 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7005         New if-let, when-let, thread-first and thread-last macros.
7007         * emacs-lisp/subr-x.el
7008         (internal--listify, internal--check-binding)
7009         (internal--build-binding-value-form, internal--build-binding)
7010         (internal--build-bindings): New functions.
7011         (internal--thread-argument, thread-first, thread-last)
7012         (if-let, when-let): New macros.
7014 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
7016         * net/rcirc.el (rcirc-buffer-process): Restore previous
7017         behaviour.  (Bug#17772)
7019 2014-06-29  Alan Mackenzie  <acm@muc.de>
7021         Don't call c-parse-state when c++-template-syntax-table is active.
7022         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
7023         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
7024         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
7026 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
7028         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
7029         account for file-wide setting of todo-top-priorities-overrides.
7030         Make code a bit cleaner.
7032 2014-06-28  Glenn Morris  <rgm@gnu.org>
7034         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
7036 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
7038         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
7039         category-wide setting of todo-top-priorities-overrides, check for
7040         a file-wide setting and fontify accordingly.
7042 2014-06-28  Glenn Morris  <rgm@gnu.org>
7044         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
7046 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7048         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
7050 2014-06-28  K. Handa  <handa@gnu.org>
7052         Fix Bug#17739.
7054         * composite.el: Setup composition-function-table for dotted circle.
7055         (compose-gstring-for-dotted-circle): New function.
7057         * international/characters.el: Add category "^" to all
7058         non-spacing characters.
7060 2014-06-28  Glenn Morris  <rgm@gnu.org>
7062         * Makefile.in (doit): Remove force rule.
7063         (custom-deps, finder-data, autoloads, update-subdirs)
7064         (compile-one-process): PHONY targets do not need force rules.
7066         * Makefile.in (compile-main, compile, compile-always):
7067         No need to explicitly pass variables to ourself in recursive calls.
7069 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7071         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
7073 2014-06-26  Glenn Morris  <rgm@gnu.org>
7075         * Makefile.in (update-authors): Update for moved authors.el.
7077 2014-06-26  Leo Liu  <sdl.web@gmail.com>
7079         * skeleton.el (skeleton-end-hook): Default to nil and move the
7080         work to skeleton-insert.  (Bug#17850)
7082 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
7084         * calc/calc-alg.el (math-beforep):
7085         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
7086         Simplify because string-lessp can accept symbols as args.
7088 2014-06-26  Daiki Ueno  <ueno@gnu.org>
7090         * emacs-lisp/package.el (package--check-signature):
7091         If package-check-signature is allow-unsigned, don't signal error when
7092         we can't verify signature because of missing public key
7093         (bug#17625).
7095 2014-06-26  Glenn Morris  <rgm@gnu.org>
7097         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
7098         Remove outdated declaration.
7100         * emacs-lisp/authors.el (authors-valid-file-names)
7101         (authors-renamed-files-alist): Additions.
7103 2014-06-26  Leo Liu  <sdl.web@gmail.com>
7105         * textmodes/picture.el (picture-set-tab-stops):
7106         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
7107         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
7109         * progmodes/asm-mode.el (asm-calculate-indentation):
7110         Use indent-next-tab-stop.
7112         * indent.el (indent-accumulate-tab-stops): New function.
7114 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7116         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
7117         (package-desc-status): Obey it.
7119 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
7121         * calendar/todo-mode.el: Fix two bugs.
7122         (todo-insert-item--basic): If user cancels item insertion to
7123         another category before setting priority, show original category
7124         whether it is in the same or a different file.
7125         (todo-set-item-priority): After selecting category, instead of
7126         moving point to top, which extends an active region, restore it.
7128 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7130         * help-fns.el (describe-function-1): Check file-name is a string before
7131         calling help-fns--autoloaded-p (bug#17564).
7133 2014-06-26  Juri Linkov  <juri@jurta.org>
7135         * desktop.el (desktop-auto-save-enable)
7136         (desktop-auto-save-disable): New functions.
7137         (desktop-save-mode, desktop-auto-save-timeout): Use them.
7138         (desktop-read): Disable the autosave before loading the desktop,
7139         and enable afterwards.  (Bug#17351)
7141 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7143         Fix some indentation problem with \; and pipes (bug#17842).
7144         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
7145         (sh-smie--default-forward-token, sh-smie--default-backward-token):
7146         New functions.
7147         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
7148         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
7149         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
7151 2014-06-26  Glenn Morris  <rgm@gnu.org>
7153         * emacs-lisp/find-func.el (find-function-C-source-directory):
7154         Use file-accessible-directory-p.
7156         * ps-samp.el: Make it slightly less awful.
7157         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
7158         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
7159         Only set local values.
7160         (ps-article-subject, ps-article-author): Use standard functions
7161         like mail-fetch-field.
7162         (ps-info-file, ps-info-node): Use match-string.
7163         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
7164         (ps-samp-ps-setup): ... new function.
7166         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
7167         Optimize away code unneeded on any modern Emacs.
7169         * emacs-lisp/authors.el: Move to ../admin.
7171         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
7173 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
7175         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
7176         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
7177         performance enhancements.
7178         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
7179         expansion.
7180         (hif-factor, hif-string-concatenation, intern-safe): Support string
7181         concatenation and argumented macro expansion.
7182         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
7183         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
7184         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
7185         (hif-canonicalize-tokens, hif-place-macro-invocation)
7186         (hif-parse-macro-arglist): Mostly new functions for supporting
7187         argumented macro expansion.
7188         (hif-string-concatenation, hif-stringify, hif-token-concat)
7189         (hif-token-stringification, hif-token-concatenation):
7190         Stringification and concatenation.
7191         (hif-find-next-relevant): Fix comments.
7192         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
7193         some cases involving #elif.
7194         (hif-find-define, hif-add-new-defines): New functions for automatically
7195         scanning of defined symbols.
7196         (hide-ifdef-guts): Fix for defined symbol auto scanning.
7197         (hide-ifdef-undef): Fix behavior to match CPP.
7199 2014-06-25  Glenn Morris  <rgm@gnu.org>
7201         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
7202         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
7203         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
7204         files.  They are not relevant to the original issue (bug#1004),
7205         and cause unnecessary recompilation (bug#2151).
7207 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7209         * play/landmark.el: Use lexical-binding and avoid `intangible'.
7210         (landmark--last-pos): New var.
7211         (landmark--intangible-chars): New const.
7212         (landmark--intangible): New function.
7213         (landmark-mode, landmark-move): Use it.
7214         (landmark-mode): Remove properties.
7215         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
7216         (landmark-cross-qtuple):
7217         Don't worry about `intangible' any more.
7218         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
7219         (landmark-init-display): Don't set `intangible' and `point-entered'.
7220         (square): Remove.  Inline it instead.
7221         (landmark--distance): Rename from `distance'.
7222         (landmark-calc-distance-of-robot-from): Rename from
7223         calc-distance-of-robot-from.
7224         (landmark-calc-smell-internal): Rename from calc-smell-internal.
7226 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
7228         * files.el (dir-locals-find-file, file-relative-name):
7229         * info.el (Info-complete-menu-item):
7230         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
7231         to compare-strings to avoid out-of-range errors.
7232         * subr.el (string-prefix-p): Adjust to match strict range
7233         checking in compare-strings.
7235 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
7237         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
7238         for comment lines non-greedy and stopping at newlines to fix stack
7239         overflows with large files.
7241 2014-06-24  Eli Barzilay  <eli@barzilay.org>
7243         * calculator.el (calculator-last-input): Drop 'ascii-character property
7244         lookup.
7246 2014-06-24  Leo Liu  <sdl.web@gmail.com>
7248         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
7249         tab-stop-list to nil.  (Bug#16381)
7251         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
7252         (indent-rigidly-left-to-tab-stop)
7253         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
7254         (move-to-tab-stop): Change callers.
7256 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
7258         * skeleton.el (skeleton-insert): Yet another fix of the doc string
7259         wrt behavior of \n as the first/last element of a skeleton.
7261 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
7263         * net/tramp-adb.el (tramp-adb-handle-process-file):
7264         * net/tramp-sh.el (tramp-sh-handle-process-file):
7265         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
7266         the output buffer when DISPLAY is non-nil.  (Bug#17815)
7268 2014-06-24  Glenn Morris  <rgm@gnu.org>
7270         * play/landmark.el (landmark-move-down, landmark-move-up):
7271         Fix 2007-10-20 change - preserve horizontal position.
7273 2014-06-23  Sam Steingold  <sds@gnu.org>
7275         * simple.el (kill-append): Remove undo boundary depending on ...
7276         (kill-append-merge-undo): New user option.
7278 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7280         * simple.el (handle-shift-selection, exchange-point-and-mark)
7281         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
7282         (transient-mark-mode): Use&set the global value.
7283         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7284         * emulation/edt.el (edt-emulation-off): Save&restore the global
7285         transient-mark-mode setting.
7286         * obsolete/pc-select.el (pc-selection-mode): Use the
7287         transient-mark-mode function.
7289 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
7291         * international/fontset.el (script-representative-chars):
7292         Add representative characters for scripts added in Unicode 7.0.
7293         (otf-script-alist): Synchronize with the latest registry of OTF
7294         script tags.
7296         * international/characters.el (char-script-table): Update for
7297         scripts added and codepoint ranges changed in Unicode 7.0.
7299 2014-06-23  Eli Barzilay  <eli@barzilay.org>
7301         * calculator.el (calculator-standard-displayer): Fix bug in use of
7302         `calculator-groupize-number'.
7303         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
7304         `eval' code, so it works in v24.3.1 too.
7305         (calculator-last-input): Comment to clarify purpose.
7307 2014-06-22  Mario Lang  <mlang@delysid.org>
7309         * textmodes/rst.el (rst-comment-region): From from -> from.
7311         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
7313 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
7315         * electric.el (electric-layout-post-self-insert-function):
7316         * emacs-lisp/ert.el (ert--insert-infos):
7317         * obsolete/vi.el (vi-set-mark):
7318         * term.el (term-handle-scroll):
7319         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
7320         * wid-edit.el (widget-editable-list-value-create):
7321         Prefer point-marker to copy-marker of point.
7323 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7325         Fix completion retrieval parsing (bug#17209).
7326         * progmodes/python.el (python-mode):
7327         (python-util-strip-string): New function.
7328         (python-shell-completion-get-completions): Use it.
7330 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
7332         * skeleton.el (skeleton-insert): Fix last change.
7334 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7336         Enhancements for outline integration (bug#17796).
7337         * progmodes/python.el (python-mode): Properly set
7338         outline-heading-end-regexp so that comments after colons for
7339         defuns are supported.
7341 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
7343         * skeleton.el (skeleton-insert): Doc fix.
7345 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7347         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
7348         (smie-config-guess): Use smie-config-local so the rules are obeyed
7349         (bug#17818).
7351         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
7352         since it's already done inside the loop (bug#17819).
7354 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
7356         * mouse.el (mouse-drag-line): Re-remove code initially removed
7357         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
7358         (Bug#17819).
7360 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7362         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
7363         align with the surrounding parent (bug#17721).
7365 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
7367         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
7368         locally to nil.
7369         (texinfo-insert-block, texinfo-insert-@end)
7370         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
7371         local setting of skeleton-end-newline by adding an explicit \n to
7372         the skeletons where appropriate.  (Bug#17801)
7374 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7376         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
7377         (smie-indent--hanging-p): Use it.
7378         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
7380 2014-06-21  Leo Liu  <sdl.web@gmail.com>
7382         * simple.el (read-quoted-char): Don't let help chars pop up help
7383         buffer.  (Bug#16617)
7385 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7387         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
7388         for | (bug#17621).
7390         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
7391         Drop unknown events instead of burping.
7393 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
7395         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
7396         and later.  (Bug#17790)
7398 2014-06-21  Juri Linkov  <juri@jurta.org>
7400         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
7401         to `soft'.  (Bug#17554)
7403 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7405         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
7406         (bug#17737).
7408 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
7410         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
7411         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
7413 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
7415         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
7416         `unread-command-events'.
7418 2014-06-19  William Xu  <william.xwl@gmail.com>
7420         * progmodes/hideif.el (hif-string-to-number): Don't return float for
7421         hex integer constants (bug#17807).
7423 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7425         * international/mule-util.el (truncate-string-ellipsis): New var.
7426         (truncate-string-to-width): Use it.
7428 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
7430         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
7431         (lisp-string-in-doc-position-p): New function, extracted from
7432         lisp-font-lock-syntactic-face-function.
7433         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
7435 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
7437         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
7439 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7441         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
7442         (bubbles--game-over): Don't add `intangible' properties since they
7443         didn't work anyway.
7445 2014-06-18  Juri Linkov  <juri@jurta.org>
7447         * vc/ediff-init.el (ediff-current-diff-Ancestor)
7448         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
7449         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
7450         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7451         Add `min-colors 88' version with removed black/white foregrounds.
7452         (Bug#10181)
7454 2014-06-18  Juri Linkov  <juri@jurta.org>
7456         * vc/diff-mode.el (diff-changed): Empty face definition to use
7457         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
7458         (diff-context): Use darker color on light background and
7459         lighter color on dark background.
7461 2014-06-18  Juri Linkov  <juri@jurta.org>
7463         * vc/diff-mode.el (diff-refine-changed): Rename from
7464         `diff-refine-change' for consistency with `diff-changed'.
7465         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
7467         * vc/smerge-mode.el (smerge-refined-changed): Rename from
7468         `smerge-refined-change'.
7469         (smerge-refined-change): Add obsolete face alias.
7471 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7473         * rect.el (rectangle-preview): New custom.
7474         (rectangle): New group.
7475         (rectangle--pos-cols): Add `window' argument.
7476         (rectangle--string-preview-state, rectangle--string-preview-window):
7477         New vars.
7478         (rectangle--string-flush-preview, rectangle--string-erase-preview)
7479         (rectangle--space-to, rectangle--string-preview): New functions.
7480         (string-rectangle): Use them.
7481         (rectangle--inhibit-region-highlight): New var.
7482         (rectangle--highlight-for-redisplay): Obey it.  Make sure
7483         `apply-on-region' uses the point-crutches of the right window.
7484         Use :align-to rather than multiple spaces.
7486 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
7488         * ruler-mode.el (ruler-mode-window-col)
7489         (ruler-mode-mouse-set-left-margin)
7490         (ruler-mode-mouse-set-right-margin): Fix calculation of column
7491         from mouse position (Bug#17768).
7493 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
7495         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
7496         without varname or rhs causes crash.
7497         (dun-ftp): Fix bug where blank ftp password is allowed, making it
7498         impossible to win endgame.
7499         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
7500         rlogin is anymore.
7501         (dun-help): Bump version number; update contact info.
7503 2014-06-15  Eli Barzilay  <eli@barzilay.org>
7505         * calculator.el (calculator-prompt, calculator-remove-zeros)
7506         (calculator-mode-hook, calculator-operators, calculator-stack)
7507         (calculator-mode): Tweak docstring.
7508         (calculator-user-operators): Tweak docstring, fix a bug in the last
7509         example.
7510         (calculator-displayer): `std' case has an optional boolean.
7511         (calculator-displayers): Use the new boolean to group in decimal mode.
7512         (calculator-mode-map, calculator, calculator-message)
7513         (calculator-op-arity, calculator-add-operators)
7514         (calculator-string-to-number, calculator-displayer-prev)
7515         (calculator-displayer-next, calculator-remove-zeros)
7516         (calculator-eng-display, calculator-number-to-string)
7517         (calculator-update-display, calculator-last-input)
7518         (calculator-clear-fragile, calculator-digit, calculator-decimal)
7519         (calculator-exp, calculator-saved-move, calculator-clear)
7520         (calculator-copy, calculator-put-value, calculator-help)
7521         (calculator-expt, calculator-truncate): Minor code improvements.
7522         (calculator-need-3-lines): New function pulling out code from
7523         `calculator'.
7524         (calculator-get-display): Rename from `calculator-get-prompt', and
7525         improved.
7526         (calculator-push-curnum): Rename from `calculator-curnum-value', and
7527         extended for all uses of it.  All callers changed.
7528         (calculator-groupize-number): New utility for splitting a number into
7529         groups.
7530         (calculator-standard-displayer): Improve code, new optional argument to
7531         use comma-split groups, make second argument optional too to use with
7532         'left/'right inputs.  All callers changed.
7533         (calculator-reduce-stack-once): New utility, doing the meat of what
7534         `calculator-reduce-stack' used to do, much improved (mostly using
7535         `pcase' for conciseness and clarity).
7536         (calculator-reduce-stack): Now doing just the reduction loop using
7537         `calculator-reduce-stack-once'.
7538         (calculator-funcall): Improve code, make it work in v24.3.1 too.
7539         (calculator-last-input): Improve code, remove some old cruft.
7540         (calculator-quit): Kill `calculator-buffer' in electric mode too.
7541         (calculator-integer-p): Remove.
7542         (calculator-fact): Improve code, make it work on non-integer values
7543         too (using truncated numbers).
7545 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
7547         Sync with Tramp 2.2.10.
7549         * net/tramp.el (tramp-methods): Tweak docstring.
7550         (tramp-handle-file-accessible-directory-p): Check for
7551         `file-readable-p' instead of `file-executable-p'.
7552         (tramp-check-cached-permissions):
7553         Use `tramp-compat-file-attributes'.
7554         (tramp-call-process): Add new argument VEC.  Adapt callees in all
7555         tramp*.el files.
7557         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
7558         (tramp-adb-maybe-open-connection): Don't set
7559         `tramp-current-*' variables.
7561         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
7562         file properties of temporary buffers.
7564         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
7566         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
7567         (tramp-gvfs-handle-delete-file): Flush file
7568         properties, not directory properties.
7569         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
7570         reading "unix::mode".
7571         (tramp-gvfs-handle-file-name-all-completions):
7572         Use "-h" option for "gvfs-ls".
7573         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
7574         (tramp-gvfs-send-command): Simplify traces.
7576         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
7577         (vc-git-program, vc-hg-program): Declare.
7578         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
7579         (tramp-methods) <nc>: Add new method.
7580         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
7581         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
7582         `tramp-login-args'.
7583         (tramp-default-user-alist): Add "nc".
7584         (top): Remove completion function for "sftp".  Add completion
7585         functions for "nc" and "psftp".
7586         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
7587         Implement support for "nc" method.
7588         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
7589         (tramp-remote-coding-commands, tramp-call-local-coding-command):
7590         Tweak docstring.
7591         (tramp-sh-handle-write-region): Tweak error message.
7592         (tramp-sh-handle-vc-registered): Remove backends when the remote
7593         binary does not exist.
7594         (tramp-find-inline-encoding): Do not raise an error.
7595         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
7596         the "nc" case.  Quote result also locally.
7598         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7599         (tramp-smb-handle-set-file-acl): Use `start-process'.
7600         (tramp-smb-handle-insert-directory): Use progress reporter.
7601         (tramp-smb-handle-rename-file): Flush also file properties of
7602         FILENAME.
7604         * net/trampver.el: Update release number.
7606 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7608         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
7609         add-to-list.
7610         (ses-localvars): Remove ses--local-printer-list, unused.
7611         (ses--metaprogramming): New macro.  Use it to defvar variables.
7612         (ses-set-localvars): Simplify.
7613         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
7614         property-list into an alist.
7615         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7616         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
7617         Remove; use defstruct accessors/setters instead.
7618         (ses-cell-formula-aset, ses-cell-printer-aset)
7619         (ses-cell-references-aset): Remove, use setf instead.
7620         (ses--alist-get): New function.
7621         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
7622         Use an alist instead of a plist and don't do move-to-front since the
7623         list is always short.
7624         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
7625         (ses-cell-property-set-fun, ses-cell-property-set)
7626         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
7627         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
7628         (ses--letref): New macro.
7629         (ses-cell-property-pop): Rewrite.
7630         (ses--cell): Rename from ses-cell and make it into a function.
7631         Make `formula' fallback on `value' if nil.
7632         (ses--local-printer): Rename from ses-local-printer and make it into
7633         a function.
7634         (ses-set-cell): Turn it into a macro so finding the accessor from the
7635         field name is done at compile time.
7636         (ses-repair-cell-reference-all): Test presence of `sym' rather than
7637         `ref' before adding `sym' to :ses-repair-reference.
7638         (ses-calculate-cell): Use ses--letref rather than
7639         ses-cell-property-get-handle.
7640         (ses-write-cells): Use a single prin1-to-string.
7641         (ses-setter-with-undo): New function.
7642         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
7643         (ses-unset-with-undo): Remove.
7644         (ses-load): Prefer apply' over `eval'.
7645         (ses-read-printer, ses-set-column-width): Use standard "(default
7646         foo)" format.
7648 2014-06-15  Glenn Morris  <rgm@gnu.org>
7650         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
7652         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
7653         Replace delete-duplicates and mapcan by cl- versions throughout.
7654         And cl-macroexpand-all by macroexpand-all.
7655         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
7657 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
7659         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
7661 2014-06-15  Juri Linkov  <juri@jurta.org>
7663         * bindings.el: Put `ascii-character' property on keypad keys
7664         mapped to characters.  (Bug#17759)
7666 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7668         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
7669         bumping forward into a closing paren (bug#17761).
7671         * term/xterm.el (xterm--version-handler): Work around for OSX
7672         Terminal.app (bug#17607).
7674 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
7676         * play/dunnet.el (dun-describe-room, dun-mode):
7677         If a lamp is in the room, you won't be eaten by a grue.
7679 2014-06-13  Glenn Morris  <rgm@gnu.org>
7681         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
7682         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
7683         (compile-always): GNU make automatically passes
7684         command-line arguments to sub-makes.
7686         * calendar/calendar.el (calendar-generate-window):
7687         Remove pointless call to font-lock-fontify-buffer.
7689 2014-06-13  Matthias Meulien  <orontee@gmail.com>
7691         * simple.el (completion-list-mode-map): Navigate with tab and backtab
7692         (bug#17767).
7694 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7696         * simple.el (set-mark-command): Simplify a bit.
7698 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
7700         * help.el (help--key-binding-keymap): New function.
7701         (help--binding-locus): New function.
7702         (describe-key): Mention the keymap in which the binding was
7703         found.  (bug#13948)
7705 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7707         * hippie-exp.el (he--all-buffers): New function.
7708         (try-expand-line-all-buffers, try-expand-list-all-buffers)
7709         (try-expand-dabbrev-all-buffers): Use it.
7711 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
7713         * hippie-exp.el (try-expand-line-all-buffers)
7714         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
7715         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
7716         original buffer, in case they're buffer-local.
7718 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7720         * ses.el (ses-initial-global-parameters-re): New defconst, a
7721         specific regexp is needed now that ses.el can handle both
7722         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
7723         local printers.
7724         (ses-localvars): Add local variables needed for local printer handling.
7725         (ses-set-localvars): Handle hashmap initialisation.
7726         (ses-paramlines-plist): Add param-line for number of local printers.
7727         (ses-paramfmt-plist): New defconst, needed for code factorization
7728         between functions `ses-set-parameter' and
7729         `ses-file-format-extend-paramter-list'
7730         (ses-make-local-printer-info): New defsubst.
7731         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
7732         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
7733         (ses-cell-printer-aset): New defmacro.
7734         (ses-local-printer-compile): New defun.
7735         (ses-local-printer): New defmacro.
7736         (ses-printer-validate, ses-call-printer): Add support for local
7737         printer functions.
7738         (ses-file-format-extend-paramter-list): New defun.
7739         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
7740         factorization.
7741         (ses-load): Add support for local printer functions.
7742         (ses-read-printer): Update docstring and add support for local printer
7743         functions.
7744         (ses-refresh-local-printer, ses-define-local-printer): New defun.
7745         (ses-safe-printer): Add support for local printer functions.
7747 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
7749         * ffap.el (ffap-lax-url): New var (bug#17723).
7750         (ffap-url-at-point): Use it.
7751         (ffap-file-at-point): Avoid returning just "/".
7753 2014-06-12  Matthias Meulien  <orontee@gmail.com>
7755         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
7756         (python-mode-map): Bind it.
7758         * progmodes/python.el (class skeleton): Don't erase last char of class
7759         name (bug#17683).
7761 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7763         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
7765 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
7767         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
7768         (bug#17745).
7770 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7772         * international/mule-cmds.el: Use lexical-binding.
7773         (ucs-names): Simplify.
7775 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
7777         * progmodes/python.el (run-python): Use read-shell-command.
7779 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7781         * rect.el: Make it possible to move bounds past EOL or into TABs.
7782         (operate-on-rectangle): Use apply-on-rectangle.
7783         (rectangle--mark-crutches): New var.
7784         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
7785         (rectangle--crutches, rectangle--reset-crutches): New functions.
7786         (apply-on-rectangle): Obey crutches.  Avoid setq.
7787         Fix missing final iteration if end is at EOB&BOL.
7788         (rectangle-mark-mode-map): Add remap bindings for
7789         exchange-point-and-mark and char/line movements.
7790         (rectangle--*-char): New function.
7791         (rectangle-exchange-point-and-mark, rectangle-right-char)
7792         (rectangle-left-char, rectangle-forward-char)
7793         (rectangle-backward-char, rectangle-next-line)
7794         (rectangle-previous-line): New commands.
7795         (rectangle--place-cursor): New function.
7796         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
7798 2014-06-08  Glenn Morris  <rgm@gnu.org>
7800         * startup.el (initial-buffer-choice): Doc fix.
7801         Reset :version (adding an option does not merit a :version bump).
7803         * bookmark.el (bookmark-load):
7804         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
7806 2014-06-08  Juri Linkov  <juri@jurta.org>
7808         * desktop.el: Activate auto-saving on window configuration changes.
7809         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
7810         `desktop-auto-save-set-timer' to/from
7811         `window-configuration-change-hook'.
7812         (desktop-auto-save-set-timer): Change REPEAT arg of
7813         `run-with-idle-timer' from t to nil.
7814         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
7816 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
7818         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
7819         vc-hg-command (bug#17570).
7821 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7823         * international/mule-cmds.el (ucs-names): Add special entry for BEL
7824         (bug#17702).
7826 2014-06-08  Glenn Morris  <rgm@gnu.org>
7828         * startup.el (window-setup-hook): Doc fix.
7830         * emacs-lisp/package.el (package-check-signature)
7831         (package-unsigned-archives): Doc fixes.
7833 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
7835         * window.el (display-buffer-use-some-window): Don't make window
7836         used smaller than it was before (Bug#17671).
7838 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
7840         * menu-bar.el (menu-bar-open): Fix last change: use the PC
7841         'redisplay' instead of '(sit-for 0)'.
7843 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
7845         * net/tramp.el (tramp-ssh-controlmaster-options):
7846         Improve search regexp.  (Bug#17653)
7848 2014-06-08  Glenn Morris  <rgm@gnu.org>
7850         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
7852 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
7854         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
7856 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
7858         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
7859         (bug#17586).
7861         * vc/vc-hg.el (vc-hg-log-graph): New var.
7862         (vc-hg-print-log): Use it.
7863         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
7864         graph output (bug#17515).
7866 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7868         * mouse.el (mouse-posn-property): Ignore buffer position info when the
7869         even happened elsewhere.
7871 2014-06-06  Mario Lang  <mlang@delysid.org>
7873         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
7874         `recenter' if `current-buffer' is equal to `window-buffer'.
7876 2014-06-05  Leo Liu  <sdl.web@gmail.com>
7878         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
7880 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
7882         * textmodes/tildify.el (tildify-foreach-region-outside-env):
7883         New function which calls a callback on portions of the buffer that are
7884         outside of ignored environments.
7885         (tildify-build-regexp): Remove function since it is now
7886         incorporated in `tildify-foreach-region-outside-env' where it is
7887         optimized and simplified by the use of `mapconcat'.
7888         (tildify-tildify): Return number of substitutions made so that…
7889         (tildify-count): …can be removed.
7890         (tildify-find-env): Accept a new PAIRS argument which was
7891         previously looked up in `tildify-ignored-environments-alist' each
7892         time the function was called.  With this change, the lookup is
7893         performed only once in `tildify-foreach-region-outside-env'.
7894         (tildify-region): Greatly simplify the function since now most of
7895         the work is done by `tildify-foreach-region-outside-env'.
7896         (tildify-mode-alist): Simplify slightly by avoiding if and setq
7897         and instead using or.
7899         * textmodes/tildify.el (tildify-ignored-environments-alist):
7900         Optimize environments regexes
7902         Each time beginning of an environment to ignore is found,
7903         `tildify-find-env' needs to identify regexp for the ending
7904         of the environment.  This is done by trying all the opening
7905         regexes on matched text in a loop, so to speed that up, this
7906         loop should have fewer things to match, which can be done by
7907         using alternatives in the opening regexes.
7909         Coincidentally, this should make matching of the opening
7910         regexp faster as well thanks to the use of `regexp-opt' and
7911         having common prefix pulled from many regexes.
7913         * textmodes/tildify.el (tildify-string-alist)
7914         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
7915         of supported modes since `xml-mode' is no longer a thing but just
7916         an alias to the former.  Also include comments and insides of tags
7917         in `tildify-ignored-environments-alist' for XML modes.  Finally,
7918         since XML does not define “&nbsp;”[1], use a numeric reference for
7919         a no-break space (namely “&#160;”)
7921         [1] XML specification defines only a handful of predefined entities.
7922             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
7923             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
7924             >, &, ' and " respectively).  This is in contrast to HTML and even
7925             XHTML which defined a whole bunch of entities including “&nbsp;”.
7927         * textmodes/tildify.el (tildify-pattern-alist)
7928         (tildify-string-alist, tildify-ignored-environments-alist):
7929         Improve defcustom's types by adding more tags explaining what each
7930         value means and replace “sexp” used in
7931         `tildify-ignored-environments-alist' with a full type declaration.
7933         * textmodes/tildify.el (tildify-find-env): Fix matched group
7934         indexes in end-regex building
7936         When looking for a start of an ignore-environment, the regex is built
7937         by concatenating regexes of all the environments configured in
7938         `tildify-ignored-environments-alist'.  So for example, the following
7939         list could be used to match TeX's \verb and \verb* commands:
7941             (("\\\\verb\\(.\\)" . (1))
7942              ("\\\\verb\\*\\(.\\)" . (1)))
7944         This would result in the following regex being used to find the start
7945         of any of the variants of the \verb command:
7947             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
7949         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
7950         won't match anything, and thus (match-string 1) will be nil, which
7951         will cause building of the end-matching regex to fail.
7953         Fix this by using capture groups from the time when the opening
7954         regexes are matched individually.
7956         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
7957         in `tildify-find-env'
7959         The `tildify-ignored-environments-alist' allows the end-regex to
7960         be provided not as a static string but mix of strings and indexes
7961         of groups matched the begin-regex.  For example, the “\verb!…!”
7962         TeX-command (where “!” is an arbitrary character) is handled
7963         using:
7965             ("\\\\verb\\*?\\(.\\)" . (1))
7967         In the same way, the following should be supported as well:
7969             ("open-\\(.\\)" . ("end-" 1))
7971         However the tildify-find-env function fails at
7973             (concat result
7974                     (if (stringp (setq aux (car expression)))
7975                          expression  ; BUG: expression is a list
7976                        (regexp-quote (match-string aux))))
7978         where the string part is handled incorrectly.
7980         The most trivial fix would be to replace `expression' in the
7981         true-part of the if-statement with `aux', but instead, this commit
7982         optimizes `tildify-find-env' by changing it to use `mapconcat'
7983         rather than open-coded while-loop.
7985 2014-06-05  Mario Lang  <mlang@delysid.org>
7987         * woman.el (woman-mapcan): Remove.
7988         (woman-parse-colon-path): Use cl-mapcan instead.
7990 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7992         * register.el: Add link to Emacs manual in Commentary.
7994 2014-06-02  Sam Steingold  <sds@gnu.org>
7996         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
7997         (popup-menu): ...here.
7998         (menu-bar-open): Use it to avoid an error when `lookup-key'
7999         returns a number.
8001 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
8003         * net/tramp.el (tramp-call-process): Add traces.
8004         (tramp-handle-unhandled-file-name-directory): Return "/".
8006 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
8008         Sync with upstream verilog-mode revision 3cd8144.
8009         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
8010         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
8011         (verilog-type-font-keywords): Add nor.
8012         (verilog-batch-execute-func): Force reading of Local Variables.
8013         Fix printing "no changes to be saved" with verilog-batch.
8014         (verilog-auto-arg-ports): Doc fix.
8015         Add verilog-auto-arg-format to support newlines in AUTOARG.
8016         (verilog-auto-arg): Doc fix.
8018 2014-06-02  Glenn Morris  <rgm@gnu.org>
8020         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
8021         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
8022         * emulation/ws-mode.el: Move to obsolete/.
8023         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
8025 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
8027         * simple.el (keyboard-quit): Force update of mode lines, to remove
8028         the "Def" indicator, if we were defining a macro.  (Bug#17615)
8030 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8032         * minibuffer.el (minibuffer-force-complete-and-exit):
8033         Obey minibuffer-default (bug#17545).
8035         * progmodes/js.el (js-indent-line): Don't mix columns and chars
8036         (bug#17619).
8038         * subr.el (set-transient-map): Don't wait for some "nested"
8039         transient-map to finish if we're only supposed to be active for
8040         the next command (bug#17642).
8042 2014-06-02  Leo Liu  <sdl.web@gmail.com>
8044         * emacs-lisp/gv.el (window-buffer, window-display-table)
8045         (window-dedicated-p, window-hscroll, window-point, window-start):
8046         Fix gv-expander.  (Bug#17630)
8048 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8050         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
8051         clicks (bug#17633).
8053         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
8054         for the single comma, since ", " is *very* common in normal French text
8055         (bug#17643).
8057 2014-06-02  Glenn Morris  <rgm@gnu.org>
8059         * emacs-lisp/package.el (package-check-signature)
8060         (package-unsigned-archives): Fix :version.
8062 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8064         * subr.el (sit-for): Don't run input-methods (bug#15614).
8066 2014-06-02  Glenn Morris  <rgm@gnu.org>
8068         * cus-start.el: Fix some :version numbers.
8070 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8072         * simple.el (deactivate-mark): Set mark-active to nil even if
8073         deactivation is done via setting transient-mark-mode to nil,
8074         since one is buffer-local and the other is global.
8076         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
8077         there can't be more than 2 arguments (bug#17584).
8079 2014-06-02  Glenn Morris  <rgm@gnu.org>
8081         * simple.el (filter-buffer-substring-functions)
8082         (filter-buffer-substring-function, buffer-substring-filters)
8083         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
8085         * minibuffer.el (completion-in-region-functions, completion-in-region)
8086         (completion--in-region): Doc fixes.
8088         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
8089         (expand-abbrev, abbrev--default-expand): Doc fixes.
8091 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
8093         Include sources used to create macuvs.h.
8094         * international/README: Refer to the Unicode Terms of Use rather
8095         than copying it bodily here, as that simplifies maintenance.
8097 2014-06-01  Glenn Morris  <rgm@gnu.org>
8099         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
8101 2014-05-31  Glenn Morris  <rgm@gnu.org>
8103         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
8105 2014-05-30  Glenn Morris  <rgm@gnu.org>
8107         * loadup.el: Treat `command-line-args' more flexibly.
8109 2014-05-30  Alan Mackenzie  <acm@muc.de>
8111         Guard (looking-at "\\s!") from XEmacs.
8112         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
8114 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
8116         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
8117         The argument COUNT is now optional, to be more backward-compatible.
8118         Doc fix.  (Bug#17560)
8120 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
8122         * whitespace.el (whitespace-report-region):
8123         Simplify documentation.
8124         (whitespace-report-region): Allow report-if-bogus to take the
8125         value `never', for non-interactive use.
8126         (whitespace-report): Refer to whitespace-report-region's
8127         documentation.
8129 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8131         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
8132         Side benefit: it works without jit-lock.
8133         (whitespace-point--used): New buffer-local var.
8134         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
8135         (whitespace-color-off): Use font-lock-flush.
8136         (whitespace-point--used, whitespace-point--flush-used): New functions.
8137         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
8138         (whitespace-empty-at-eob-regexp): Use them.
8139         (whitespace-post-command-hook): Rewrite.
8141         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
8142         (font-lock-fontify-buffer): Mark interactive-only.
8143         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
8144         Make buffer-local.
8145         (font-lock-specified-p): Remove redundant boundp check.
8146         (font-lock-flush-function, font-lock-ensure-function): New vars.
8147         (font-lock-turn-on-thing-lock): Set them.
8148         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
8149         (font-lock-after-change-function): Make `old-len' optional.
8150         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
8151         Call font-lock-flush, just in case.
8152         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
8153         recent Emacsen.
8154         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
8155         (vera-mode-map, vera-mode-menu): Remove bindings to it.
8156         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
8157         and with-syntax-table.
8158         * textmodes/conf-mode.el (conf-quote-normal):
8159         * progmodes/sh-script.el (sh-set-shell):
8160         * progmodes/prog-mode.el (prettify-symbols-mode):
8161         * progmodes/f90.el (f90-font-lock-n):
8162         * progmodes/cwarn.el (cwarn-mode):
8163         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
8164         * progmodes/compile.el (compilation-setup, compilation--unsetup):
8165         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
8166         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
8167         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
8168         font-lock-fontify-buffer-function and
8169         font-lock-unfontify-buffer-function.
8170         (rmail-unfontify-buffer-function, rmail-fontify-message):
8171         Use with-silent-modifications.
8172         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
8173         and font-lock-ensure.
8174         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
8176 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
8178         * emacs-lisp/package.el (package-generate-autoloads):
8179         Inhibit backup files.
8181 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8183         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
8184         (bug#17608).
8186 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
8188         * textmodes/tildify.el (tildify-buffer, tildify-region):
8189         Add dont-ask option.
8191 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8193         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
8194         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
8196         * subr.el (internal--funcall-interactively): New.
8197         (internal--call-interactively): Remove.
8198         (called-interactively-p): Detect funcall-interactively instead of
8199         call-interactively.
8200         * simple.el (repeat-complex-command): Use funcall-interactively.
8201         (repeat-complex-command--called-interactively-skip): Remove.
8203 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8205         * register.el (register-read-with-preview): Don't burp on
8206         frame switches (e.g. due to the frame we just popped).
8208         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
8209         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
8211 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
8213         * cus-face.el (custom-face-attributes): Add :distant-foreground.
8215 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
8217         * window.el (window--dump-frame): Remove interactive specification.
8219 2014-05-26  Glenn Morris  <rgm@gnu.org>
8221         * hippie-exp.el (he-line-search-regexp):
8222         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
8224 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
8226         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
8227         to avoid errors when trying to create or visit a file foo.todo
8228         located outside to todo-directory, and to allow having such files
8229         without them being tied to Todo mode (bug#17482).
8230         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
8231         (todo-archive-done-item, todo-find-filtered-items-file)
8232         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
8233         (todo-category-completions, todo-read-category): When visiting a
8234         Todo file, make sure we're in the right mode and the buffer local
8235         variables are set.
8236         (todo-make-categories-list, todo-reset-nondiary-marker)
8237         (todo-reset-done-string, todo-reset-comment-string):
8238         After processing all Todo files, kill the buffers of those files that
8239         weren't being visited before the processing.
8240         (todo-display-as-todo-file, todo-add-to-buffer-list)
8241         (todo-visit-files-commands): Comment out.
8242         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
8243         (auto-mode-alist): Remove add-to-list calls making Todo file
8244         extensions unrestrictedly tied to Todo modes.
8246 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8248         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
8249         (advice-function-member-p): Tell it to check both names and functions
8250         (bug#17531).
8251         (advice--add-function): Adjust call accordingly.
8253 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
8255         * calendar/todo-mode.el: Miscellaneous bug fixes.
8256         (todo-delete-file): When deleting an archive but not its todo
8257         file, make sure to update the todo file's category sexp.
8258         (todo-move-category): Keep the moved category's name unless the
8259         file moved to already has a category with that name.  If the
8260         numerically last category of the source file was moved, make the
8261         first category current to avoid selecting a nonexisting category.
8262         (todo-merge-category): Fix implementation to make merging to a
8263         category in another file work as documented.  Eliminate now
8264         insufficient and unnecessary renaming of archive category, correct
8265         document string accordingly, and clarify it.  If the numerically
8266         last category of the source file was merged, make the first
8267         category current to avoid selecting a nonexisting category.
8268         (todo-archive-done-item): When there are marked items and point
8269         happens to be on an unmarked item, ignore the latter.  Don't leave
8270         point below last item after archiving marked items.
8271         (todo-unarchive-items): Fix logic to ensure unarchiving an item
8272         from an archive with only one category deletes the archive only
8273         when the category is empty after unarchiving.  Make sure the todo
8274         file's category sexp is updated.
8275         (todo-read-file-name): Allow an existing file name even when it is
8276         not required (todo-move-category needs this to work as documented).
8277         (todo-add-file): Call todo-validate-name to reject the name of an
8278         existing todo file (needed due to fix in todo-read-file-name).
8279         (todo-reset-nondiary-marker): Also reset in filtered items files.
8280         (todo-reset-done-string, todo-reset-comment-string): Also reset in
8281         regexp filtered items files.
8282         (todo-reset-highlight-item): Also reset in filtered items files.
8283         Fix incorrect variable reference in document string.
8285 2014-05-26  Glenn Morris  <rgm@gnu.org>
8287         * window.el (window--dump-frame): Avoid error in --without-x builds.
8289 2014-05-26  Glenn Morris  <rgm@gnu.org>
8291         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
8293 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
8295         * frame.el (set-frame-font): Doc fix.
8297         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
8299 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
8301         * emacs-lisp/package.el (package--download-one-archive):
8302         Use `write-region' instead of `save-buffer' to avoid running various
8303         hooks.  (Bug#17155)
8304         (describe-package-1): Same.  Insert newline at the end of the
8305         buffer if appropriate.
8307 2014-05-26  Juri Linkov  <juri@jurta.org>
8309         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
8310         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
8311         Add more modifiers: meta, control, shift, hyper, super, alt.
8312         (Bug#17439)
8314         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
8315         to allow changing its value with `set-variable'.
8317 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8319         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
8320         #; comments.
8321         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
8322         New functions.
8323         (scheme-mode-variables): Set syntax-propertize-function instead of
8324         font-lock-syntactic-face-function.
8325         (scheme-font-lock-syntactic-face-function): Delete.
8327         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
8329         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
8330         (bug#17392).
8332 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
8334         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
8335         for a temporary file name.
8337 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
8339         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
8341 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
8343         * net/dbus.el (dbus-init-bus, dbus-call-method)
8344         (dbus-call-method-asynchronously, dbus-send-signal)
8345         (dbus-method-return-internal, dbus-method-error-internal):
8346         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
8348 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8350         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
8351         methods which do not have a doc string.  (Bug#17490)
8353 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
8355         * textmodes/reftex-ref.el (reftex-format-special): Make it work
8356         also for AMS Math's \eqref macro.
8358 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
8360         Arrange to never byte-compile the generated -pkg.el file.
8362         * emacs-lisp/package.el (package-generate-description-file):
8363         Output first-line comment to set buffer-local var `no-byte-compile'.
8364         Suggested by Dmitry Gutov:
8365         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
8367 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
8369         Fix bug: Properly quote args to generated -pkg.el `define-package'.
8371         * emacs-lisp/package.el (package-generate-description-file):
8372         Inline `package--alist-to-plist'; rewrite to selectively
8373         quote alist values that are not self-quoting.
8374         (package--alist-to-plist): Delete func.
8376 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
8378         * term/xterm.el (xterm-function-map): Add mapping for shifted
8379         keypad keys.
8381 2014-05-24  Daniel Colascione  <dancol@dancol.org>
8383         * progmodes/subword.el (subword-find-word-boundary): Move point to
8384         correct spot before search.  (Bug#17580)
8386         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
8387         breaking the build.
8389 2014-05-24  Leo Liu  <sdl.web@gmail.com>
8391         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
8393 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8395         * minibuffer.el (completion--sreverse): Remove.
8396         (completion--common-suffix): Use `reverse' instead.
8397         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
8399 2014-05-22  Glenn Morris  <rgm@gnu.org>
8401         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
8403 2014-05-21  Daniel Colascione  <dancol@dancol.org>
8405         * files.el (interpreter-mode-alist): Add mksh.
8407         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
8408         derivative.
8409         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
8410         mksh. Improve custom spec; allow regular expressions.
8411         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
8412         (sh-after-hack-local-variables): New function.
8413         (sh-mode): Use it; respect file-local `sh-shell' variable.  (Bug#17333)
8414         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
8415         the normalization.
8416         (sh-canonicalize-shell): Rewrite to support regexes.
8418 2014-05-21  Leo Liu  <sdl.web@gmail.com>
8420         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
8422 2014-05-19  Leo Liu  <sdl.web@gmail.com>
8424         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
8426 2014-05-18  Glenn Morris  <rgm@gnu.org>
8428         * loadup.el:
8429         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
8431 2014-05-14  Sam Steingold  <sds@gnu.org>
8433         * progmodes/python.el (python-shell-get-or-create-process):
8434         Do not bind `current-prefix-arg' so that C-c C-z does not talk
8435         back unless requested.
8437 2014-05-14  Glenn Morris  <rgm@gnu.org>
8439         * subr.el (with-file-modes): New macro.
8440         * printing.el (pr-save-file-modes): Make obsolete.
8441         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
8442         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
8443         Add with-file-modes.
8444         * doc-view.el (doc-view-make-safe-dir):
8445         * epg.el (epg--start):
8446         * files.el (locate-user-emacs-file, make-temp-file)
8447         (backup-buffer-copy, move-file-to-trash):
8448         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
8449         * eshell/esh-util.el (eshell-with-private-file-modes)
8450         (eshell-make-private-directory):
8451         * net/browse-url.el (browse-url-mosaic):
8452         * obsolete/mailpost.el (post-mail-send-it):
8453         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
8454         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
8455         Use with-file-modes.
8457         * vc/emerge.el (emerge-make-temp-file): Simplify.
8459 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
8460             Stefan Monnier  <monnier@iro.umontreal.ca>
8462         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
8463         suffix (bug#15419).
8465 2014-05-14  Glenn Morris  <rgm@gnu.org>
8467         * vc/emerge.el (emerge-temp-file-prefix):
8468         Make pointless option obsolete.
8469         (emerge-temp-file-mode): Make non-functional option obsolete.
8471 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
8473         * net/browse-url.el (browse-url):
8474         Use `unhandled-file-name-directory' when setting `default-directory',
8475         in order to circumvent stalled remote connections.  (Bug#17425)
8477 2014-05-14  Glenn Morris  <rgm@gnu.org>
8479         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
8480         Optimize on Emacs, which has the relevant functions for ages.
8482 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8484         * simple.el (undo-make-selective-list): Obey undo-no-redo.
8486 2014-05-12  Sam Steingold  <sds@gnu.org>
8488         * calendar/time-date.el (seconds-to-string): New function to
8489         pretty print time delay in seconds.
8491 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8493         * mpc.el (mpc-format): Trim Date to the year.
8494         (mpc-songs-hashcons): Shorten the Date field.
8496         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
8497         into autoloading just because of a silly indirection.
8499 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
8501         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
8503 2014-05-12  Glenn Morris  <rgm@gnu.org>
8505         * emacs-lisp/find-gc.el: Move to ../admin.
8507         * printing.el (pr-version):
8508         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
8510         * net/browse-url.el (browse-url-mosaic):
8511         Create /tmp/Mosaic.PID as a private file.
8513 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8515         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
8516         (advice--member-p): If name is given, only compare the name.
8517         (advice--remove-function): Don't stop at the first match.
8518         (advice--normalize-place): New function.
8519         (add-function, remove-function): Use it.
8520         (advice--add-function): Pass the name, if any, to
8521         advice--remove-function.
8523 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
8525         * electric.el (electric-indent-post-self-insert-function): Don't use
8526         `pos' after modifying the buffer (bug#17449).
8528 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
8530         * calendar/todo-mode.el (todo-insert-item-from-calendar):
8531         Correct argument list to conform to todo-insert-item--basic.
8533 2014-05-12  Glenn Morris  <rgm@gnu.org>
8535         * files.el (cd-absolute): Test if directory is accessible
8536         rather than executable.  (Bug#17330)
8538         * progmodes/compile.el (recompile):
8539         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
8541         * net/browse-url.el (browse-url-mosaic):
8542         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
8543         This is CVE-2014-3423.
8545 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8547         * mouse.el: Use the normal toplevel loop while dragging.
8548         (mouse-set-point): Handle multi-clicks.
8549         (mouse-set-region): Handle multi-clicks for drags.
8550         (mouse-drag-region): Update call accordingly.
8551         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
8552         Use the normal event loop instead of a local while/read-event loop.
8553         (global-map): Remove redundant bindings for double/triple-mouse-1.
8554         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
8555         Generate synthetic down events when the protocol only sends up events.
8556         (xterm-mouse-last): Remove.
8557         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
8558         terminal parameter instead.
8559         (xterm-mouse--set-click-count): New function.
8560         (xterm-mouse-event): Detect/generate double/triple clicks.
8561         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
8563         * info.el (Info-quoted): New face.
8564         (Info-mode-font-lock-keywords): New var.
8565         (Info-mode): Use it.
8567         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
8568         are a hindrance for C-x C-e.
8570 2014-05-11  Leo Liu  <sdl.web@gmail.com>
8572         * net/rcirc.el (rcirc-sentinel): Fix last change.
8574 2014-05-08  Sam Steingold  <sds@gnu.org>
8576         * net/rcirc.el (rcirc-reconnect-delay): New user option.
8577         (rcirc-sentinel): Auto-reconnect to the server if
8578         `rcirc-reconnect-delay' is non-0 (but not more often than its
8579         value in case the host is off-line).
8581 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
8583         * progmodes/grep.el (lgrep): Fix a typo in last commit.
8585 2014-05-09  Glenn Morris  <rgm@gnu.org>
8587         * files.el (file-expand-wildcards):
8588         * man.el (Man-support-local-filenames):
8589         * printing.el (pr-i-directory, pr-interface-directory):
8590         * progmodes/grep.el (lgrep, rgrep):
8591         * textmodes/ispell.el (ispell-call-process)
8592         (ispell-call-process-region, ispell-start-process)
8593         (ispell-init-process): Use file-accessible-directory-p.
8595 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8597         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
8598         (xterm-mouse--read-event-sequence-1000): Return nil if something
8599         looks fishy.
8600         (xterm-mouse-event): Propagate it.
8601         (xterm-mouse-translate-1): Handle it.
8603 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
8605         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
8606         four slots of the parameter list are filled, make sure to pass it
8607         to the argument list of todo-insert-item--basic.
8609 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8611         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
8612         Add optional `seen' argument to detect and break infinite loops.
8614 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
8616         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
8617         (trace-unsafe, trace-use-tree): Make parentheses style be
8618         according to Emacs style.
8620 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
8622         * net/tramp-sh.el (tramp-remote-process-environment):
8623         Remove HISTFILE and HISTSIZE; it's too late to set them here.
8624         Add :version entry.
8625         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
8626         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
8627         extra "PSx=..." commands.
8628         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
8629         (Bug#17295)
8631         (tramp-uudecode): Replace the hard-coded temporary file name by a
8632         format specifier.
8633         (tramp-remote-coding-commands): Enhance docstring.
8634         (tramp-find-inline-encoding): Replace "%t" by a temporary file
8635         name.  (Bug#17415)
8636         This is CVE-2014-3424.
8638 2014-05-08  Glenn Morris  <rgm@gnu.org>
8640         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
8641         (find-gc-source-files): Update some names.
8642         (trace-call-tree): Simplify and update.
8643         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
8644         This is CVE-2014-3422.
8646 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8648         * minibuffer.el (completion--try-word-completion): Revert fix for
8649         Bug#15980 (bug#17375).
8651         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
8652         Always store button numbers in the same way in xterm-mouse-last;
8653         Don't burp is xterm-mouse-last is not set as expected.
8654         Never return negative indices.
8656 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
8658         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8659         Backtrack one char if the global/char-literal var matcher hits
8660         inside a string.  The next char could be the beginning of an
8661         expression expansion.
8663 2014-05-08  Glenn Morris  <rgm@gnu.org>
8665         * help-fns.el (describe-function-1): Test for an autoload before a
8666         macro, since `macrop' works on autoloads.  (Bug#17410)
8668 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8670         * electric.el (electric-indent-functions-without-reindent): Add yaml.
8672         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
8673         Make sure the new point we return is within the new string (bug#17239).
8675 2014-05-05  Daniel Colascione  <dancol@dancol.org>
8677         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8678         Port `gnu' pattern to rx.
8680 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
8682         Remove unneeded prompt when closing a buffer with active
8683         emacsclient ("Buffer ... still has clients"), #16548.
8684         * server.el (server-start): Remove the only call to:
8685         (server-kill-buffer-query-function): Remove.
8687 2014-05-04  Leo Liu  <sdl.web@gmail.com>
8689         * calendar/diary-lib.el (calendar-chinese-month-name-array):
8690         Defvar to pacify compiler.
8692 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
8694         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
8696 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8698         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
8699         Use nil rather than `default' for the "default" appearance (bug#17388).
8700         * vc/ediff-util.el (ediff-inferior-compare-regions)
8701         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
8702         a misleading `default' value when it's really a boolean.
8703         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
8704         overlay is not visible.
8706 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
8708         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
8709         (todo-menu): Uncomment and update.
8711 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
8713         * calendar/todo-mode.el: Reimplement item editing to have the same
8714         basic user interface as item insertion, and make small UI and
8715         larger internal improvements to the latter.
8716         (todo-insert-item): Add reference to the Todo mode user manual to
8717         the documentation string.
8718         (todo-insert-item--basic): Rename from todo-basic-insert-item and
8719         adjust all callers.  Change signature to combine diary and
8720         nonmarking arguments.  Incorporate functionality of deleted item
8721         copying command and add error checking.  Remove detailed
8722         descriptions of the arguments from the documentation string, since
8723         this is treated in the Todo mode user manual.
8724         (todo-copy-item, todo-edit-multiline-item)
8725         (todo-edit-done-item-comment, todo-edit-item-header)
8726         (todo-edit-item-time, todo-edit-item-date-from-calendar)
8727         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
8728         (todo-edit-item-date-year, todo-edit-item-date-month)
8729         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
8730         Remove.
8731         (todo-edit-item): Reimplement as wrapper command for
8732         todo-edit-item--next-key and make it distinguish done and not done
8733         todo items.
8734         (todo-edit-item--text): New function, replacing old command
8735         todo-edit-item and incorporating deleted commands
8736         todo-edit-multiline-item and todo-edit-done-item-comment.
8737         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
8738         Use only numeric value of prefix argument.  Remove detailed
8739         descriptions of the arguments from the documentation string, since
8740         this is treated in the Todo mode user manual.
8741         (todo-edit-item--diary-inclusion): New function, replacing old
8742         command todo-edit-item-diary-inclusion and incorporating and fixing
8743         functionality of deleted command todo-edit-item-diary-nonmarking,
8744         making sure to remove todo-nondiary-marker when adding
8745         diary-nonmarking-symbol.
8746         (todo-edit-category-diary-inclusion): Make sure to delete
8747         diary-nonmarking-symbol when adding todo-nondiary-marker.
8748         (todo-edit-category-diary-nonmarking): Fix indentation.
8749         (todo-insert-item--parameters): Group diary and nonmarking
8750         parameters together.
8751         (todo-insert-item--apply-args): Adjust to signature of
8752         todo-insert-item--basic and incorporate copy parameter.
8753         Make small code improvements.
8754         (todo-insert-item--next-param): Improve prompt and adjust it to
8755         new parameter grouping.  Remove obsolete code.
8756         (todo-edit-item--param-key-alist)
8757         (todo-edit-item--date-param-key-alist)
8758         (todo-edit-done-item--param-key-alist): New defconsts.
8759         (todo-edit-item--prompt): New variable.
8760         (todo-edit-item--next-key): New function.
8761         (todo-key-bindings-t): Bind "e" to todo-edit-item.
8762         Remove bindings of deleted commands.
8764 2014-05-04  Leo Liu  <sdl.web@gmail.com>
8766         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
8768 2014-05-04  Glenn Morris  <rgm@gnu.org>
8770         * allout-widgets.el (allout-widgets-tally)
8771         (allout-decorate-item-guides):
8772         * menu-bar.el (menu-bar-positive-p):
8773         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8774         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
8775         * progmodes/js.el (js--inside-param-list-p)
8776         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
8777         * progmodes/prolog.el (region-exists-p):
8778         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
8779         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
8780         Doc fixes (replace `iff').
8782 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8784         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
8786 2014-05-04  Leo Liu  <sdl.web@gmail.com>
8788         Support Chinese diary entries in calendar and diary.  (Bug#17393)
8789         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
8790         (calendar-chinese-from-absolute-for-diary)
8791         (calendar-chinese-to-absolute-for-diary)
8792         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
8793         (diary-chinese-list-entries): New functions to list and mark
8794         Chinese diary entries in the calendar window.
8795         (diary-chinese-anniversary)
8796         (diary-chinese-insert-anniversary-entry)
8797         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
8798         (diary-chinese-insert-yearly-entry): New commands to insert
8799         Chinese diary entries.
8801         * calendar/diary-lib.el (diary-font-lock-keywords):
8802         Support font-locking Chinese dates.
8804         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
8805         inserting Chinese diary entries.
8807         * calendar/calendar.el (diary-chinese-entry-symbol):
8808         New customizable variable.
8809         (calendar-mode-map): Add bindings for inserting Chinese diary
8810         entries.
8812 2014-05-03  Juri Linkov  <juri@jurta.org>
8814         * dired.el (dired-check-switches, dired-switches-recursive-p):
8815         New functions.  (Bug#17218)
8816         (dired-switches-escape-p, dired-move-to-end-of-filename):
8817         Use `dired-check-switches'.
8818         (dired-insert-old-subdirs, dired-build-subdir-alist)
8819         (dired-sort-R-check): Use `dired-switches-recursive-p'.
8821 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
8823         * simple.el (undo-make-selective-list): New algorithm fixes
8824         incorrectness of position adjustments when undoing in region.
8825         (Bug#17235)
8826         (undo-elt-crosses-region): Make obsolete.
8827         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
8828         New functions to adjust positions using undo-deltas.
8830 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8832         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
8833         the last consecutive closing paren (bug#17345).
8835 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
8837         * dired.el (dired-mode): make terminology for eXpunge command
8838         consistent.  (Bug#17276)
8840 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
8842         * dired.el (dired-initial-position-hook, dired-initial-position):
8843         Doc string fixes.
8845 2014-04-30  Glenn Morris  <rgm@gnu.org>
8847         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
8849 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
8851         * faces.el (face-spec-recalc): Apply X resources only after the
8852         defface spec has been applied. Thus, X resources are no longer
8853         overriden by the defface spec which also fixes issues on win32 where
8854         the toolbar coloring was wrong because it is set through X resources
8855         and was (wrongfully) overriden.  (Bug#16694)
8857 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8859         * textmodes/rst.el (electric-pair-pairs): Declare.
8860         (rst-mode): Set it (bug#17131).
8862 2014-04-30  Juri Linkov  <juri@jurta.org>
8864         * desktop.el (desktop-value-to-string): Let-bind `print-length'
8865         and `print-level' to nil.  (Bug#17351)
8867 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8869         * battery.el (battery-update): Handle the case where battery
8870         status is "N/A" (bug#17319).
8872 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8874         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
8875         to syntax-propertize.
8876         (ps-mode-auto-indent): Mark as obsolete.
8877         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
8878         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
8879         word regexp operators.
8880         (ps-mode-map): Move initialization into declaration.  Remove binding
8881         for TAB, RET, >, ], and }.
8882         (ps-mode-syntax-table): Move initialization into declaration.
8883         Don't give word syntax to non-word chars.
8884         (ps-run-mode-map): Move initialization into declaration.
8885         (ps-mode-menu-main): Remove auto-indent entry.
8886         (ps-mode-smie-rules): New function.
8887         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
8888         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
8889         (ps-mode--string-syntax-table): New const.
8890         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
8891         New functions.
8892         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
8893         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
8895 2014-04-27  Daniel Colascione  <dancol@dancol.org>
8897         * term/xterm.el (xterm-paste): Use large finite timeout when
8898         reading event to avoid putting keys in this-command-keys.
8900 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8902         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
8903         (perl-syntax-propertize-function): Use it.  Extend handling of
8904         here-docs to the unquoted case.
8906 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
8908         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
8909         Use equal-including-properties to compare help-echo strings (bug#17331).
8911 2014-04-25  Leo Liu  <sdl.web@gmail.com>
8913         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8914         Fix syntax for @.  (Bug#17325)
8916 2014-04-25  Daniel Colascione  <dancol@dancol.org>
8918         * emacs-lisp/cl.el (gv): Require gv early to break eager
8919         macro-expansion cycles.
8921 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8923         * simple.el (region-active-p): Check there's a mark (bug#17324).
8925         * simple.el (completion-list-mode-map): Use choose-completion for the
8926         mouse binding as well (bug#17302).
8927         (completion-list-mode, completion-setup-function): Adjust docstring and
8928         echo area message accordingly.
8929         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
8930         calling convention of choose-completion.
8931         * comint.el (comint-dynamic-list-completions):
8932         * term.el (term-dynamic-list-completions): Accept choose-completion.
8934         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
8935         &, |, +, - and * can't be a division (bug#17317).
8937         * term/xterm.el (xterm--version-handler): Don't use modern xterm
8938         features on gnome-terminal (bug#16988).
8940 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
8942         Improve Scheme font-locking for (define ((foo ...) ...) ...).
8944         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
8945         the declared object, ignore zero or more parens, not zero or one.
8947 2014-04-24  Leo Liu  <sdl.web@gmail.com>
8949         * progmodes/xscheme.el (xscheme-expressions-ring)
8950         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
8951         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
8952         (xscheme-allow-output-p, xscheme-prompt)
8953         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
8955         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
8956         Comment out unused functions.
8958 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8960         * info.el: Use lexical-binding and cl-lib.
8961         Use defvar-local and setq-local instead of make-local-variable.
8962         (Info-apropos-matches): Avoid add-to-list.
8963         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
8965 2014-04-24  Daniel Colascione  <dancol@dancol.org>
8967         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
8969 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
8973 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
8975         * dired.el (dired-insert-set-properties): Do not consider
8976         subdirectory headings and empty lines to be information that
8977         `dired-hide-details-mode' should hide.  (Bug#17228)
8979 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
8981         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8982         Remove test messages.
8983         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
8984         and `target' twice.
8986 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8988         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
8989         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
8991         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
8993 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
8995         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8996         Set "IFS=" when using read builtin, in order to preserve spaces in
8997         the file name.  Add test messages for hunting a bug on hydra.
8998         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
9000 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9002         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
9003         Don't prettify a word within a symbol.
9005 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
9007         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
9008         possible.
9010 2014-04-22  Daniel Colascione  <dancol@dancol.org>
9012         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
9013         use defun to define `function-put'.
9015 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9017         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
9018         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
9019         (lisp-mode-variables): Set font-lock-extra-managed-props.
9021         * emacs-lisp/byte-run.el (function-put): New function.
9022         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
9023         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
9024         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
9025         Use them.
9027 2014-04-22  Daniel Colascione  <dancol@dancol.org>
9029         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
9030         Add `full-p' parameter; when nil, call `macroexpand' instead of
9031         `macroexpand-all'.
9033         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
9034         Improve docstrings.
9036         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
9037         Use lambda function values, not quoted lambdas.
9038         (byte-compile-recurse-toplevel): Remove extraneous &optional.
9040         * emacs-lisp/cl-macs.el
9041         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
9042         (cl-struct-slot-value): Conditionally use aref or nth so that the
9043         compiler produces optimal code.
9045 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9047         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
9048         (inline): Don't inline cl--set-elt.
9049         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
9050         Define as inlinable instead.
9051         (cl-struct-set-slot-value): Remove.
9053         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
9054         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
9055         Use setf instead.
9057 2014-04-21  Daniel Colascione  <dancol@dancol.org>
9059         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
9060         last two parameters after all.
9061         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
9062         (cl--compiler-macro-assoc,cl-struct-slot-value)
9063         (cl-struct-set-slot-value): Stop using them.
9065 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9067         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
9068         entry in image-mode-winprops-alist.
9070 2014-04-21  Daniel Colascione  <dancol@dancol.org>
9072         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
9073         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
9074         (byte-compile-toplevel-file-form): Use it.
9076         * emacs-lisp/cl-macs.el:
9077         (cl--loop-let): Properly destructure `while' clauses.
9079 2014-04-20  Daniel Colascione  <dancol@dancol.org>
9081         * vc/vc.el (vc-root-dir): New public autoloaded function for
9082         generically finding the current VC root.
9083         * vc/vc-hooks.el (vc-not-supported): New error.
9084         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
9086 2014-04-20  Daniel Colascione  <dancol@dancol.org>
9088         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
9089         argument.
9090         (cl--const-expr-val): cl--const-expr-val should macroexpand its
9091         argument in case we're inside a symbol-macrolet.
9092         (cl--do-arglist, cl--compiler-macro-typep)
9093         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
9094         environment to `cl--const-expr-val'.
9095         (cl-struct-sequence-type,cl-struct-slot-info)
9096         (cl-struct-slot-offset, cl-struct-slot-value)
9097         (cl-struct-set-slot-value): New functions.
9099 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9101         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
9102         assignments such as "case=hello" (bug#17297).
9104 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
9106         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
9107         Do not autoload.
9108         (tramp-file-name-handler, tramp-completion-file-name-handler):
9109         Revert patch from 2014-04-10, it isn't necessary anymore.
9110         (tramp-autoload-file-name-handler)
9111         (tramp-register-autoload-file-name-handlers): New defuns.
9112         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
9113         (tramp-register-file-name-handlers): Remove also
9114         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
9115         Do not autoload its invocation, but eval it after loading of 'tramp.
9117         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
9119         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
9121 2014-04-17  Daniel Colascione  <dancol@dancol.org>
9123         Add support for bracketed paste mode; add infrastructure for
9124         managing terminal mode enabling and disabling automatically.
9126         * xt-mouse.el:
9127         (xterm-mouse-mode): Simplify.
9128         (xterm-mouse-tracking-enable-sequence)
9129         (xterm-mouse-tracking-disable-sequence): New constants.
9130         (turn-on-xterm-mouse-tracking-on-terminal)
9131         (turn-off-xterm-mouse-tracking-on-terminal):
9132         Use tty-mode-set-strings and tty-mode-reset-strings terminal
9133         parameters instead of random hooks.
9134         (turn-on-xterm-mouse-tracking)
9135         (turn-off-xterm-mouse-tracking): Delete.
9137         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
9138         (xterm-paste-ending-sequence): New constant.
9139         (xterm-paste): New command used for bracketed paste support.
9141         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
9142         (terminal-init-xterm-bracketed-paste-mode): New function.
9143         (terminal-init-xterm): Call it.
9144         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
9145         and tty-mode-reset-strings instead of random hooks.
9146         (xterm-turn-on-modify-other-keys)
9147         (xterm-turn-off-modify-other-keys)
9148         (xterm-remove-modify-other-keys): Delete obsolete functions.
9150         * term/screen.el: Rewrite to just use the xterm code.
9151         Add copyright notice.  Mention tmux.
9153 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
9155         * image-mode.el (image-mode-window-put): Also update the property of
9156         the "default window".
9157         * doc-view.el (doc-view-new-window-function): If no window
9158         exists, move to the last known page.
9160 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9162         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
9163         here-documents (bug#17262).
9165 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
9167         * term/pc-win.el (x-list-fonts, x-get-selection-value):
9168         Provide doc strings, as required by snarf-documentation.
9170 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9172         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
9173         arg of overlays-at.  Use `invisible-p'.
9175         * obsolete/lucid.el (extent-at):
9176         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
9177         overlays-at.
9178         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
9180 2014-04-16  João Távora  <joaotavora@gmail.com>
9182         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
9183         links.  (Bug#17217).
9185 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9187         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9188         Use mapc to loop over a vector.  (Bug#17257).
9190 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
9192         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
9193         patch, there are new problems with file names containing spaces.
9194         Get rid of backticks.  (Bug#17238)
9196 2014-04-16  João Távora  <joaotavora@gmail.com>
9198         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
9199         possible bug.
9201 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
9203         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
9204         (blink-cursor-mode): Mention customization variables and the
9205         effect of 'blink-cursor-blinks'.
9207 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
9209         * simple.el (undo): Prevent insertion of identity mapping into
9210         undo-equiv-table so as undo-only does not inf loop in the presence
9211         of consecutive nils in undo list.
9213 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
9215         * faces.el (make-face): Deprecate optional argument as it is no
9216         longer needed/used since the conditional X resources handling
9217         has been pushed down to make-face-x-resource-internal itself.
9218         (make-empty-face): Don't pass optional argument to make-face.
9220 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
9222         * savehist.el (savehist-save): Remove workaround for a read-passwd
9223         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
9224         noticing that the shim was still present.
9226 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9228         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
9230 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
9232         * faces.el (face-set-after-frame-default): Remove unused local variable.
9234 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9236         * progmodes/grep.el: Use lexical-binding.
9237         (grep-expand-template): Pass explicit lexical env to `eval'.
9238         (zrgrep): Let-bind grep-find-template explicitly.
9240         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
9241         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
9243 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
9245         * international/characters.el <standard-case-table>: Add entries
9246         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
9247         Set category of Coptic characters be 'g' (Greek).
9249 2014-04-12  Leo Liu  <sdl.web@gmail.com>
9251         * progmodes/octave.el (completion-table-with-cache):
9252         Define if not available.
9253         (octave-goto-function-definition, octave-sync-function-file-names)
9254         (octave-find-definition-default-filename):
9255         Backquote upattern for compatibility.
9257 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
9259         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
9260         name twice due to backticks.  (Bug#17238)
9262 2014-04-12  Glenn Morris  <rgm@gnu.org>
9264         * term/w32-win.el (x-win-suspend-error):
9265         * term/x-win.el (x-win-suspend-error): Sync docs.
9267 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
9269         * faces.el (make-face): Remove deprecated optional argument.
9270         The conditional application of X resources is handled directly by
9271         make-face-x-resource-internal since Emacs 24.4.
9272         (make-empty-face): Don't pass optional argument to make-face.
9274 2014-04-11  Glenn Morris  <rgm@gnu.org>
9276         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
9278 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9280         Ediff's overlay priorities cause more trouble than they solve.
9281         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
9282         (ediff-highest-priority): Remove function (bug#17234).
9283         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
9284         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
9285         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9286         overlay priorities.
9288 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
9290         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
9291         entry; use symbol boundaries to avoid mis-matches.
9293 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
9295         * net/tramp.el (tramp-file-name-handler)
9296         (tramp-completion-file-name-handler): Avoid recursive loading.
9298         * net/tramp-sh.el (tramp-make-copy-program-file-name):
9299         Quote result also locally.
9301 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9303         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
9304         Remove left-over code.
9306         * newcomment.el (comment-indent-new-line): Sink code where it's used.
9307         Reuse the previous comment's indentation unconditionally if it's on its
9308         own line.
9310 2014-04-09  Daniel Colascione  <dancol@dancol.org>
9312         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
9313         `no-syntax-crossing' arguments.  Forward to `up-list'.
9314         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
9315         Implement logic for escaping from strings.  Use narrowing to deal
9316         with corner cases.
9318 2014-04-09  Leo Liu  <sdl.web@gmail.com>
9320         * net/rcirc.el (rcirc-connection-info): New variable.
9321         (rcirc-connect): Use it to store connection info.
9322         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
9323         for killed process.
9324         (rcirc-cmd-reconnect): New command.  (Bug#17045)
9325         (rcirc-mode, set-rcirc-encode-coding-system)
9326         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
9328 2014-04-09  Daniel Colascione  <dancol@dancol.org>
9330         * emacs-lisp/cl-indent.el: Add comment claiming
9331         facility is also good for elisp.
9332         (lisp-indent-find-method): New function.
9333         (common-lisp-indent-function): Recognize cl-loop.
9334         (common-lisp-indent-function-1): Recognize cl constructs; use
9335         `lisp-indent-find-method' instead of `get' directly.
9336         (if): Use else-body style for elisp.
9338 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
9340         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9341         Module methods.  (Bug#17216)
9343 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9345         * help.el (describe-bindings): Fix buffer handling (bug#17210).
9346         (describe-bindings-internal): Mark obsolete.
9348 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9350         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
9351         buffer-file-name, and buffer-file-truename any more.
9353 2014-04-08  Leo Liu  <sdl.web@gmail.com>
9355         Use lexical-binding and require cl-lib.
9356         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
9357         (rcirc-handler-generic, rcirc-fill-paragraph)
9358         (rcirc-format-response-string, rcirc-target-buffer)
9359         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
9360         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
9361         (rcirc-ctcp-sender-PING, rcirc-browse-url)
9362         (rcirc-markup-timestamp, rcirc-markup-attributes)
9363         (rcirc-markup-my-nick, rcirc-markup-urls)
9364         (rcirc-markup-bright-nicks, rcirc-markup-fill)
9365         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
9366         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
9367         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
9368         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
9369         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
9370         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
9371         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
9372         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
9373         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
9374         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
9375         use cl-lib.
9377 2014-04-07  João Távora  <joaotavora@gmail.com>
9379         * elec-pair.el (electric-pair--syntax-ppss):
9380         When inside comments parse from comment beginning.
9381         (electric-pair--balance-info): Fix typo in comment.
9382         (electric-pair--in-unterminated-string-p): Delete.
9383         (electric-pair--unbalanced-strings-p): New function.
9384         (electric-pair-string-bound-function): New var.
9385         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9386         according to `electric-pair--in-unterminated-string-p'
9388         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9389         Inhibit quote pairing if point-max is inside an unterminated string.
9390         (electric-pair--looking-at-unterminated-string-p): Delete.
9391         (electric-pair--in-unterminated-string-p): New function.
9393 2014-04-07  Glenn Morris  <rgm@gnu.org>
9395         * shell.el (shell-directory-tracker):
9396         Go back to just ignoring failures.  (Bug#17159)
9398 2014-04-07  João Távora  <joaotavora@gmail.com>
9400         Fix `electric-pair-delete-adjacent-pairs' in modes binding
9401         backspace.  (Bug#16981)
9402         * elec-pair.el (electric-pair-backward-delete-char): Delete.
9403         (electric-pair-backward-delete-char-untabify): Delete.
9404         (electric-pair-mode-map): Bind backspace to a menu item filtering
9405         a new `electric-pair-delete-pair' command.
9406         (electric-pair-delete-pair): New command.
9408         * progmodes/python.el (python-electric-pair-string-delimiter):
9409         Fix triple-quoting electricity.  (Bug#17192)
9411         * elec-pair.el (electric-pair-post-self-insert-function):
9412         Don't skip whitespace when `electric-pair-text-pairs' and
9413         `electric-pair-pairs' were used. syntax to
9414         electric-pair--skip-whitespace.  (Bug#17183)
9416 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
9418         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
9419         "<F>".  (Bug#17199)
9421 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9423         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
9424         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
9426 2014-04-07  Glenn Morris  <rgm@gnu.org>
9428         * help.el (view-lossage): Doc tweak.
9430 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
9432         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
9433         only when inhibit-x-resources is nil, and do that earlier in the
9434         function.  Doc fix.  (Bug#16694)
9435         (face-spec-choose): Accept additional optional argument, whose
9436         value is returned if no matching attributes are found.
9437         (face-spec-recalc): Use the new optional argument when calling
9438         face-spec-choose.  (Bug#16378)
9439         (make-face-x-resource-internal): Do nothing when
9440         inhibit-x-resources is non-nil.  Don't touch the default face if
9441         reversed video is given--as was done in previous versions of Emacs.
9442         (face-set-after-frame-default): Don't call
9443         make-face-x-resource-internal here.  (Bug#16434)
9445 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
9447         * doc-view.el (doc-view-bookmark-jump):
9448         Use `bookmark-after-jump-hook' to jump to the right page after the
9449         buffer is shown in a window.  (bug#16090)
9451 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
9453         * international/characters.el (mirroring): Fix last change:
9454         instead of loading uni-mirrored.el explicitly, do that implicitly
9455         by creating the 'mirroring' uniprop table.  This avoids announcing
9456         the loading of uni-mirrored.el.
9458 2014-04-07  Glenn Morris  <rgm@gnu.org>
9460         * files.el (buffer-stale--default-function)
9461         (buffer-stale-function, revert-buffer--default):
9462         * autorevert.el (auto-revert-buffers): Doc tweaks.
9464 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
9466         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
9468 2014-04-07  Glenn Morris  <rgm@gnu.org>
9470         * files.el (make-backup-file-name-function)
9471         (make-backup-file-name, make-backup-file-name--default-function)
9472         (make-backup-file-name-1, find-backup-file-name)
9473         (revert-buffer-function, revert-buffer-insert-file-contents-function)
9474         (buffer-stale--default-function, buffer-stale-function)
9475         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
9476         (revert-buffer, revert-buffer--default)
9477         (revert-buffer-insert-file-contents--default-function):
9478         Doc fixes related to defaults no longer being nil.
9479         (make-backup-file-name-function): Bump :version.
9480         Restore nil as a valid but deprecated custom type.
9482 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9484         * progmodes/perl-mode.el (perl-syntax-propertize-function):
9485         Handle $' used as a variable (bug#17174).
9487         * progmodes/perl-mode.el (perl-indent-new-calculate):
9488         Handle forward-sexp failure (bug#16985).
9489         (perl-syntax-propertize-function): Add "foreach" and "for" statement
9490         modifiers introducing expressions (bug#17116).
9492 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9494         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
9496 2014-04-05  Leo Liu  <sdl.web@gmail.com>
9498         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9499         Add define-compilation-mode.
9501 2014-04-04  João Távora  <joaotavora@gmail.com>
9503         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
9504         parse from comment beginning.
9505         (electric-pair--balance-info): Fix typo in comment.
9506         (electric-pair--in-unterminated-string-p): Delete.
9507         (electric-pair--unbalanced-strings-p): New function.
9508         (electric-pair-string-bound-function): New var.
9509         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9510         according to `electric-pair--in-unterminated-string-p'.
9512 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9514         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
9515         Move declaration before first use.
9516         (reftex-move-to-next-arg): Silence compiler warning.
9518 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
9520         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
9521         Use `window-total-width' instead of `window-width'.
9523 2014-04-03  Daniel Colascione  <dancol@dancol.org>
9525         * subr.el (set-transient-map): Remove rms's workaround entirely;
9526         use new `suspicious-object' subr to mark our lambda for closer
9527         scrutiny during gc.
9529 2014-04-02  Richard Stallman  <rms@gnu.org>
9531         * subr.el (set-transient-map): Comment out previous change.
9533 2014-04-02  Glenn Morris  <rgm@gnu.org>
9535         * menu-bar.el (menu-bar-file-menu):
9536         * vc/ediff.el (ediff-current-file):
9537         Update for revert-buffer-function no longer being nil by default.
9539         * simple.el (command-execute): Respect nil disabled-command-function.
9541 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9543         * simple.el (command-execute): Do not execute the command when it
9544         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
9546 2014-04-02  Juri Linkov  <juri@jurta.org>
9548         * dired-aux.el (dired-compress-file): Don't use string-match-p
9549         because its match data is used afterwards.
9551 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9553         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
9554         0 like nil.
9556 2014-04-02  João Távora  <joaotavora@gmail.com>
9558         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9559         Inhibit quote pairing if point-max is inside an unterminated string.
9560         (electric-pair--looking-at-unterminated-string-p):
9561         Delete.
9562         (electric-pair--in-unterminated-string-p): New function.
9564 2014-04-01  Daniel Colascione  <dancol@dancol.org>
9566         * minibuffer.el (minibuffer-complete): Prevent assertion failure
9567         when trying to complete the prompt.
9569 2014-03-31  Leo Liu  <sdl.web@gmail.com>
9571         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9572         Refactor out eldoc-documentation-function-default.
9573         (eldoc-documentation-function-default): New function.
9574         (eldoc-documentation-function): Change value.
9576 2014-03-31  Glenn Morris  <rgm@gnu.org>
9578         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
9580         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
9581         (vhdl-compose-components-package, vhdl-compose-configuration):
9582         Abbreviate default-directory (missing from some previous upstream sync).
9584 2014-03-31  Reto Zimmermann  <reto@gnu.org>
9586         Sync with upstream vhdl mode v3.35.2.
9587         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9588         (top-level): No longer require assoc.
9589         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
9590         New functions.  Use throughout to replace aget etc.
9591         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
9592         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
9593         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
9594         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
9595         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
9596         except `vhdl-compiler'.
9597         (vhdl-error-regexp-add-emacs): Remove all other compilers,
9598         when appropriate.
9600 2014-03-31  Glenn Morris  <rgm@gnu.org>
9602         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
9603         Revert 2014-03-26 merge goof; go back to using defalias.
9605 2014-03-30  Daniel Colascione  <dancol@dancol.org>
9607         * comint.el (comint-send-input):
9608         Deactivate completion-in-region-mode before we send comint input.
9609         (Bug#17139).
9611         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
9612         on keyboard-quit.
9614 2014-03-29  Glenn Morris  <rgm@gnu.org>
9616         * textmodes/reftex.el: Manage most autoloads automatically.
9617         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
9618         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
9619         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
9620         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
9621         * textmodes/reftex-toc.el: Set generated-autoload-file,
9622         and add autoload cookies for reftex.el.
9623         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
9625 2014-03-28  Glenn Morris  <rgm@gnu.org>
9627         * cus-start.el (report-emacs-bug-address): Set custom properties.
9628         * mail/emacsbug.el (report-emacs-bug-address):
9629         Variable is now defined in emacs.c.
9631         * mail/emacsbug.el (report-emacs-bug):
9632         Include system-configuration-features.
9634 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
9636         * simple.el (cycle-spacing): Never delete spaces on first run by
9637         default, but do so in a new 'fast mode and if there are already
9638         N spaces (the previous behavior).
9639         Compare N with its value in previous invocation so that changing
9640         prefix argument restarts `cycle-spacing' sequence.
9641         The idea is that with this change, binding M-SPC to
9642         `cycle-spacing' should not introduce any changes in behavior of
9643         the binding so long as users do not type M-SPC twice in a raw with
9644         the same prefix argument or lack thereof.
9646 2014-03-28  Glenn Morris  <rgm@gnu.org>
9648         * faces.el (term-file-aliases): New variable.
9649         (tty-run-terminal-initialization): Respect term-file-aliases.
9650         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
9651         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
9652         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
9654 2014-03-27  Glenn Morris  <rgm@gnu.org>
9656         * startup.el (inhibit-startup-hooks): Doc tweak.
9657         (normal-top-level): Simplify running of hooks.
9658         For window-setup-hook, respect inhibit-startup-hooks.
9659         (command-line-1): Don't set window-setup-hook to nil.
9661         Allow selective autoloading from obsolete/ directory.
9662         * Makefile.in (obsolete-autoloads): New rule.
9663         (autoloads): Run obsolete-autoloads.
9664         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
9665         * simple.el (iswitchb-mode): Remove hand-written autoloads.
9667 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
9669         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9670         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
9672         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9673         Don't propertize `?' or `!' as symbol constituent when after
9674         colon.  (Bug#17097)
9676 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
9678         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
9679         which is no longer needed and causes trouble in GTK builds (bug#17046).
9681         * emacs-lisp/package-x.el (package--archive-contents-from-url):
9682         Use url-insert-file-contents; package-handle-response no longer exists.
9684 2014-03-26  Daniel Colascione  <dancol@dancol.org>
9686         * simple.el (process-menu-mode-map): New variable.
9687         (process-menu-delete-process): New command.
9689 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
9691         * emacs-lisp/package.el: Fix bug#16733 (again).
9692         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
9693         (url-http-target-url): Remove unused declarations.
9694         (package-handle-response): Remove.
9695         (package--with-work-buffer): Use url-insert-file-contents and simplify.
9696         (package--download-one-archive): Use current-buffer instead of
9697         dynamic binding of `buffer'.
9698         (describe-package-1): Do not decode readme-string.
9700 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
9702         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
9704         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
9705         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
9706         `remote-file-name-inhibit-cache' to nil in the second pass.
9707         (tramp-find-executable): Do not call "which" on SunOS.
9708         (tramp-send-command-and-check): Fix docstring.
9709         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
9710         check whether source directory has set the sticky bit.
9712 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
9714         * simple.el (primitive-undo): Only process marker adjustments
9715         validated against their corresponding (TEXT . POS).  Issue warning
9716         for lone marker adjustments in undo history.  (Bug#16818)
9717         (undo-make-selective-list): Add marker adjustments to selective
9718         undo list based on whether their corresponding (TEXT . POS) is in
9719         the region.  Remove variable adjusted-markers, which was unused
9720         and only non nil during undo-make-selective-list.
9721         (undo-elt-in-region): Return nil when passed a marker adjustment
9722         and explain in function doc.
9724 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9726         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
9728 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
9730         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
9731         Match special global variables without curlies, too.
9732         (ruby-font-lock-keywords): Simplify the matcher for special global
9733         variables.  Don't require a non-word character after the variable.
9734         (Bug#17057)
9736 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9738         * simple.el (redisplay-highlight-region-function): Increase priority of
9739         overlay to make sure boundaries are visible (bug#15899).
9741 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
9743         * frameset.el (frameset--initial-params): Fix typo in parameter name.
9744         (frameset-restore): Compare display strings with equal.
9746         * frame.el (make-frame): Don't quote display name in error message,
9747         it is already a string.
9749 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9751         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
9752         the password.
9754 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
9756         * emacs-lisp/package.el (package--add-to-archive-contents):
9757         Include already installed and built-in packages in
9758         `package-archive-contents'.
9759         (package-install): Don't include already installed packages in the
9760         options during interactive invocation.  (Bug#16762)
9761         (package-show-package-list): If the buffer is already displayed in
9762         another window, switch to that window.
9764 2014-03-26  Reto Zimmermann  <reto@gnu.org>
9766         Sync with upstream vhdl mode v3.35.1.
9767         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9768         (vhdl-compiler-alist): Doc fix.
9769         (vhdl-goto-line): Remove.
9770         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
9771         (vhdl-mode) <paragraph-start>: Fix value.
9772         (vhdl-fix-statement-region): Not `for' in wait-statement.
9773         (vhdl-beautify-region): Also (un)tabify.
9774         (vhdl-get-visible-signals):
9775         Scan declarative part of generate statements.
9776         (vhdl-template-record): Fix indentation for record type declaration.
9777         (vhdl-expand-abbrev, vhdl-expand-paren):
9778         Revert to using fset again rather than defalias.
9779         (vhdl-scan-directory-contents): Tweak.
9780         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
9781         (vhdl-compose-components-package):
9782         Replace vhdl-goto-line with forward-line.
9783         (top-level): Tweak speedbar frame selection.
9784         (vhdl-generate-makefile-1): Support for compilers with no
9785         unit-to-file name mapping (create directory with dummy files).
9787 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
9789         Sync with upstream verilog-mode revision 702457d.
9790         * progmodes/verilog-mode.el (verilog-mode-version): Update.
9791         (create-lockfiles): Declare.
9792         (verilog-read-decls): Fix module header imports, bug709.
9793         Reported by Victor Lau.
9794         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
9795         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9796         interface-only modules, bug721.  Reported by Dean Hoyt.
9798 2014-03-26  Glenn Morris  <rgm@gnu.org>
9800         * obsolete/gulp.el: Move here from emacs-lisp/.
9802         * files.el (lock-buffer, unlock-buffer, file-locked-p):
9803         Remove fallback aliases, since they are always defined now.
9805 2014-03-24  Daniel Colascione  <dancol@dancol.org>
9807         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9808         instead of cl-loop search function.
9810 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
9812         * calendar/parse-time.el (parse-time-iso8601-regexp)
9813         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
9814         it more generally.
9816 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
9818         * net/dns.el (network-interface-list): Define for XEmacs.
9820 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
9822         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
9823         the network interfaces changed.
9824         (dns-query): Use it to flush the data.
9826 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
9828         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
9830 2014-03-23  Daniel Colascione  <dancol@dancol.org>
9832         Change subword-mode to use `find-word-boundary-function-table' and
9833         replace `capitalized-words-mode'.  Also, convert to lexical binding.
9834         * progmodes/cap-words.el: Delete now-obsolete file.
9835         * progmodes/subword.el: Reimplement using
9836         `find-word-boundary-function-table'.
9837         (subword-mode-map): Hollow out.
9838         (capitalized-words-mode): Define as obsolete alias for
9839         `subword-mode'.
9840         (subword-mode, superword-mode): Tweak documentation to reflect new
9841         implementation; call `subword-setup-buffer'.
9842         (subword-forward, subword-capitalize): Add underscore to indicate
9843         unused variable.
9844         (subword-find-word-boundary-function-table): New constant.
9845         (subword-empty-char-table): New constant.
9846         (subword-setup-buffer): New function.
9847         (subword-find-word-boundary): New function.
9849 2014-03-23  Daniel Colascione  <dancol@dancol.org>
9851         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
9852         list to look for keyword arguments instead of `memq', fixing
9853         (Bug#3647) --- unfortunately, only for freshly-compiled code.
9854         Please make bootstrap.
9856 2014-03-22  Glenn Morris  <rgm@gnu.org>
9858         * dired.el (dired-read-regexp): Make obsolete.
9859         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
9860         (dired-flag-files-regexp):
9861         * dired-aux.el (dired-mark-read-regexp):
9862         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
9864         * startup.el (fancy-startup-text):
9865         * help.el (describe-gnu-project): Visit online info about GNU project.
9867         * help-fns.el (help-fns--interactive-only): New function.
9868         (help-fns-describe-function-functions): Add the above function.
9869         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
9870         (next-line, previous-line): Remove hand-written interactive-only
9871         information from doc strings, it is auto-generated now.
9872         * bookmark.el (bookmark-write):
9873         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
9874         (epa-mail-import-keys): Mark interactive-only,
9875         and remove hand-written interactive-only information from doc strings.
9876         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
9877         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
9878         * files.el (not-modified):
9879         * simple.el (mark-whole-buffer): Mark interactive-only.
9881         * emacs-lisp/byte-run.el (defun-declarations-alist):
9882         Add interactive-only.  Doc tweak.
9883         (macro-declarations-alist): Doc tweak.
9884         * subr.el (declare): Doc tweak (add xref to manual).
9885         * comint.el (comint-run):
9886         * files.el (insert-file-literally, insert-file):
9887         * replace.el (replace-string, replace-regexp):
9888         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9889         (delete-forward-char, goto-line, insert-buffer, next-line)
9890         (previous-line): Set interactive-only via declare.
9892 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
9894         * emacs-lisp/package.el (package-desc): Use the contents of the
9895         quoted form, not its cdr.  (Bug#16873)
9897 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
9899         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
9900         benefit of doc.c; change parameter profile to match the X function.
9902 2014-03-22  Leo Liu  <sdl.web@gmail.com>
9904         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
9905         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
9907 2014-03-21  Richard Stallman  <rms@gnu.org>
9909         * battery.el (battery-linux-sysfs): Search for each field
9910         from the beginning of the buffer.
9912         * subr.el (set-transient-map): Clear out function and value
9913         of the temporary symbol when we're done with it.
9915         * mail/rmailsum.el (rmail-summary-delete-forward):
9916         Optimize case of reaching end and handling count.
9917         (rmail-summary-mark-deleted): Optimize when N is current msg.
9918         Don't create new summary line.
9919         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
9920         (rmail-summary-undelete-many): Rewrite for speed.
9921         (rmail-summary-msg-number): New function.
9923         * mail/rmail.el (rmail-delete-message): Update summary.
9924         (rmail-undelete-previous-message): Handle repeat count arg.
9925         (rmail-delete-backward, rmail-delete-forward): Likewise.
9927 2014-03-21  Daniel Colascione  <dancol@dancol.org>
9929         * mail/emacsbug.el (report-emacs-bug): Include memory usage
9930         information in bug reports.
9932 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
9934         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
9935         and `tramp-copy-env'.
9937         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
9938         (tramp-maybe-open-connection): Handle `tramp-login-env'.
9940 2014-03-21  Glenn Morris  <rgm@gnu.org>
9942         * electric.el (electric-indent-post-self-insert-function): Add doc.
9944 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
9946         * emacs-lisp/package.el (package-compute-transaction):
9947         Use `version-list-<=' to compare the requirement version against
9948         the version of package already to be installed.  Update the error
9949         message.  (Bug#16826)
9951         * progmodes/ruby-mode.el (ruby-smie-rules):
9952         Add indentation rule for ` @ '.  (Bug#17050)
9954 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
9956         * align.el (align-regexp): Remove superfluous backslash.
9958         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
9959         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
9960         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
9961         Fix docstring typos.
9962         (ffap-next): Use C-u in docstring.
9963         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
9964         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
9965         Remove superfluous backslashes.
9966         (ffap-string-at-point): Reflow docstring.
9968         * server.el (server-host): Reflow docstring.
9969         (server-unload-function): Fix docstring typo.
9970         (server-eval-at): Remove superfluous backslash.
9972         * skeleton.el (skeleton-insert): Remove superfluous backslash.
9973         (skeleton-insert): Doc fix.
9974         (skeleton-insert): Reflow docstring.
9976         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
9977         (tty-color-approximate, tty-color-by-index, tty-color-values)
9978         (tty-color-desc): Remove superfluous backslashes.
9980 2014-03-21  Glenn Morris  <rgm@gnu.org>
9982         * cus-start.el (history-length): Bump :version.
9984         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9985         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9986         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9987         Don't set `make-backup-files'.
9989         * info.el (info--prettify-description): New function,
9990         to give info-finder descriptions consistent case, punctuation.
9991         (Info-finder-find-node): Use it.  Sort packages.
9992         Refer to "description" rather than "commentary".
9994 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
9996         * frameset.el (frameset--print-register): New function.
9997         (frameset-to-register): Use it.
9999 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
10001         * progmodes/hideif.el (hif-string-to-number): New function.
10002         (hif-tokenize): Use it to understand non-decimal floats.
10004         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
10006         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
10008 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10010         * electric.el (electric-newline-and-maybe-indent): New command.
10011         Bind it globally to C-j.
10012         (electric-indent-mode): Don't mess with the global map any more.
10013         Don't drop the post-self-insert-hook is some buffer is still using it
10014         (bug#16770).
10016         * bindings.el (global-map): Remove C-j binding.
10018         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
10019         the docstring of functions advised before dumping (bug#16993).
10021 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
10023         * ps-print.el (ps-generate-postscript-with-faces):
10024         Explicitly deactivate the mark (bug#16866).
10025         * simple.el (deactivate-mark): Update region highlight.
10027 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
10029         * emacs-lisp/package.el (describe-package-1):
10030         Decode commentary (bug#16733).
10032 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
10034         * custom.el (defcustom): Doc fix: recommend avoiding destructive
10035         modification of the value argument of :set (bug#16755).
10037 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10039         * simple.el (newline-and-indent): Do autofill (bug#17031).
10041 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
10043         * newcomment.el (comment-normalize-vars): Only add escaping check
10044         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
10045         (comment-beginning): Use `narrow-to-region' instead of moving back
10046         one character.
10047         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
10048         (comment-start-skip): Update the docstring.
10050 2014-03-18  Richard Stallman  <rms@gnu.org>
10052         * dired.el (dired-display-file): Force use of other window.
10054 2014-03-18  Daniel Colascione  <dancol@dancol.org>
10056         * startup.el (tty-handle-args): Remove debug message from 2007.
10058 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10060         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
10061         (advice--make-interactive-form): Use it to avoid (auto)loading function.
10062         (advice--make-1, advice-add, advice-remove):
10063         Remove braindead :advice-pending hack.
10065 2014-03-17  Glenn Morris  <rgm@gnu.org>
10067         * calendar/calendar.el (calendar-generate-month): Apply weekend
10068         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
10070 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
10072         * net/tramp.el (tramp-action-out-of-band): Read pending output.
10073         (tramp-call-process): Trace also DESTINATION.
10075         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10076         Quote file names when they are local.  Remove superfluous trace.
10078 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
10080         * newcomment.el (comment-beginning): If `comment-start-skip'
10081         doesn't match, move back one char and try again.  (Bug#16971)
10083         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10084         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
10085         Set `comment-start-skip' to a simpler value that doesn't try to
10086         check if the semicolon is escaped (this is handled by
10087         `syntax-ppss' now).  (Bug#16971)
10089         * progmodes/scheme.el (scheme-mode-variables): Same.
10091 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
10093         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
10094         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
10095         current (Bug#16816, Bug#17007).
10096         (with-current-buffer-window): New macro doing the same as
10097         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
10098         * help.el (help-print-return-message): Warn in doc-string to not
10099         use this in `with-help-window'.
10100         (describe-bindings-internal): Call `describe-buffer-bindings'
10101         from within help buffer.  See Juanma's scenario in (Bug#16816).
10102         (with-help-window): Update doc-string.
10103         * dired.el (dired-mark-pop-up):
10104         * files.el (save-buffers-kill-emacs):
10105         * register.el (register-preview): Use `with-current-buffer-window'
10106         instead of `with-temp-buffer-window'.
10108 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
10110         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
10111         Implement inserting into current buffer, documented in their docstrings.
10112         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
10113         (rst-section-tree-point, rst-forward-section, rst-indent)
10114         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
10115         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
10116         (rst-font-lock-handle-adornment-pre-match-form)
10117         (rst-repeat-last-character): Reflow docstrings.
10118         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
10119         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
10120         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
10121         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
10122         Fix docstring typos.
10123         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
10124         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
10125         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
10127 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
10129         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
10130         for compatibility with other ports.
10131         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
10132         from the -xrm command line argument, but in the Nextstep port its value
10133         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
10135         * progmodes/python.el (defconst, python-syntax-count-quotes)
10136         (python-indent-region, python-indent-shift-right)
10137         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
10138         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
10139         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
10140         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
10141         (inferior-python-mode, python-shell-make-comint, run-python-internal)
10142         (python-shell-buffer-substring, python-shell-send-buffer)
10143         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
10144         (python-completion-complete-at-point, python-fill-docstring-style)
10145         (python-eldoc-function, python-imenu-format-item-label)
10146         (python-imenu-format-parent-item-label)
10147         (python-imenu-format-parent-item-jump-label)
10148         (python-imenu--build-tree, python-imenu-create-index)
10149         (python-imenu-create-flat-index): Fix docstring typos.
10150         (python-indent-context, python-shell-prompt-regexp, run-python):
10151         Remove superfluous backslashes.
10152         (python-indent-line, python-nav-beginning-of-defun)
10153         (python-shell-get-buffer, python-shell-get-process)
10154         (python-info-current-defun, python-info-current-line-comment-p)
10155         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
10156         (python-indent-post-self-insert-function, python-shell-send-file)
10157         (python-shell-completion-get-completions)
10158         (python-shell-completion-complete-or-indent)
10159         (python-eldoc--get-doc-at-point): Reflow docstrings.
10161 2014-03-14  Glenn Morris  <rgm@gnu.org>
10163         * emacs-lisp/package.el (package-menu-mode-map):
10164         Replace use of obsolete function alias.  Tweak menu item text.
10166         * info.el (Info-finder-find-node):
10167         Ignore the `emacs' metapackage.  (Bug#10813)
10169         * finder.el (finder-list-matches): Include unversioned packages
10170         in the result of a keyword search.
10172         * finder.el (finder--builtins-descriptions): New constant.
10173         (finder-compile-keywords): Use finder--builtins-descriptions.
10175 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
10177         * simple.el (blink-matching-paren): Describe the new value,
10178         `jump', enabling the old behavior.
10179         (blink-matching-open): Use that value.  (Bug#17008)
10181 2014-03-14  Glenn Morris  <rgm@gnu.org>
10183         * finder.el (finder-no-scan-regexp): Add leim-list.
10184         (finder-compile-keywords):
10185         Don't skip files with same basename.  (Bug#14010)
10186         * Makefile.in (setwins_finder): New, excluding leim.
10187         (finder-data): Use setwins_finder.
10189         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
10190         (help-function-arglist, help-make-usage): Move from here...
10191         * help.el (help-split-fundoc, help-add-fundoc-usage)
10192         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
10193         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
10195 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
10197         * net/socks.el (socks, socks-override-functions)
10198         (socks-find-services-entry):
10199         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
10200         (hif-find-ifdef-block):
10201         * progmodes/modula2.el (m2-indent): Fix docstring typos.
10203         * net/tls.el (tls-program): Reflow docstring.
10205         * progmodes/pascal.el (pascal-mode-abbrev-table)
10206         (pascal-imenu-generic-expression, pascal-auto-endcomments)
10207         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
10208         (pascal-outline-mode): Fix docstring typos.
10209         (pascal-mode): Let define-derived-mode document mode hook.
10210         (pascal-uncomment-area): Reflow.
10211         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
10213         * progmodes/opascal.el (opascal-compound-block-indent)
10214         (opascal-case-label-indent): Fix docstring typos.
10215         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
10217 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
10219         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10220         Fontify multiple adjacent negation chars.  (Bug#17004)
10222 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
10224         * emacs-lisp/package.el (package--prepare-dependencies):
10225         Accept requirements without explicit version (bug#14941).
10227 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
10229         * register.el (register-separator, copy-to-register): Doc fixes.
10230         (register-preview-default): Remove unnecessary call to concat.
10232         * frameset.el (frameset-restore): When checking for a visible frame,
10233         use the action map instead of calling visible-frame-list.
10235 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
10237         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
10239 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
10241         * window.el (fit-frame-to-buffer): Get maximum width from
10242         display's width instead of height.
10244 2014-03-12  Glenn Morris  <rgm@gnu.org>
10246         * desktop.el (desktop-restore-frames)
10247         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
10248         (desktop-restore-reuses-frames): Doc tweaks.
10250         * electric.el (electric-indent-mode): Doc fix.
10252 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
10254         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
10255         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
10256         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
10257         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
10258         (cvs-dired-use-hook): Fix docstring typos.
10259         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
10260         Doc fixes.
10262         * vc/pcvs-defs.el (cvs-auto-remove-handled)
10263         (cvs-auto-remove-directories, cvs-default-ignore-marks)
10264         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
10265         (cvs-execute-single-dir): Fix docstring typos.
10267         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
10268         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
10270         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
10272         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
10273         Fix docstring typos.
10275 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
10277         * frameset.el (frameset--jump-to-register): Add autoload; it could be
10278         called from jump-to-register after unloading the frameset package.
10280 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10282         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
10283         (bug#16975).  Deactivate the mark before setting it to nil.
10284         (activate-mark): Do nothing if region is already active.
10286 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
10288         * frameset.el (frameset--target-display): Remove definition; declare.
10289         (frameset-save, frameset-restore): Let-bind frameset--target-display.
10291 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10293         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
10294         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
10295         when the advice is pending.
10296         (advice-remove): Remove this marker when not needed any more.
10298 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
10300         * frameset.el: Separate options for reusing frames and cleaning up.
10301         (frameset--reuse-list): Remove definition; declare.
10302         (frameset--action-map): Declare.
10303         (frameset--find-frame-if): Doc fix.
10304         (frameset--restore-frame): Cache frame action.
10305         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
10306         how to clean up the frame list after restoring.  Remove cleaning
10307         options from REUSE-FRAMES.  Change all keyword values to symbols.
10308         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
10310         * desktop.el (desktop-restore-forces-onscreen)
10311         (desktop-restore-reuses-frames): Use non-keyword values.
10312         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
10314 2014-03-10  Glenn Morris  <rgm@gnu.org>
10316         * files.el (find-file): Doc fix: update info node name.
10318         * emacs-lisp/advice.el (ad-add-advice, defadvice):
10319         Doc fix: remove references to deleted info nodes.
10321 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
10323         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10324         Do not add nil to the environment, when there's no remote `locale'.
10325         (tramp-find-inline-encoding): Check, that the remote host has
10326         installed perl, before sending scripts.
10328 2014-03-10  Leo Liu  <sdl.web@gmail.com>
10330         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10331         Clear eldoc-last-message.  (Bug#16920)
10333 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10335         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
10336         (bug#14430).
10338 2014-03-09  Juri Linkov  <juri@jurta.org>
10340         * ansi-color.el (ansi-color-names-vector): Copy default colors
10341         from `xterm-standard-colors' that look well on the default white
10342         background (and also on the black background) to avoid illegible
10343         color combinations like yellow-on-white and white-on-white.
10344         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
10346 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
10348         * frameset.el (frameset-restore): When no frame is visible, do not
10349         generate a list of frames, just make visible the selected one.
10351 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
10353         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
10354         it only contains the repository root.  (Bug#16897)
10356 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
10358         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
10359         only when `remote-file-name-inhibit-cache' is nil.
10360         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
10362 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
10364         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
10365         Fix doc-strings.
10366         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
10367         fit-frame-to-buffer variable.  Fix doc-string.
10368         (fit-window-to-buffer): Set ONLY argument in call of
10369         fit-frame-to-buffer.  Fix doc-string.
10371 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
10373         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
10374         (tramp-action-password): Clear password cache if needed.
10375         (tramp-read-passwd): Do not clear password cache.
10377         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
10378         cache unless it is the first password request.
10380 2014-03-06  Glenn Morris  <rgm@gnu.org>
10382         * simple.el (newline): Doc tweak.
10384         * emacs-lisp/shadow.el (load-path-shadows-find):
10385         Ignore dir-locals.  (Bug#12357)
10387 2014-03-05  Glenn Morris  <rgm@gnu.org>
10389         * files.el (interpreter-mode-alist):
10390         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
10392 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
10394         * frameset.el (frameset--initial-params): Filter out null entries.
10396 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
10398         * window.el (window-min-height, window-min-width):
10399         Rewrite doc-strings.
10400         (window-body-size): Add PIXELWISE argument to make it consistent
10401         with its callees.
10403 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
10405         * finder.el (finder-mode-map, finder-mode-syntax-table):
10406         Revert part of 2014-02-28 change.
10408 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
10410         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
10411         (eww-setup-buffer): Clear next/prev/etc more reliably.
10412         (eww-textarea-map): [tab] doesn't work on tty.
10413         Reported by Mario Lang.
10415         * net/shr.el (shr-map): Ditto.
10417 2014-03-04  Glenn Morris  <rgm@gnu.org>
10419         * minibuffer.el (completion-hilit-commonality):
10420         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
10422 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
10424         * hilit-chg.el (hilit-chg-unload-function): New function.
10425         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
10426         (hilit-chg-map-changes): Prefer cardinal number to digit.
10427         (hilit-chg-display-changes): Reflow docstring.
10428         (highlight-changes-rotate-faces): Remove superfluous backslash.
10430 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
10432         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
10433         `tramp-send-command-and-check'.
10435 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
10437         * hexl.el (hexl-address-region, hexl-ascii-region)
10438         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10439         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
10440         (hexl-forward-word, hexl-previous-line, hexl-next-line):
10441         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
10442         (hexl-mode): Doc fix.
10443         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
10444         (hexl-mode-ruler): Fix typos in docstrings.
10446         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
10447         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
10448         Remove superfluous backslashes.
10449         (strokes-last-stroke, strokes-global-map, strokes-mode):
10450         Reflow docstrings.
10451         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
10452         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
10453         (strokes-distance-squared, strokes-global-set-stroke)
10454         (strokes-global-set-stroke-string): Doc fixes.
10455         (strokes-help): Fix typos; reflow docstring.
10457 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
10459         * window.el (window-in-direction): Fix doc-string.
10461 2014-03-04  Glenn Morris  <rgm@gnu.org>
10463         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
10464         Explicit error if no grammar.
10465         (smie-config-save): Doc fix.  Fix quote typo.
10467 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10469         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
10470         electric-indent-mode-hook if we obey electric-indent-mode.
10471         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
10472         decide whether we obey electric-indent-mode.
10473         (c-change-set-fl-decl-start, c-extend-after-change-region):
10474         Silence warnings.
10475         (c-electric-indent-mode-hook): Assume we do want to obey
10476         electric-indent-mode.
10478         * electric.el (electric-indent-mode-has-been-called): Remove.
10479         (electric-indent-mode): Fix accordingly.
10481         * files.el (hack-local-variables): Mention file name in warning.
10483         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
10485 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
10487         * bindings.el: Add comment describing why C-d binds to `delete-char'.
10488         * simple.el (delete-forward-char): Mark as interactive-only.
10490 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
10492         * icomplete.el (icomplete-completions):
10493         Follow-up to 2014-03-01 change.
10495         * icomplete.el: Miscellaneous doc fixes.
10496         Use Icomplete everywhere instead of icomplete for consistency.
10497         (icomplete-max-delay-chars): Fix typo.
10498         (icomplete-mode): Use \[].
10499         (icomplete-tidy, icomplete-exhibit): Reflow.
10500         (icomplete-minibuffer-setup-hook, icomplete-completions):
10501         Remove superfluous backlashes.
10503         * ido.el: Miscellaneous doc fixes.
10504         Use Ido everywhere instead of ido or `ido' for consistency.
10505         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
10506         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
10507         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
10508         (ido-separator): Extract obsolescence info from docstring and declare
10509         with make-obsolete-variable.
10510         (ido-minibuffer-setup-hook): Simplify example.
10511         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
10512         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
10513         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
10514         (ido-everywhere): Reflow docstring.
10515         (ido-toggle-vc): Doc fix.
10516         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
10517         of long list of keybindings.
10519 2014-03-03  Glenn Morris  <rgm@gnu.org>
10521         * frame.el (display-pixel-height, display-pixel-width)
10522         (display-mm-dimensions-alist, display-mm-height)
10523         (display-mm-width): Doc tweaks.
10525 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
10527         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10528         case of undo in region.
10530 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
10532         * window.el (fit-window-to-buffer): Fix argument in window-size
10533         call when window is horizontally combined.
10535 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
10537         * icomplete.el (icomplete-completions): Use string-width.
10538         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10540 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
10542         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10543         Highlight regexp options.  (Bug#16914)
10545 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
10547         * window.el (window--max-delta-1): Round down when calculating
10548         how many lines/columns we can get from a window.
10550 2014-03-01  Glenn Morris  <rgm@gnu.org>
10552         * isearch.el (search-invisible): Doc fix.
10554         * minibuffer.el (completion-hilit-commonality):
10555         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
10556         * comint.el (comint-dynamic-list-completions): Doc fix.
10557         * comint.el (comint-dynamic-list-completions):
10558         * filecache.el (file-cache-minibuffer-complete):
10559         * tempo.el (tempo-display-completions):
10560         * eshell/em-hist.el (eshell-list-history):
10561         Replace use of obsolete argument of display-completion-list.
10563 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
10565         * icomplete.el (icomplete-completions):
10566         Revert back to using "..." when ?… cannot be displayed.
10568 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
10570         * finder.el (finder-unload-function): New function.
10572 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
10574         * dframe.el (dframe-detach):
10575         * find-dired.el (find-dired, find-name-dired):
10576         * finder.el (finder-mode-map, finder-mode-syntax-table)
10577         (finder-headmark, finder-select, finder-mouse-select):
10578         Fix docstring typos.
10580 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
10582         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
10583         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
10584         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10585         Fix doc-string based on a suggestion by Nicolas Richard
10586         <theonewiththeevillook@yahoo.fr>.
10587         * help.el (with-help-window): Fix doc-string.
10589 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
10591         * net/shr.el (shr-image-animate): New option.
10592         (shr-put-image): Respect shr-image-animate.
10594 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
10596         * net/tramp-adb.el (tramp-adb-parse-device-names):
10597         Use `accept-process-output'.
10598         (tramp-adb-handle-file-truename): Cache the localname only.
10599         (tramp-adb-handle-make-directory)
10600         (tramp-adb-handle-delete-directory): Flush file properties correctly.
10601         (tramp-adb-handle-set-file-modes): Do not raise an error when file
10602         modes cannot be changed.
10604         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
10605         file properties of symlinks.
10607 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
10609         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
10610         required/optional fields to match development biblatex.  (Bug#16781)
10612 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
10614         * saveplace.el (toggle-save-place):
10615         Fix argument handling.  (Bug#16673)
10617 2014-02-28  Glenn Morris  <rgm@gnu.org>
10619         * minibuffer.el (completions-first-difference)
10620         (completions-common-part, completion-hilit-commonality): Doc fixes.
10622 2014-02-28  Karl Berry  <karl@gnu.org>
10624         * info.el (Info-mode-map): Add H for describe-mode,
10625         to synchronize with standalone Info.
10627 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
10629         * progmodes/sql.el (sql-interactive-mode):
10630         Avoid setting global comint-input-ring-separator.  (Bug#16814)
10632 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
10634         * net/dbus.el (dbus--init-bus): Declare function.
10635         (dbus-path-local, dbus-interface-local): New defconst.
10636         (dbus-init-bus): Use them.
10637         (dbus-return-values-table): Extend doc.
10638         (dbus-handle-bus-disconnect): Extend error message.
10640 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
10642         * subr.el (y-or-n-p): Fix double space issue in message.
10644 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
10646         * net/tramp.el (tramp-call-process): Improve trace message.
10647         (tramp-handle-insert-file-contents): Trace error case.
10649         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10650         <insert-directory>: Use `tramp-handle-insert-directory'.
10651         (tramp-adb-handle-insert-directory): Remove function.
10652         (tramp-adb-send-command-and-check): New defun, replacing
10653         `tramp-adb-command-exit-status'.  Change all callees.
10654         (tramp-adb-handle-file-attributes)
10655         (tramp-adb-handle-directory-files-and-attributes): Use it.
10656         (tramp-adb-ls-output-name-less-p):
10657         Use `directory-listing-before-filename-regexp'.
10658         (tramp-adb-handle-delete-directory): Flush also file properties of
10659         the truename of directory.
10660         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
10661         (tramp-adb-handle-file-local-copy): Make the local copy readable.
10662         (tramp-adb-handle-write-region): Implement APPEND.
10663         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
10664         properties correctly.
10665         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
10666         variables.  Check for connected devices only when needed.
10668 2014-02-27  Glenn Morris  <rgm@gnu.org>
10670         * minibuffer.el (completion-table-dynamic)
10671         (completion-table-with-cache): Doc fixes.
10673         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
10674         (completing-read-multiple): Doc fixes.
10676 2014-02-27  Daniel Colascione  <dancol@dancol.org>
10678         * minibuffer.el (completion--nth-completion): Fix indentation.
10680         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
10681         explicit tramp path is empty.
10683 2014-02-27  Glenn Morris  <rgm@gnu.org>
10685         * emacs-lisp/crm.el (completing-read-multiple):
10686         Empower help-enable-auto-load.
10688 2014-02-26  Glenn Morris  <rgm@gnu.org>
10690         * startup.el (command-line): Don't init the tty in daemon mode.
10692         Avoid calling tty-setup-hook twice, eg if a term file
10693         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
10694         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
10695         (tty-create-frame-with-faces): Use it.
10696         * startup.el (command-line): Pass run-hook argument
10697         to tty-run-terminal-initialization.
10699         * dired.el (dired-restore-desktop-buffer): Demote errors;
10700         eg in case a glob match fails.  (Bug#16884)
10702 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
10704         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
10705         error from `read-from-string'.  (Bug#16850)
10707         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
10708         result of `completing-read' in the interactive form.  (Bug#16854)
10710 2014-02-25  Glenn Morris  <rgm@gnu.org>
10712         * image.el (image-animate, image-animate-timeout):
10713         Stop animating images in dead buffers.  (Bug#16878)
10715         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
10717         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
10718         Doc fixes.
10719         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
10720         * term/sun.el (sun-raw-prefix-hooks):
10721         Use tty-setup-hook instead of term-setup-hook.
10722         (terminal-init-sun): Construct message from bytecomp plist.
10723         * term/wyse50.el (enable-arrow-keys): Doc fix.
10725 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
10727         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
10728         Fix docstring typos.
10730 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
10732         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
10734 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10736         * minibuffer.el (completion--try-word-completion):
10737         Fix error when completing M-x commands (bug#16808).
10739 2014-02-24  Leo Liu  <sdl.web@gmail.com>
10741         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
10743 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
10745         * apropos.el (apropos-print): Avoid formatting error when
10746         apropos-do-all and apropos-compact-layout are both t.
10748 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
10750         * apropos.el (apropos-property, apropos-all-words-regexp)
10751         (apropos-true-hit, apropos-variable, apropos-print):
10752         Fix docstring typos, and remove obsolete comment.
10754 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
10756         * net/tramp-sh.el (tramp-sh-handle-file-truename):
10757         Preserve trailing "/".  (Bug#16851)
10759 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
10761         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
10762         after `=>' (bug#16811).
10763         (ruby-smie-rules): Handle the inconsistent second element of the
10764         list returned by `smie-indent--parent'.
10765         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
10766         method call.
10768 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
10770         * elec-pair.el (electric-pair-text-syntax-table)
10771         (electric-pair-syntax-info, electric-pair--syntax-ppss)
10772         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
10773         (electric-pair--looking-at-unterminated-string-p): Doc fix.
10774         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
10776 2014-02-22  Glenn Morris  <rgm@gnu.org>
10778         * imenu.el (imenu--generic-function): Doc fix.
10780         * register.el (frame-configuration-to-register): Make obsolete.
10782 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
10784         * desktop.el (desktop-save-buffer-p): Do not fail when
10785         desktop-files-not-to-save is nil.  Return t for true result
10786         as the doc says.
10788 2014-02-22  Daniel Colascione  <dancol@dancol.org>
10790         * net/secrets.el (secrets-create-item, secrets-search-items):
10791         Check that attribute values are strings, avoiding the construction
10792         of invalid dbus messages.
10794 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
10796         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
10797         defun-declarations-alist.
10799 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10801         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
10802         (bug#16829).
10804 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
10806         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
10807         (whitespace-newline, whitespace-trailing, whitespace-line)
10808         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
10809         (whitespace-space-after-tab): Fix typo in docstrings.
10811 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
10813         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
10815         * electric.el (electric-indent-functions-without-reindent):
10816         Add `yaml-indent-line'.
10818 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
10820         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
10821         It has done nothing for years; should be removed after the release.
10823         * simple.el (choose-completion): Fix docstring typo.
10824         (read-quoted-char-radix): Remove unneeded * in docstring.
10825         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
10826         Don't escape parentheses unnecessarily in docstrings.
10828 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
10830         Fix handling of window-min-height/-width (Bug#16738).
10831         * window.el (window--dump-window, window--dump-frame):
10832         New functions.
10833         (window--min-size-1): Account for window dividers.
10834         When window-resize-pixelwise is nil, delay rounding till after the
10835         sum of the window components has been calculated.
10836         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
10837         nil make sure at least one text line and two text columns remain
10838         fully visible.
10839         (window-resize): Signal an error when window-resize-apply fails.
10840         (window--resize-child-windows): Fix calculation of by how many
10841         pixels a window can still be shrunk via window-new-normal.
10842         (adjust-window-trailing-edge): Call window--resizable with
10843         correct TRAIL argument.
10845         (with-temp-buffer-window): Don't evaluate BODY within
10846         with-current-buffer (Bug#16816).
10848 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
10850         * net/tramp.el (tramp-check-cached-permissions):
10851         Call `file-attributes' with `suffix' being a symbol but a string.
10853 2014-02-21  Daniel Colascione  <dancol@dancol.org>
10855         * net/dbus.el (dbus-init-bus-1): Declare new subr.
10856         (dbus-init-bus): New function: call into dbus-init-bus-1
10857         and installs a handler for the disconnect signal.
10858         (dbus-call-method): Rewrite to look for result in cons.
10859         (dbus-call-method-handler): Store result in cons.
10860         (dbus-check-event): Recognize events with nil sender as valid.
10861         (dbus-handle-bus-disconnect): New function.  React to bus
10862         disconnection signal by synthesizing dbus error for each
10863         pending synchronous or asynchronous call.
10864         (dbus-notice-synchronous-call-errors): New function.
10865         (dbus-handle-event): Raise errors directly only when `dbus-debug'
10866         is true, not all the time.
10868 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
10870         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
10871         Remove obsolescence declarations, these variables do not exist anymore.
10873         * savehist.el (savehist-save-minibuffer-history)
10874         (savehist-additional-variables, savehist-file, savehist-mode-hook)
10875         (savehist-save-hook, savehist-coding-system, savehist-loaded)
10876         (savehist-load, savehist-install, savehist-autosave): Fix typos;
10877         mostly, refer to "Savehist mode" when talking about the mode,
10878         and not the function.
10880         * saveplace.el (save-place): Remove redundant info in docstring.
10881         (save-place-forget-unreadable-files, toggle-save-place)
10882         (save-place-forget-unreadable-files, save-place-dired-hook):
10883         Fix typos and remove unneeded backslashes.
10885 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
10887         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
10888         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
10890         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10891         <insert-directory>: Use `tramp-handle-insert-directory'.
10892         (tramp-gvfs-handle-insert-directory): Remove function.
10894         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10895         Call `tramp-handle-insert-directory'.
10897 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
10899         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
10900         before the start of buffer/region (bug#16799).
10902 2014-02-20  Glenn Morris  <rgm@gnu.org>
10904         * isearch.el (search-invisible): Doc fix.
10906 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
10908         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
10909         (bug#16657).
10911 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
10913         * frameset.el (frameset-restore): Delay removing an old frame's
10914         duplicate id until the new frame has been correctly created.
10916 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
10918         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
10919         (tramp-check-cached-permissions): Call `file-attributes' if the
10920         cache is empty.
10922         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
10923         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10925         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10926         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
10927         (tramp-gvfs-maybe-open-connection): Set always connection
10928         properties, even if target is mounted already.
10930         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
10931         Set tramp-autoload cookie.
10932         (tramp-get-remote-touch): New defun.
10933         (tramp-sh-handle-set-file-times): Use it.
10934         (tramp-sh-handle-directory-files-and-attributes):
10935         Use `tramp-handle-directory-files-and-attributes' if neither stat
10936         nor perl are available on the remote host.
10938         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
10939         "/".  Write long listing only when "l" belongs to the switches.
10941         * net/trampver.el: Update release number.
10943 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
10945         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
10947 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
10949         * window.el (window-state-put): Allow WINDOW to refer to an
10950         internal window (Bug#16793).
10952 2014-02-19  Glenn Morris  <rgm@gnu.org>
10954         * textmodes/remember.el: Move provide statement to end.
10955         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
10956         (remember-notes): Doc fixes.
10958 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10960         * delsel.el (delete-char): Restore incorrectly erased property
10961         (bug#16795).
10963 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
10965         * frameset.el (frameset--restore-frame): When a frame is being reused
10966         and its root window is not alive, delete all the frame's windows before
10967         restoring the window state.  This works around the issue in bug#16793.
10969 2014-02-18  Glenn Morris  <rgm@gnu.org>
10971         * textmodes/remember.el (remember-data-directory)
10972         (remember-directory-file-name-format, remember-store-in-files)
10973         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
10974         (remember-notes-save-and-bury-buffer)
10975         (remember-notes--kill-buffer-query): Doc fixes.
10977         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
10979 2014-02-17  Alan Mackenzie  <acm@muc.de>
10981         Connect electric-indent-mode up with CC Mode.  Bug #15478.
10982         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
10983         to electric-indent-{,local-}-mode.
10984         (c-basic-common-init): Set electric-indent-inhibit.
10985         Initialise c-electric-flag from electric-indent-mode.
10986         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
10987         New hook functions which propagate electric-indent-mode to CC mode.
10989         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
10990         hit, toggle electric-indent-local-mode.
10992         * electric.el (electric-indent-mode-has-been-called):
10993         New variable.
10995 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
10997         * frameset.el (frameset-cfg-id): New function.
10998         (frameset--reuse-frame, frameset-restore): Use it.
10999         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
11001 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11003         * ido.el (ido-file-internal): Remove unused var `d'.
11004         Use \` for to match BoS.  Fit within 80n columns.
11006 2014-02-17  Daniel Colascione  <dancol@dancol.org>
11008         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
11009         dbus-call-method check for completion using a busy-wait loop with
11010         gradual backoff.
11012 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
11014         Sync with Tramp 2.2.9.
11016         * net/trampver.el: Update release number.
11018 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
11020         * ido.el (ido-file-internal): Don't add the name of an existing
11021         directory twice.  (Bug#16747)
11023 2014-02-16  Glenn Morris  <rgm@gnu.org>
11025         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
11026         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
11028 2014-02-15  Michael R. Mauger  <michael@mauger.com>
11030         * progmodes/sql.el: Version 3.4
11031         (sql-oracle-options): New default value ("-L").
11032         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
11033         (sql-placeholders-filter): Correct placeholder pattern.
11034         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
11035         (sql-login-delay): New variable.
11036         (sql-product-interactive): Use it.
11038 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
11040         * frameset.el (frameset--jump-to-register): Check that buffer is live
11041         (bug#16749).
11043 2014-02-15  Glenn Morris  <rgm@gnu.org>
11045         * info.el (info-initialize): Revert 2014-01-10 change.
11047 2014-02-14  Glenn Morris  <rgm@gnu.org>
11049         * replace.el (map-query-replace-regexp)
11050         (read-regexp-defaults-function, read-regexp): Doc fixes.
11052         * dired.el (dired-read-regexp):
11053         * faces.el (list-faces-display):
11054         * misearch.el (multi-isearch-read-matching-buffers)
11055         (multi-isearch-read-matching-files):
11056         * play/cookie1.el (cookie-apropos):
11057         * progmodes/grep.el (grep-read-regexp): Doc fixes.
11059         * textmodes/remember.el (remember): Use frameset-to-register
11060         rather than frame-configuration-to-register.
11062 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
11064         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
11065         incorrect keybinding.
11067 2014-02-13  Daniel Colascione  <dancol@dancol.org>
11069         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
11070         when adding overlays so that line numbers from compiler match line
11071         numbers we use.
11073 2014-02-13  Glenn Morris  <rgm@gnu.org>
11075         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
11077         * jit-lock.el (jit-lock-mode): Doc fix.
11079 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
11081         * apropos.el (apropos-read-pattern): When the user passes an empty
11082         string, give a more helpful error message than "Wrong type
11083         argument: stringp, nil".
11085 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11087         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
11089 2014-02-13  Glenn Morris  <rgm@gnu.org>
11091         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
11093 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11095         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
11096         shift-select commands.
11098 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
11100         * progmodes/js.el (js-indent-line): Don't widen.
11101         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
11103 2014-02-12  Glenn Morris  <rgm@gnu.org>
11105         * icomplete.el (icomplete): Add info-link to defgroup.
11106         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
11107         (icomplete-minibuffer-map, icomplete-mode)
11108         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
11110         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
11111         (package-menu-filter): Rename from package-menu-filter-interactive.
11112         Doc fix.
11114 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
11116         * frameset.el (frameset--jump-to-register): Select the required
11117         window and buffer before restoring position (bug#16696).
11119 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
11121         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
11123 2014-02-10  Glenn Morris  <rgm@gnu.org>
11125         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
11127 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
11129         * w32-common-fns.el (x-get-selection): Doc fix.
11130         * select.el (x-get-selection): Doc fix.  (Bug#15109)
11132         * face-remap.el (face-remap-add-relative)
11133         (face-remap-remove-relative, face-remap-reset-base)
11134         (face-remap-set-base): Call force-mode-line-update to redisplay
11135         the current buffer due to potential change in faces.  (Bug#16709)
11137 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
11139         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
11140         script more robustly.
11142 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
11144         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
11146         * simple.el (choose-completion): Doc fix (bug#14160).
11148         * subr.el (event-start): Say what a nil EVENT value means.
11150         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
11151         (bug#14197).
11153         * progmodes/grep.el (find-program): Doc fix (bug#14289).
11155         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
11157         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
11159         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
11160         predicate function (bug#15455).
11162 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
11164         * ielm.el (inferior-emacs-lisp-mode): Instead of
11165         `comment-use-global-state', set `comment-use-syntax'.
11167 2014-02-10  Glenn Morris  <rgm@gnu.org>
11169         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
11171 2014-02-09  Alan Mackenzie  <acm@muc.de>
11173         Fix c-invalidate-state-cache on narrowed buffers.
11174         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
11175         Widen when setting and clearing the CPP delimiter properties.
11177 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
11179         * help.el (describe-bindings): Doc fix (bug#9888).
11181         * files.el (save-buffer): Use ARG as the parameter name for
11182         consistency (bug#10346).
11183         (save-buffer): Clarify the 0 argument (bug#10346).
11185         * cus-edit.el (customize-apropos): Fix error string.
11186         (custom-buffer-create): Doc fix (bug#11122).
11187         (custom-sort-items): Doc fix (bug#11121).
11189         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
11191         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
11192         (icomplete-simple-completing-p): Mention the previous variable.
11194         * font-lock.el (font-lock-value-in-major-mode): Clarify the
11195         meaning of the parameter (bug#12282).
11197         * files.el (find-file-noselect): Clarify prompt when changing
11198         readedness (bug#13261).
11199         (locate-file): Suffixes aren't returned, so don't say that they
11200         are (bug#12674).
11201         (backup-inhibited): Doc clarification (bug#12525).
11203         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
11204         before we actually start to delete things (bug#16331).
11206         * subr.el (event-start): Doc fix (bug#14228).
11207         (event-end): Ditto.
11209 2014-02-09  Glenn Morris  <rgm@gnu.org>
11211         * emacs-lisp/warnings.el (lwarn):
11212         Empower help-enable-auto-load.  (Bug#15940)
11214 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
11216         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
11217         (Bug#16690)
11219 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
11221         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11222         Insert output at end of buffer.  (Bug#16120)
11224 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
11226         * simple.el (choose-completion-string-functions): Document new
11227         calling convention (bug#14153).
11228         (execute-extended-command): Clarify doc string (bug#13373).
11230         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
11232         * find-dired.el (find-name-dired): Doc fix (bug#14290).
11233         (find-grep-dired): Doc fix (bug#14288).
11235 2014-02-08  Juri Linkov  <juri@jurta.org>
11237         * isearch.el (isearch-quote-char): Check character validity
11238         like in `quoted-insert' (bug#16677).
11240 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
11242         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
11244         * isearch.el (isearch-hide-immediately): Doc clarification
11245         (bug#14723).
11247         * simple.el (line-move): Document utility function used many
11248         places in the Emacs sources (bug#14843).
11250         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
11251         (dired-prev-marked-file): Doc fix (bug#14855).
11252         (dired-up-directory): Doc fix (bug#14848).
11254         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
11256         * files.el (file-relative-name): Doc fix (bug#15159).
11258         * fringe.el (fringe-styles): Doc fix (bug#15239).
11260         * isearch.el (isearch-filter-predicate): Documentation typo fix
11261         (bug#15474).
11263         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11265         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
11267         * replace.el (replace-match-maybe-edit): Doc clarification
11268         (bug#15632).
11270         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11272         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
11274 2014-02-08  Glenn Morris  <rgm@gnu.org>
11276         * help-fns.el (describe-variable):
11277         Check {file,dir}-local-variables-alist, and buffer-file-name,
11278         in the correct buffer.
11280 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
11282         * help-fns.el (describe-variable): Fix the case where
11283         a value is directory-local with no dir-locals file.  (Bug#16635)
11285 2014-02-08  Glenn Morris  <rgm@gnu.org>
11287         * abbrev.el (edit-abbrevs-mode):
11288         Derive from fundamental-mode.  (Bug#16682)
11290 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
11292         * simple.el (quoted-insert): Check character validity (bug#16677).
11294 2014-02-07  Juri Linkov  <juri@jurta.org>
11296         * desktop.el (desktop-read): Claim the lock when the owner is not
11297         the current process.  (Bug#16157)
11299 2014-02-07  Juri Linkov  <juri@jurta.org>
11301         * desktop.el (desktop-buffers-not-to-save): Change default from nil
11302         to "\\` ".  (Bug#16651)
11304 2014-02-07  Juri Linkov  <juri@jurta.org>
11306         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
11307         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
11308         (desktop-auto-save-cancel-timer): New function with some code from
11309         `desktop-auto-save-set-timer'.
11310         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
11311         Instead of setting `desktop-save-mode' to nil, call
11312         `desktop-save-mode' with arg 0.  (Bug#16630)
11314 2014-02-07  Glenn Morris  <rgm@gnu.org>
11316         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
11317         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
11318         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
11320         * obsolete/iswitchb.el: Move to obsolete/.
11321         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
11322         since obsolete/ is not scanned for autoloads.
11323         * emacs-lisp/authors.el (authors-valid-file-names):
11324         Add iswitchb.el.
11326         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
11327         Disable now non-functional find-file-hook.
11329 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
11331         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
11332         instead of ";" in order to avoid additional prompts.  Let heredoc
11333         scripts read from tty.  (Bug#16582)
11334         (tramp-send-command): No special handling of heredocs, it isn't
11335         necessary anymore.
11337 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11339         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
11340         with a space (bug#16664).  Limit the symbols considered to the ones
11341         that are bound or fbound (bug#16646).
11343 2014-02-06  Glenn Morris  <rgm@gnu.org>
11345         * epa.el (epa-mail-aliases): Doc fix.
11347 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
11349         * emacs-lisp/lisp.el (lisp-completion-at-point):
11350         Use `completion-table-merge' instead of `completion-table-in-turn'
11351         (bug#16604).
11353         * minibuffer.el (completion-table-merge): New function.
11355 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
11357         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
11358         (tramp-sh-handle-set-file-acl)
11359         (tramp-sh-handle-start-file-process)
11360         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11361         (tramp-find-executable, tramp-send-command): Use it.
11363 2014-02-05  Glenn Morris  <rgm@gnu.org>
11365         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
11367 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11369         * progmodes/python.el (python-shell-send-string)
11370         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
11372 2014-02-04  Anders Lindgren  <andlind@gmail.com>
11374         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
11375         the names (bug#16620).
11377 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
11379         * faces.el (window-divider): New default value.  Rewrite doc-string.
11380         (window-divider-first-pixel, window-divider-last-pixel): New faces.
11382 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
11384         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11385         `protected' and `public' can also be called without arguments.
11387 2014-02-03  Glenn Morris  <rgm@gnu.org>
11389         * register.el (window-configuration-to-register)
11390         (frame-configuration-to-register): Unadvertise unused argument.
11391         * frameset.el (frameset-to-register): Remove unused argument.
11393         * frameset.el (frameset-to-register):
11394         * kmacro.el (kmacro-to-register):
11395         * register.el (increment-register):
11396         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
11397         (calc-append-to-register, calc-prepend-to-register):
11398         * play/gametree.el (gametree-layout-to-register)
11399         (gametree-apply-register-layout):
11400         * textmodes/picture.el (picture-clear-rectangle-to-register)
11401         (picture-yank-rectangle-from-register):
11402         * vc/emerge.el (emerge-combine-versions-register):
11403         Use register-read-with-preview to read registers.
11405 2014-02-03  João Távora  <joaotavora@gmail.com>
11407         * elec-pair.el (electric-pair-backward-delete-char): Don't error
11408         when at beginning of (possibly narrowed) buffer.
11410 2014-02-02  Daniel Colascione  <dancol@dancol.org>
11412         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
11413         Also try to display local help from just before point.
11415 2014-02-02  Alan Mackenzie  <acm@muc.de>
11417         c-parse-state.  Don't "append-lower-brace-pair" in certain
11418         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
11419         recognised as a comment.
11421         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
11422         as well as normal comment starter.
11423         (c-parse-state-get-strategy): Extra return possibility
11424         'back-and-forward.
11425         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
11426         return value list to indicate replacement of a brace-pair cons
11427         with its car.
11428         (c-parse-state-1): With 'back-and-forward, only call
11429         c-append-lower-brace-pair-to state-cache when cons-separated.
11431 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
11433         * term/ns-win.el (ns-suspend-error): New function.
11434         (ns-initialize-window-system): Add ns-suspend-error to
11435         suspend-hook (Bug#16612).
11437 2014-02-02  Daniel Colascione  <dancol@dancol.org>
11439         * progmodes/cc-defs.el (c-find-assignment-for-mode):
11440         Make loading cc-mode silent.
11442 2014-02-02  Daniel Colascione  <dancol@dancol.org>
11444         * comint.el (comint-prompt-read-only): Change doc to suggest
11445         remap keybinding.
11447 2014-02-02  Glenn Morris  <rgm@gnu.org>
11449         * register.el (register-read-with-preview, point-to-register)
11450         (window-configuration-to-register, frame-configuration-to-register)
11451         (jump-to-register, number-to-register, view-register, insert-register)
11452         (copy-to-register, append-to-register, prepend-to-register)
11453         (copy-rectangle-to-register): Doc fixes.
11455 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11457         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
11458         * emacs-lisp/find-func.el (find-function-C-source): Idem.
11459         * emacs-lisp/nadvice.el (advice--cd*r): New function.
11460         * help-fns.el (describe-function-1): Use it.
11462 2014-02-02  Glenn Morris  <rgm@gnu.org>
11464         * register.el (register-preview-default): New function,
11465         split from register-preview.
11466         (register-preview-function): Rename from register-preview-functions,
11467         make it not a hook.
11468         (register-preview): Use register-preview-function.
11469         (register-read-with-preview): Error on non-character event.  (Bug#16595)
11471 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
11473         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
11474         `:' before binary operators (bug#16609).  Don't check for `:'
11475         before `[' and `(', or their syntax status.  A percent literal
11476         can't end with either.
11477         (ruby-font-lock-keywords): For built-ins that require arguments,
11478         check that they're followed by something that looks like argument
11479         (bug#16610).
11481 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
11483         * subr.el (butlast): Document what an omitted N means (bug#13437).
11484         (nbutlast): Ditto.
11486 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
11488         * net/shr.el (shr-generic): Make into a defsubst to make the stack
11489         depth shallower (bug#16587).
11490         (shr-tag-svg): Respect `shr-inhibit-images'.
11491         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
11493 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
11495         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
11496         (ruby-smie-grammar): Make "." right-associative.  Make its priority
11497         lower than the ternary and all binary operators.
11498         (ruby-smie-rules): Indent "(" relative to the first non-"."
11499         parent, or the first "." parent at indentation.
11500         Use `ruby-align-chained-calls' for indentation of "." tokens.
11501         (Bug#16593)
11503 2014-01-31  Juri Linkov  <juri@jurta.org>
11505         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
11506         from `make-hash-table'.
11508         * textmodes/ispell.el (ispell-init-process): Change message format
11509         to be consistent with other messages.
11511 2014-01-31  Glenn Morris  <rgm@gnu.org>
11513         * delsel.el (delete-selection-mode): Doc fix.
11515         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
11516         (trace-function-background): Doc fixes.
11518         * ido.el (ido-use-virtual-buffers): Doc fix.
11519         Reset :version, since the default value has not changed.
11521         * register.el (register-preview-delay, register-read-with-preview):
11522         Doc fixes.
11524         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
11525         do not mess with mail-buffer position (fixes 2009-11-03 change).
11526         * progmodes/cc-mode.el (c-submit-bug-report):
11527         Check auto-fill-mode is bound.  (Bug#16592)
11529 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
11531         * startup.el (fancy-splash-image-file): New function,
11532         split from fancy-splash-head.
11533         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
11534         so that we are both using the same image.  (Bug#16574)
11536 2014-01-30  Glenn Morris  <rgm@gnu.org>
11538         * simple.el (eval-expression): Doc fix.
11540         * hexl.el (hexl-mode-hook):
11541         * ielm.el (ielm-mode-hook):
11542         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
11543         (lisp-interaction-mode-hook):
11544         * progmodes/cfengine.el (cfengine3-documentation-function):
11545         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
11547 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11549         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
11550         is a symbol (bug#16584).
11552 2014-01-30  Glenn Morris  <rgm@gnu.org>
11554         * help.el (help-for-help-internal): Add "P" to text.
11556 2014-01-29  Glenn Morris  <rgm@gnu.org>
11558         * simple.el (just-one-space, cycle-spacing): Doc fixes.
11560 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
11562         * window.el (fit-frame-to-buffer): Fix calculations for margins and
11563         height constraints.
11565 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
11567         * progmodes/hideif.el: Extend to full CPP expression syntax.
11568         (hif-token-alist): Add missing tokens.
11569         (hif-token-regexp): Add support for float/octal/hex immediates.
11570         (hif-string-literal-regexp): New const.
11571         (hif-tokenize): Recognize strings and float/octal/hex immediates.
11572         (hif-exprlist): New function.
11573         (hif-parse-if-exp): Use it.
11574         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
11575         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
11576         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
11577         (hif-logxor, hif-comma): New functions.
11579 2014-01-28  Glenn Morris  <rgm@gnu.org>
11581         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
11583         * indent.el (tab-stop-list): Doc fix.  Add :version.
11585         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
11586         (cvs-append-to-ignore): Add compatibility alias.
11588 2014-01-27  Glenn Morris  <rgm@gnu.org>
11590         * dired.el (dired-hide-details-mode): Don't autoload it,
11591         since it cannot be used outside Dired buffers anyway.
11593         * emulation/cua-base.el (cua-mode): Doc fix.
11595         * dired.el (dired-hide-details-hide-symlink-targets)
11596         (dired-hide-details-hide-information-lines)
11597         (dired-hide-details-mode): Doc fixes.
11599         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
11600         * strokes.el (strokes-file): Doc fix.  Bump :version.
11601         (strokes-help): Doc fix.
11602         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
11603         * emulation/viper.el (viper): Doc fix for custom group.
11604         (top-level): Remove oh-so-no-longer-relevant text about vip.
11605         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
11607         * ido.el (ido-save-directory-list-file):
11608         * saveplace.el (save-place-file):
11609         * calendar/timeclock.el (timeclock-file):
11610         * net/quickurl.el (quickurl-url-file):
11611         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11612         * progmodes/idlwave.el (idlwave-config-directory):
11613         * textmodes/remember.el (remember-data-file):
11614         Bump :version.
11616 2014-01-26  Glenn Morris  <rgm@gnu.org>
11618         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
11619         Doc fix.  Make obsolete.
11620         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
11622         * sort.el (delete-duplicate-lines): Doc fix.
11624 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11626         * progmodes/ada-mode.el (ada):
11627         * woman.el (woman): Link to info manual and Commentary section.
11629         * progmodes/flymake.el (flymake):
11630         * nxml/nxml-mode.el (nxml):
11631         * net/eww.el (eww):
11632         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
11633         * htmlfontify.el (htmlfontify):
11634         * ses.el (ses):
11635         * epa.el (epa):
11636         * ido.el (ido): Link to info manual.
11638 2014-01-25  Leo Liu  <sdl.web@gmail.com>
11640         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
11642 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
11644         * net/shr.el (shr-tag-img): Prefer the title over the alt text
11645         (bug#16537).
11647 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
11649         * net/eww.el (eww-download-callback):
11650         Fix reference to eww-download-directory.
11652         * emacs-lisp/bytecomp.el (byte-compile-file):
11653         Remove unused local variable `file-name'.
11655 2014-01-24  Glenn Morris  <rgm@gnu.org>
11657         * woman.el (woman-default-faces, woman-monochrome-faces):
11658         Fix obsolescence specification.
11660         * subr.el (with-demoted-errors): Doc fix.
11662 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11664         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
11665         (cl--macroexp-fboundp): New function.
11666         (cl--make-type-test): Use it.
11668 2014-01-23  Glenn Morris  <rgm@gnu.org>
11670         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
11671         * simple.el (eval-expression): Doc fixes.
11673 2014-01-22  Glenn Morris  <rgm@gnu.org>
11675         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
11677 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11679         * emacs-lisp/package.el: Write files silently.
11680         (package-autoload-ensure-default-file, package--write-file-no-coding)
11681         (package-generate-description-file, package--download-one-archive)
11682         (package-install-from-archive): Tell `write-region' to stay quiet.
11683         (package-menu-mode, package-menu--print-info): Omit the Archive column
11684         if there's only one archive.
11685         (package-all-keywords, package--has-keyword-p): Remove dead code.
11687 2014-01-22  Glenn Morris  <rgm@gnu.org>
11689         * version.el (emacs-bzr-version-bzr): Fix typo.
11691         * version.el (emacs-repository-get-version):
11692         Check either .bzr or .git, but not both.
11693         Make the git case actually use the DIR argument, and return nil
11694         rather than the empty string.
11695         Avoid error if .git exists but the git executable is not found.
11697 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
11699         Fixes in window size functions around Bug#16430 and Bug#16470.
11700         * window.el (window-total-size, window-size): New argument ROUND.
11701         (window--min-delta-1, window-min-delta, window--max-delta-1):
11702         Be more conservative when calculating the numbers of lines or
11703         columns a window can shrink (Bug#16430).
11704         (fit-window-to-buffer): Simplify code.
11705         * term.el (term-window-width): Call window-body-width again.
11707 2014-01-22  Glenn Morris  <rgm@gnu.org>
11709         * image.el (image-format-suffixes): Doc fix.
11711         * international/quail.el (quail-define-package): Doc fix.
11713         * emacs-lisp/authors.el (authors-valid-file-names)
11714         (authors-renamed-files-alist): Additions.
11716         * vc/vc-git.el (vc-git-print-log): Remove --follow;
11717         reverts 2014-01-09 change.  (Bug#16422)
11719         * calc/calc-embed.el (thing-at-point-looking-at):
11720         * emacs-lisp/map-ynp.el (x-popup-dialog):
11721         * obsolete/lmenu.el (x-popup-dialog):
11722         * emacs-lisp/package.el (url-recreate-url):
11723         * mail/mailclient.el (clipboard-kill-ring-save):
11724         * subr.el (x-popup-dialog): Update declaration.
11725         * mail/rmail.el (rmail-mime-message-p):
11726         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
11728 2014-01-21  Daniel Colascione  <dancol@dancol.org>
11730         * progmodes/sh-script.el (sh--inside-noncommand-expression):
11731         Correctly detect when we're inside an arithmetic expansion form
11732         containing nested parenthesis.
11733         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
11734         to detect cases where we shouldn't expand "<<" to a heredoc
11735         skeleton.
11737 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11739         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
11740         (eldoc--message-command-p): New function.
11741         (eldoc-display-message-p): Use it.
11742         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
11743         message is not automatically erased for us.
11744         (eldoc-print-current-symbol-info): Erase previous message, if any.
11746 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
11748         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
11749         specify it's an interactive function.
11751         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
11752         Fix regex used for scanning for citation keys which failed for
11753         citations with optional arguments.
11755 2014-01-21  Leo Liu  <sdl.web@gmail.com>
11757         * simple.el (read--expression): Don't enable eldoc-mode.
11759 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11761         * simple.el (move-beginning-of-line): Make sure we don't move forward
11762         (bug#16497).
11764 2014-01-20  Juri Linkov  <juri@jurta.org>
11766         * saveplace.el (toggle-save-place, save-place-to-alist)
11767         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
11768         'dired-mode) before checking for dired-directory.  (Bug#16477)
11770 2014-01-20  Juri Linkov  <juri@jurta.org>
11772         * indent.el (indent-line-to): Use backward-to-indentation
11773         instead of back-to-indentation.  (Bug#16461)
11775 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
11777         Revert some of the CANNOT_DUMP fix (Bug#16494).
11778         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
11779         but fixing this can wait until after the next release.
11780         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
11782 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
11784         * eshell/esh-mode.el (eshell-password-prompt-regexp):
11785         Use `password-word-equivalents'.
11786         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
11787         to t.  (Bug#5664, Bug#13124)
11789 2014-01-19  Alan Mackenzie  <acm@muc.de>
11791         Bind open-paren-in-column-0-is-defun-start to nil at some entry
11792         points.
11793         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
11794         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
11795         * progmodes/cc-mode.el (c-before-change, c-after-change)
11796         (c-font-lock-fontify-region): Bind it here.
11798 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
11800         * term.el (term-window-width): Call window-text-width instead of
11801         window-width (Bug#16470).
11803 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
11805         * simple.el (password-word-equivalents): Remove duplicates.
11806         Sort, to make this easier next time.
11807         Downcase.  Omit ": " after "jelszó".
11809 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
11811         * term/common-win.el (saved-region-selection): Defvar it.
11812         (x-select-text): Set saved-region-selection (Bug#16382).
11814 2014-01-18  Glenn Morris  <rgm@gnu.org>
11816         * emacs-lisp/authors.el (authors-aliases)
11817         (authors-renamed-files-alist): Add some entries.
11819 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
11821         * net/tramp.el (tramp-password-prompt-regexp):
11822         Use `password-word-equivalents' if available.
11823         (tramp-action-password, tramp-process-one-action)
11824         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
11826 2014-01-17  Chong Yidong  <cyd@gnu.org>
11828         * simple.el (password-word-equivalents): New defcustom.
11829         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
11830         to 24.4.
11831         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
11832         to t.  (Bug#13124)
11834 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
11836         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
11837         (ruby-align-to-stmt-keywords): Change the default value.
11838         Use `ruby-alignable-keywords' to generate the possible customization
11839         choices.
11840         (ruby-smie-rules): Instead of using a hardcoded list of alignable
11841         keywords, check against the value of `ruby-alignable-keywords'
11842         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
11844 2014-01-17  Glenn Morris  <rgm@gnu.org>
11846         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
11848         Make M-x authors return zero *Authors Errors* from current logs.
11849         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
11850         (authors-ignored-files): Add some entries, remove others.
11851         (authors-ambiguous-files, authors-valid-file-names):
11852         Add some entries.
11853         (authors-renamed-files-alist): Add, remove, and adjust entries.
11854         (authors-renamed-files-regexps): Add some entries.
11855         Remove some very broad ones.  Make some entries `lax'.
11856         (authors-lax-changelogs): New constant.
11857         (authors-disambiguate-file-name): Treat top-level specially.
11858         (authors-lax-changelog-p): New function.
11859         (authors-canonical-file-name): Check file as written against
11860         authors-valid-file-names.  Do not special-case etc/.
11861         Handle `lax' logs and authors-renamed-files-regexps elements.
11863 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
11865         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
11866         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
11867         callers.
11869 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11871         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
11872         Assume we're already in the proper buffer.
11873         Inspired by Anders Lindgren <andlind@gmail.com>.
11874         (follow-post-command-hook): Call it from the right buffer.
11875         (follow-comint-scroll-to-bottom): Adjust call.
11876         (follow-all-followers): Use get-buffer-window-list.
11878 2014-01-15  Daniel Colascione  <dancol@dancol.org>
11880         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
11881         `buffer-file-name' in interactive-form so that we don't leave
11882         pathless file names in `file-name-history'.
11884 2014-01-15  Juri Linkov  <juri@jurta.org>
11886         * indent.el (indent-rigidly): Set deactivate-mark to nil
11887         in transient indentation mode.  (Bug#16438)
11889 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
11891         * emacs-lisp/package.el (package-desc-keywords): New function
11892         (Bug#16222).
11893         (describe-package-1, package-all-keywords)
11894         (package--has-keyword-p): Use it.
11896 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
11898         * simple.el (define-alternatives): When creating the
11899         COMMAND-alternatives variable, assign COMMAND as its definition
11900         name so that `describe-variable' can relocate it.
11902 2014-01-14  Matthew Leach  <matthew@mattleach.net>
11904         * font-lock.el (font-lock-keywords): Fix typo in docstring
11905         (bug#16307).
11907 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11909         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
11910         line instead of wrongly reset `add-coment' (bug#13577).
11912 2014-01-14  Daiki Ueno  <ueno@gnu.org>
11914         * epa-file.el (epa-file-write-region): Encode the region according
11915         to `buffer-file-format'.  Problem reported at:
11916         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
11918 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11920         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
11921         so it applies in the right buffer (bug#16410).
11923 2014-01-13  Daniel Colascione  <dancol@dancol.org>
11925         * textmodes/rst.el (rst-define-key): Provide deprecated
11926         keybindings through named functions instead of anonymous ones so
11927         that "??" doesn't appear in describe-mode output.
11929 2014-01-13  Bastien Guerry  <bzg@gnu.org>
11931         * simple.el (define-alternatives): Call the selected command
11932         interactively.  When setting `COMMAND--implementation' for the
11933         first time, tell the user how to chose another implementation.
11934         Enhance the docstring.
11936 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11938         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
11939         (log-edit--match-first-line): New function.
11940         (log-edit-font-lock-keywords): Use it.
11941         (log-edit-mode): Make jit-lock-defer-multiline work.
11943 2014-01-13  Bastien Guerry  <bzg@gnu.org>
11945         * rect.el (rectangle-mark-mode): When the region is not active,
11946         display a message saying that the mark as been set and that
11947         rectangle mode is in use.
11948         (rectangle--highlight-for-redisplay): Only put an overlay with a
11949         visible vertical bar when (display-graphic-p) is non-nil.
11950         This partially fixes Bug#16403.
11952 2014-01-13  Juri Linkov  <juri@jurta.org>
11954         * info.el (Info-find-file): Go to DIR before displaying the error
11955         about a nonexistent file if no previous Info file is visited.
11956         Use `user-error' instead of `error' for "Info file %s does not exist".
11957         (Info-find-node-2): In case of a nonexistent node in unwind forms
11958         go to the Top node if there is no previous node to revert to.
11959         (Bug#16405)
11961 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
11963         fit-frame/window-to-buffer code fixes including one for Bug#14096.
11964         * window.el (fit-frame-to-buffer): Fix doc-string.
11965         Respect window-min-height/-width.  Fit pixelwise when
11966         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
11967         when avoiding that frame goes partially off-screen.
11968         (fit-window-to-buffer): Respect window-min-height/-width
11969         (Bug#14096).
11971 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11973         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
11974         after an empty line.
11976 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11978         * net/shr.el (shr-render-region): Autoload.
11980 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
11982         * net/eww.el (eww-download-directory): Rename from
11983         `eww-download-path' (Bug#16419).
11985 2014-01-12  Leo Liu  <sdl.web@gmail.com>
11987         * dired-x.el (dired-mode-map): Fix last change.
11989         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
11991 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
11993         Spelling fixes.
11994         * emacs-lisp/generic.el (generic--normalize-comments):
11995         Rename from generic--normalise-comments.  All uses changed.
11996         * play/bubbles.el (bubbles--neighborhood-score)
11997         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
11998         (bubbles--neighborhood-available)
11999         (bubbles--update-neighborhood-score):
12000         Rename from names with 'neighbourhood'.  All uses changed.
12002 2014-01-12  Leo Liu  <sdl.web@gmail.com>
12004         Re-implement the feature of showing eldoc info after editing.
12005         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
12006         (eldoc-edit-message-commands): New function.
12007         (eldoc-print-after-edit): New variable.
12008         (eldoc-pre-command-refresh-echo-area): Emit message only by
12009         eldoc-message-commands.
12010         (eldoc-mode): Restrict eldoc-message-commands to editing commands
12011         if eldoc-print-after-edit is set.  (Bug#16346)
12012         * simple.el (read--expression): Enable eldoc-mode.
12013         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
12015 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
12016             Eric S. Raymond  <esr@thyrsus.com>
12018         * version.el (emacs-repository-get-version): Enhance so the
12019         function works correctly in either a Bazaar or Git repo.
12021 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
12023         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
12024         Goes with removal of the joke manpages from /etc.
12026 2014-01-10  Kenichi Handa  <handa@gnu.org>
12028         * mail/rmail.el (rmail-get-coding-system):
12029         Check rmail-get-coding-function before "funcall"ing it.
12031 2014-01-10  Glenn Morris  <rgm@gnu.org>
12033         * emacs-lisp/authors.el (authors-fixed-entries):
12034         Update for files that no longer exist.
12036 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
12038         * version.el (emacs-bzr-get-version): Restore compatibilty with
12039         24.3 (Tested).
12041 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
12043         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
12044         and Podfile.
12046 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
12048         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
12050 2014-01-10  Chong Yidong  <cyd@gnu.org>
12052         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
12054 2014-01-10  Anders Lindgren  <andlind@gmail.com>
12056         * follow.el (follow-cache-command-list): Include right-char and
12057         left-char.
12059 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12061         Spelling fixes.
12062         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
12063         * woman.el (woman-mark-horizontal-position):
12064         Rename from woman-mark-horizonal-position.  Use changed.
12066 2014-01-10  Glenn Morris  <rgm@gnu.org>
12068         * info.el (info-initialize): If running uninstalled, ensure our
12069         own info files are always found first, even if INFOPATH is set.
12071         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
12073 2014-01-09  David Engster  <deng@randomsample.de>
12075         * emacs-lisp/eieio-custom.el:
12076         * emacs-lisp/eieio-opt.el: Set generated autoload file to
12077         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
12078         * emacs-lisp/eieio.el: Regenerate autoloads.
12080 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
12082         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
12083         following renames.  (Bug#8756)
12085 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12087         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
12088         (bug#16382).
12089         (activate-mark): Add `no-tmm' argument.
12090         (set-mark, push-mark-command): Use it instead of running
12091         activate-mark-hook by hand.
12093 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
12095         In preparation for the move to git, sanitize out some
12096         Bazaar-specific names.
12098         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
12100         * version.el (emacs-bzr-version): Name changed to
12101         emacs-repository-version.  Obsolete-variable alias made.
12102         * loadup.el: Follow through on this name change.
12103         * mail/emacsbug.el (report-emacs-bug): Factor out any
12104         assumption about the version control system in use.
12106 2014-01-08  David Engster  <deng@randomsample.de>
12108         * help-fns.el (help-fns-describe-function-functions):
12109         New variable to call functions for augmenting help buffers.
12110         (describe-function-1): Remove explicit calls to
12111         `help-fns--compiler-macro', `help-fns--parent-mode' and
12112         `help-fns--obsolete'.  Put them in above new variable instead, and
12113         call them through `run-hook-with-args'.
12114         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
12115         `eieio-describe-class'.  Not meant for interactive use anymore,
12116         but to augment existing help buffers.  Remove optional second
12117         argument.  Create proper button for file location.
12118         Rewrite function to use `insert' instead of `princ' and `prin1' where
12119         possible.
12120         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
12121         (eieio-method-def, eieio-class-def): Move further up.
12122         (describe-method, describe-generic, eieio-describe-method):
12123         Remove aliases.
12124         (eieio-help-constructor, eieio-help-generic): Rename from
12125         `eieio-describe-constructor' and `eieio-describe-generic', resp.
12126         Rewrite to use `insert' in the current buffer and use proper help
12127         buttons.
12128         (eieio-help-find-method-definition)
12129         (eieio-help-find-class-definition): Also accept symbols as
12130         arguments.
12131         (eieio-help-mode-augmentation-maybee): Remove.
12132         (eieio-describe-class-sb): Use `describe-function'.
12133         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
12134         Add `eieio-help-generic' and `eieio-help-constructor'.
12136 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
12138         Spelling fixes.
12139         * language/china-util.el (hz-ascii-designation):
12140         Rename from hz-ascii-designnation.
12141         (hz-ascii-designation): Rename from hz-ascii-designnation.
12142         All uses changed.
12144 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12146         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
12147         package-alist.
12149 2014-01-08  Bastien Guerry  <bzg@gnu.org>
12151         * emacs-lisp/package.el (package-delete):
12152         Correctly delete the package from package-alist.
12154 2014-01-08  Daiki Ueno  <ueno@gnu.org>
12156         * emacs-lisp/package.el (url-recreate-url): Declare.
12157         (url-http-target-url): Declare.
12158         (package-handle-response): Include requested URL in the error message.
12159         (package--check-signature): Don't re-signal errors from
12160         package--with-work-buffer.  Suggested by Stefan Monnier.
12162 2014-01-07  Bastien Guerry  <bzg@gnu.org>
12164         * minibuffer.el (completion--try-word-completion): When both a
12165         hyphen and a space are possible candidates for the character
12166         following a word, display both candidates.  (Bug#15980)
12168 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
12170         * window.el (balance-windows-2): While rounding don't give a
12171         window more than the remainder.  Bug#16351, bug#16383.
12173 2014-01-07  Glenn Morris  <rgm@gnu.org>
12175         * menu-bar.el (menu-bar-help-extra-packages): Remove.
12176         (menu-bar-help-menu): Use view-external-packages instead.
12178 2014-01-07  Bastien Guerry  <bzg@gnu.org>
12180         * emacs-lisp/package.el (package-delete): Also delete the package
12181         name from `package-alist', not its description only.
12183 2014-01-07  Glenn Morris  <rgm@gnu.org>
12185         * help.el (view-external-packages):
12186         * menu-bar.el (menu-bar-help-extra-packages):
12187         Visit efaq.info rather than etc/MORE.STUFF.
12189 2014-01-07  Juri Linkov  <juri@jurta.org>
12191         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
12192         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
12194         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
12195         that shadows RET.  (Bug#16342)
12197 2014-01-07  Chong Yidong  <cyd@gnu.org>
12199         * isearch.el (isearch-yank-char, isearch-yank-word)
12200         (isearch-yank-line): Doc fix.
12202 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12204         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
12205         * emacs-lisp/elint.el (elint-find-builtins):
12206         * emacs-lisp/eldoc.el (eldoc-symbol-function):
12207         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
12208         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
12209         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
12210         * apropos.el (apropos-safe-documentation):
12211         * subr.el (symbol-file): Remove redundant fboundp.
12212         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
12214 2014-01-06  Bastien Guerry  <bzg@gnu.org>
12216         * hl-line.el (global-hl-line-overlay): Make a local variable.
12217         (global-hl-line-overlays): New variable to store all overlays.
12218         (global-hl-line-mode): Don't delete overlays from the current
12219         buffer when `global-hl-line-sticky-flag' is non-nil.
12220         (global-hl-line-highlight): Add new overlays to
12221         `global-hl-line-overlays'.
12222         (global-hl-line-unhighlight-all): New function to delete all
12223         overlays when turning off `global-hl-line-mode'.
12224         This fixes Bug#16183.
12226 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12228         * subr.el (set-transient-map): Fix nested case and docstring.
12230 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
12232         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
12233         `Texinfo' entry.
12235 2014-01-06  Daniel Colascione  <dancol@dancol.org>
12237         Fix defun navigation in vc log view.
12239         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
12240         like `beginning-of-defun'.
12241         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
12242         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
12243         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
12244         (log-view-extract-comment): Call `log-view-current-entry' directly
12245         instead of relying on broken `log-view-beginning-of-defun' behavior.
12247 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
12249         Spelling fixes.
12250         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
12251         * emacs-lisp/debug.el (cancel-debug-on-entry):
12252         * epg.el (epg-error-to-string):
12253         * files.el (recover-file):
12254         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
12255         * mail/emacsbug.el (report-emacs-bug-hook):
12256         * mail/sendmail.el (mail-recover):
12257         * ses.el (ses-yank-resize):
12258         * term/ns-win.el (ns-print-buffer):
12259         Spelling fixes in diagnostics, mostly for "canceled" with one L.
12260         * epg.el (epg-key-capability-alist): Rename from misspelled version.
12261         All uses changed.
12262         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
12264 2014-01-06  Leo Liu  <sdl.web@gmail.com>
12266         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
12267         to avoid shadowing global key.  (Bug#16354)
12269 2014-01-06  Daniel Colascione  <dancol@dancol.org>
12271         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
12272         rst-mode.
12274 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
12276         * window.el (balance-windows): Add mising t to fix Bug#16351.
12278 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12280         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
12281         (bug#16285).
12282         (shr-insert): If we have a word that's longer than `shr-width',
12283         break after it anyway.  Otherwise we'll do no breaking once we get
12284         such a long word.
12286 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
12288         * net/eww.el (eww): Support single/double quote for search.
12289         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
12290         (eww-history-quit): Delete and use quit-window.
12291         (eww-history-kill): Delete, because it doesn't work well and
12292         not necessary.
12293         (eww-history-mode-map): Delete some keys and add easy-menu.
12295 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
12297         Fix misspelling of 'chinese' in rx (Bug#16237).
12298         * emacs-lisp/rx.el (rx-categories): Correct spelling of
12299         chinese-two-byte.
12301         Change subword regexps back to vars (Bug#16296).
12302         * progmodes/subword.el (subword-forward-regexp)
12303         (subword-backward-regexp): Change these back to variables.
12305 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12307         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
12308         syntax-begin-function (bug#16247).
12310 2014-01-03  Chong Yidong  <cyd@gnu.org>
12312         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
12313         (advice--docstring): Delete variable.
12314         (advice--make-1): Leave the docstring empty.
12315         (advice-add): Use function-documentation for advised docstring.
12317         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
12318         Ignore function-documentation property when getting documentation.
12319         (ad-activate-advised-definition): Use function-documentation
12320         generate the docstring.
12321         (ad-make-advised-definition): Don't call
12322         ad-make-advised-definition-docstring.
12323         (ad-make-advised-definition-docstring, ad-advised-definition-p):
12324         Delete functions.
12326         * progmodes/sql.el (sql-help): Use function-documentation instead
12327         of dynamic-docstring-function property.  No need to autoload now.
12328         (sql--help-docstring): New variable.
12329         (sql--make-help-docstring): Use it.
12331 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12333         * ielm.el (ielm-tab): Retarget.
12334         (ielm-map): Use ielm-tab for tab.
12335         (ielm-complete-filename): Use comint-filename-completion.
12336         (ielm-complete-symbol): Remove.
12337         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
12338         remove ielm-tab from completion-at-point-functions (bug#16224).
12340         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
12341         Beware signals raised by predicates (bug#16201).
12343 2014-01-02  Richard Stallman  <rms@gnu.org>
12345         * dired-aux.el (dired-do-print): Handle printer-name.
12347         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
12348         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12349         (rmail-epa-decrypt): Turn off mime processing.
12351         * mail/rmail.el (rmail-make-in-reply-to-field):
12352         Add parens in message-id.
12354         * mail/rmail.el (rmail-get-coding-function): Variable.
12355         (rmail-get-coding-system): Use it.
12357 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
12359         * international/mule-conf.el: Unify the charset indian-is13194.
12360         (indian-is13194): Specify unify-map.
12362 2013-12-31  Leo Liu  <sdl.web@gmail.com>
12364         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
12366 2013-12-30  Daniel Colascione  <dancol@dancol.org>
12368         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
12369         of printing a useless when we resume from sleep.
12371         * progmodes/sh-script.el
12372         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
12373         in indentation code.  (Bug#16233)
12375 2013-12-28  João Távora  <joaotavora@gmail.com>
12377         * elec-pair.el (electric-pair-post-self-insert-function):
12378         Don't open extra newlines at beginning of buffer.  (Bug#16272)
12380 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
12382         * frame.el (window-system-for-display): Don't allow to create a
12383         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
12385 2013-12-28  Glenn Morris  <rgm@gnu.org>
12387         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
12388         Update callers.
12390         * apropos.el (apropos-match-face):
12391         * calculator.el (calculator-displayer):
12392         * dabbrev.el (dabbrev-search-these-buffers-only):
12393         * face-remap.el (buffer-face-mode-face):
12394         * simple.el (yank-handled-properties):
12395         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12396         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
12397         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
12398         (hashcash-double-spend-database):
12399         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
12400         (ruby-deep-indent-paren-style):
12401         * textmodes/flyspell.el (flyspell-auto-correct-binding):
12402         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
12403         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
12404         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
12405         Specify custom types.
12407         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
12408         * bookmark.el (bookmark-bmenu-use-header-line):
12409         * doc-view.el (doc-view-scale-internally):
12410         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
12411         * register.el (register-preview-delay):
12412         * net/shr.el (shr-bullet):
12413         * progmodes/cfengine.el (cfengine-cf-promises)
12414         (cfengine-parameters-indent):
12415         * progmodes/octave.el (inferior-octave-error-regexp-alist):
12416         * textmodes/reftex-vars.el (reftex-label-regexps):
12417         * vc/log-edit.el (log-edit-setup-add-author): Add version.
12419         * net/tls.el (tls-certtool-program): Fix default value.
12421         * desktop.el (desktop-restore-in-current-display):
12422         * newcomment.el (comment-empty-lines):
12423         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
12424         (idlwave-pad-keyword):
12425         * progmodes/tcl.el (tcl-tab-always-indent):
12426         * textmodes/reftex-vars.el (reftex-index-default-tag):
12427         * elec-pair.el (electric-pair-skip-whitespace):
12428         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
12430         * emacs-lisp/authors.el (authors-ignored-files)
12431         (authors-valid-file-names, authors-renamed-files-alist): Additions.
12433 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
12435         * shell.el (shell-dynamic-complete-command): Doc fix.
12436         (shell--command-completion-data): Shell completion now matches
12437         executable filenames from the current buffer's directory, on
12438         systems in which this behavior is the default (windows-nt, ms-dos).
12440 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
12442         * net/shr.el (shr-insert): Don't infloop if the width is zero.
12444 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12446         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
12447         (bug#16251).
12449         * electric.el: Move all electric-pair-* to elec-pair.el.
12450         * elec-pair.el: New file, split from electric.el.
12452 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
12454         * net/shr.el (shr-find-fill-point): Don't try to fill if the
12455         indentation level is larger than the width, because that will
12456         infloop.
12457         (shr-insert): Fill repeatedly long texts, so that Japanese is
12458         formatted correctly (bug#16263).
12459         (shr-find-fill-point): Off by one error in comparison with the
12460         indentation.
12462 2013-12-26  João Távora  <joaotavora@gmail.com>
12464         * electric.el (electric-pair-mode): More flexible engine for skip-
12465         and inhibit predicates, new options for pairing-related functionality.
12466         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
12467         if that keeps or improves their balance in buffers.
12468         (electric-pair-delete-adjacent-pairs): Delete the pair when
12469         backspacing over adjacent matched delimiters.
12470         (electric-pair-open-extra-newline): Open extra newline when
12471         inserting newlines between adjacent matched delimiters.
12472         (electric--sort-post-self-insertion-hook):
12473         Sort post-self-insert-hook according to priority values when
12474         minor-modes are activated.
12475         * simple.el (newline-and-indent): Call newline with interactive
12476         set to t.
12477         (blink-paren-post-self-insert-function): Set priority to 100.
12478         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12479         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
12480         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
12481         electric-pair-open-newline-between-pairs to nil.
12483 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12485         * progmodes/python.el: Use lexical-binding.
12486         (python-nav-beginning-of-defun): Stop searching ASAP.
12488 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
12490         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
12491         Fix interactive spec.  Doc fix.  (Bug#15754)
12493 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
12495         * emacs-lisp/byte-run.el (eval-when-compile):
12496         * progmodes/cc-defs.el (cc-eval-when-compile):
12497         Fix edebug spec (bug#16184).
12499 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12501         * net/shr.el (shr-visit-file): Remove debugging function.
12502         (shr-insert): Don't infloop if we can't find a good place to break
12503         the line (bug#16256).
12505 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12507         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
12508         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
12509         python-nav-lisp-forward-sexp-safe.
12510         (python-nav--forward-sexp): New argument SAFE allows switching
12511         forward sexp movement behavior for parens.
12512         (python-nav-forward-sexp): Throw errors on unterminated parens
12513         (Bug#16191).
12514         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12515         (python-nav-backward-sexp-safe): New functions.
12516         (python-shell-buffer-substring):
12517         Use `python-nav-forward-sexp-safe'.
12519 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
12521         * net/shr.el (shr-find-fill-point): Don't break lines before a
12522         quotation mark.
12523         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
12524         (shr-find-fill-point): Remove the special checks for the quotation
12525         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
12527 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
12529         * net/eww.el (eww-form-textarea): Use a different face for
12530         textareas than text input since they have different keymaps
12531         (bug#16142).
12533 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12535         * progmodes/python.el (python-nav-beginning-of-statement):
12536         Speed up (Bug#15295).
12538 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
12540         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
12541         the window configuration.
12543 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
12545         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
12546         we run on MS-Windows or MS-DOS.
12548 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
12550         * window.el (balance-windows-area): Call window-size instead of
12551         window-height and window-width.  Bug#16241.
12553 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
12555         * net/eww.el (eww-bookmark-quit): Remove.
12556         (eww-bookmark-browse): Restore the window configuration when you
12557         choose a bookmark (bug#16144).
12559 2013-12-24  Daniel Colascione  <dancol@dancol.org>
12561         * icomplete.el: Remove redundant :group arguments to `defcustom'
12562         throughout.
12563         (icomplete-show-matches-on-no-input): New customizable variable.
12564         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
12565         we have something to show.
12566         (icomplete-exhibit): Compute completions even if we have no user input.
12568 2013-12-23  Daniel Colascione  <dancol@dancol.org>
12570         * icomplete.el: Move `provide' to end of file.
12572 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
12574         * net/gnutls.el (gnutls-verify-error): Add version tag.
12576 2013-12-23  Chong Yidong  <cyd@gnu.org>
12578         * subr.el (set-transient-map): Rename from
12579         set-temporary-overlay-map.  Doc fix.
12581         * face-remap.el (text-scale-adjust):
12582         * indent.el (indent-rigidly):
12583         * kmacro.el (kmacro-call-macro):
12584         * minibuffer.el (minibuffer-force-complete):
12585         * repeat.el (repeat):
12586         * simple.el (universal-argument--mode):
12587         * calendar/todo-mode.el (todo-insert-item--next-param):
12588         * progmodes/f90.el (f90-abbrev-start): Callers changed.
12590         * indent.el (indent-rigidly): Use substitute-command-keys.
12592 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
12594         * net/eww.el (eww-tag-select): Add text-property to jump to next
12595         select field.
12596         (eww): Add non-supported ftp error.
12598 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
12600         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
12601         comments.  Handle electric indent after typing `?' and `!'.
12603 2013-12-22  Chong Yidong  <cyd@gnu.org>
12605         * faces.el (face-spec-recalc): If the theme specs are not
12606         applicable to a frame, fall back on the defface spec.
12607         This prevents themes from obliterating faces on low-color terminals.
12609 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
12611         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
12612         after `{'.  We need it after block openers, and it doesn't seem
12613         to hurt after hash openers.
12615 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
12617         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
12618         extracted from `ruby-smie-rules'.
12619         (ruby--electric-indent-chars): New variable.
12620         (ruby--electric-indent-p): New function.
12621         (ruby-mode): Use `electric-indent-functions' instead of
12622         `electric-indent-chars'.
12624 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
12626         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
12627         docstring.
12628         (ruby-smie-rules): Indent plus one level after `=>'.
12630 2013-12-21  Richard Stallman  <rms@gnu.org>
12632         * simple.el (newline): Doc fix.
12634 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
12636         * net/eww.el (eww-list-histories, eww-list-histories)
12637         (eww-history-browse, eww-history-quit, eww-history-kill)
12638         (eww-history-mode-map, eww-history-mode): New command and
12639         functions to list browser histories.
12640         (eww-form-text): Support text form with disabled
12641         and readonly attributes.
12642         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
12644 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12646         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
12647         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
12648         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
12649         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
12650         Use `user-error'.
12651         (eww-bookmark-mode-map): Add menu.
12652         (eww-render, eww-mode): Use `setq-local'.
12653         (eww-tool-bar-map): New variable.
12654         (eww-mode): Set `tool-bar-map'.
12655         (eww-view-source): Check for `html-mode' with `fboundp'.
12657 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12659         * net/shr.el (shr--extract-best-source): Don't bug out on audio
12660         elements with text inside.  Also remove debugging.
12662 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
12664         * cus-start.el (all): Add ns-use-srgb-colorspace.
12666 2013-12-21  Chong Yidong  <cyd@gnu.org>
12668         * custom.el (custom-theme-recalc-face): Do nothing if the face is
12669         undefined.  Thus, theme settings for undefined faces do not take
12670         effect until the faces are defined with defface, the same as with
12671         theme variables.
12673         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
12674         (face-spec-reset-face): Don't assign extra properties in temacs.
12675         (face-spec-recalc): Apply X resources too.
12677 2013-12-21  Chong Yidong  <cyd@gnu.org>
12679         * faces.el (face-spec-set):
12680         * cus-face.el (custom-theme-set-faces, custom-set-faces):
12681         * custom.el (defface): Doc fixes (Bug#16203).
12683         * indent.el (indent-rigidly-map): Add docstring, and move commands
12684         into named functions.
12685         (indent-rigidly-left, indent-rigidly-right)
12686         (indent-rigidly-left-to-tab-stop)
12687         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
12688         indentation direction based on bidi direction, and accumulate
12689         sequential commands in a single undo boundary.
12690         (indent-rigidly--pop-undo): New utility function.
12692 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
12694         * faces.el (read-face-name): Require crm.el when using crm-separator.
12696 2013-12-20  Daniel Colascione  <dancol@dancol.org>
12698         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
12699         so that we don't reflow comments into the shebang line.
12701 2013-12-20  Juri Linkov  <juri@jurta.org>
12703         * saveplace.el (save-place-to-alist): Add `dired-filename' as
12704         a position when `dired-directory' is non-nil.  Check integer
12705         positions with `integerp'.
12706         (toggle-save-place, save-places-to-alist): Add check for
12707         `dired-directory'.
12708         (save-place-find-file-hook): Check integer positions with
12709         `integerp'.
12710         (save-place-dired-hook): Use `dired-goto-file' when
12711         `dired-filename' is found in the assoc list.  Check integer
12712         positions with `integerp'.
12713         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
12715         * dired.el (dired-initial-position-hook): Rename back from
12716         `dired-initial-point-hook'.
12717         (dired-initial-position): Rename `dired-initial-point-hook' to
12718         `dired-initial-position-hook'.
12719         (dired-file-name-at-point): Doc fix.  (Bug#15329)
12721 2013-12-20  Juri Linkov  <juri@jurta.org>
12723         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
12724         (read-regexp-suggestions): New function.
12725         (read-regexp): Use `read-regexp-defaults-function' to get default values.
12726         Use `read-regexp-suggestions'.  Add non-empty default to history
12727         for empty input.
12728         (occur-read-regexp-defaults-function): Remove function.
12729         (occur-read-primary-args): Use `regexp-history-last' instead of
12730         `occur-read-regexp-defaults-function'.
12732         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
12733         (hi-lock-line-face-buffer, hi-lock-face-buffer)
12734         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
12735         `hi-lock-read-regexp-defaults-function'.  Doc fix.
12736         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
12737         with `find-tag-default-as-symbol-regexp'.  Doc fix.
12738         (hi-lock-read-regexp-defaults): Remove function.
12739         (hi-lock-regexp-okay): Add check for null.
12741         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
12742         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
12744         * subr.el (find-tag-default-as-symbol-regexp): New function.
12745         (find-tag-default-as-regexp): Move symbol regexp formatting to
12746         `find-tag-default-as-symbol-regexp'.
12748 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
12750         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
12751         (Bug#14179)
12753 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
12755         * calendar/todo-mode.el: New implementation of item insertion
12756         commands and key bindings.
12757         (todo-key-prompt): New face.
12758         (todo-insert-item): New command.
12759         (todo-insert-item--parameters): New defconst, replacing defvar
12760         todo-insertion-commands-args-genlist.
12761         (todo-insert-item--param-key-alist): New defconst, replacing
12762         defvar todo-insertion-commands-arg-key-list.
12763         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
12764         (todo-insert-item--argsleft, todo-insert-item--apply-args)
12765         (todo-insert-item--next-param): New functions.
12766         (todo-insert-item--args, todo-insert-item--argleft)
12767         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
12768         New variables.
12769         (todo-key-bindings-t): Change binding of "i" from
12770         todo-insertion-map to todo-insert-item.
12771         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
12772         (todo-insertion-command-name, todo-insertion-commands-names)
12773         (todo-define-insertion-command, todo-insertion-commands)
12774         (todo-insertion-key-bindings, todo-insertion-map): Remove.
12776 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
12778         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
12779         (todo-toggle-item-highlighting): Use eval-and-compile instead of
12780         eval-when-compile.
12781         (todo-move-category): Allow choosing a non-existing todo file to
12782         move the category to, and create that file.
12783         (todo-default-priority): New user option.
12784         (todo-set-item-priority): Use it.
12785         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
12786         (desktop-restore-file-buffer): Declare.
12787         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
12788         (todo-modes-set-2): Locally set desktop-save-buffer to
12789         todo-desktop-save-buffer.
12790         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
12791         (auto-mode-alist): Add autoload cookie.
12793 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
12795         * emacs-lisp/subr-x.el: Renamed from helpers.el.
12796         helpers.el was a poor choice of name.
12797         (string-remove-prefix): New function.
12798         (string-remove-suffix): New function.
12800 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
12802         Fix assignment for new window total sizes.
12803         * window.el (window--pixel-to-size): Remove function.
12804         (window--pixel-to-total-1, window--pixel-to-total):
12805         Fix calculation of new total sizes.
12807 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
12809         * comint.el (comint-output-filter): Fix rear-nonsticky property
12810         placement (Bug#16010).
12812 2013-12-20  Chong Yidong  <cyd@gnu.org>
12814         * faces.el (read-color): Minor fix for completion function.
12816 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
12818         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
12819         New option.  (Bug#16182)
12820         (ruby-smie--indent-to-stmt-p): Use it.
12821         (ruby-smie-rules): Revert the logic in the handling of `when'.
12822         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
12823         (ruby-deep-arglist, ruby-deep-indent-paren)
12824         (ruby-deep-indent-paren-style): Update docstrings to note that the
12825         vars don't have any effect with SMIE.
12827 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
12829         * calc/calc.el (calc-enter, calc-pop): Use the variable
12830         `calc-context-sensitive-enter'.
12832 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12834         * net/shr.el (shr-insert): Protect against infloops in degenerate
12835         tables.
12837 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12839         * progmodes/octave.el (octave): Add link to manual and octave
12840         homepage.
12841         (octave-mode-menu): Link to octave-mode manual.
12843 2013-12-20  Leo Liu  <sdl.web@gmail.com>
12845         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
12846         insertion using skeleton-end-newline.  (Bug#16138)
12848 2013-12-20  Juri Linkov  <juri@jurta.org>
12850         * replace.el (occur-engine): Use `add-face-text-property'
12851         to add the face property to matches and titles.  (Bug#14645)
12853         * hi-lock.el (hi-green): Use lighter color "light green" closer to
12854         the palette of other hi-lock colors.
12855         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
12857 2013-12-19  Juri Linkov  <juri@jurta.org>
12859         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
12860         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
12861         (minibuffer-history-symbol): Move variable declaration closer to
12862         its usage.
12864         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
12865         (Bug#14785)
12867 2013-12-19  Juri Linkov  <juri@jurta.org>
12869         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
12870         New function.
12871         (log-edit-hook): Add it to :options.  (Bug#16170)
12873 2013-12-19  Juri Linkov  <juri@jurta.org>
12875         * simple.el (eval-expression-print-format): Don't check for
12876         command names and the last command.  Always display additional
12877         formats of the integer result in the echo area, and insert them
12878         to the current buffer only with a zero prefix arg.
12879         Display character when char-displayable-p is non-nil.
12880         (eval-expression): With a zero prefix arg, set `print-length' and
12881         `print-level' to nil, and insert the integer values from
12882         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
12884         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
12885         `eval-last-sexp-arg-internal'.  Doc fix.
12886         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
12887         `eval-last-sexp-print-value'.  Doc fix.
12888         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
12889         Set `print-length' and `print-level' to nil when arg is zero.
12890         (eval-last-sexp): Doc fix.
12891         (eval-defun-2): Print the integer values from
12892         `eval-expression-print-format' at the end.
12894         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
12895         values from `eval-expression-print-format' at the end.
12897         * ielm.el (ielm-eval-input): Print the integer
12898         values from `eval-expression-print-format' at the end.
12900 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
12902         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
12903         2013-12-11T19:01:44Z!tzz@lifelogs.com.
12905 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12907         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
12908         (hl-line-highlight, global-hl-line-highlight): Use it.
12909         (hl-line-overlay): Use defvar-local.
12911 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
12913         * term/ns-win.el: Require dnd.
12914         (global-map): Remove drag items.
12915         (ns-insert-text, ns-set-foreground-at-mouse)
12916         (ns-set-background-at-mouse):
12917         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
12918         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
12919         New functions.
12921 2013-12-19  Glenn Morris  <rgm@gnu.org>
12923         * emacs-lisp/ert.el (ert-select-tests):
12924         Fix string/symbol mixup.  (Bug#16121)
12926 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
12928         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
12929         keywords to their parent.
12931 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
12933         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
12934         first arg to be a string (fixed dead code), or an operator symbol.
12935         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
12936         operator symbols.
12937         (ruby-smie-rules): Remove parent token check in the `.' clause, it
12938         did nothing.  Don't respond to `(:after ".")', it will be called
12939         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
12940         change anything.  Only return indentation for binary operators
12941         when they are hanging.  De-dent opening paren when its parent is
12942         `.', otherwise it looks bad when the dot is not at bol or eol
12943         (bug#16182).
12945 2013-12-19  Juri Linkov  <juri@jurta.org>
12947         * replace.el (query-replace-read-args): Split a non-negative arg
12948         and a negative arg into separate elements.
12949         (query-replace, query-replace-regexp, replace-string)
12950         (replace-regexp): Add arg `backward'.  Doc fix.
12951         (replace-match-maybe-edit): When new arg `backward' is non-nil,
12952         move point to the beginning of the match.
12953         (replace-search, replace-highlight): Use new arg `backward'
12954         to set the value of `isearch-forward'.
12955         (perform-replace): Add arg `backward' and use it to perform
12956         replacement backward.  (Bug#14979)
12958         * isearch.el (isearch-query-replace): Use a negative prefix arg
12959         to call `perform-replace' with a non-nil arg `backward'.
12961 2013-12-18  Juri Linkov  <juri@jurta.org>
12963         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
12964         to the default list.  Move `log-edit-show-files' to the end.
12965         Add more available functions to options.
12966         (log-edit): Move default specific settings to
12967         `log-edit-insert-message-template'.  Don't move point.
12968         (log-edit-insert-message-template): New function.
12969         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
12970         (Bug#16170)
12972 2013-12-18  Juri Linkov  <juri@jurta.org>
12974         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
12975         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
12977 2013-12-18  Leo Liu  <sdl.web@gmail.com>
12979         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
12980         (Bug#16186)
12982 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
12984         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
12985         formats for displaying file sizes when the -s switch is given.
12986         Instead, compute a separate format for displaying the size in
12987         blocks, which is displayed in addition to the "regular" size.
12988         When -h is given in addition to -s, produce size in blocks in
12989         human-readable form as well.  (Bug#16179)
12991 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
12993         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
12994         Reference tables with ~\ref{...} instead of only \ref{...}.
12996 2013-12-18  Chong Yidong  <cyd@gnu.org>
12998         * cus-edit.el (custom-magic-alist): Fix "themed" description
12999         (Bug#14348).
13001         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
13002         is non-nil, do not create a new entry in the symbol's theme-value
13003         or theme-face property; update theme-settings only (Bug#14664).
13004         (custom-available-themes): Doc fix.
13006         * cus-theme.el (custom-new-theme-mode-map): Add bindings
13007         (Bug#15674).
13009         * replace.el (occur-engine): Avoid infloop (Bug#7593).
13011 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
13013         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
13014         (Bug#13914).
13016 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
13018         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
13020 2013-12-18  Glenn Morris  <rgm@gnu.org>
13022         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
13023         * cus-start.el (load-prefer-newer): New option.
13025 2013-12-18  Le Wang  <l26wang@gmail.com>
13027         * comint.el (comint-previous-matching-input-from-input):
13028         Retain point (Bug#13404).
13030 2013-12-18  Chong Yidong  <cyd@gnu.org>
13032         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
13034 2013-12-18  Glenn Morris  <rgm@gnu.org>
13036         * mail/emacsbug.el (report-emacs-bug):
13037         Only mention enable-multibyte-characters if non-standard.
13039 2013-12-17  Juri Linkov  <juri@jurta.org>
13041         * arc-mode.el (archive-extract-by-file): Check if directory exists
13042         before deletion to not show irrelevant errors if it doesn't exist.
13044 2013-12-17  Juri Linkov  <juri@jurta.org>
13046         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
13047         (Bug#14751)
13049         * net/eww.el (browse-web): Add alias to `eww'.
13050         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
13051         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
13053         * net/browse-url.el (browse-url-browser-function): Move `eww'
13054         closer to similar functions.
13056         * startup.el (fancy-startup-screen, fancy-about-screen):
13057         Set browse-url-browser-function to eww-browse-url locally.
13058         (Bug#14751)
13060 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13062         * window.el (window--pixel-to-total): Remove unused `mini' var.
13063         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
13064         (split-window): Remove unused `new' var.
13065         (window--display-buffer): Remove unused `frame' and `delta' vars.
13066         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
13067         and display-width'.
13069 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
13071         * dired.el (dired-mark-pop-up):
13072         * register.el (register-preview): Don't bind
13073         split-height-threshold here since it's now done in
13074         display-buffer-below-selected.
13076 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
13078         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
13079         xterm-rgb-convert-to-16bit.
13080         (rxvt-register-default-colors): Standardize with
13081         xterm-register-default-colors (Bug#14078).
13083 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
13085         * simple.el (kill-region): Pass mark first, then point, so that
13086         kill-append works right (Bug#12819).
13087         (copy-region-as-kill, kill-ring-save): Likewise.
13089 2013-12-17  Leo Liu  <sdl.web@gmail.com>
13091         * net/rcirc.el (rcirc-add-face):
13092         * eshell/em-prompt.el (eshell-emit-prompt):
13093         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
13094         (Bug#16167)
13096 2013-12-17  Chong Yidong  <cyd@gnu.org>
13098         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
13099         Suggested by Xue Fuqiao.
13101 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
13103         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
13105 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13107         * net/shr.el (shr-insert-document): Remove unused var
13108         `shr-preliminary-table-render'.
13109         (shr-rescale-image): Remove unused arg `force'.
13110         (shr-put-image): Update calls accordingly.
13111         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
13113 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
13115         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
13116         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
13117         :close-all, to see which indentation method to use (Bug#16116).
13118         (smie-rules-function): Document the method :close-all.
13120 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13122         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
13124         * net/eww.el (eww-display-html): If we can't find the anchor we're
13125         looking for, then go to point-min.
13127 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
13129         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
13130         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
13131         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
13132         Expand dir too, in case it's relative.
13134 2013-12-16  Juri Linkov  <juri@jurta.org>
13136         * desktop.el (desktop-auto-save-timeout): Change default to
13137         `auto-save-timeout'.  Doc fix.
13138         (desktop-save): Skip the timestamp in desktop-saved-frameset
13139         when checking for auto-save changes.
13140         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
13141         `desktop-auto-save' is called repeatedly by the idle timer.
13142         (desktop-auto-save-set-timer): Replace `run-with-timer' with
13143         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
13144         (Bug#15331)
13146 2013-12-16  Juri Linkov  <juri@jurta.org>
13148         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
13149         (Bug#16035)
13150         (isearch-pre-command-hook): Check `this-command' for symbolp.
13152 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13154         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
13156 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
13158         * progmodes/cfengine.el (cfengine3--current-word): Remove.
13159         (cfengine3--current-function): Bring in the current-function
13160         functionality from `cfengine3--current-word'.
13161         (cfengine3-completion-function): Bring in the
13162         bounds-of-current-word functionality from
13163         `cfengine3--current-word'.
13165 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
13167         * window.el (display-buffer-below-selected):
13168         Bind split-height-threshold to 0 as suggested by Juri Linkov.
13170 2013-12-16  Leo Liu  <sdl.web@gmail.com>
13172         * progmodes/compile.el (compile-goto-error): Do not push-mark.
13173         Remove NOMSG arg and all uses changed.
13175 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13177         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
13178         (cua--deactivate-rectangle): Don't deactivate the mark.
13179         (cua-set-rectangle-mark): Don't set mark-active since
13180         cua--activate-rectangle already does it for us.
13181         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
13182         non-rectangular region.
13184         * emulation/cua-base.el (cua-repeat-replace-region):
13185         Use with-current-buffer.
13187         * net/gnutls.el: Use cl-lib.
13188         (gnutls-negotiate): `mapcan' -> cl-mapcan.
13190 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
13192         * emacs-lisp/package.el (package-built-in-p): Support both
13193         built-in and the package.el converted package descriptions.
13194         (package-show-package-list): Allow keywords.
13195         (package-keyword-button-action): Use it instead of
13196         `finder-list-matches'.
13197         (package-menu-filter-interactive): Interactive filtering (by
13198         keyword) function.
13199         (package-menu--generate): Support keywords and change keymappings
13200         and headers when they are given.
13201         (package--has-keyword-p): Helper function.
13202         (package-menu--refresh): Use it.
13203         (package--mapc): Helper function.
13204         (package-all-keywords): Use it.
13205         (package-menu-mode-map): Set up menu items and keybindings to
13206         provide a filtering UI.
13208 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
13210         * net/gnutls.el (gnutls-verify-error): New defcustom to control
13211         the behavior when a certificate fails validation.  Defaults to
13212         old behavior: never abort, just warn.
13213         (gnutls-negotiate): Use it.
13215 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
13217         * window.el (display-buffer-below-selected): Never split window
13218         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
13220 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
13222         * emacs-lisp/package.el (package--prepare-dependencies): New function.
13223         (package-buffer-info): Use it (bug#15108).
13225 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13227         * icomplete.el (icomplete-completions): Make sure the prefix is already
13228         displayed elsewhere before hiding it (bug#16219).
13230 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
13232         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
13233         open-paren tokens when preceded by a open-paren, too.
13234         (ruby-smie-rules): Handle virtual indentation after open-paren
13235         tokens specially.  If there is code between it and eol, return the
13236         column where is starts (Bug#16118).
13238 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
13240         * progmodes/cfengine.el: Fix `add-hook' doc.
13241         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
13242         (cfengine3--current-word): Fix parameters.
13243         (cfengine3-make-syntax-cache): Simplify further.
13244         (cfengine3-completion-function, cfengine3--current-function):
13245         Use `assq' for symbols.
13246         (cfengine3--current-function): Fix `cfengine3--current-word' call.
13248 2013-12-13  Glenn Morris  <rgm@gnu.org>
13250         * loadup.el (load-path): Warn if site-load or site-init changes it.
13251         No more need to reset it when bootstrapping.
13253 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
13255         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
13256         locations for cf-promises.
13257         (cfengine-mode-syntax-functions-regex): New caching variable.
13258         (cfengine3-fallback-syntax): Fallback syntax for cases where
13259         cf-promises doesn't run.
13260         (cfengine3--current-word): Reimplement using
13261         `cfengine-mode-syntax-functions-regex'.
13262         (cfengine3-completion-function, cfengine3--current-function):
13263         Use `cfengine3-make-syntax-cache' directly.
13264         (cfengine3-clear-syntax-cache): New function.
13265         (cfengine3-make-syntax-cache): Simplify and create
13266         `cfengine-mode-syntax-functions-regex' on demand.
13267         (cfengine3-format-function-docstring): Don't call
13268         `cfengine3-make-syntax-cache' explicitly.
13270 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
13272         Fix windmove-find-other-window broken after pixelwise resizing
13273         (Bug#16017).
13274         * windmove.el (windmove-other-window-loc): Revert change from
13275         2013-12-04.
13276         (windmove-find-other-window): Call window-in-direction.
13277         * window.el (window-in-direction): New arguments SIGN, WRAP and
13278         MINI to emulate original windmove-find-other-window behavior.
13280 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
13282         * simple.el (blink-matching--overlay): New variable.
13283         (blink-matching-open): Instead of moving point, highlight the
13284         matching paren with an overlay
13285         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
13287         * faces.el (paren-showing-faces, show-paren-match)
13288         (show-paren-mismatch): Move from paren.el.
13290 2013-12-13  Leo Liu  <sdl.web@gmail.com>
13292         * indent.el (indent-region): Disable progress reporter in
13293         minibuffer.  (Bug#16108)
13295         * bindings.el (visual-order-cursor-movement): Fix version.
13297 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13299         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
13300         Also match after beginning of line.
13301         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13302         files.  Thanks to Russell Sim.  (Bug#15378)
13304 2013-12-13  Juri Linkov  <juri@jurta.org>
13306         * simple.el <Keypad support>: Remove key bindings duplicated
13307         with bindings.el.  (Bug#14397)
13309 2013-12-13  Juri Linkov  <juri@jurta.org>
13311         * comint.el (comint-mode-map): Replace `delete-char' with
13312         `delete-forward-char'.  (Bug#16109)
13314 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13316         * progmodes/python.el (python-indent-calculate-indentation):
13317         Fix de-denters cornercase.  (Bug#15731)
13319 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13321         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
13322         (advice--make): Pay attention to `depth'.
13323         (advice--make-1): Don't autoload commands eagerly.
13324         * emacs-lisp/elp.el (elp-instrument-function):
13325         * emacs-lisp/trace.el (trace-function-internal):
13326         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
13328         * iswitchb.el (iswitchb-mode): Don't belittle ido.
13330 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
13332         * term/w32-win.el (w32-handle-dropped-file):
13333         * startup.el (normal-top-level):
13334         * net/browse-url.el (browse-url-file-url):
13335         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
13336         decode file names using 'utf-8' rather than
13337         file-name-coding-system.
13339 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13341         * progmodes/python.el (python-indent-context)
13342         (python-indent-calculate-indentation): Fix auto-identation
13343         behavior for comment blocks.  (Bug#15916)
13345 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
13347         * progmodes/python.el (python-indent-calculate-indentation):
13348         When determining indentation, don't treat "return", "pass", etc., as
13349         operators when they are just string constituents.  (Bug#15812)
13351 2013-12-12  Juri Linkov  <juri@jurta.org>
13353         * uniquify.el (uniquify-buffer-name-style): Change default to
13354         `post-forward-angle-brackets'.
13356         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13357         `uniquify'.  Change default to `post-forward-angle-brackets'.
13359 2013-12-11  Glenn Morris  <rgm@gnu.org>
13361         * emacs-lisp/package.el (finder-list-matches):
13362         Autoload rather than falsely declaring.
13364 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
13366         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
13367         (eww-mode-map): Use them.
13369 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
13371         * window.el (display-buffer-in-side-window): Fix doc-string
13372         (Bug#16115).
13374 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
13376         * vc/vc-git.el: Silence byte-compiler warnings.
13377         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
13378         (log-edit-set-header): Declare.
13380 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
13382         * Makefile.in (custom-deps, finder-data): Run output file names
13383         through unmsys--file-name.  (Bug#16099)
13385 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13387         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
13388         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
13390         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
13391         instead of deleting the selection "by hand" (bug#16098).
13392         Rely on insert-for-yank to yank rectangles.
13393         (cua-highlight-region-shift-only): Mark obsolete.
13394         (cua-mode): Don't enable/disable transient-mark-mode,
13395         shift-select-mode (cua-mode works both with and without them), and
13396         pc-selection-mode (obsolete).
13397         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
13398         (cua--deactivate-rectangle): Deactivate it.
13400         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
13401         (delete-selection-helper): Make sure yank starts at the top of the
13402         deleted region.
13403         (minibuffer-keyboard-quit): Use region-active-p.
13405         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
13407         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
13408         to `delete' (bug#16109).
13410 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13412         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
13413         info manual and show keybindings and set `:group' keyword.
13415 2013-12-11  Juri Linkov  <juri@jurta.org>
13417         * delsel.el (delete-active-region): Let-bind `this-command'
13418         to prevent `kill-region' from changing its original value.
13419         (delete-selection-helper): Handle `overwrite-mode' for the type
13420         `kill' exactly the same way as for the type `t'.
13421         (insert-char, quoted-insert, reindent-then-newline-and-indent):
13422         Support more commands.  (Bug#13312)
13424 2013-12-11  Juri Linkov  <juri@jurta.org>
13426         * bindings.el: Map kp keys to non-kp keys systematically
13427         with basic modifiers control, meta and shift.  (Bug#14397)
13429 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
13431         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
13432         "Close browser" menu items.  Fix wrong function of "List
13433         bookmarks".
13435 2013-12-11  Juri Linkov  <juri@jurta.org>
13437         * misearch.el (multi-isearch-buffers): Set the value of
13438         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
13439         arg of isearch-forward to t.
13440         (multi-isearch-buffers-regexp): Set the value of
13441         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
13442         arg of isearch-forward-regexp to t.
13443         (multi-isearch-files): Set the value of
13444         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
13445         arg of isearch-forward to t.
13446         (multi-isearch-files-regexp): Set the value of
13447         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
13448         arg of isearch-forward-regexp to t.  (Bug#16035)
13450         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
13451         arg of isearch-forward to t.
13452         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
13453         arg of isearch-forward-regexp to t.
13454         (dired-isearch-filter-filenames): Remove unnecessary check for
13455         `dired-isearch-filenames'.
13457         * comint.el (comint-history-isearch-backward):
13458         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
13459         (comint-history-isearch-backward-regexp):
13460         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
13462 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
13464         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
13465         unmsys--file-name.  (Bug#16099)
13467 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
13469         * emacs-lisp/package.el (package-keyword-button-action):
13470         Remove finder.el require dependency.
13472 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
13474         * emacs-lisp/package.el: Require finder.el.
13475         (describe-package-1): Add keyword buttons.
13476         (package-make-button): New convenience function.
13477         (package-keyword-button-action): Keyword button action using
13478         `finder-list-matches'.
13480 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
13482         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
13483         last commit.
13485 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
13487         * autorevert.el (auto-revert-notify-add-watch): Do not handle
13488         symlinked files.
13490 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
13492         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13493         after the end of a percent literal.
13495 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
13497         * progmodes/ruby-mode.el (ruby-forward-string): Document.
13498         Handle caret-delimited strings (Bug#16079).
13500 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
13502         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
13503         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
13504         `ruby-parse-partial' (Bug#16078).
13506 2013-12-09  Leo Liu  <sdl.web@gmail.com>
13508         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
13510 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
13512         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
13513         (js-switch-indent-offset): New option.
13514         (js--proper-indentation): Use it.  And handle the case when
13515         "default" is actually a key in an object literal.
13516         (js--same-line): New function.
13517         (js--multi-line-declaration-indentation): Use it.
13518         (js--indent-in-array-comp, js--array-comp-indentation):
13519         New functions.
13520         (js--proper-indentation): Use them, to handle array comprehension
13521         continuations.
13523 2013-12-08  Leo Liu  <sdl.web@gmail.com>
13525         * progmodes/flymake.el (flymake-highlight-line): Re-write.
13526         (flymake-make-overlay): Remove arg MOUSE-FACE.
13527         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
13529 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13531         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
13532         New function.
13533         (redisplay-highlight-region-function): Use it.
13535         * emulation/cua-base.el (cua--explicit-region-start)
13536         (cua--last-region-shifted): Remove.
13537         (cua--deactivate): Use deactivate-mark.
13538         (cua--pre-command-handler-1): Don't handle shift-selection.
13539         (cua--post-command-handler-1): Don't change transient-mark-mode.
13540         (cua--select-keymaps): Use region-active-p rather than
13541         cua--explicit-region-start or cua--last-region-shifted.
13542         (cua-mode): Enable shift-select-mode.
13544 2013-12-08  Leo Liu  <sdl.web@gmail.com>
13546         * progmodes/flymake.el (flymake-popup-current-error-menu):
13547         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
13548         (flymake-posn-at-point-as-event, flymake-popup-menu)
13549         (flymake-make-emacs-menu): Remove.  (Bug#16077)
13551 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13553         * rect.el (rectangle-mark-mode): Activate mark even if
13554         transient-mark-mode is off (bug#16066).
13555         (rectangle--highlight-for-redisplay): Fix boundary condition when point
13556         is > mark and at bolp.
13558         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
13559         (region-extract-function): Use it.
13560         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
13561         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
13562         Delete functions.
13563         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
13564         kill-ring-save, kill-region, delete-char, delete-forward-char.
13565         Ignore self-insert-iso.
13567         * emulation/cua-gmrk.el (cua--init-global-mark):
13568         Ignore `self-insert-iso'.
13570         * emulation/cua-base.el (cua--prefix-copy-handler)
13571         (cua--prefix-cut-handler): Rely on region-extract-function rather than
13572         checking cua--rectangle.
13573         (cua-delete-region): Use region-extract-function.
13574         (cua-replace-region): Delete function.
13575         (cua-copy-region, cua-cut-region): Obey region-extract-function.
13576         (cua--pre-command-handler-1): Don't do the delete-selection thing.
13577         (cua--self-insert-char-p): Ignore `self-insert-iso'.
13578         (cua--init-keymaps): Don't remap delete-selection commands.
13579         (cua-mode): Use delete-selection-mode instead of rolling our own
13580         (bug#16085).
13582         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
13583         Obey region-extract-function.
13585         Make registers and delete-selection-mode work on rectangles.
13586         * register.el (describe-register-1): Don't modify the register's value.
13587         (copy-to-register): Obey region-extract-function.
13588         * delsel.el (delete-active-region): Obey region-extract-function.
13590 2013-12-08  Leo Liu  <sdl.web@gmail.com>
13592         * progmodes/flymake.el (flymake, flymake-error-bitmap)
13593         (flymake-warning-bitmap, flymake-fringe-indicator-position)
13594         (flymake-compilation-prevents-syntax-check)
13595         (flymake-start-syntax-check-on-newline)
13596         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
13597         (flymake-start-syntax-check-on-find-file, flymake-log-level)
13598         (flymake-xml-program, flymake-master-file-dirs)
13599         (flymake-master-file-count-limit)
13600         (flymake-allowed-file-name-masks): Relocate.
13601         (flymake-makehash, flymake-float-time)
13602         (flymake-replace-regexp-in-string, flymake-split-string)
13603         (flymake-get-temp-dir): Remove.
13604         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
13605         (flymake-current-row, flymake-selected-frame)
13606         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
13607         related functions.  (Bug#16077)
13609 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
13611         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
13613 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
13615         * help-fns.el (describe-function-1): Use new advice-* functions
13616         rather than old ad-* functions.  Fix function type description and
13617         source links for advised functions and subrs.
13619 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13621         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
13623 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
13625         * progmodes/compile.el (compilation-start):
13626         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
13628         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13629         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
13631 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
13633         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13634         Touch up the last change.
13636 2013-12-06  Leo Liu  <sdl.web@gmail.com>
13638         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
13639         (inferior-octave-startup): Always use "octave> " for prompt.
13640         (octave-goto-function-definition)
13641         (octave-sync-function-file-names)
13642         (octave-find-definition-default-filename): Remove redundant backquotes.
13644 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
13646         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
13647         syntax for `?'.
13648         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
13649         where appropriate already.
13650         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
13651         end of method names (Bug#15874).
13653 2013-12-06  Juri Linkov  <juri@jurta.org>
13655         * isearch.el (isearch--saved-overriding-local-map):
13656         New internal variable.
13657         (isearch-mode): Set it to the initial value of
13658         `overriding-terminal-local-map'.
13659         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
13660         with `isearch--saved-overriding-local-map'.  (Bug#16035)
13662 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
13664         * progmodes/octave.el (inferior-octave-completion-table):
13665         Turn back into function, use `completion-table-with-cache'
13666         (Bug#11906).  Update all references.
13668         * minibuffer.el (completion-table-with-cache): New function.
13670 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
13672         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
13674 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
13676         * net/eww.el (eww-current-source): New variable to store page
13677         source.
13678         (eww-display-html, eww-mode, eww-save-history)
13679         (eww-restore-history): Use it.
13680         (eww-view-source): New command to view page source.
13681         Opportunistically uses `html-mode' to highlight the buffer.
13682         (eww-mode-map): Install it.
13684 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
13686         * net/dbus.el (dbus-unregister-service)
13687         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
13688         Fix docstring.
13689         (dbus-unregister-service): Skip :serial entries in
13690         `dbus-registered-objects-table'.
13691         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
13693 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
13695         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
13696         around keywords with extra `split-string' argument.
13698 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
13700         * windmove.el (windmove-other-window-loc): Handle navigation
13701         between windows (excluding the minibuffer window - Bug#16017).
13703 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
13705         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
13706         in D-Bus type syntax.
13707         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
13708         preserve unibyte strings.  (Bug#16048)
13710 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13712         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
13713         Call force-mode-line-update is the proper buffer (bug#16042).
13715 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
13717         * vc/log-edit.el (log-edit-add-new-comment): Rename to
13718         `log-edit-remember-comment', make argument optional.  Adjust all
13719         callers.
13720         (log-edit-mode): Add `log-edit-remember-comment' to
13721         `kill-buffer-hook' locally.
13722         (log-edit-kill-buffer): Don't remember comment explicitly since
13723         the buffer is killed anyway.
13725 2013-12-04  Juri Linkov  <juri@jurta.org>
13727         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
13728         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
13730 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
13732         * notifications.el (notifications-close-notification): Call the
13733         D-Bus method with ID being a `:uint32'.  (Bug#16030)
13735 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
13737         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
13739 2013-12-03  Juri Linkov  <juri@jurta.org>
13741         * progmodes/compile.el (compilation-start): Rename window alist
13742         entry `no-display-ok' to `allow-no-window'.
13744         * simple.el (shell-command): Add window alist entry
13745         `allow-no-window' to `display-buffer'.
13746         (async-shell-command): Doc fix.
13748         * window.el (display-buffer-no-window): New action function.
13749         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
13751 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
13753         * vc/log-edit.el (log-edit-set-header): Extract from
13754         `log-edit-toggle-header'.
13755         (log-edit-extract-headers): Separate the summary, when extracted
13756         from header, from the rest of the message with an empty line.
13758         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
13759         line, if present, to the Summary header.
13761 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13763         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
13764         in current-buffer (bug#16029).
13766 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
13768         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
13769         (debugger-mode-map): Bind it.
13770         (debugger--backtrace-base): New function.
13771         (debugger-eval-expression): Use it.
13772         (debugger-frame-number): Skip local vars when present.
13773         (debugger--locals-visible-p, debugger--insert-locals)
13774         (debugger--show-locals, debugger--hide-locals): New functions.
13776 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
13778         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
13779         "LC_ALL".
13780         (tramp-get-remote-locale): New defun.
13781         (tramp-open-connection-setup-interactive-shell): Use it.
13783 2013-12-02  Leo Liu  <sdl.web@gmail.com>
13785         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
13787         * progmodes/sh-script.el (sh-shell-process):
13788         * progmodes/octave.el (inferior-octave-process-live-p):
13789         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
13790         (gdb-inferior-io-sentinel):
13791         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
13793 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
13795         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
13796         `save-selected-window' to `log-edit-hide-buf'.  This makes
13797         `log-edit-show-files' idempotent.
13798         (log-edit-show-files): Mark the new window as dedicated.
13800 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
13802         * vc/log-edit.el (log-edit-mode-map): Add binding for
13803         `log-edit-kill-biffer'.
13804         (log-edit-hide-buf): Add a FIXME comment.
13805         (log-edit-add-new-comment): New function, extracted from
13806         `log-edit-done'.
13807         (log-edit-done, log-edit-add-to-changelog): Use it.
13808         (log-edit-kill-buffer): New command.
13810 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13812         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
13813         instead of killing the buffer.
13815 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13817         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
13819 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13821         * net/eww.el (eww-form-checkbox-selected-symbol)
13822         (eww-form-checkbox-symbol): New customizable variable.
13823         (eww-form-checkbox, eww-toggle-checkbox):
13824         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
13826         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
13827         (shr--get-media-pref, shr--extract-best-source): New function.
13828         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
13829         no :src tag was specified.
13831         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
13832         (eww-render): Handle `eww-use-external-browser-for-content-type'.
13833         Use \\` to match beginning of string instead of ^.
13834         (eww-browse-with-external-browser): Provide optional URL parameter.
13835         (eww-render): Set `eww-current-title' back to "".
13837         * net/shr.el (shr-tag-video): Display content for video if no
13838         poster is available.
13839         (shr-tag-audio): Add support for <audio> tag.
13841         * net/eww.el (eww-text-input-types): New const.
13842         (eww-process-text-input): Treat input types in
13843         `eww-text-input-types' as text.
13845         * net/shr.el (shr-tag-table): Fix comment typo.
13847 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13849         * net/eww.el (eww-follow-link): New command to avoid reloading
13850         pages when we follow #target links (bug#15243).
13851         (eww-quit): Special mode buffers shouldn't query before exiting.
13853 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
13855         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
13856         forms.
13858 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13860         * net/eww.el (eww-restore-history): Update the window title after
13861         moving in the history.
13862         (eww-current-dom): New variable used to save the current DOM.
13864 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
13866         * vc/log-edit.el (log-edit-mode-map): Add binding for
13867         `log-edit-beginning-of-line'.
13868         (log-edit-setup-add-author): New user option.
13869         (log-edit-beginning-of-line): New command.
13870         (log-edit): Move major mode call above the contents setup so that
13871         the local variable values are already applied.
13872         (log-edit): Only insert "Author: " when
13873         `log-edit-setup-add-author' is non-nil.
13874         (log-edit): When SETUP is non-nil, position point after ": "
13875         instead of point-min.
13877 2013-12-01  Glenn Morris  <rgm@gnu.org>
13879         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
13881 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
13883         * startup.el (fancy-splash-frame): On MS-Windows, trigger
13884         redisplay to make sure the initial frame gets a chance to become
13885         visible.  (Bug#16014)
13887 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
13889         Support resizing frames and windows pixelwise.
13890         * cus-start.el (frame-resize-pixelwise)
13891         (window-resize-pixelwise): New entries.
13892         * emacs-lisp/debug.el (debug): Use window-total-height instead
13893         of window-total-size.
13894         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
13895         * help.el (describe-bindings-internal): Use help-buffer as
13896         argument for with-help-window.
13897         (temp-buffer-max-width): New option.
13898         (resize-temp-buffer-window, help-window-setup)
13899         (with-help-window): Rewrite.
13900         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
13901         dragging dividers.
13902         * window.el (frame-char-size, window-min-pixel-height)
13903         (window-safe-min-pixel-height, window-safe-min-pixel-width)
13904         (window-min-pixel-width, window-safe-min-pixel-size)
13905         (window-combination-p, window-safe-min-size)
13906         (window-resizable-p, window--size-to-pixel)
13907         (window--pixel-to-size, window--resize-apply-p): New functions.
13908         (window-safe-min-height): Fix doc-string.
13909         (window-size, window-min-size, window--min-size-1)
13910         (window-sizable, window-sizable-p, window--min-delta-1)
13911         (window-min-delta, window--max-delta-1, window-max-delta)
13912         (window--resizable, window--resizable-p, window-resizable)
13913         (window-full-height-p, window-full-width-p, window-at-side-p)
13914         (window--in-direction-2, window-in-direction)
13915         (window--resize-reset-1, window--resize-mini-window)
13916         (window-resize, window-resize-no-error)
13917         (window--resize-child-windows-normal)
13918         (window--resize-child-windows, window--resize-siblings)
13919         (window--resize-this-window, window--resize-root-window)
13920         (window--resize-root-window-vertically)
13921         (adjust-window-trailing-edge, enlarge-window, shrink-window)
13922         (maximize-window, minimize-window, delete-window)
13923         (quit-restore-window, window-split-min-size, split-window)
13924         (balance-windows-2, balance-windows)
13925         (balance-windows-area-adjust, balance-windows-area)
13926         (window--state-get-1, window-state-get, window--state-put-1)
13927         (window--state-put-2, window-state-put)
13928         (display-buffer-record-window, window--display-buffer):
13929         Make functions handle pixelwise sizing of windows.
13930         (display-buffer--action-function-custom-type)
13931         (display-buffer-fallback-action):
13932         Add display-buffer-in-previous-window.
13933         (display-buffer-use-some-window): Resize window to height it had
13934         before.
13935         (fit-window-to-buffer-horizontally): New option.
13936         (fit-frame-to-buffer): Describe new values.
13937         (fit-frame-to-buffer-bottom-margin): Replace with
13938         fit-frame-to-buffer-margins.
13939         (window--sanitize-margin): New function.
13940         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
13941         using window-text-pixel-size.
13943 2013-11-30  Glenn Morris  <rgm@gnu.org>
13945         * emacs-lisp/bytecomp.el (byte-compile-form):
13946         Make the `interactive-only' warning like the `obsolete' one.
13947         * comint.el (comint-run):
13948         * files.el (insert-file-literally, insert-file):
13949         * replace.el (replace-string, replace-regexp):
13950         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
13951         (goto-line, insert-buffer, next-line, previous-line):
13952         Tweak `interactive-only' spec.
13954         Stop keeping (most) generated cedet grammar files in the repository.
13955         * Makefile.in (semantic): New.
13956         (compile-main): Depend on semantic.
13958 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13960         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
13961         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
13963         * uniquify.el (uniquify-buffer-name-style): Change default.
13965         * loadup.el: Preload "uniquify".
13967         * time.el (display-time-update): Update all mode lines (bug#15999).
13969         * electric.el (electric-indent-mode): Enable by default.
13970         * loadup.el: Preload "electric".
13972 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
13974         * emacs-lisp/helpers.el (string-empty-p): New function.
13975         (string-blank-p): New function.
13977 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
13979         * imenu.el (imenu--index-alist): Add missing dot to the docstring
13980         (Bug#14029).
13982 2013-11-29  Andreas Politz  <politza@fh-trier.de>
13983         * imenu.el (imenu--subalist-p): Don't error on non-conses and
13984         allow non-lambda lists as functions.
13985         (imenu--in-alist): Don't recurse into non-subalists.
13986         (imenu): Don't pass function itself as an argument (Bug#14029).
13988 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13990         * progmodes/python.el (python-mode-map): Remove binding for ":".
13991         (python-indent-electric-colon): Remove command.
13992         (python-indent-post-self-insert-function): Integrate the previous code
13993         of python-indent-electric-colon.  Make it conditional on
13994         electric-indent-mode.
13995         (python-mode): Add ?: to electric-indent-chars.
13996         Move python-indent-post-self-insert-function to the end of
13997         post-self-insert-hook.
13999 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14001         * doc-view.el (doc-view-goto-page): Update mode-line.
14003         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
14005 2013-11-27  Glenn Morris  <rgm@gnu.org>
14007         * international/charprop.el, international/uni-bidi.el:
14008         * international/uni-category.el, international/uni-combining.el:
14009         * international/uni-comment.el, international/uni-decimal.el:
14010         * international/uni-decomposition.el, international/uni-digit.el:
14011         * international/uni-lowercase.el, international/uni-mirrored.el:
14012         * international/uni-name.el, international/uni-numeric.el:
14013         * international/uni-old-name.el, international/uni-titlecase.el:
14014         * international/uni-uppercase.el:
14015         Remove generated files from VCS repository.
14017 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
14019         * filenotify.el (file-notify-add-watch): Don't special-case
14020         w32notify when computing the directory to watch.
14022 2013-11-27  Glenn Morris  <rgm@gnu.org>
14024         Make bootstrap without generated uni-*.el files possible again.
14025         * loadup.el: Update command-line-args checking for unidata-gen.
14026         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
14027         * composite.el, international/characters.el:
14028         Handle unicode tables being undefined.
14030         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
14031         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
14032         (compile-main): Depend on leim rule.
14033         (leim): New rule.
14034         * loadup.el: Move leim-list.el to leim/ subdirectory.
14035         * startup.el (normal-top-level): No more leim directory.
14036         * international/ja-dic-cnv.el (skkdic-convert):
14037         Disable version-control and autoloads in output files.
14038         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
14039         Disable version-control and autoloads in output files.
14040         * leim/quail: Move here from ../leim.
14041         * leim/quail/hangul.el (hangul-input-method-activate):
14042         Add autoload cookie.
14043         (generated-autoload-load-name): Set file-local value.
14044         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
14045         (generated-autoload-load-name): Set file-local value.
14047 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
14049         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
14050         (eww-add-bookmark): Ask confirmation when add to bookmarks.
14051         (eww-quit): Ask confirmation before quitting eww.
14053 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
14055         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
14056         reading output from Diff on MS-Windows and MS-DOS.
14058 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
14060         * emacs-lisp/helpers.el (string-reverse): New function.
14062 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
14064         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
14065         names on MS Windows, like "/[::1]:".
14067         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
14068         SWITCHES.
14070 2013-11-26  Glenn Morris  <rgm@gnu.org>
14072         * progmodes/python.el (python-indent-guess-indent-offset):
14073         Avoid corner-case error.  (Bug#15975)
14075         Preload leim-list.el.  (Bug#4789)
14076         * loadup.el: Load leim-list.el when found.
14077         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
14079 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
14081         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
14083         * emacs-lisp/helpers.el (string-join): New function.
14085 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
14087         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14088         Mark as obsolete and replace it with a symbol property.
14089         (byte-compile-form): Use new 'interactive-only property.
14090         * comint.el, files.el, replace.el, simple.el:
14091         Apply new 'interactive-only properly.
14093 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
14095         * window.el (display-buffer-at-bottom): Make sure that
14096         split-window-sensibly creates the new window on bottom
14097         (Bug#15961).
14099 2013-11-23  David Kastrup  <dak@gnu.org>
14101         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
14102         on the conflict markers when available.
14103         (smerge--get-marker): New function.
14104         (smerge-end-re, smerge-base-re): Add subgroup.
14106 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14108         * frame.el (handle-focus-in, handle-focus-out): Add missing
14109         interactive spec.
14111 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
14113         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14114         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
14116 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14118         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
14119         (gomoku--last-pos): New var.
14120         (gomoku--intangible-chars): New const.
14121         (gomoku--intangible): New function.
14122         (gomoku-mode): Use it.  Derive from special-mode.
14123         (gomoku-move-up): Adjust line count.
14124         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
14125         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
14126         Simplify accordingly.
14128         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
14129         Remove blink-cursor code.
14130         (blink-cursor-timer-function, blink-cursor-suspend):
14131         Don't special-case GUIs.
14132         (blink-cursor-mode): Use focus-in/out-hook.
14134 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
14136         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
14137         work when annotation is invisible (Bug#13886).
14139 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
14141         * json.el (json-alist-p): Only return non-nil if the alist has
14142         simple keys (Bug#13518).
14144 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
14146         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
14147         when control-statement is the first statement in a buffer (Bug#15956).
14149 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
14151         * imenu.el (imenu-generic-skip-comments-and-strings):
14152         New option (Bug#15560).
14153         (imenu--generic-function): Use it.
14155 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
14157         * minibuffer.el (completion--in-region-1): Scroll the correct window.
14158         (Bug#13898)
14160 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
14162         * emacs-lisp/helpers.el: Add some string helpers.
14163         (string-trim-left): Removes leading whitespace.
14164         (string-trim-right): Removes trailing whitespace.
14165         (string-trim): Removes leading and trailing whitespace.
14167         * subr.el (string-suffix-p): New function.
14169 2013-11-23  Glenn Morris  <rgm@gnu.org>
14171         * progmodes/python.el (python-shell-send-file):
14172         Add option to delete file when done.  (Bug#15647)
14173         (python-shell-send-string, python-shell-send-region): Use it.
14175 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
14177         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
14178         to set buffer-read-only to t, never to nil.  (Bug#15938)
14180         * textmodes/tex-mode.el (latex-noindent-environments):
14181         Add safe-local-variable property.  (Bug#15936)
14183 2013-11-23  Glenn Morris  <rgm@gnu.org>
14185         * textmodes/enriched.el (enriched-mode): Doc fix.
14186         * emacs-lisp/authors.el (authors-renamed-files-alist):
14187         Add enriched.doc -> enriched.txt.
14189         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
14191 2013-11-22  Leo Liu  <sdl.web@gmail.com>
14193         * progmodes/octave.el (inferior-octave-startup): Spit out error
14194         message.
14196 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
14198         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14199         Improve docstring.
14200         Add :version.
14201         (ruby-encoding-magic-comment-style): Add :version.
14203 2013-11-22  Leo Liu  <sdl.web@gmail.com>
14205         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
14206         (Bug#15076)
14207         (octave-help-mode): Adapt to change to help-mode-finish to use
14208         derived-mode-p on 2013-09-17.
14209         (inferior-octave-prompt): Also match octave-gui.
14210         (octave-kill-process): Don't ask twice.  (Bug#10564)
14212 2013-11-22  Leo Liu  <sdl.web@gmail.com>
14214         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
14215         (inferior-octave-startup, inferior-octave-check-process)
14216         (inferior-octave-track-window-width-change)
14217         (octave-completion-at-point, octave-eldoc-function): Use it.
14218         (octave-kill-process): Provide confirmation.  (Bug#10564)
14220 2013-11-21  Leo Liu  <sdl.web@gmail.com>
14222         * progmodes/octave.el (octave-mode, inferior-octave-mode):
14223         Fix obsolete variable comment-use-global-state.
14225 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14227         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
14228         Add `octave-source-file'.
14229         (octave-source-file): New function.  (Bug#15935)
14231 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
14233         * net/eww.el (eww-local-regex): New variable.
14234         (eww): Use it to detect localhost and similar.
14236 2013-11-21  Leo Liu  <sdl.web@gmail.com>
14238         Add completion for command `ag'.
14239         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
14240         (pcomplete/ag): New function.
14241         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
14243 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14245         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
14246         (bug#14646).
14247         (make-obsolete): Remove interactive spec.
14249 2013-11-21  Glenn Morris  <rgm@gnu.org>
14251         * startup.el (command-line-1): Use path-separator with -L.
14253 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
14255         * emacs-lisp/package.el (describe-package-1): Add package archive
14256         to shown fields.
14258 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
14260         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14261         Change default to "# encoding: %s" to differentiate it from the
14262         default Ruby encoding comment template.
14264 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
14266         * ses.el (ses-mode): Doc fix.  (Bug#14748)
14268 2013-11-20  Leo Liu  <sdl.web@gmail.com>
14270         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
14272 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
14274         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
14275         when rebase or bisect are in progress.
14277 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
14279         * filenotify.el (file-notify-add-watch): Doc fix.
14281 2013-11-19  Leo Liu  <sdl.web@gmail.com>
14283         * obsolete/rcompile.el: Mark obsolete.
14285         * progmodes/compile.el (compilation-start)
14286         (compilation-goto-locus, compilation-find-file):
14287         Pass no-display-ok and handle nil value from display-buffer.
14288         (Bug#13594)
14290         * window.el (display-buffer-alist, display-buffer): Document the
14291         new parameter no-display-ok.  Return either a window or nil
14292         but never a non-window value.
14294 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14296         * electric.el (electric-indent-mode-map): Remove.
14297         (electric-indent-mode): Change the global-map instead (bug#15915).
14299         * textmodes/text-mode.el (paragraph-indent-minor-mode):
14300         Use add-function.
14302 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14304         * emacs-lisp/nadvice.el (remove-function): Align with
14305         add-function's behavior.
14307         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
14308         (gdb--string-regexp): New constant.
14309         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
14310         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
14311         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
14312         submatch 1.
14313         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
14314         Adjust use accordingly.
14315         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
14317 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
14319         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
14320         interpolation curlies (Bug#15914).
14322 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
14324         * calc/calc.el (calc-context-sensitive-enter): New variable.
14325         (calc-enter): Use `calc-context-sensitive-enter'.
14327 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
14329         * progmodes/cfengine.el: Version bump.
14330         (cfengine-cf-promises): New defcustom to locate cf-promises.
14331         (cfengine3-vartypes): Add new "data" type.
14332         (cfengine3--current-word): New function to get current name-like
14333         word or its bounds.
14334         (cfengine3--current-function): New function to look up a CFEngine
14335         function's definition.
14336         (cfengine3-format-function-docstring): New function.
14337         (cfengine3-make-syntax-cache): New function.
14338         (cfengine3-documentation-function): New function: ElDoc glue.
14339         (cfengine3-completion-function): New function: completion glue.
14340         (cfengine3-mode): Set `compile-command',
14341         `eldoc-documentation-function', and add to
14342         `completion-at-point-functions'.
14344 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
14346         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14347         `tramp-current-connection'.
14349 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
14351         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
14352         nil/self/true/false with "end of symbol".
14354 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
14356         * subr.el (version-regexp-alist): Fix a typo.
14358 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
14360         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
14361         "en_US.utf8" and "LC_CTYPE" to "".
14362         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
14363         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
14365 2013-11-15  Leo Liu  <sdl.web@gmail.com>
14367         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
14369 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14371         * progmodes/gud.el (ctl-x-map):
14372         Remove C-x SPC binding.  (Bug#12342)
14373         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
14375 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
14377         * subr.el (version-regexp-alist):
14378         Recognize hg, svn and darcs versions as snapshot versions.
14380         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
14381         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
14382         (ruby--encoding-comment-required-p): Extract from
14383         `ruby-mode-set-encoding'.
14384         (ruby-mode-set-encoding): Add the ability to always insert an
14385         utf-8 encoding comment.  Fix and simplify coding comment update
14386         logic.
14388 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
14390         * net/tramp-gvfs.el (top): Run init code only when
14391         `tramp-gvfs-enabled' is not nil.
14392         (tramp-gvfs-enabled): Check also :system bus.
14394 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14396         Sync with upstream verilog-mode revision 78e66ba.
14397         * progmodes/verilog-mode.el (verilog-end-of-defun)
14398         (verilog-type-completion, verilog-get-list): Remove unused funcs.
14399         (verilog-get-end-of-defun): Remove unused argument.
14400         (verilog-comment-depth): Remove unused local `e'.
14401         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
14402         Don't pass arg to verilog-get-end-of-defun.
14404 2013-11-14  Glenn Morris  <rgm@gnu.org>
14406         * obsolete/assoc.el (aget): Prefix dynamic variable.
14408         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
14410 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14412         * widget.el, hfy-cmap.el: Remove bogus package version number.
14414 2013-11-13  Glenn Morris  <rgm@gnu.org>
14416         * replace.el (replace-eval-replacement):
14417         Try to give more helpful error message.  (Bug#15836)
14419         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14420         (archive-7z-update): Avoid custom type mismatches.
14422         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
14424 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
14426         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
14427         address can be empty.
14429         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
14430         Accept nil SWITCHES.
14431         (tramp-gvfs-handle-write-region): Implement APPEND.
14433 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
14435         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
14436         binary "|" operator and closing block args delimiter.
14437         Remove FIXME comment referring to Ruby 1.8-only syntax.
14438         (ruby-smie--implicit-semi-p): Not after "|" operator.
14439         (ruby-smie--closing-pipe-p): New function.
14440         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
14441         (ruby-smie-rules): Indent after "|".
14443 2013-11-12  Glenn Morris  <rgm@gnu.org>
14445         * ps-print.el (ps-face-attribute-list):
14446         Handle anonymous faces.  (Bug#15827)
14448 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
14450         * window.el (display-buffer-other-frame): Fix doc-string.
14451         (Bug#15868)
14453 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14455         * subr.el (force-mode-line-update): Delete, move to buffer.c.
14457 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
14459         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
14460         (tramp-sh-handle-file-local-copy): Don't write a message when
14461         saving temporary files.
14463         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
14464         both directories are remote.
14465         (tramp-smb-handle-directory-files): Do not return double entries.
14466         Do not expand full file names.
14467         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
14468         (tramp-smb-handle-write-region): Implement APPEND.
14469         (tramp-smb-get-stat-capability): Fix a stupid bug.
14471 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14473         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
14475 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
14477         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
14478         throwing error over malformed let/let* (bug#15814).
14480 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14482         * iswitchb.el (iswitchb-mode): Mark obsolete.
14484 2013-11-11  Glenn Morris  <rgm@gnu.org>
14486         * international/uni-bidi.el, international/uni-category.el:
14487         * international/uni-name.el, international/uni-numeric.el:
14488         Regenerate for Unicode 6.3.0.
14490 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
14492         * net/tramp.el (tramp-methods):
14493         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
14494         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
14496 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
14498         * progmodes/sh-script.el (sh-font-lock-keywords-var):
14499         Force highlighting text after Summary keyword in doc face for rpm.
14501 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
14503         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
14504         available and the word has no wildcards, append one to the grep pattern.
14505         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
14506         (ispell-complete-word): Call `ispell-lookup-words' with the value
14507         independent of `ispell-look-p'.
14509 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
14511         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
14512         Not after "||".
14513         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
14514         their parent.
14516 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14518         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
14519         (ruby-font-lock-keywords): Use backquote.
14521 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
14523         * progmodes/ruby-mode.el (ruby-smie--forward-token)
14524         (ruby-smie--backward-token): Only consider full-string matches.
14526 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
14528         * faces.el (describe-face): Add distant-foreground.
14530 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
14532         * progmodes/ruby-mode.el: Improve encoding comment handling.
14533         (ruby-encoding-magic-comment-style): New option.
14534         (ruby-custom-encoding-magic-comment-template): New option.
14535         (ruby--insert-coding-comment, ruby--detect-encoding):
14536         New functions extracted from `ruby-mode-set-encoding'.
14537         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
14538         to control the style of the auto-inserted encoding comment.
14540 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
14542         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
14543         Use `smie-backward-sexp' with token argument.
14545 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
14547         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14548         Remove instrumentation code.
14550 2013-11-08  Glenn Morris  <rgm@gnu.org>
14552         * progmodes/autoconf.el (autoconf-mode):
14553         Tweak comment-start-skip.  (Bug#15822)
14555 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14557         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
14558         at bobp (bug#15826).
14559         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
14561 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
14563         * man.el (Man-start-calling): New macro, extracted from
14564         Man-getpage-in-background.
14565         (Man-getpage-in-background): Use it.
14566         (Man-update-manpage): New command.
14567         (Man-mode-map): Bind it.
14569 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
14571         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
14572         of "and", "or", "&&" and "||".
14573         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
14574         argument.  Prohibit opening curly brace because it could only be a
14575         block opener in that position.
14576         (ruby-smie--forward-token, ruby-smie--backward-token):
14577         Separate "|" from "&" or "*" going after it.  That can happen in block
14578         arguments.
14579         (ruby-smie--indent-to-stmt): New function, seeks the end of
14580         previous statement or beginning of buffer.
14581         (ruby-smie-rules): Use it.
14582         (ruby-smie-rules): Check if there's a ":" before a curly block
14583         opener candidate; if there is, it's a hash.
14585 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14587         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
14588         (cl--block-wrapper): Fix last accidental change.
14590 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
14592         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14593         Instrument, in order to hunt failure on hydra.
14595 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
14597         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
14598         malformed bindings form (bug#15814).
14600 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
14602         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
14603         "." compared to " @ ".  This incidentally fixes some indentation
14604         examples with "do".
14605         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
14606         (ruby-smie-grammar): New tokens: "and" and "or".
14607         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
14608         Exclude "and" and "or".  Remove "do" in order to work around token
14609         priorities.
14610         (ruby-smie-rules): Add all infix tokens.  Handle the case of
14611         beginning-of-buffer.
14613 2013-11-06  Glenn Morris  <rgm@gnu.org>
14615         * Makefile.in (setwins_almost, setwins_for_subdirs):
14616         Avoid accidental matches.
14618 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14620         * menu-bar.el (popup-menu): Use key-binding.
14622 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
14624         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
14625         menus, support also the menus produced by minor modes.
14626         (Bug#15817)
14628 2013-11-06  Leo Liu  <sdl.web@gmail.com>
14630         * thingatpt.el (thing-at-point-looking-at): Add optional arg
14631         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
14633 2013-11-06  Glenn Morris  <rgm@gnu.org>
14635         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
14636         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
14637         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
14639 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14641         * electric.el (electric-indent-just-newline): New command.
14642         (electric-indent-mode-map): New keymap.
14643         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
14644         Re-add :group which weren't redundant.
14646         * electric.el (electric-indent-local-mode): New minor mode.
14647         (electric-indent-functions-without-reindent): New var.
14648         (electric-indent-post-self-insert-function): Use it.
14649         * emacs-lisp/gv.el (buffer-local-value): Add setter.
14651 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
14653         * international/quail.el (quail-help): Be more explicit about the
14654         meaning of the labels shown on the keys.  (Bug#15800)
14656         * startup.el (normal-top-level): Load the subdirs.el files before
14657         setting the locale environment.  (Bug#15805)
14659 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14661         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
14662         via arguments so as to get the right ones (bug#15418).
14664         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
14666 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
14668         Fix problems found while writing a test suite.
14670         * net/tramp-compat.el (tramp-compat-load): New defun.
14671         * net/tramp.el (tramp-handle-load): Use it.
14673         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
14674         "(numberp ok-if-already-exists)" correctly.
14676 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
14678         * international/characters.el (glyphless-char-display-control):
14679         Add usage note.
14681 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
14683         * progmodes/python.el (python-mode):
14684         * progmodes/scheme.el (scheme-mode):
14685         * progmodes/prolog.el (prolog-mode):
14686         * progmodes/ruby-mode.el (ruby-mode):
14687         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
14688         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
14690 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14692         * rect.el (rectangle--highlight-for-redisplay):
14693         * emacs-lisp/smie.el (smie--next-indent-change):
14694         Use buffer-chars-modified-tick.
14696         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
14698         * electric.el (electric-indent-post-self-insert-function):
14699         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
14701 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
14703         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
14705 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
14707         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
14708         (bug#15786).
14710 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14712         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
14714         * progmodes/python.el: Fix up last change.
14715         (python-shell--save-temp-file): New function.
14716         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
14717         `string' comes from the current buffer.
14718         (python-shell-send-string-no-output): Remove `msg' arg.
14719         (python--use-fake-loc): New var.
14720         (python-shell-buffer-substring): Obey it.  Try to compensate for the
14721         extra coding line added by python-shell--save-temp-file.
14722         (python-shell-send-region): Use python-shell--save-temp-file and
14723         python-shell-send-file directly.  Add `nomain' argument.
14724         (python-shell-send-buffer): Use python-shell-send-region.
14725         (python-electric-pair-string-delimiter): New function.
14726         (python-mode): Use it.
14728 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
14730         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
14731         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
14732         environment and decoding all of the default-directory's to here
14733         from command-line.
14734         (command-line): Decode also argv[0].
14736         * loadup.el: Error out if default-directory is a multibyte string
14737         when we are dumping.
14739         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
14741 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
14743         * emacs-lisp/package.el (package-menu-mode)
14744         (package-menu--print-info, package-menu--archive-predicate):
14745         Add Archive column to package list.
14747 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
14749         Fix problems found while writing a test suite.
14751         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
14752         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
14753         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
14754         to nil when running original file name handler.  Otherwise,
14755         there are problems with constructs like "$$FOO".
14757         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
14758         for `localname'.
14760 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
14762         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
14764         * subr.el (version<, version<=, version=):
14765         Update docstrings with information for snapshot versions.
14767         * helpers.el: New library for misc helper functions.
14768         (hash-table-keys): New function returning a list of hash keys.
14769         (hash-table-values): New function returning a list of hash values.
14771 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
14773         * progmodes/ruby-mode.el (ruby-smie--forward-token)
14774         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
14776 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
14778         * textmodes/fill.el (fill-single-char-nobreak-p): New function
14779         checking whether point is after a 1-letter word.
14781 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
14783         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
14784         Don't infloop when expanding region over `multiline' syntax-type that
14785         begins a line (bug#15778).
14787 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14789         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
14790         Make it into a proper minor mode.
14791         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
14792         (rectangle-mark-mode-map): New keymap.
14793         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
14795 2013-11-04  Glenn Morris  <rgm@gnu.org>
14797         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
14799 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14801         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
14802         (ruby-smie-rules): Use smie-rule-parent instead.
14804         * emacs-lisp/smie.el (smie-rule-parent): Always call
14805         smie-indent-virtual rather than only for hanging tokens.
14806         (smie--next-indent-change): New helper command.
14808 2013-11-03  Glenn Morris  <rgm@gnu.org>
14810         * Makefile.in (abs_srcdir): Remove.
14811         (emacs): Unset EMACSLOADPATH.
14813 2013-11-02  Glenn Morris  <rgm@gnu.org>
14815         * Makefile.in (EMACS): Use a relative filename.
14816         (abs_top_builddir): Remove.
14817         (custom-deps, finder-data, autoloads): Use --chdir.
14819         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
14821         Use relative filenames in TAGS files.
14822         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14823         (lisptagsfiles4, TAGS): Use relative file names.
14824         (TAGS-LISP): Remove.
14825         (maintainer-clean): No more TAGS-LISP file.
14827         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
14828         (lisptagsfiles4): Use absolute filenames again.
14829         (TAGS, TAGS-LISP): Not everything needs to run in one line.
14830         Remove all *loaddefs files, not just the first.  Remove esh-groups.
14831         (maintainer-clean): Delete TAGS, TAGS-LISP.
14833 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
14835         * emacs-lisp/package.el (package-version-join):
14836         Recognize snapshot versions.
14838 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
14840         * subr.el (version-regexp-alist): Add support for snapshot versions.
14842 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
14844         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
14845         New function, replacement for `smie-rule-parent' for when we want to
14846         skip over our direct parent if it's an assignment token..
14847         (ruby-smie-rules): Use it.
14849 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
14851         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
14852         unconditionally.  Remove now unnecessary forward declarations.
14853         Remove XEmacs-specific setup.
14854         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
14855         (ruby-font-lock-syntactic-keywords)
14856         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
14857         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
14858         (ruby-here-doc-end-syntax): Remove.
14859         (ruby-mode): Don't check whether `syntax-propertize-rules' is
14860         defined as function.
14862 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
14864         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
14866 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
14868         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
14869         table and abbrev table, `define-derived-mode' does that for us
14870         anyway.
14872 2013-11-01  Glenn Morris  <rgm@gnu.org>
14874         * Makefile.in: Remove manual mh-e dependencies (writing .elc
14875         files is atomic for some time, so no parallel compilation issues).
14877 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
14879         * faces.el (face-x-resources): Add :distant-foreground.
14880         (region): Use :distant-foreground for gtk and ns.
14882 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
14884         Allow multiple bibliographies when BibLaTeX is used rather than
14885         BibTeX.
14886         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
14887         (reftex-locate-bibliography-files): Us it.
14889 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
14891         * image.el (image-type-header-regexps): Fix the 'pbm' part to
14892         allow comments in pbm files.
14894         * term/w32-win.el (dynamic-library-alist): Support newer versions
14895         of libjpeg starting with v7: look only for the DLL from the
14896         version against which Emacs was built.
14897         Support versions of libpng beyond 1.4.x.
14898         Support libtiff v4.x.
14900 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
14902         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
14903         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
14904         Add property :safe.
14905         (ruby-deep-arglist): Add property :type.
14907 2013-10-31  Glenn Morris  <rgm@gnu.org>
14909         * Makefile.in (custom-deps, finder-data): No need to setq the target
14910         variables, we are in the right directory and the defaults work fine.
14912 2013-10-30  Glenn Morris  <rgm@gnu.org>
14914         * Makefile.in (autoloads): Do not use abs_lisp.
14916         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14917         `newline' does not respect `standard-output', so use `princ'.
14919 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
14921         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
14922         * buff-menu.el (Buffer-menu--unmark): New function.
14923         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
14925 2013-10-30  Glenn Morris  <rgm@gnu.org>
14927         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
14929         * emacs-lisp/package.el (lm-homepage): Declare.
14931         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
14932         Fix doc typos.
14934         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
14936         * Makefile.in (finder-data, autoloads, update-subdirs)
14937         (compile-main, compile-clean, compile-always, bootstrap-clean):
14938         Check return value of cd.
14939         (compile-calc): Remove.
14941 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14943         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
14945         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
14946         (byte-compile-and-folded): New function.
14947         (=, <, >, <=, >=): Use it.
14949         * dos-w32.el (minibuffer-history-case-insensitive-variables)
14950         (path-separator, null-device, buffer-file-coding-system)
14951         (lpr-headers-switches): Check system-type before modifying them.
14952         (find-buffer-file-type-coding-system): Mark obsolete.
14953         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
14954         find-file-not-found-set-buffer-file-coding-system.
14955         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
14956         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
14957         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
14958         (w32-direct-print-region-helper, w32-direct-print-region-function)
14959         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
14960         * startup.el (normal-top-level-add-subdirs-to-load-path):
14961         * ps-print.el (ps-print-region-function):
14962         * lpr.el (print-region-function): Use new name.
14964         * subr.el (custom-declare-variable-early): Remove function.
14965         (custom-declare-variable-list): Remove var.
14966         (error, user-error): Remove `while' loop.
14967         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
14968         (user-emacs-directory-warning, locate-user-emacs-file):
14969         Move to files.el.
14970         * simple.el (read-quoted-char-radix, read-quoted-char):
14971         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
14972         Move from subr.el.
14973         * custom.el (custom-declare-variable-list): Don't process
14974         custom-declare-variable-list.
14976         * progmodes/python.el (python-shell-get-buffer): New function.
14977         (python-shell-get-process): Use it.
14978         (python-shell-send-string): Always use utf-8 and add a cookie to tell
14979         Python which encoding was used.  Don't split-string since we only care
14980         about the first line.  Return the temp-file, if applicable.
14981         (python-shell-send-region): Tell compile.el how to turn locations in
14982         the temp-file into locations in the source buffer.
14984 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14986         * subr.el (undefined): Add missing behavior from the C code for
14987         unbound keys.
14989         * rect.el: Use lexical-binding.  Add new rectangular region support.
14990         (rectangle-mark): New command.
14991         (rectangle--region): New var.
14992         (deactivate-mark-hook): Reset rectangle--region.
14993         (rectangle--extract-region, rectangle--insert-for-yank)
14994         (rectangle--highlight-for-redisplay)
14995         (rectangle--unhighlight-for-redisplay): New functions.
14996         (region-extract-function, redisplay-unhighlight-region-function)
14997         (redisplay-highlight-region-function): Use them to handle
14998         rectangular region.
14999         * simple.el (region-extract-function): New var.
15000         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
15001         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
15002         (kill-region): Replace obsolete `yank-handler' arg with `region'.
15003         (copy-region-as-kill, kill-ring-save): Add `region' argument.
15004         (redisplay-unhighlight-region-function)
15005         (redisplay-highlight-region-function): New vars.
15006         (redisplay--update-region-highlight): New function.
15007         (pre-redisplay-function): Use it.
15008         (exchange-point-and-mark): Don't deactivate the mark before
15009         reactivate-it anyway.
15010         * comint.el (comint-kill-region): Remove yank-handler argument.
15011         * delsel.el (delete-backward-char, backward-delete-char-untabify)
15012         (delete-char): Remove property, since it's now part of their
15013         default behavior.
15014         (self-insert-iso): Remove property since this command doesn't exist.
15016         * emacs-lisp/package.el (package--download-one-archive)
15017         (describe-package-1): Don't query the user about final newline.
15019 2013-10-29  Daniel Colascione  <dancol@dancol.org>
15021         * net/tramp.el (tramp-methods): Document new functionality.
15022         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
15023         tramp-hostname-checker if method provides one instead of scanning
15024         argument list for "%h" to decide hostname acceptability.
15026 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
15028         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15029         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15030         Handle COPY-CONTENTS.  (Bug#15737)
15032 2013-10-28  Daiki Ueno  <ueno@gnu.org>
15034         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15035         Document that this option has no effect with GnuPG 2.0 (bug#15552).
15037 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
15039         * image.el (defimage, image-load-path): Doc fixes.
15041 2013-10-27  Alan Mackenzie  <acm@muc.de>
15043         Indent statements in macros following "##" correctly.
15044         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15045         Modify the "#" arm of a cond form to handle "#" and "##" operators.
15047 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
15049         * linum.el (linum-update-window): Fix boundary test (bug#13446).
15051 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
15053         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
15054         after `=' is probably a new expression.
15056 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15058         * man.el (man-imenu-title): New option.
15059         (Man-mode-map): Add menu.  (Bug#15722)
15060         (Man-mode): Add imenu to menu.
15062 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
15064         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
15065         specific in what the first arg can be: a non-keyword word,
15066         string/regexp/percent literal opener, opening paren, or unary
15067         operator followed directly by word.
15069 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15071         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
15072         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
15073         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
15074         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
15075         Remove vars, they do not apply any more.
15076         (prolog-mode-abbrev-table): Remove redundant declaration.
15077         (prolog-upper-case-string, prolog-lower-case-string): Remove.
15078         (prolog-use-smie): Remove.
15079         (prolog-smie-rules): Add indentation rule for the if-then-else layout
15080         supported by prolog-electric-if-then-else-flag.
15081         (prolog-mode-variables, prolog-menu): Use setq-local.
15082         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
15083         Remove binding to `Backspace' since this key doesn't exist anyway.
15084         Remove bindings for electric self-inserting keys.
15085         (prog-mode): Assume it's defined.
15086         (prolog-post-self-insert): New function.
15087         (prolog-mode): Use it.
15088         (prolog-indent-line, prolog-indent-level)
15089         (prolog-find-indent-of-matching-paren)
15090         (prolog-indentation-level-of-line, prolog-goto-comment-column)
15091         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
15092         (prolog-goto-next-paren, prolog-in-string-or-comment)
15093         (prolog-tokenize, prolog-inside-mline-comment)
15094         (prolog-find-start-of-mline-comment): Remove functions.
15095         (prolog-find-unmatched-paren, prolog-clause-end)
15096         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
15097         (prolog-electric--if-then-else): Rename from
15098         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
15099         (prolog-tokenize-searchkey): Remove const.
15100         (prolog-clause-info): Use forward-sexp.
15101         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
15102         (prolog-electric-if-then-else): Remove commands.
15103         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
15104         for use in post-self-insert-hook.
15105         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
15106         for use in post-self-insert-hook.
15107         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
15108         for use in post-self-insert-hook.
15109         (prolog-electric--underscore): Rename from prolog-electric--underscore;
15110         adapt it for use in post-self-insert-hook.
15112 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
15114         * emacs-lisp/ert.el (ert-run-tests-interactively):
15115         Use `completing-read'.  (Bug#9756)
15117 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
15119         * simple.el (line-move): Call line-move-1 instead of
15120         line-move-visual when the current window hscroll is zero, but
15121         temporary-goal-column indicates we will need to hscroll as result
15122         of the movement.  (Bug#15712)
15124 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
15126         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
15127         capitalization.  Use :visible instead of :active.
15128         Fix `ruby-indent-exp' reference.  Add menu items for the generic
15129         commands that are used with SMIE.
15130         (ruby-do-end-to-brace): Insert space after `{'.
15132 2013-10-25  John Anthony  <john@jo.hnanthony.com>
15134         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
15136         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
15138 2013-10-25  Glenn Morris  <rgm@gnu.org>
15140         * vc/vc.el (vc-print-log): Don't use a working revision unless
15141         one was explicitly specified.  (Bug#15322)
15143 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15145         * subr.el (add-to-list): Preserve return value in compiler-macro
15146         (bug#15692).
15148 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15150         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
15151         result.  Ask user to retry using '-all' flag.  (Bug#15701)
15153 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15155         * emacs-lisp/smie.el: New smie-config system.
15156         (smie-config): New defcustom.
15157         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
15158         (smie-config-guess, smie-config-save): New commands.
15159         (smie-config--mode-local, smie-config--buffer-local)
15160         (smie-config--trace, smie-config--modefuns): New vars.
15161         (smie-config--advice, smie-config--mode-hook)
15162         (smie-config--setter, smie-config-local, smie-config--get-trace)
15163         (smie-config--guess-value, smie-config--guess): New functions.
15164         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
15165         text properties.  Treat "string fence" syntax like string syntax.
15167         * progmodes/sh-script.el (sh-use-smie): Change default.
15168         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
15169         (sh-var-value): Simplify by CSE.
15170         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
15171         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
15172         is used.
15173         (sh-guess-basic-offset): Use cl-incf.
15174         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
15176 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
15178         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
15179         (bug#15699).
15181 2013-10-24  Glenn Morris  <rgm@gnu.org>
15183         * Makefile.in (abs_top_srcdir): Remove.
15184         (update-subdirs): Use relative path to update-subdirs.
15186 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
15188         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
15189         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
15190         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
15191         Call unmsys--file-name before expand-file-name, not after it.
15193 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
15195         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
15196         (ert-test-skipped): New error.
15197         (ert-skip, ert-stats-skipped): New defuns.
15198         (ert--skip-unless): New macro.
15199         (ert-test-skipped): New struct.
15200         (ert--run-test-debugger, ert-test-result-type-p)
15201         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
15202         (ert--stats-set-test-and-result, ert-char-for-test-result)
15203         (ert-string-for-test-result, ert-run-tests-batch)
15204         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
15205         Handle skipped tests.  (Bug#9803)
15207 2013-10-24  Glenn Morris  <rgm@gnu.org>
15209         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
15211         * Makefile.in (abs_top_srcdir): New, set by configure.
15212         (update-subdirs): Correct build-aux location.
15214 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
15216         * vc/vc.el (vc-print-root-log): Always set `default-directory'
15217         value, whether we could auto-deduce `backend', or not.
15219         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
15220         with parameters" example.  Simplify the "is it block or is it
15221         hash" check, but also make it more thorough.
15223 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
15225         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
15227 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15229         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
15230         { if it is hanging.
15232         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
15233         :before ";".
15235 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
15237         * progmodes/compile.el (compilation-directory-matcher)
15238         (compilation-page-delimiter):
15239         Support GNU Make-4.0 directory quoting.  (Bug#15678)
15241 2013-10-23  Leo Liu  <sdl.web@gmail.com>
15243         * ido.el (ido-tidy): Handle read-only text.
15245 2013-10-23  Glenn Morris  <rgm@gnu.org>
15247         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
15248         (emacs, compile, compile-always):
15249         Quote entities that might contain whitespace.
15250         (custom-deps, finder-data, autoloads): Use abs_lisp.
15251         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15252         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15253         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
15255 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
15257         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
15258         Use `following-char'.
15260 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15262         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
15263         * progmodes/ruby-mode.el (ruby-smie-rules):
15264         Remove corresponding workaround.  Fix indentation rule of ";" so it
15265         also applies when ";" is the parent.
15267 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
15269         * frame.el (display-screens, display-pixel-height)
15270         (display-pixel-width, display-mm-width, display-backing-store)
15271         (display-save-under, display-planes, display-color-cells)
15272         (display-visual-class, display-monitor-attributes-list):
15273         Mention the optional ‘display’ argument in doc strings.
15275 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
15277         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
15278         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
15280 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
15282         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
15283         TODO.  Add "." after " @ ".
15284         (ruby-smie--at-dot-call): New function.  Checks if point at method
15285         call with explicit target.
15286         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
15287         to the method name tokens when it precedes them.
15288         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
15289         (ruby-smie-rules): Add rule for indentation before and after "."
15290         token.
15292 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15294         * textmodes/remember.el (remember-diary-extract-entries):
15295         Avoid add-to-list.
15297         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
15298         an instruction.
15300 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
15302         * progmodes/ruby-mode.el (ruby-smie-grammar):
15303         Add (almost) all infix operators.
15304         (ruby-smie--implicit-semi-p): Add new operator chars.
15306         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
15307         `smie-down-list'.
15308         (ruby-smie--args-separator-p): Check that there's no newline
15309         between method call and its arguments.
15311 2013-10-20  Alan Mackenzie  <acm@muc.de>
15313         Allow comma separated lists after Java "implements".
15315         * progmodes/cc-engine.el (c-backward-over-enum-header):
15316         Parse commas.
15317         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
15318         from a "disallowed" list in enum fontification.
15320 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
15322         * startup.el (default-frame-background-mode): Remove unused defvar.
15324         * progmodes/verilog-mode.el (verilog-mode): Don't set
15325         comment-indent-function globally.
15327 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
15329         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
15330         Move Info menu item creation to ns-win.el.
15332         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
15333         in menu bar.
15335         * menu-bar.el: Move GNUstep specific menus...
15337         * term/ns-win.el (ns-initialize-window-system): ... to here.
15339 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15341         * simple.el (newline): Only run post-self-insert-hook when
15342         called interactively.
15344 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
15346         * icomplete.el (icomplete-with-completion-tables): Add :version.
15348 2013-10-19  Alan Mackenzie  <acm@muc.de>
15350         Fix fontification bugs with constructors and const.
15352         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
15353         CASE 2) Remove the check for the absence of a suffix construct
15354         after a function declaration with only types (no identifiers) in
15355         the parentheses.  Also, accept a function declaration with just a
15356         type inside the parentheses, if this type can be positively
15357         recognised as such, or if a prefix keyword like "explicit" nails
15358         down the construct as a declaration.
15360 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
15362         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
15363         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
15364         the problem whereby selecting a menu item that leads to a
15365         minibuffer prompt moves the cursor out of the minibuffer window,
15366         making it hard to type at the prompt.  Suggested by Stefan Monnier
15367         <monnier@iro.umontreal.ca>.
15369 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
15371         * menu-bar.el: Don't make Services menu.
15373 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15375         * ffap.el: Handle "/usr/include/c++/<version>" directories.
15376         (ffap-alist): Use ffap-c++-mode for c++-mode.
15377         (ffap-c++-path): New variable.
15378         (ffap-c++-mode): New function.
15380 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
15382         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
15384 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
15386         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
15387         introduced on 2013-09-08, which results in an infinite loop
15388         requesting a password.
15390 2013-10-18  Glenn Morris  <rgm@gnu.org>
15392         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
15394 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
15396         Sync with upstream verilog-mode revision 1a6ecec7.
15397         * progmodes/verilog-mode.el (verilog-mode-version): Update.
15398         (verilog-mode-release-date): Remove.
15399         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
15400         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
15401         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
15402         (verilog-auto-tieoff-ignore-regexp)
15403         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
15404         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
15405         (verilog-signals-with, verilog-dir-cache-preserving)
15406         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
15407         Doc fixes.
15408         (verilog-case-fold): New option, to control case folding in
15409         regexp searches, bug597.
15410         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
15411         (verilog-string-match-fold, verilog-in-paren-count)
15412         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
15413         (verilog-at-close-struct-p): New functions.
15414         (verilog-beg-block-re-ordered, verilog-extended-case-re)
15415         (verilog-forward-sexp, verilog-set-auto-endcomments)
15416         (verilog-leap-to-case-head): Handle "unique0" case.
15417         (verilog-in-constraint-re): New constant.
15418         (verilog-keywords, verilog-type-font-keywords):
15419         Add some SystemVerilog 1800-2012 keywords.
15420         (verilog-label-be): Remove unimplemented argument, bug669.
15421         (verilog-batch-execute-func): When batch expanding clear
15422         create-lockfiles to prevent spurious user locks when a file ends
15423         up not changing.
15424         (verilog-calculate-indent, verilog-calc-1)
15425         (verilog-at-close-constraint-p, verilog-at-constraint-p)
15426         (verilog-do-indent): Fix indentation of nested constraints
15427         and structures.
15428         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
15429         (verilog-auto-inst-param): Use verilog-string-match-fold.
15430         (verilog-read-inst-module-matcher):
15431         Fix AUTOINST on gate primitives with #1.
15432         (verilog-read-decls): Fix double-declaring user-defined typed signals.
15433         Reads all user-defined typed variables.
15434         (verilog-read-defines): Fix reading definitions inside comments, bug647.
15435         (verilog-signals-matching-regexp)
15436         (verilog-signals-not-matching-regexp, verilog-auto):
15437         Respect verilog-case-fold.
15438         (verilog-diff-report): Fix line count.
15439         (verilog-auto-assign-modport): Remove unused local `modi'.
15440         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
15441         better handle multidimensional arrays.
15442         Fix packed array ports misadding bit index in AUTOINST, bug637.
15443         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
15444         to not double-declare existing outputs and inputs, respectively.
15445         (verilog-template-map): Bind U to verilog-sk-uvm-component.
15446         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
15447         (verilog-sk-uvm-component): New skeleton.
15448         (verilog-submit-bug-report): Add verilog-case-fold,
15449         remove verilog-mode-release-date.
15451 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
15453         * subr.el (sit-for): Call (input-pending-p t) so as to behave
15454         as before.
15456 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
15458         * textmodes/remember.el (remember): Set buffer-offer-save in
15459         remember buffers (bug#13566).
15461 2013-10-18  Daniel Colascione  <dancol@dancol.org>
15463         When evaluating forms in ielm, direct standard output to ielm
15464         buffer.  Add new ielm-return-for-effect command.  Remove trailing
15465         whitespace throughout.
15467         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
15468         (ielm-return-for-effect): New command.
15469         (ielm-send-input): Accept optional `for-effect' parameter.
15470         (ielm-eval-input): Accept optional `for-effect' parameter.
15471         Bind `standard-output' to stream we create using
15472         `ielm-standard-output-impl'.  Suppress printing result when
15473         `for-effect'.
15474         (ielm-standard-output-impl): New function.
15475         (inferior-emacs-lisp-mode): Explain new features in documentation.
15477 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
15479         Code cleanup.
15481         * net/tramp.el (tramp-debug-message): Do not check for connection
15482         buffer.
15483         (tramp-message): Use "vector" connection property.
15485         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
15486         (tramp-equal-remote, tramp-eshell-directory-change)
15487         * net/tramp-adb.el (tramp-adb-handle-copy-file)
15488         (tramp-adb-handle-rename-file)
15489         * net/tramp-cmds.el (tramp-list-remote-buffers)
15490         (tramp-cleanup-connection, tramp-cleanup-this-connection)
15491         * net/tramp-compat.el (tramp-compat-process-running-p)
15492         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
15493         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
15494         (tramp-gvfs-handle-rename-file)
15495         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15496         (tramp-set-file-uid-gid)
15497         * net/tramp-smb.el (tramp-smb-handle-copy-file)
15498         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
15499         of `file-remote-p'.
15501         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
15502         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15503         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
15504         (tramp-gw-open-network-stream): Suppress unrelated traces.
15506         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
15507         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15508         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15509         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
15510         connection property.
15512         * net/tramp-cache.el (top): Suppress traces when reading
15513         persistency file.
15515         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15516         Refactor common code.  Improve debug message.
15517         (tramp-maybe-open-connection)
15518         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
15519         connection buffer too early.
15521         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
15522         from `tramp-smb-actions-with-acl'.
15523         (tramp-smb-actions-set-acl): New defconst.
15524         (tramp-smb-handle-copy-directory)
15525         (tramp-smb-action-get-acl): New defun, renamed from
15526         `tramp-smb-action-with-acl'.
15527         (tramp-smb-action-set-acl): New defun.
15528         (tramp-smb-handle-set-file-acl): Rewrite.
15530 2013-10-17  Glenn Morris  <rgm@gnu.org>
15532         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
15534 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15536         * skeleton.el (skeleton-newline): Remove.
15537         (skeleton-internal-1): Use (insert "\n") instead.
15539         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
15540         let-bindings.
15542         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
15543         forward-sexp-function while we redo its job (bug#15613).
15545 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
15547         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
15548         represented by lists.
15550 2013-10-16  Glenn Morris  <rgm@gnu.org>
15552         * tmm.el (tmm--history): New dynamic variable.
15553         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
15555 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
15557         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
15558         (tramp-smb-errors): Add error messages.
15559         (tramp-smb-actions-with-acl): New defconst.
15560         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
15561         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
15562         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
15563         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
15564         (tramp-smb-get-stat-capability): Fix tests.
15566 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
15568         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
15569         (bug#15580).
15571 2013-10-16  Glenn Morris  <rgm@gnu.org>
15573         * ansi-color.el (ansi-color-drop-regexp):
15574         Add 1J, 1K, 2K.  (Bug#15617)
15576         * files.el (hack-local-variables--warned-lexical): New.
15577         (hack-local-variables):
15578         Warn about misplaced lexical-binding.  (Bug#15616)
15580         * net/eww.el (eww-render): Always set eww-current-url,
15581         and update header line.  (Bug#15622)
15582         (eww-display-html): ... Rather than just doing it here.
15584 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
15586         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
15587         menu navigations commands.
15589 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
15591         * progmodes/subword.el (subword-capitalize): Be careful when
15592         the search for [[:alpha:]] fails (bug#15580).
15594 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
15596         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
15597         to commands that scroll the menu.
15599 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
15601         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
15602         Handle methods ending with `?' and `!'.
15604 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
15606         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
15607         `japanese-cp932' to `cp932' to fix the problem where saving a
15608         source file written in Shift_JIS twice would end up having
15609         `coding: japanese-cp932' which Ruby could not recognize.
15610         (ruby-mode-set-encoding): Add support for encodings mapped to nil
15611         in `ruby-encoding-map'.
15612         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
15613         doesn't need to be explicitly declared in magic comment.
15614         (ruby-encoding-map): Add type declaration for better customize UI.
15616 2013-10-13  Glenn Morris  <rgm@gnu.org>
15618         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
15619         Occur buffers are read-only.  http://bugs.debian.org/720775
15621         * emacs-lisp/authors.el (authors-fixed-entries):
15622         Comment out old alpha stuff.
15624 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
15626         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
15627         to `after-save-hook' instead of `before-save-hook'.
15628         (ruby-mode-set-encoding): Use the value of coding system used to
15629         write the file.  Call `basic-save-buffer-1' after modifying the
15630         buffer.
15632 2013-10-13  Alan Mackenzie  <acm@muc.de>
15634         Fix indentation/fontification of Java enum with
15635         "implements"/generic.
15637         * progmodes/cc-engine.el (c-backward-over-enum-header):
15638         Extracted from the three other places and enhanced to handle generics.
15639         (c-inside-bracelist-p): Uses new function above.
15640         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
15641         function above.
15642         (c-font-lock-enum-tail): Uses new function above.
15644 2013-10-13  Kenichi Handa  <handa@gnu.org>
15646         * international/mule-cmds.el (select-safe-coding-system): Remove a
15647         superfluous condition in chekcing whether a coding system is safe
15648         or not.
15650 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
15652         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
15654 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
15656         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
15658 2013-10-13  Glenn Morris  <rgm@gnu.org>
15660         * menu-bar.el (menu-bar-update-buffers):
15661         Unify Buffers menu prompt string.  (Bug#15576)
15663         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
15665         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
15666         Add some entries.
15667         (authors-fixed-entries): Use accented form of name.
15669 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15671         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
15672         method calls (bug#15594).
15673         (ruby-smie--args-separator-p): New function.
15674         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
15675         recognize paren-free method calls.
15677         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
15678         internals of universal-argument.
15680 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
15682         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
15683         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
15684         dropped menu on second mouse click on the menu bar.
15686 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15688         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
15689         (explicit-shell-file-name): Declare.
15690         (sh--vars-before-point, sh--cmd-completion-table): New functions.
15691         (sh-completion-at-point-function): New function.
15692         (sh-mode): Use it.
15693         (sh-smie--keyword-p): Remove unused argument.
15694         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
15695         vars.
15696         (sh-set-shell): Always setup SMIE, even if we use the
15697         old indentation code.
15699 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
15701         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
15702         cases of ? and =.
15703         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
15704         predicate would return nil are almost non-existent.
15705         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
15707         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
15708         cache also after commands that modify the buffer but don't move
15709         point.
15711 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15713         * env.el (substitute-env-in-file-name): New function.
15714         (substitute-env-vars): Extend the meaning of the optional arg.
15716 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
15718         * term/w32-win.el (dynamic-library-alist): Define separate lists
15719         of GIF DLLs for versions before and after 5.0.0 of giflib.
15720         (Bug#15531)
15722 2013-10-10  João Távora  <joaotavora@gmail.com>
15724         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
15725         not locked, use last revision and current source as
15726         defaults.  (Bug#15569)
15728 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
15730         * menu-bar.el (menu-bar-open): Don't use popup-menu if
15731         menu-bar is hidden.
15733 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
15735         * window.el (pop-to-buffer-same-window): Fix doc-string.
15736         (Bug#15492)
15738 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15740         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
15742 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
15744         * calendar/icalendar.el (icalendar-import-file):
15745         Fix interactive spec.  (Bug#15482)
15747 2013-10-10  Glenn Morris  <rgm@gnu.org>
15749         * desktop.el (desktop-save): Default to saving in .emacs.d,
15750         since PWD is no longer in desktop-path by default.  (Bug#15319)
15752         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
15753         now that text mode has a menu with the same entry.
15754         (menu-bar-text-mode-auto-fill): Remove now unused func.
15755         * textmodes/text-mode.el (text-mode-map):
15756         Use auto-fill help text from menu-bar.el.
15758 2013-10-10  John Anthony  <john@jo.hnanthony.com>
15760         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
15762 2013-10-09  Juri Linkov  <juri@jurta.org>
15764         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
15765         instead of this-command-keys.  Add universal-argument-more and
15766         universal-argument-minus to the list of prefix commands.  (Bug#15568)
15768 2013-10-09  Glenn Morris  <rgm@gnu.org>
15770         * vc/vc-svn.el (vc-svn-create-repo):
15771         Expand paths in file://... url.  (Bug#15446)
15773         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
15774         Add some entries.
15775         (authors): Remove unused local variables.
15777 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15779         * profiler.el: Create a more coherent calltree from partial backtraces.
15780         (profiler-format): Hide the tail with `invisible' so that C-s can still
15781         find the hidden elements.
15782         (profiler-calltree-depth): Don't recurse so enthusiastically.
15783         (profiler-function-equal): New hash-table-test.
15784         (profiler-calltree-build-unified): New function.
15785         (profiler-calltree-build): Use it.
15786         (profiler-report-make-name-part): Indent the calltree less.
15787         (profiler-report-mode): Add visibility specs for profiler-format.
15788         (profiler-report-expand-entry, profiler-report-toggle-entry):
15789         Expand the whole subtree when provided with a prefix arg.
15791 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
15793         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
15794         iuwu-mod token.
15795         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
15796         hanging iuwu-mod token.
15797         (ruby-smie--forward-token): Do not include a dot after a token in
15798         that token.
15799         (ruby-smie--backward-token): Likewise.
15801 2013-10-08  Juri Linkov  <juri@jurta.org>
15803         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
15804         to isearch-other-control-char.
15805         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
15806         and isearch-post-command-hook to post-command-hook.
15807         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
15808         and isearch-post-command-hook from post-command-hook.
15809         (isearch-unread-key-sequence)
15810         (isearch-reread-key-sequence-naturally)
15811         (isearch-lookup-scroll-key, isearch-other-control-char)
15812         (isearch-other-meta-char): Remove functions.
15813         (isearch-pre-command-hook, isearch-post-command-hook):
15814         New functions based on isearch-other-meta-char rewritten
15815         relying on the new behavior of overriding-terminal-local-map
15816         that does not replace the local keymaps any more.  (Bug#15200)
15818 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
15820         Support menus on text-mode terminals.
15821         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
15822         functionality.
15824         * tooltip.el (tooltip-mode): Don't error out on TTYs.
15826         * menu-bar.el (popup-menu, popup-menu-normalize-position):
15827         Move here from mouse.el.
15828         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
15829         and arrow keys.
15830         (tty-menu-navigation-map): New map for TTY menu navigation.
15832         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
15834         * frame.el (display-mouse-p): Report text-mode mouse as available
15835         on w32.
15836         (display-popup-menus-p): Report availability if mouse is
15837         available; don't condition on window-system.
15839         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
15840         (tty-menu-selected-face): New faces.
15842 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15844         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
15845         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
15846         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
15847         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
15848         New constants.
15849         (lisp-mode-variables): New `elisp' argument.
15850         (emacs-lisp-mode): Use it.
15851         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
15852         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
15854         * indent.el: Use lexical-binding.
15855         (indent-region): Add progress reporter.
15856         (tab-stop-list): Make it implicitly extend to infinity by repeating the
15857         last step.
15858         (indent--next-tab-stop): New function to implement this behavior.
15859         (tab-to-tab-stop, move-to-tab-stop): Use it.
15861 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
15863         * indent.el (indent-rigidly--current-indentation): New function.
15864         (indent-rigidly-map): New var.
15865         (indent-rigidly): Use it to provide interactive mode (bug#8196).
15867 2013-10-08  Bastien Guerry  <bzg@gnu.org>
15869         * register.el (insert-register): Fix 2013-10-07 change.
15871 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15873         * progmodes/perl-mode.el: Use lexical-binding.
15874         Remove redundant :group args.
15875         (perl-nochange): Change default to be closer to other major modes's
15876         standard behavior.
15877         (perl-indent-line): Don't consider text on current line as a
15878         valid beginning of function from which to indent.
15880         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
15881         with more than one argument (bug#15538).
15883         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
15885         * vc/pcvs.el: Use lexical-binding.
15886         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
15887         environment of `eval'.
15888         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
15889         than a list of expressions.  Adjust callers.
15890         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
15892 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
15894         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
15895         case of the dot in a chained method call being on the following line.
15897 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15899         * electric.el (electric-indent-inhibit): New var.
15900         (electric-indent-post-self-insert-function): Use it.
15901         * progmodes/python.el (python-mode): Set it.
15903         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
15904         open braces.
15906         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
15908         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
15909         (css-mode): Use electric-indent-chars.
15911         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
15912         (font-lock-beg, font-lock-end): Move before first use.
15913         (nxml-mode): Use syntax-propertize-function.
15914         (nxml-after-change, nxml-after-change1): Adjust accordingly.
15915         (nxml-extend-after-change-region): Remove.
15916         * nxml/xmltok.el: Use lexical-binding.
15917         (xmltok-save): Use `declare'.
15918         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
15919         * nxml/nxml-util.el: Use lexical-binding.
15920         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
15921         Use `declare'.
15922         * nxml/nxml-ns.el: Use lexical-binding.
15923         (nxml-ns-save): Use `declare'.
15924         (nxml-ns-prefixes-for): Avoid add-to-list.
15925         * nxml/rng-match.el: Use lexical-binding.
15926         (rng--ipattern): Use cl-defstruct.
15927         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
15928         (rng-cons-group-after, rng-subst-group-after)
15929         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
15930         Use closures instead of `(lambda...).
15932 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
15934         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
15935         of BEG and END.
15937         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15938         Use `tramp-handle-insert-file-contents'.
15939         (tramp-gvfs-handle-insert-file-contents): Remove function.
15941         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15942         Use `save-restriction' in order to keep markers.
15944         * net/trampver.el: Update release number.
15946 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15948         * progmodes/compile.el (compilation-parse-errors):
15949         Use compilation--put-prop.
15950         (compilation--ensure-parse): Check compilation-multiline.
15952         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
15954         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
15955         lexical-binding.
15957         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
15959         * progmodes/ruby-mode.el: Fix recently added tests.
15960         (ruby-smie-grammar): Add - and +.
15961         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
15962         (ruby-smie--backward-id): New functions.
15963         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
15964         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
15965         any more.
15967 2013-10-07  Leo Liu  <sdl.web@gmail.com>
15969         * register.el (register-preview-delay)
15970         (register-preview-functions): New variables.
15971         (register-read-with-preview, register-preview)
15972         (register-describe-oneline): New functions.
15973         (point-to-register, window-configuration-to-register)
15974         (frame-configuration-to-register, jump-to-register)
15975         (number-to-register, view-register, insert-register)
15976         (copy-to-register, append-to-register, prepend-to-register)
15977         (copy-rectangle-to-register): Use register-read-with-preview to
15978         read register.  (Bug#15525)
15980 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
15982         * net/network-stream.el (network-stream-open-starttls): Don't add
15983         --insecure if it's already present, because that gnutls-cli
15984         rejects getting that parameter twice.
15986 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
15988         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
15989         keyword, too.
15991 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
15993         * newcomment.el (comment-use-global-state): Change default value
15994         to t, mark obsolete (Bug#15251).
15995         (comment-beginning): In addition to `comment-to-syntax', check the
15996         value of `comment-use-global-state'.
15998 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16000         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
16001         (ruby-comment-column): Follow the global default, by default.
16002         (ruby-smie-grammar): Add assignment syntax.
16003         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
16004         open-paren, a comma, or a \.
16005         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
16006         and line continuations.
16007         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
16008         followed by implicit semi-colons.  Add rule for string concatenation
16009         and for indentation at BOB.
16010         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
16012         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
16013         calling next-sexp, since next-token may have skipped chars which
16014         next-sexp doesn't know should be skipped!
16016 2013-10-05  Leo Liu  <sdl.web@gmail.com>
16018         * progmodes/octave.el (octave-send-region):
16019         Call compilation-forget-errors.
16021 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
16023         * vc/vc-svn.el (vc-svn-find-admin-dir):
16024         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
16025         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
16026         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
16027         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
16029 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16031         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
16033 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16035         * subr.el (read-passwd): Hide chars even when called within a context
16036         where after-change-functions is disabled (bug#15501).
16037         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
16038         until we removed ourself from overriding-terminal-local-map.
16040 2013-10-04  Leo Liu  <sdl.web@gmail.com>
16042         * progmodes/octave.el (inferior-octave-mode):
16043         Call compilation-forget-errors.
16045 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
16047         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
16049 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
16051         * net/secrets.el (secrets-create-collection): Add optional
16052         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
16053         dbus-call-method argument.  (Bug#15516)
16055 2013-10-04  Leo Liu  <sdl.web@gmail.com>
16057         * progmodes/octave.el (inferior-octave-error-regexp-alist)
16058         (inferior-octave-compilation-font-lock-keywords): New variables.
16059         (compilation-error-regexp-alist)
16060         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
16061         (inferior-octave-mode): Use compilation-shell-minor-mode.
16063 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
16065         * minibuffer.el (completion--replace): Be careful that `end' might be
16066         a marker.
16068 2013-10-03  Daiki Ueno  <ueno@gnu.org>
16070         Add support for package signature checking.
16071         * emacs-lisp/package.el (url-http-file-exists-p)
16072         (epg-make-context, epg-context-set-home-directory)
16073         (epg-verify-string, epg-context-result-for)
16074         (epg-signature-status, epg-signature-to-string)
16075         (epg-check-configuration, epg-configuration)
16076         (epg-import-keys-from-file): Declare.
16077         (package-check-signature): New user option.
16078         (package-unsigned-archives): New user option.
16079         (package-desc): Add `signed' field.
16080         (package-load-descriptor): Set `signed' field if .signed file exists.
16081         (package--archive-file-exists-p): New function.
16082         (package--check-signature): New function.
16083         (package-install-from-archive): Check package signature.
16084         (package--download-one-archive): Check archive signature.
16085         (package-delete): Remove .signed file.
16086         (package-import-keyring): New command.
16087         (package-refresh-contents): Import default keyring.
16088         (package-desc-status): Add "unsigned" status.
16089         (describe-package-1, package-menu--print-info)
16090         (package-menu-mark-delete, package-menu--find-upgrades)
16091         (package-menu--status-predicate): Support "unsigned" status.
16093 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16095         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
16096         the new compilation scheme using the new byte-codes.
16098         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
16099         (byte-pophandler): New byte codes.
16100         (byte-goto-ops): Adjust accordingly.
16101         (byte-compile--use-old-handlers): New var.
16102         (byte-compile-catch): Use new byte codes depending on
16103         byte-compile--use-old-handlers.
16104         (byte-compile-condition-case--old): Rename from
16105         byte-compile-condition-case.
16106         (byte-compile-condition-case--new): New function.
16107         (byte-compile-condition-case): New function that dispatches depending
16108         on byte-compile--use-old-handlers.
16109         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
16110         when we can.
16112         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
16113         Optimize under `condition-case' and `catch' if
16114         byte-compile--use-old-handlers is nil.
16115         (disassemble-offset): Handle new bytecodes.
16117 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16119         * subr.el (error): Use `declare'.
16120         (decode-char, encode-char): Use advertised-calling-convention instead
16121         of the docstring to discourage use of the `restriction' arg.
16123 2013-10-03  Daiki Ueno  <ueno@gnu.org>
16125         * epg.el (epg-verify-file): Add a comment saying that it does not
16126         notify verification error as a return value nor a signal.
16127         (epg-verify-string): Ditto.
16129 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
16131         * progmodes/compile.el (compilation-start): Try globbing the arg to
16132         `cd' (bug#15417).
16134 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
16136         Sync with Tramp 2.2.8.
16138         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
16139         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
16140         * net/trampver.el: Update release number.
16142 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
16144         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16145         and default-process-coding-system for darwin only.
16147 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16149         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
16151 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
16153         * vc/vc-git.el (vc-git-grep): Disable pager.
16155 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
16157         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
16158         Use :url instead of :homepage, as per
16159         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
16161         * newcomment.el (comment-beginning): When `comment-use-syntax' is
16162         non-nil, use `syntax-ppss' (Bug#15251).
16164 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16166         * progmodes/octave.el (inferior-octave-startup-file):
16167         Prefer ~/.emacs.d/init_octave.m.
16169 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
16171         * emacs-lisp/package.el (package-desc-from-define):
16172         Accept additional arguments as plist, convert them to an alist and store
16173         them in the `extras' slot.
16174         (package-generate-description-file): Convert extras alist back to
16175         plist and append to the `define-package' form arguments.
16176         (package--alist-to-plist): New function.
16177         (package--ac-desc): Add `extras' slot.
16178         (package--add-to-archive-contents): Check if the archive-contents
16179         vector is long enough, and if it is, pass its `extras' slot value
16180         to `package-desc-create'.
16181         (package-buffer-info): Call `lm-homepage', pass the returned value
16182         to `package-desc-from-define'.
16183         (describe-package-1): Render the homepage button (Bug#13291).
16185         * emacs-lisp/package-x.el (package-upload-buffer-internal):
16186         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
16188 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
16190         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16191         and default-process-coding-system to utf-8-unix (Bug#15402).
16193 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
16195         * subr.el (looking-back): Do not recommend using looking-back.
16197 2013-09-28  Alan Mackenzie  <acm@muc.de>
16199         Fix indentation/fontification of Java enum with "implements".
16201         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
16202         regexp which matches "implements", etc., in Java.
16203         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
16204         specifier clauses coming after "enum".
16205         * progmodes/cc-fonts.el (c-font-lock-declarations)
16206         (c-font-lock-enum-tail): Check for extra specifier clauses coming
16207         after "enum".
16209 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
16211         * faces.el (region): Change ns_selection_color to
16212         ns_selection_fg_color, add ns_selection_bg_color.
16214 2013-09-28  Leo Liu  <sdl.web@gmail.com>
16216         * progmodes/octave.el (inferior-octave-completion-table)
16217         (inferior-octave-completion-at-point): Minor tweaks.
16219         * textmodes/ispell.el (ispell-lookup-words): Rename from
16220         lookup-words.  (Bug#15460)
16221         (lookup-words): Obsolete.
16222         (ispell-complete-word, ispell-command-loop): All uses changed.
16224 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16226         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
16227         (octave-mode-menu): Add octave-send-buffer.
16228         (octave-send-buffer): New function.
16230 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16232         * progmodes/octave.el (octave-mode-map): Add key binding for
16233         octave-lookfor.
16234         (octave-mode-menu): Add octave-lookfor.
16235         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
16236         octave-lookfor.
16237         (octave-lookfor): New function.
16239 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16241         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
16242         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
16243         its convention.
16244         (cl--loop-set-iterator-function): New function.
16245         (cl-loop): Adjust accordingly, so as not to use cl-subst.
16246         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
16247         Bind `it' with `let' instead of substituting it with `cl-subst'.
16248         (cl--unused-var-p): New function.
16249         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
16250         Eliminate some unused variable warnings (bug#15326).
16252 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
16254         * doc-view.el (doc-view-scale-reset): Rename from
16255         `doc-view-reset-zoom-level'.
16256         (doc-view-scale-adjust): New command.
16257         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
16258         `doc-view-scale-adjust'.
16260 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
16262         * doc-view.el (doc-view-reset-zoom-level): New command.
16263         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
16264         zoom commands (bug#15466).
16266 2013-09-26  Kenichi Handa  <handa@gnu.org>
16268         * international/quail.el (quail-help): Make it not a command.
16270 2013-09-26  Leo Liu  <sdl.web@gmail.com>
16272         * minibuffer.el (completion-all-sorted-completions): Make args
16273         optional as they are.
16275 2013-09-25  Daniel Colascione  <dancol@dancol.org>
16277         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
16278         specs are and that they're not evaluated.
16280 2013-09-24  Sam Steingold  <sds@gnu.org>
16282         * midnight.el (clean-buffer-list-kill-regexps)
16283         (clean-buffer-list-kill-buffer-names): Update for the new Man
16284         buffer naming which includes the object name.
16286 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16288         * eshell/esh-cmd.el (eshell--sep-terms): New var.
16289         (eshell-parse-command, eshell-parse-pipeline): Use it since
16290         eshell-separate-commands requires a dynamic scoped var.
16291         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
16293 2013-09-23  Leo Liu  <sdl.web@gmail.com>
16295         * autoinsert.el (auto-insert-alist): Make the value of
16296         lexical-binding match its file setting.
16298 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
16300         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
16302         * autoarg.el (autoarg-kp-digit-argument):
16303         * electric.el (Electric-command-loop):
16304         * kmacro.el (kmacro-step-edit-insert):
16305         Do not set universal-argument-num-events.
16307 2013-09-22  Leo Liu  <sdl.web@gmail.com>
16309         * files.el (interpreter-mode-alist): Add octave.
16311 2013-09-21  Alan Mackenzie  <acm@muc.de>
16313         C++: fontify identifier in declaration following "public:" correctly.
16314         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
16315         to match "public", etc.
16316         (c-decl-prefix-re): Add ":" into the C++ value.
16317         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
16318         bit.  Add a check for a ":" preceded by "public", etc.
16320 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
16322         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
16323         recognized by GDB 7.5 and later.
16325 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
16327         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
16329 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16331         * subr.el (internal--call-interactively): New const.
16332         (called-interactively-p): Use it (bug#3984).
16334 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
16336         * vc/pcvs.el (cvs-mode-ignore):
16337         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
16338         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
16340 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16342         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
16343         (eshell-ls-orig-insert-directory): Remove.
16344         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
16345         (eshell-ls-use-in-dired): Use advice-add/remove.
16346         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
16347         Add `orig-fun' arg for use in :around advice.
16348         Make it check (redundantly) eshell-ls-use-in-dired.
16350 2013-09-19  Glenn Morris  <rgm@gnu.org>
16352         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
16354         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
16356         * emacs-lisp/eieio.el (class-parent): Undo previous change.
16358 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
16360         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
16361         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
16362         (tramp-get-remote-python): New defuns.
16363         (tramp-get-remote-uid-with-perl)
16364         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
16365         contributed by yary <not.com@gmail.com> (tiny change).
16366         (tramp-get-remote-uid-with-python)
16367         (tramp-get-remote-gid-with-python): New defuns.  Python code
16368         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
16369         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
16371 2013-09-19  Glenn Morris  <rgm@gnu.org>
16373         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
16375         * eshell/em-unix.el (eshell-remove-entries):
16376         Rename argument to avoid name-clash with global `top-level'.
16378         * eshell/esh-proc.el (eshell-kill-process-function):
16379         Remove eshell-reset-after-proc from eshell-kill-hook if present.
16380         (eshell-reset-after-proc): Remove unused arg `proc'.
16382         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
16383         (directory-files-and-attributes): Mark unused arg.
16385         * eshell/em-unix.el (eshell-remove-entries):
16386         Remove unused arg `path'.  Update callers.
16388         * eshell/em-hist.el (eshell-hist-parse-arguments):
16389         Remove unused arg `silent'.  Update callers.
16391         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
16392         Fix (f)boundp mix-up.
16394         * eshell/em-smart.el (eshell-smart-scroll-window)
16395         (eshell-disable-after-change):
16396         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
16398 2013-09-18  Alan Mackenzie  <acm@muc.de>
16400         Fix fontification of type when followed by "const".
16401         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
16402         "known" types from fontification.
16404 2013-09-18  Glenn Morris  <rgm@gnu.org>
16406         * emacs-lisp/chart.el (x-display-color-cells): Declare.
16407         (chart-face-list): Drop Emacsen without display-color-p.
16409         * net/eww.el (libxml-parse-html-region): Declare.
16410         (eww-display-html): Explicit error if no libxml2 support.
16412         * doc-view.el (doc-view-mode): Silence --without-x compilation.
16414         * image.el (image-type-from-buffer, image-multi-frame-p):
16415         Remove --without-x warning/error.
16417         * mouse.el (mouse-yank-primary):
16418         * term.el (term-mouse-paste):
16419         Reorder to silence --without-x compilation.
16421         * mpc.el (doc-view-mode): Silence --without-x compilation.
16423         * mail/rmailmm.el (rmail-mime-set-bulk-data):
16424         Silence --without-x compilation.
16426         * progmodes/gud.el (gud-find-file, gud-mode):
16427         Silence --without-x compilation.
16428         (tooltip-mode): Declare.
16430         * wdired.el (dired-backup-overwrite): Remove declaration.
16431         (wdired-mode-map): Add doc string.
16433         * custom.el (x-get-resource): Declare.
16435         * eshell/em-glob.el (ange-cache):
16436         * eshell/em-unix.el (ange-cache): Declare.
16438         * faces.el (x-display-list, x-open-connection, x-get-resource):
16439         Declare.
16441         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
16442         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
16443         Declare.
16445         * frame.el (x-display-grayscale-p, x-display-name): Declare.
16447         * net/gnutls.el (gnutls-log-level): Declare.
16449         * net/shr.el (image-size, image-animate): Declare.
16451         * simple.el (font-info): Declare.
16453         * subr.el (x-popup-dialog): Declare.
16455         * term/common-win.el (x-select-enable-primary)
16456         (x-last-selected-text-primary, x-last-selected-text-clipboard):
16457         Declare.
16459         * term/ns-win.el (x-handle-args): Declare.
16461         * term/x-win.el (x-select-enable-clipboard): Declare.
16463         * term/w32-win.el (create-default-fontset): Declare.
16465         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
16466         Declare.
16468         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16469         (fit-frame-to-buffer): Explicit error if --without-x.
16470         (mouse-autoselect-window-select): Silence compiler.
16472         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16474         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
16475         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
16476         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
16477         * eshell/esh-util.el (eshell-sublist):
16478         Remove unused local variables.
16480         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
16482         * textmodes/two-column.el: Make 2C-split work for --without-x.
16483         (scroll-bar-columns): Autoload.
16484         (top-level): Require fringe when compiling.
16486 2013-09-18  Leo Liu  <sdl.web@gmail.com>
16488         * subr.el (add-hook): Robustify to handle closure as well.
16490 2013-09-17  Glenn Morris  <rgm@gnu.org>
16492         * simple.el (messages-buffer-mode-map): Unbind "g".
16494 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16496         * help-mode.el (help-mode-finish): Use derived-mode-p.
16497         Remove obsolete highlighting.
16499         * play/life.el (life-mode): Use define-derived-mode.  Derive from
16500         special-mode.
16501         (life): Let-bind inhibit-read-only.
16502         (life-setup): Avoid `setq'.  Use `life-mode'.
16504         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
16505         which should not be needed any more.
16506         (package-menu-refresh, package-menu-describe-package): Use user-error.
16508         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
16509         (eshell-post-rewrite-command-hook): Make obsolete.
16510         (eshell-parse-command): Simplify.
16511         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16512         (eshell--cmd): Declare.
16513         (eshell-parse-pipeline): Remove unused var `final-p'.
16514         Pass a dynvar to eshell-post-rewrite-command-hook.
16515         Implement the new eshell-post-rewrite-command-function.
16516         (eshell-invoke-directly): Remove unused arg `input'.
16517         * eshell/esh-io.el (eshell-io-initialize):
16518         Use eshell-post-rewrite-command-function (bug#15399).
16519         (eshell--apply-redirections): Rename from eshell-apply-redirections;
16520         adjust to new calling convention.
16521         (eshell-create-handles): Rename args to avoid clashing with dynvar
16522         `standard-output'.
16524 2013-09-17  Glenn Morris  <rgm@gnu.org>
16526         * simple.el (messages-buffer-mode): New major mode.
16527         (messages-buffer): New function.
16528         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
16529         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
16530         (ert-run-test): Use `messages-buffer' function.
16531         (ert--force-message-log-buffer-truncation): Ignore read-only.
16532         * help.el (view-echo-area-messages): Use `messages-buffer' function.
16533         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
16535 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16537         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
16539         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
16541 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16543         * icomplete.el (icomplete-in-buffer): New var.
16544         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
16545         vars and replace them with functions.
16546         (icomplete-minibuffer-setup): Adjust accordingly.
16547         (icomplete--completion-table, icomplete--completion-predicate)
16548         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
16549         New functions.
16550         (icomplete-forward-completions, icomplete-backward-completions)
16551         (icomplete-simple-completing-p, icomplete-exhibit)
16552         (icomplete-completions): Use them.
16553         (icomplete--in-region-buffer): New var.
16554         (icomplete--in-region-setup): New function.
16555         (icomplete-mode): Use it.
16557         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
16558         (bug#15379).
16559         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
16560         return args and options.
16561         (eshell-eval-using-options): Use the new return value of
16562         eshell--do-opts to set the options's vars in their scope.
16563         (eshell--set-option): Rename from eshell-set-option.
16564         Add arg `opt-vals'.
16565         (eshell--process-option): Rename from eshell-process-option.
16566         Add arg `opt-vals'.
16567         (eshell--process-args): Use an `opt-vals' alist to store the options's
16568         values during their processing and return them additionally to the
16569         remaining args.
16571 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
16573         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
16574         continuation character an operator, as far as indentation is
16575         concerned (Bug#15369).
16577 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
16579         * window.el (window--state-put-2): Don't process buffer state
16580         when buffer doesn't exist any more (Bug#15382).
16582 2013-09-15  Glenn Morris  <rgm@gnu.org>
16584         * eshell/em-unix.el (eshell/rm):
16585         Make -f ignore missing files.  (Bug#15373)
16587         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
16588         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
16589         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
16591 2013-09-14  Glenn Morris  <rgm@gnu.org>
16593         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
16595 2013-09-13  Glenn Morris  <rgm@gnu.org>
16597         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
16598         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
16600 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
16602         * frame.el (x-focus-frame): Mark as declared in frame.c.
16604 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16606         * ls-lisp.el: Use advice-add.
16607         (original-insert-directory): Remove.
16608         (ls-lisp--insert-directory): Rename from insert-directory; add
16609         `orig-fun' argument.
16610         (insert-directory): Advise.
16612 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
16614         * term.el (term-emulate-terminal): Decode the command string
16615         before passing it to term-command-hook.  (Bug#15337)
16617 2013-09-13  Glenn Morris  <rgm@gnu.org>
16619         * eshell/esh-util.el (ange-cache): Move declaration earlier.
16621         * eshell/esh-ext.el (eshell-search-path): Declare.
16623         * eshell/em-prompt.el (eshell/pwd): Autoload it.
16624         Otherwise an error occurs if eshell-dirs module not loaded.
16626         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
16628 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
16630         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
16631         `tramp-check-proper-host'.  Check for a valid method name.
16633         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16634         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16635         * net/tramp-sh.el (tramp-maybe-open-connection):
16636         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
16638         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
16639         also for hash values.
16641 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16643         * term/ns-win.el (parameters): Don't declare as dynamic.
16644         (before-make-frame-hook): Don't add ineffective function.
16646         * eshell/*.el: Use lexical-binding (bug#15231).
16648 2013-09-12  Kenichi Handa  <handa@gnu.org>
16650         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
16652 2013-09-12  Glenn Morris  <rgm@gnu.org>
16654         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
16655         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
16657         * subr.el (do-after-load-evaluation): Also give compiler warnings
16658         when obsolete files are used (except by obsolete files).
16660         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
16661         in the status output, assume `filename' is the first.  (Bug#15322)
16663         * vc/vc.el (vc-deduce-fileset): Doc fix.
16665         * calc/calc-help.el (Info-goto-node):
16666         * progmodes/cperl-mode.el (Info-find-node):
16667         * vc/ediff.el (Info-goto-node): Update declarations.
16669         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
16671         * vc/vc-bzr.el (vc-compilation-mode): Declare.
16672         (vc-bzr-pull): Require vc-dispatcher.
16673         * vc/vc-git.el (vc-compilation-mode): Declare.
16674         (vc-git-pull): Require vc-dispatcher.
16676         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
16678         * progmodes/octave.el (help-button-action): Declare.
16680         * shell.el (shell-directory-tracker): Output error as a message
16681         rather than just returning it as a string.
16682         (shell-process-pushd): Remove useless use of message.
16684         * dframe.el (dframe-timer-fn):
16685         * files.el (dir-locals-read-from-file):
16686         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
16687         (mpc-format):
16688         * reveal.el (reveal-post-command):
16689         * saveplace.el (load-save-place-alist-from-file):
16690         * shell.el (shell-resync-dirs):
16691         * w32-common-fns.el (x-get-selection-value):
16692         * emacs-lisp/copyright.el (copyright-find-copyright):
16693         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
16694         * emulation/tpu-edt.el (tpu-copy-keyfile):
16695         * play/bubbles.el (bubbles--mark-neighbourhood):
16696         * progmodes/executable.el
16697         (executable-make-buffer-file-executable-if-script-p):
16698         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
16700 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16702         Cleanup Eshell to rely less on dynamic scoping.
16703         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
16704         last-value, and ext-command here.  Bind `args' closer to `body'.
16705         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
16706         (eshell--args): Declare new dynamic var.
16707         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
16708         last-value, and ext-command.  Pass `args' to `body'.
16709         (eshell-process-args): Bind eshell--args.
16710         (eshell-set-option): Use eshell--args.
16711         * eshell/eshell.el (eshell): Use derived-mode-p.
16712         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
16713         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
16714         (eshell-glob-function): Declare.
16715         * eshell/esh-util.el: Require cl-lib.
16716         (eshell-read-hosts-file): Avoid add-to-list.
16717         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
16718         `err'.
16719         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
16720         Declare.
16721         (eshell/diff): Remove unused var `err'.
16722         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
16723         `killflag'.
16724         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
16725         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
16726         first use.
16727         * eshell/em-glob.el (eshell-glob-matches, message-shown):
16728         Move declaration before first use.
16729         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
16730         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
16731         rely on cl-return.
16733 2013-09-12  Glenn Morris  <rgm@gnu.org>
16735         * term/ns-win.el (global-map): Remove binding for ispell-next,
16736         deleted 1999-05-29.  (Bug#15357)
16738 2013-09-11  Glenn Morris  <rgm@gnu.org>
16740         * echistory.el (electric-command-history): Remove call to deleted func.
16742         * play/landmark.el (landmark-mode): Fix typos.
16744         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
16745         Check cvs-sort-ignore-file is bound.
16747         * savehist.el: No need for cl when compiling on Emacs.
16749 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16751         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
16752         (bug#15338).
16753         (eshell-self-insert-command, eshell-send-invisible):
16754         Remove unused argument.
16755         (eshell-handle-control-codes): Remove unused var `orig'.
16756         Avoid delete-backward-char.
16758         * files.el (set-auto-mode): Simplify a bit further.
16760 2013-09-11  Glenn Morris  <rgm@gnu.org>
16762         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
16763         (set-auto-mode): Don't regexp-quote elements.
16764         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
16765         * progmodes/cc-mode.el (interpreter-mode-alist):
16766         * progmodes/ruby-mode.el (interpreter-mode-alist):
16767         Revert previous change.
16769 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16771         * play/snake.el (snake-mode):
16772         * play/mpuz.el (mpuz-mode):
16773         * play/landmark.el (lm-mode):
16774         * play/blackbox.el (blackbox-mode):
16775         * play/5x5.el (5x5-mode):
16776         * obsolete/options.el (Edit-options-mode):
16777         * net/quickurl.el (quickurl-list-mode):
16778         * net/newst-treeview.el (newsticker-treeview-mode):
16779         * mail/rmailsum.el (rmail-summary-mode):
16780         * mail/mspools.el (mspools-mode):
16781         * locate.el (locate-mode):
16782         * ibuffer.el (ibuffer-mode):
16783         * emulation/ws-mode.el (wordstar-mode):
16784         * emacs-lisp/debug.el (debugger-mode):
16785         * array.el (array-mode):
16786         * net/eudc.el (eudc-mode): Use define-derived-mode.
16787         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
16788         Move initialization into declaration.
16789         (mairix-searches-mode): Use define-derived-mode.
16790         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
16791         (eudc-edit-hotlist): Use dolist.
16792         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
16793         (Man-mode): Use define-derived-mode.
16794         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
16795         (Info-edit-mode): Use define-derived-mode.
16796         (Info-cease-edit): Use Info-mode.
16797         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
16798         into declaration.
16799         (eshell-mode): Use define-derived-mode.
16800         * chistory.el (command-history-mode-map): Rename from
16801         command-history-map.
16802         (command-history-mode): Use define-derived-mode.
16803         (Command-history-setup): Remove function.
16804         * calc/calc.el (calc-trail-mode-map): New var.
16805         (calc-trail-mode): Use define-derived-mode.
16806         (calc-trail-buffer): Set calc-main-buffer manually.
16807         * bookmark.el (bookmark-insert-annotation): New function.
16808         (bookmark-edit-annotation): Use it.
16809         (bookmark-edit-annotation-mode): Make it a proper major mode.
16810         (bookmark-send-edited-annotation): Use derived-mode-p.
16811         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
16812         closer to its ideal place.  Use \' to match EOS.
16814         * profiler.el (profiler-calltree-find): Use function-equal.
16816 2013-09-10  Glenn Morris  <rgm@gnu.org>
16818         * files.el (interpreter-mode-alist): Convert to regexps.
16819         (set-auto-mode): Adapt for this.  (Bug#15306)
16820         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
16821         Comment out unused variable.
16822         * progmodes/cc-mode.el (interpreter-mode-alist):
16823         * progmodes/python.el (interpreter-mode-alist):
16824         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
16825         * progmodes/sh-script.el (sh-set-shell):
16826         No longer use interpreter-mode-alist to get list of shells.
16828         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
16830 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16832         * simple.el: Use set-temporary-overlay-map for universal-argument.
16833         (universal-argument-map): Don't use default-bindings (bug#15317).
16834         Bind switch-frame explicitly.  Replace universal-argument-minus with
16835         a conditional binding.
16836         (universal-argument-num-events, saved-overriding-map): Remove.
16837         (restore-overriding-map): Remove.
16838         (universal-argument--mode): Rename from save&set-overriding-map,
16839         and rewrite.
16840         (universal-argument, universal-argument-more, negative-argument)
16841         (digit-argument): Adjust accordingly.
16842         (universal-argument-minus): Remove.
16843         (universal-argument-other-key): Remove.
16845         * subr.el (with-demoted-errors): Add `format' argument.
16847 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
16849         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
16850         `tramp-cleanup-connection'.
16852         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
16853         parameters KEEP-DEBUG and KEEP-PASSWORD.
16855         * net/tramp.el (tramp-file-name-handler):
16856         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
16857         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16858         (tramp-maybe-open-connection):
16859         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
16860         Use `tramp-cleanup-connection'.
16862         * net/tramp-sh.el (tramp-maybe-open-connection):
16863         Catch 'uname-changed inside the progress reporter.
16865 2013-09-10  Glenn Morris  <rgm@gnu.org>
16867         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
16869         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
16870         returns "alternate access method" in mode (eg "-rw-r--r--.").
16872 2013-09-08  Glenn Morris  <rgm@gnu.org>
16874         * saveplace.el (load-save-place-alist-from-file):
16875         Demote errors.  (Bug#15305)
16877 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
16879         Improve compatibility with older Emacsen, and XEmacs.
16881         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
16882         only if it is bound.  It isn't for XEmacs.
16883         (with-tramp-progress-reporter): Do not let-bind `result'.
16884         This yields to scoping errors in XEmacs.
16885         (tramp-handle-make-auto-save-file-name): New function, moved from
16886         tramp-sh.el.
16888         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
16889         for `make-auto-save-file-name'.
16890         (tramp-adb--gnu-switches-to-ash):
16891         Use `tramp-compat-replace-regexp-in-string'.
16893         * net/tramp-cache.el (tramp-cache-print): Call
16894         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
16896         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
16897         bound.  It isn't for XEmacs.
16899         * net/tramp-compat.el (tramp-compat-copy-file):
16900         Catch `wrong-number-of-arguments' error.
16901         (tramp-compat-replace-regexp-in-string): New defun.
16903         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
16904         for `make-auto-save-file-name'.
16905         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
16906         `copy-file'.
16907         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
16908         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
16909         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
16911         * net/tramp-gw.el (tramp-gw-open-network-stream):
16912         Use `tramp-compat-replace-regexp-in-string'.
16914         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
16915         Call `tramp-handle-make-auto-save-file-name'.
16916         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
16917         (tramp-sh-file-gvfs-monitor-dir-process-filter)
16918         (tramp-sh-file-inotifywait-process-filter):
16919         Use `tramp-compat-replace-regexp-in-string'.
16920         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
16922         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
16923         for `make-auto-save-file-name'.
16924         (tramp-smb-handle-copy-directory):
16925         Call `tramp-compat-replace-regexp-in-string'.
16926         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
16927         (tramp-smb-handle-copy-file): Improve error message.
16928         (tramp-smb-handle-rename-file): Rename directly only in case
16929         `newname' does not exist yet.  This is a restriction of smbclient.
16930         (tramp-smb-maybe-open-connection): Rerun the function only when
16931         `auth-sources' is non-nil.
16933 2013-09-08  Kenichi Handa  <handa@gnu.org>
16935         * international/characters.el: Set category "^" (Combining) for
16936         more characters.
16938 2013-09-07  Alan Mackenzie  <acm@muc.de>
16940         Correctly fontify Java class constructors.
16941         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
16942         in Java Mode.
16943         (c-recognize-typeless-decls): Set the Java value to t.
16944         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16945         While handling a "(", add a check for, effectively, Java, and handle a
16946         "typeless" declaration there.
16948 2013-09-07  Roland Winkler  <winkler@gnu.org>
16950         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
16951         field subtitle for entry type book.
16953 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16955         * minibuffer.el: Make minibuffer-complete call completion-in-region
16956         rather than other way around.
16957         (completion--some, completion-pcm--find-all-completions):
16958         Don't delay signals when debugging.
16959         (minibuffer-completion-contents): Beware fields within the
16960         minibuffer contents.
16961         (completion-all-sorted-completions): Use defvar-local.
16962         (completion--do-completion, completion--cache-all-sorted-completions)
16963         (completion-all-sorted-completions, minibuffer-force-complete):
16964         Add args `beg' and `end'.
16965         (completion--in-region-1): New fun, extracted from minibuffer-complete.
16966         (minibuffer-complete): Use completion-in-region.
16967         (completion-complete-and-exit): New fun, extracted from
16968         minibuffer-complete-and-exit.
16969         (minibuffer-complete-and-exit): Use it.
16970         (completion--complete-and-exit): Rename from
16971         minibuffer--complete-and-exit.
16972         (completion-in-region--single-word): New function, extracted from
16973         minibuffer-complete-word.
16974         (minibuffer-complete-word): Use it.
16975         (display-completion-list): Make `common-substring' argument obsolete.
16976         (completion--in-region): Call completion--in-region-1 instead of
16977         minibuffer-complete.
16978         (completion-help-at-point): Pass boundaries to
16979         minibuffer-completion-help as args rather than via an overlay.
16980         (completion-pcm--string->pattern): Use `any-delim'.
16981         (completion-pcm--optimize-pattern): New function.
16982         (completion-pcm--pattern->regex): Handle `any-delim'.
16983         * icomplete.el (icomplete-forward-completions)
16984         (icomplete-backward-completions, icomplete-completions):
16985         Adjust calls to completion-all-sorted-completions and
16986         completion--cache-all-sorted-completions.
16987         (icomplete-with-completion-tables): Default to t.
16988         * emacs-lisp/crm.el (crm--current-element): Rename from
16989         crm--select-current-element.  Don't put an overlay but return the
16990         boundaries instead.
16991         (crm--completion-command): Take two new args to bind to the boundaries.
16992         (crm-completion-help): Adjust accordingly.
16993         (crm-complete): Use completion-in-region.
16994         (crm-complete-word): Use completion-in-region--single-word.
16995         (crm-complete-and-exit): Use completion-complete-and-exit.
16997 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16999         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
17000         than dynamically.
17002 2013-09-06  Juri Linkov  <juri@jurta.org>
17004         * info.el (Info-display-images-node): When image file doesn't exist
17005         display text version of the image if it's provided in the Info file.
17006         Otherwise, display the location of missing image from SRC attribute.
17007         Add help-echo text property from ALT attribute.  (Bug#15279)
17009 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17011         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
17012         (edit-abbrevs-mode): Use define-derived-mode.
17014         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
17015         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
17016         that it's defined.
17017         (epa-key-list-mode, epa-key-mode, epa-info-mode):
17018         Use define-derived-mode.
17020         * epg.el (epg-start-encrypt): Minor CSE simplification.
17022 2013-09-06  William Xu  <william.xwl@gmail.com>
17024         * arc-mode.el: Add support for 7za (bug#15264).
17025         (archive-7z-program): New var.
17026         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
17027         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
17028         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
17030 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
17032         Remove URL syntax.
17034         * net/tramp.el (tramp-syntax, tramp-prefix-format)
17035         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
17036         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
17037         (tramp-postfix-host-format, tramp-file-name-regexp)
17038         (tramp-completion-file-name-regexp)
17039         (tramp-completion-dissect-file-name)
17040         (tramp-handle-substitute-in-file-name): Remove 'url case.
17041         (tramp-file-name-regexp-url)
17042         (tramp-completion-file-name-regexp-url): Remove constants.
17044 2013-09-06  Glenn Morris  <rgm@gnu.org>
17046         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
17048 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
17050         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
17051         keywords" below "here-doc beginnings" (Bug#15270).
17053 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17055         * subr.el (pop): Use `car-safe'.
17056         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
17057         to detect unused `pop' return value.
17059         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
17060         var `block-regexp'.
17061         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
17062         (python-fill-string): Remove unused var `marker'.
17063         (python-skeleton-add-menu-items): Remove unused var `items'.
17065         * international/mule-cmds.el: Require CL.
17066         (find-coding-systems-for-charsets): Avoid add-to-list.
17067         (sanitize-coding-system-list): New function, extracted from
17068         select-safe-coding-system-interactively.
17069         (select-safe-coding-system-interactively): Use it.
17070         (read-input-method-name): Accept symbols for `default'.
17072         * emacs-lisp/advice.el (defadvice): Add indent rule.
17074 2013-09-05  Daniel Hackney  <dan@haxney.org>
17076         * dired-x.el:
17077         * net/ange-ftp.el:
17078         * net/browse-url.el:
17079         * net/dbus.el:
17080         * net/eudc.el:
17081         * net/eudcb-ldap.el:
17082         * net/eww.el:
17083         * net/imap.el:
17084         * printing.el:
17085         * vc/ediff-diff.el:
17086         * vc/ediff-init.el:
17087         * vc/ediff-merg.el:
17088         * vc/ediff-mult.el:
17089         * vc/ediff-util.el:
17090         * vc/ediff-wind.el:
17091         * vc/ediff.el:
17092         * vc/emerge.el:
17093         * vc/pcvs.el:
17094         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
17095         byte compiler.  Remove some unused let-bound variables.
17097 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17099         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
17100         a "ref-cell", since it gets better optimized (bug#14883).
17102 2013-09-05  Glenn Morris  <rgm@gnu.org>
17104         * progmodes/cc-awk.el (c-forward-sws): Declare.
17106 2013-09-04  Glenn Morris  <rgm@gnu.org>
17108         * generic-x.el [rul-generic-mode]: Require cc-mode.
17109         (c++-mode-syntax-table): Declare.
17110         (rul-generic-mode-syntax-table): Init in the defvar.
17112 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17114         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
17115         (vc-do-command, vc-set-async-update):
17116         * vc/vc-mtn.el (vc-mtn-dir-status):
17117         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
17118         (vc-hg-pull, vc-hg-merge-branch):
17119         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
17120         (vc-git-merge-branch):
17121         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
17122         (vc-cvs-dir-status-files):
17123         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
17124         (vc-bzr-dir-status-files):
17125         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
17126         * vc/vc-annotate.el: Use lexical-binding.
17127         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
17128         (vc-sentinel-movepoint): Declare.
17129         (vc-annotate): Don't use `goto-line'.
17130         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
17131         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
17132         (vc-sentinel-movepoint): Declare.
17133         * vc/vc-svn.el: Use lexical-binding.
17134         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
17135         * vc/vc-sccs.el:
17136         * vc/vc-rcs.el: Use lexical-binding.
17138         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
17139         `deleted'.  Don't drop errors silently.
17141         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
17143 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
17145         * vc/vc.el (vc-ignore): Rewrite.
17146         (vc-default-ignore): New function.
17147         (vc-default-ignore-completion-table): Use find-ignore-file.
17149         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
17150         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
17151         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
17152         Remove.  Most code moved to vc.el.
17154 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17156         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
17157         * net/tramp-smb.el (tramp-smb-get-file-entries):
17158         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
17159         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
17161         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
17162         Update call to it.
17163         (eww-change-select): Remove unused var `properties'.
17164         (eww-make-unique-file-name): Remove unused var `base'.
17166         * finder.el (finder-compile-keywords): Don't mess with windows.
17168         * calculator.el (calculator-funcall): Fix typo in last change.
17170         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
17172         * emacs-lisp/package.el (package-activate-1): Don't let a missing
17173         <pkg>-autoloads.el file stop us.
17175         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
17176         warnings, and factor out common code.
17178 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
17180         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
17181         two-character operators and whether the character preceding them
17182         changes their meaning (Bug#15208).
17184 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17186         Format code sent to Python shell for robustness.
17187         * progmodes/python.el (python-shell-buffer-substring):
17188         New function.
17189         (python-shell-send-region, python-shell-send-buffer): Use it.
17191 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
17193         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
17194         * net/tramp.el (tramp-user-error): ... here.
17195         (tramp-find-method, tramp-check-proper-host)
17196         (tramp-dissect-file-name, tramp-debug-message)
17197         (tramp-handle-shell-command):
17198         * net/tramp-adb.el (tramp-adb-handle-shell-command):
17199         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
17201         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
17203 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
17205         * avoid.el (mouse-avoidance-point-position)
17206         (mouse-avoidance-too-close-p): Handle case where posn-at-point
17207         returns nil.
17209 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17211         * progmodes/python.el (python-shell-completion-get-completions):
17212         Drop use of deleted `comint-last-prompt-overlay'.
17213         (python-nav-if-name-main): New command.
17215 2013-09-01  Glenn Morris  <rgm@gnu.org>
17217         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
17218         Avoid leading space in $wins.  Otherwise the sed command used by
17219         eg compile-main ends up containing "/*.el".  (Bug#15170)
17221         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
17223 2013-08-30  Glenn Morris  <rgm@gnu.org>
17225         * emacs-lisp/bytecomp.el (byte-recompile-directory):
17226         Fix is-this-a-directory logic.  (Bug#15220)
17228 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17230         * textmodes/css-mode.el: Use SMIE.
17231         (css-smie-grammar): New var.
17232         (css-smie--forward-token, css-smie--backward-token)
17233         (css-smie-rules): New functions.
17234         (css-mode): Use them.
17235         (css-navigation-syntax-table): Remove var.
17236         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
17237         (css-indent-calculate, css-indent-line): Remove functions.
17239         Misc changes to reduce use of `(lambda...); and other cleanups.
17240         * cus-edit.el: Use lexical-binding.
17241         (customize-push-and-save, customize-apropos)
17242         (custom-buffer-create-internal): Use closures.
17243         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
17244         * progmodes/ada-xref.el: Use setq.
17245         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
17246         * dframe.el: Use lexical-binding.
17247         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
17248         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
17249         * descr-text.el: Use lexical-binding.
17250         (describe-text-widget, describe-text-sexp, describe-property-list):
17251         Use closures.
17252         * comint.el (comint-history-isearch-push-state): Use a closure.
17253         * calculator.el: Use lexical-binding.
17254         (calculator-number-to-string): Make it work with lexical-binding.
17255         (calculator-funcall): Same and use cl-letf.
17257         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
17258         (lisp--company-doc-string, lisp--company-location): New functions.
17259         (lisp-completion-at-point): Use them to improve Company support.
17261         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
17262         params of lambda expressions.
17263         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
17264         (ruby-smie--opening-pipe-p): New function.
17265         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
17266         symbols and matched |...| for formal params.
17267         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
17268         from being treated as hanging.  Handle "rescue".
17270 2013-08-29  Glenn Morris  <rgm@gnu.org>
17272         * progmodes/cc-engine.el (c-pull-open-brace):
17273         Move definition before use.
17275 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17277         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
17278         are immutable.  Don't use `unsafe' any more.
17279         (cl--defsubst-expand): Don't substitute at the same time as keeping
17280         a residual unused let-binding.  Don't use `unsafe' any more.
17282 2013-08-29  Glenn Morris  <rgm@gnu.org>
17284         * calendar/cal-china.el (calendar-chinese-year-cache):
17285         Recenter on 2015.
17287         * nxml/nxml-util.el (nxml-debug-clear-inside):
17288         Use cl-loop rather than loop.
17290         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
17292         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
17294 2013-08-28  Glenn Morris  <rgm@gnu.org>
17296         * progmodes/antlr-mode.el: No need to require cc-mode twice.
17298         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
17300         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
17302 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17304         * simple.el (repeat-complex-command--called-interactively-skip):
17305         New function.
17306         (repeat-complex-command): Use it (bug#14136).
17308         * progmodes/cc-mode.el: Minor cleanup of var declarations.
17309         (c-define-abbrev-table): Add `doc' argument.
17310         (c-mode-abbrev-table, c++-mode-abbrev-table)
17311         (objc-mode-abbrev-table, java-mode-abbrev-table)
17312         (idl-mode-abbrev-table, pike-mode-abbrev-table)
17313         (awk-mode-abbrev-table): Use it.
17314         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
17315         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
17316         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
17317         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
17318         Move initialization into the declaration; and remove any
17319         autoload cookie.
17321         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
17322         and dynamic let binding.
17324         * vc/smerge-mode.el: Remove redundant :group args.
17326         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
17327         to load-path.
17329 2013-08-28  Juri Linkov  <juri@jurta.org>
17331         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
17332         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
17333         (isearch-other-meta-char): Handle an undefined shifted printing
17334         character by downshifting it.  (Bug#15200)
17336 2013-08-28  Juri Linkov  <juri@jurta.org>
17338         * isearch.el (isearch-search): Change regexp error message for
17339         non-regexp searches.  (Bug#15166)
17341 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
17343         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
17344         for portability to hosts where /bin/sh has problems.
17346 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17348         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
17350 2013-08-27  Juri Linkov  <juri@jurta.org>
17352         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
17353         in the keyboard macro.  (Bug#15126)
17355 2013-08-27  Juri Linkov  <juri@jurta.org>
17357         * isearch.el (isearch-quote-char): Comment out converting unibyte
17358         to multibyte, thus syncing with its `quoted-insert' counterpart.
17359         (Bug#15166)
17361 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
17363         * window.el (display-buffer-use-some-window): Add missing
17364         argument in call of get-largest-window (Bug#15185).
17365         Reported by Stephen Leake.
17367 2013-08-27  Glenn Morris  <rgm@gnu.org>
17369         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
17371 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17373         * progmodes/python.el (python-font-lock-keywords): Don't return nil
17374         from a matcher-function unless there's no more matches (bug#15161).
17376 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
17378         * minibuffer.el: Revert change from 2013-08-20.
17380         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
17381         with text property `tramp-default', if appropriate.
17382         (tramp-check-proper-host): New defun.
17383         (tramp-dissect-file-name): Do not check hostname.  Revert change
17384         of 2013-03-18.
17385         (tramp-backtrace): Make VEC-OR-PROC optional.
17387         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17388         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17389         * net/tramp-sh.el (tramp-maybe-open-connection):
17390         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17391         Apply `tramp-check-proper-host'.
17393 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
17395         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
17396         lambda expression in order to have `describe-variable' display it.
17398 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
17400         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
17401         BUF can be optional.  (Bug#15186)
17403 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
17405         * progmodes/flymake.el (flymake-get-real-file-name-function):
17406         Fix broken customization.  (Bug#15184)
17408 2013-08-25  Alan Mackenzie  <acm@muc.de>
17410         Improve indentation of bracelists defined by macros (without "=").
17412         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
17413         expansion begins with "{", regard it as bracelist when it doesn't
17414         contain a ";".
17416         Parse C++ inher-intro when there's a template split over 2 lines.
17418         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
17419         rigorously the search for "class" etc. followed by ":".
17421         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
17422         random languages a regexp which never matches rather than nil.
17424         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
17426         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
17427         (c-awk-regexp-one-line-possibly-open-char-list-re)
17428         (c-awk-one-line-possibly-open-regexp-re)
17429         (c-awk-one-line-non-syn-ws*-re): Remove.
17430         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
17431         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
17432         (c-awk-space*-unclosed-regexp-/-re): New constants.
17433         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
17434         aren't regexp delimiters.
17436         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
17437         handling for a rare situation in AWK Mode involving unterminated
17438         strings/regexps.
17440 2013-08-23  Glenn Morris  <rgm@gnu.org>
17442         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
17444         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
17446         * files.el (create-file-buffer): If the result would begin with
17447         spaces, prepend a "|" instead of removing them.  (Bug#15162)
17449 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17451         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
17452         text-properties (bug#15155).
17454         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
17455         exist any more.
17456         (calc-keypad-redraw): Remove unused var `pad'.
17457         (calc-keypad-press): Remove unused var `menu'.
17459 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
17461         * window.el (display-buffer-pop-up-frame):
17462         Call pop-up-frame-function with BUFFER current so `make-frame' will
17463         use it as the new frame's buffer (Bug#15133).
17465 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17467         * calendar/timeclock.el: Minor cleanups.
17468         (timeclock-ask-before-exiting, timeclock-use-display-time):
17469         Use `symbol'.
17470         (timeclock-modeline-display): Define as alias before the
17471         actual definition.
17472         (timeclock-mode-line-display): Use define-minor-mode.
17473         (timeclock-day-list-template): Make it a function, add an argument.
17474         (timeclock-day-list-required, timeclock-day-list-length)
17475         (timeclock-day-list-debt, timeclock-day-list-span)
17476         (timeclock-day-list-break): Adjust calls accordingly.
17478 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17480         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
17481         Use read--expression so that completion works again.
17483 2013-08-21  Sam Steingold  <sds@gnu.org>
17485         Add rudimentary inferior shell interaction
17486         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
17487         (sh-set-shell): Reset it.
17488         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
17489         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
17491 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17493         * align.el: Use lexical-binding.
17494         (align-region): Simplify accordingly.
17496 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
17498         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
17500         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
17501         `non-essential' up.
17503 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
17505         * net/tramp.el:
17506         * net/tramp-adb.el:
17507         * net/tramp-cmds.el:
17508         * net/tramp-ftp.el:
17509         * net/tramp-gvfs.el:
17510         * net/tramp-gw.el:
17511         * net/tramp-sh.el: Don't wrap external variable declarations by
17512         `eval-when-compile'.
17514 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17516         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
17517         now that Emacs supports ImageMagick animations.
17519 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
17521         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
17522         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
17524 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
17526         * window.el (mouse-autoselect-window-select): Do autoselect when
17527         mouse pointer is on margin.
17529 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
17531         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
17533 2013-08-16  Glenn Morris  <rgm@gnu.org>
17535         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
17536         Handle "Remote Directory" response of some clients.  (Bug#15058)
17538         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
17539         Tweak warning.  (Bug#14926)
17541         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
17542         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
17544         * image-mode.el (image-mode-map): Add menu items to reverse,
17545         increase, decrease, reset animation speed.
17546         (image--set-speed, image-increase-speed, image-decrease-speed)
17547         (image-reverse-speed, image-reset-speed): New functions.
17548         (image-mode-map): Add bindings for speed commands.
17550         * image.el (image-animate-get-speed, image-animate-set-speed):
17551         New functions.
17552         (image-animate-timeout): Respect image :speed property.
17554 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17556         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
17557         previous line (bug#15101).
17558         (debugger-eval-expression, debugger-record-expression):
17559         Use read--expression (bug#15102).
17561 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
17563         Remove byte compiler warnings, visible when compiling with
17564         `byte-compile-force-lexical-warnings' set to t.
17566         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
17567         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
17568         (tramp-handle-unhandled-file-name-directory)
17569         (tramp-handle-file-notify-add-watch, tramp-action-login)
17570         (tramp-action-succeed, tramp-action-permission-denied)
17571         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
17572         arguments with "_".
17574         * net/tramp-adb.el (tramp-adb-parse-device-names)
17575         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
17576         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
17577         (tramp-adb-handle-file-truename): Remove unused arguments.
17579         * net/tramp-cache.el (tramp-flush-directory-property)
17580         (tramp-flush-connection-property, tramp-list-connections)
17581         (tramp-parse-connection-properties): Prefix unused arguments with "_".
17583         * net/tramp-compat.el (tramp-compat-make-temp-file):
17584         Rename FILENAME to F.
17586         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17587         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
17588         (tramp-zeroconf-parse-workstation-device-names)
17589         (tramp-zeroconf-parse-webdav-device-names)
17590         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
17592         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17593         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
17595         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
17596         arguments.
17597         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
17598         (tramp-sh-handle-insert-file-contents-literally)
17599         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
17600         with "_".
17601         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
17602         Remove unused variables.
17604         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17605         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
17606         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
17608         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
17609         Make them a defconst.
17610         (tramp-uuencode-region): Remove unused variable.
17612 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
17614         * frameset.el (frameset--prop-setter): New function.
17615         (frameset-prop): Add gv-setter declaration.
17616         (frameset-filter-minibuffer): Deal with the case that the minibuffer
17617         parameter was already set in FILTERED.  Doc fix.
17618         (frameset--record-minibuffer-relationships): Allow saving a
17619         minibufferless frame without its corresponding minibuffer frame.
17620         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
17621         frame, if the frame id matches.
17622         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
17623         frames before orphaned ones.
17624         (frameset-restore): Warn about orphaned windows, instead of error out.
17626 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
17628         * window.el (window-make-atom): Don't overwrite parameter
17629         already present.
17630         (display-buffer-in-atom-window): Handle special case where we
17631         split an already atomic window.
17632         (window--major-non-side-window, display-buffer-in-side-window)
17633         (window--side-check): Ignore minibuffer window when walking
17634         window tree.
17635         (window-deletable-p): Return 'frame only if no other frame uses
17636         our minibuffer window.
17637         (record-window-buffer): Run buffer-list-update-hook.
17638         (split-window): Make sure window--check-frame won't destroy an
17639         existing atomic window in case the new window gets nested
17640         inside.
17641         (display-buffer-at-bottom): Ignore minibuffer window when
17642         walking window tree.  Don't split a side window.
17643         (pop-to-buffer): Don't set-buffer here, the select-window call
17644         should do that.
17645         (mouse-autoselect-window-select): Autoselect only if we are in the
17646         text portion of the window.
17648 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17650         * net/shr.el (shr-parse-image-data): New function to grab both the
17651         data itself and the Content-Type.
17652         (shr-put-image): Use it.
17654         * net/eww.el (eww-display-image): Ditto.
17656         * image.el (image-content-type-suffixes): New variable.
17658 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17660         * progmodes/python.el (python-imenu--build-tree)
17661         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
17663 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
17665         * simple.el (backward-word): Mention the optional argument.
17667 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17669         * frameset.el (frameset--make): Rename constructor from make-frameset.
17670         (frameset-p, frameset-valid-p): Don't autoload.
17671         (frameset-valid-p): Use normal accessors.
17673 2013-08-13  Glenn Morris  <rgm@gnu.org>
17675         * progmodes/compile.el (compile-command): Tweak example in doc.
17676         * obsolete/scribe.el (scribe-mode):
17677         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
17679         * mail/feedmail.el (feedmail-confirm-outgoing)
17680         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
17682         * cus-start.el (truncate-partial-width-windows): Fix type.
17684         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
17686         * net/shr.el (shr-table-horizontal-line): Fix custom type.
17688 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17690         * emacs-lisp/timer.el (timer--time-setter): New function.
17691         (timer--time): Use it as gv-setter.
17693         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
17694         setter is not a symbol.
17696 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
17698         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
17699         if sending fails.  This makes debugging easier.
17701 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
17703         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
17704         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
17705         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
17707 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
17709         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
17711 2013-08-12  Glenn Morris  <rgm@gnu.org>
17713         * format.el (format-annotate-function):
17714         Handle read-only text properties in the source.  (Bug#14887)
17716 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17718         * net/eww.el (eww-display-html): Ignore coding system errors.
17719         One web site uses "utf-8lias" as the coding system.
17721 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
17723         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
17725 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
17727         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
17728         (tutorial--detailed-help): Remove unused local variables.
17729         (tutorial--save-tutorial-to): Use ignore-errors.
17730         (help-with-tutorial): Use looking-at-p.
17732         * view.el (view-buffer-other-window, view-buffer-other-frame):
17733         Mark unused arguments.
17735         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
17736         (woman-select-symbol-fonts, woman, woman-find-file)
17737         (woman-insert-file-contents, woman-non-underline-faces):
17738         Use string-match-p.
17739         (woman1-unquote): Move declaration.
17741         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
17742         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
17743         argument.  Remove unused local variable.
17744         (xml-parse-elem-type): Use string-match-p.
17745         (xml-substitute-numeric-entities): Use ignore-errors.
17747         * calculator.el (calculator): Mark unused argument.
17748         (calculator-paste, calculator-quit, calculator-integer-p):
17749         Use ignore-errors.
17750         (calculator-string-to-number, calculator-decimal, calculator-exp)
17751         (calculator-op-or-exp): Use string-match-p.
17753         * dired.el (dired-buffer-more-recently-used-p): Declare.
17754         (dired-insert-set-properties, dired-insert-old-subdirs):
17755         Use ignore-errors.
17757         * dired-aux.el (dired-compress): Use ignore-errors.
17758         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
17759         (dired-do-async-shell-command, dired-do-shell-command)
17760         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
17761         (dired-insert-subdir-validate): Use string-match-p.
17762         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
17763         (dired-add-entry): Use string-match-p, looking-at-p.
17764         (dired-insert-subdir-newpos): Remove unused local variable.
17766         * filenotify.el (file-notify-callback): Remove unused local variable.
17768         * filesets.el (filesets-error): Mark unused argument.
17769         (filesets-which-command-p, filesets-filter-dir-names)
17770         (filesets-directory-files, filesets-get-external-viewer)
17771         (filesets-ingroup-get-data): Use string-match-p.
17773         * find-file.el (ff-other-file-name, ff-other-file-name)
17774         (ff-find-the-other-file, ff-cc-hh-converter):
17775         Remove unused local variables.
17776         (ff-get-file-name): Use string-match-p.
17777         (ff-all-dirs-under): Use ignore-errors.
17779         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
17780         (follow-select-if-visible): Remove unused local variable.
17782         * forms.el (read-file-filter): Move declaration.
17783         (forms--make-format, forms--make-parser, forms-insert-record):
17784         Quote function with #'.
17785         (forms--update): Use string-match-p.  Quote function with #'.
17787         * help-mode.el (help-dir-local-var-def): Mark unused argument.
17788         (help-make-xrefs): Use looking-at-p.
17789         (help-xref-on-pp): Use looking-at-p, ignore-errors.
17791         * ibuffer.el (ibuffer-ext-visible-p): Declare.
17792         (ibuffer-confirm-operation-on): Use string-match-p.
17794         * msb.el (msb-item-handler, msb-dired-item-handler):
17795         Mark unused arguments.
17797         * ses.el (ses-decode-cell-symbol)
17798         (ses-kill-override): Remove unused local variable.
17799         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
17800         (ses-load): Use ignore-errors, looking-at-p.
17801         (ses-jump-safe): Use ignore-errors.
17802         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
17804         * tabify.el (untabify, tabify): Mark unused arguments.
17806         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
17807         Mark unused argument.
17808         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
17809         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
17811         * emacs-lisp/timer.el (timer--time): Define setter with
17812         gv-define-setter to avoid deprecation warning.
17814         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
17815         (*record-cmpl-statistics-p*): Remove (was commented out).
17816         (cmpl-statistics-block): Remove (body was commented out).
17817         All callers changed.
17818         (add-completions-from-buffer, load-completions-from-file):
17819         Remove unused variables.
17821 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
17823         * filecache.el (file-cache-delete-file-list):
17824         Print message only when told so.
17825         (file-cache-files-matching): Use #' in mapconcat argument.
17827         * ffap.el (ffap-url-at-point): Fix reference to variable
17828         thing-at-point-default-mail-uri-scheme.
17830 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17832         * subr.el (define-error): New function.
17833         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
17834         error-file-not-found and define with define-error.
17835         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
17836         and define with define-error.
17837         * userlock.el (file-locked, file-supersession):
17838         * simple.el (mark-inactive):
17839         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
17840         * progmodes/ada-mode.el (ada-mode-errors):
17841         * play/life.el (life-extinct):
17842         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
17843         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
17844         * nxml/rng-util.el (rng-error):
17845         * nxml/rng-uri.el (rng-uri-error):
17846         * nxml/rng-match.el (rng-compile-error):
17847         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
17848         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
17849         * nxml/nxml-rap.el (nxml-scan-error):
17850         * nxml/nxml-outln.el (nxml-outline-error):
17851         * net/soap-client.el (soap-error):
17852         * net/gnutls.el (gnutls-error):
17853         * net/ange-ftp.el (ftp-error):
17854         * mpc.el (mpc-proc-error):
17855         * json.el (json-error, json-readtable-error, json-unknown-keyword)
17856         (json-number-format, json-string-escape, json-string-format)
17857         (json-key-format, json-object-format):
17858         * jka-compr.el (compression-error):
17859         * international/quail.el (quail-error):
17860         * international/kkc.el (kkc-error):
17861         * emacs-lisp/ert.el (ert-test-failed):
17862         * calc/calc.el (calc-error, inexact-result, math-overflow)
17863         (math-underflow):
17864         * bookmark.el (bookmark-error-no-filename):
17865         * epg.el (epg-error): Define with define-error.
17867         * time.el (display-time-event-handler)
17868         (display-time-next-load-average): Don't call sit-for since it seems
17869         unnecessary (bug#15045).
17871         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
17872         Use #' instead of ' to quote functions.
17873         (checkdoc-output-mode): Use setq-local.
17874         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
17875         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
17876         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
17877         (checkdoc-ispell, checkdoc-ispell-current-buffer)
17878         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
17879         (checkdoc-ispell-message-text, checkdoc-ispell-start)
17880         (checkdoc-ispell-continue, checkdoc-ispell-comments)
17881         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
17883         * ido.el (ido-completion-help): Fix up compiler warning.
17885 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
17887         * frameset.el (frameset-p): Add autoload cookie.
17888         (frameset--jump-to-register): New function, based on code moved from
17889         register.el.
17890         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
17892         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
17893         (frameset-restore, frameset-save, frameset-session-filter-alist):
17894         Remove declarations.
17895         (register-alist): Doc fix.
17896         (frameset-to-register): Move to frameset.el.
17897         (jump-to-register, describe-register-1): Remove frameset-specific code.
17899 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
17901         * allout-widgets.el (allout-widgets-pre-command-business)
17902         (allout-widgets-post-command-business)
17903         (allout-widgets-after-change-handler)
17904         (allout-decorate-item-and-context, allout-set-boundary-marker)
17905         (allout-body-modification-handler)
17906         (allout-graphics-modification-handler): Mark ignored arguments.
17907         (allout-widgets-post-command-business)
17908         (allout-widgets-exposure-change-processor)
17909         (allout-widgets-exposure-undo-processor)
17910         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
17911         (allout-parse-item-at-point, allout-decorate-item-guides)
17912         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
17913         * allout.el (epa-passphrase-callback-function): Declare.
17914         (allout-overlay-insert-in-front-handler)
17915         (allout-overlay-interior-modification-handler)
17916         (allout-isearch-end-handler, allout-chart-siblings)
17917         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
17918         (allout-yank-processing, allout-process-exposed)
17919         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
17920         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
17921         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
17922         (lisp-indent-defform): Mark ignored arguments.
17923         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
17924         (calculate-lisp-indent): Remove unused variables.
17925         * international/characters.el (indian-2-column, arabic-2-column)
17926         (tibetan): Mark ignored arguments.
17927         (use-cjk-char-width-table): Mark ignored arguments.
17928         Remove unused variables.
17929         * international/fontset.el (build-default-fontset-data)
17930         (x-compose-font-name, create-fontset-from-fontset-spec):
17931         Mark ignored arguments.
17932         (fontset-plain-name): Remove unused variables.
17933         * international/mule.el (charset-id, charset-bytes, generic-char-p)
17934         (keyboard-coding-system): Mark ignored arguments.
17935         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
17936         * help.el (resize-temp-buffer-window):
17937         * window.el (display-buffer-in-major-side-window)
17938         (display-buffer-in-side-window, display-buffer-in-previous-window):
17939         Remove unused variables.
17940         * isearch.el (isearch-forward-symbol):
17941         * version.el (emacs-bzr-version-bzr):
17942         * international/mule-cmds.el (current-language-environment):
17943         * term/common-win.el (x-handle-iconic, x-handle-geometry)
17944         (x-handle-display):
17945         * term/pc-win.el (x-list-fonts, x-display-planes)
17946         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
17947         (x-server-version, x-display-screens, x-display-mm-height)
17948         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
17949         (x-selection-owner-p, x-own-selection-internal)
17950         (x-disown-selection-internal, x-get-selection-internal)
17951         (msdos-initialize-window-system):
17952         * term/tty-colors.el (tty-color-alist, tty-color-clear):
17953         * term/x-win.el (x-handle-no-bitmap-icon):
17954         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
17955         (vc-default-find-file-hook, vc-default-extra-menu):
17956         Mark ignored arguments.
17958 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17960         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
17961         break-condition in the context of the debugged code (bug#12685).
17963 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
17965         * comint.el:
17966         Do not use an overlay to highlight the last prompt.  (Bug#14744)
17967         (comint-mode): Make comint-last-prompt buffer local.
17968         (comint-last-prompt): New variable.
17969         (comint-last-prompt-overlay): Remove.  Superseded by
17970         comint-last-prompt.
17971         (comint-snapshot-last-prompt, comint-output-filter):
17972         Use comint-last-prompt.
17974 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
17976         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
17977         (frameset-save): Check validity of the resulting frameset.
17979 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
17981         * ido.el (ido-record-command): Add doc string.
17983 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
17985         * frameset.el (frameset): Do not disable creation of the default
17986         frameset-p predicate.  Doc fix.
17987         (frameset-valid-p): New function, copied from the old predicate-p.
17988         Add additional checks.
17989         (frameset-restore): Check with frameset-valid-p.
17990         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
17991         (frameset-name, frameset-description, frameset-properties)
17992         (frameset-states): Add docstring.
17993         (frameset-session-filter-alist, frameset-persistent-filter-alist)
17994         (frameset-filter-alist): Doc fixes.
17996 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
17998         * frameset.el (frameset-p, frameset-prop): Doc fixes.
18000 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18002         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
18003         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
18004         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
18005         (byte-compile-normal-call): Remove obsolescence check.
18007 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
18009         * frameset.el (frameset-restore): Doc fix.
18011         * register.el (frameset-frame-id, frameset-frame-with-id)
18012         (frameset-p, frameset-restore, frameset-save): Declare.
18013         (register-alist): Document framesets.
18014         (frameset-session-filter-alist): Declare.
18015         (frameset-to-register): New function.
18016         (jump-to-register): Implement jumping to framesets.  Doc fix.
18017         (describe-register-1): Describe framesets.
18019         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
18021 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
18023         * desktop.el (desktop-save-frameset): Use new frameset-save args.
18024         Use lexical-binding.
18026         * frameset.el (frameset): Use type vector, not list (incompatible
18027         change).  Do not declare a new constructor, use the default one.
18028         Upgrade suggested properties `app', `name' and `desc' to slots `app',
18029         `name' and `description', respectively, and add read-only slot
18030         `timestamp'.  Doc fixes.
18031         (frameset-copy, frameset-persistent-filter-alist)
18032         (frameset-filter-alist, frameset-switch-to-gui-p)
18033         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
18034         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
18035         (frameset-filter-iconified, frameset-keep-original-display-p):
18036         Doc fixes.
18037         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
18038         Rename from frameset-filter-(save|restore)-param.  All callers changed.
18039         Doc fix.
18040         (frameset-p): Adapt to change to vector and be more thorough.
18041         Change arg name to OBJECT.  Doc fix.
18042         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
18043         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
18044         All callers changed.
18045         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
18046         All callers changed.
18047         (frameset--record-minibuffer-relationships): Rename from
18048         frameset--process-minibuffer-frames.  All callers changed.
18049         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
18050         Use new default constructor (again).  Doc fix.
18051         (frameset--find-frame-if): Rename from `frameset--find-frame'.
18052         All callers changed.
18053         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
18054         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
18055         Doc fix.
18056         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
18057         PARAMETERS and WINDOW-STATE, respectively.
18058         (frameset-restore): Add new keyword argument PREDICATE.
18059         Reset frameset--target-display to nil.  Doc fix.
18061 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18063         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
18064         (bat-mode): Use it.
18065         (bat-mode-syntax-table): Mark \n as end-of-comment.
18066         (bat-font-lock-keywords): Remove comment rule.
18068         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
18069         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
18071         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
18072         (byte-compile-callargs-warn): Use `push'.
18073         (byte-compile-arglist-warn): Ignore higher-order "calls".
18074         (byte-compile-file-form-autoload): Use `pcase'.
18075         (byte-compile-function-form): If quoting a symbol, check that it exists.
18077 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
18079         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
18080         and add a few popular commands found in batch files.
18081         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
18082         (dos-mode): Doc fixes.
18084 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18086         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
18087         (dos-mode): Use setq-local.  Add space after "rem".
18088         (dos-mode-syntax-table): Don't use "w" for symbol chars.
18089         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
18091 2013-08-07  Arni Magnusson  <arnima@hafro.is>
18093         * progmodes/dos.el: New file.
18094         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
18095         dos-mode.
18097 2013-08-06  Glenn Morris  <rgm@gnu.org>
18099         * calendar/calendar.el: Add new faces, and day-header-array.
18100         (calendar-weekday-header, calendar-weekend-header)
18101         (calendar-month-header): New faces.
18102         (calendar-day-header-construct): New function.
18103         (calendar-day-header-width): Also :set calendar-day-header-array.
18104         (calendar-american-month-header, calendar-european-month-header)
18105         (calendar-iso-month-header): Use calendar- faces.
18106         (calendar-generate-month):
18107         Use calendar-day-header-array for day headers; apply faces to them.
18108         (calendar-mode): Check calendar-font-lock-keywords non-nil.
18109         (calendar-abbrev-construct): Add optional maxlen argument.
18110         (calendar-day-name-array): Doc fix.
18111         (calendar-day-name-array, calendar-abbrev-length)
18112         (calendar-day-abbrev-array):
18113         Also :set calendar-day-header-array, and maybe redraw.
18114         (calendar-day-header-array): New option.  (Bug#15007)
18115         (calendar-font-lock-keywords): Set to nil and make obsolete.
18116         (calendar-day-name): Add option to use header array.
18118 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18120         * net/shr.el (shr-render-td): Remove debugging.
18121         (shr-render-td): Make width computation consistent by defaulting
18122         all zero-width columns to 10 characters.  This may not be optimal,
18123         but it's at least consistent.
18124         (shr-make-table-1): Redo last change to fix the real problem in
18125         colspan handling.
18127 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
18129         * files.el (cache-long-line-scans):
18130         Make obsolete alias to `cache-long-scans'.
18132 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
18134         * frameset.el (frameset, frameset-filter-alist)
18135         (frameset-filter-params, frameset-save, frameset--reuse-frame)
18136         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
18137         (frameset-compute-pos): Rename from frameset--compute-pos,
18138         and add docstring.
18139         (frameset-move-onscreen): Use frameset-compute-pos.
18140         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18142         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
18143         Fix typos in docstrings.
18145 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
18147         * frame.el (get-other-frame): Tiny cleanup.
18149 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
18151         * vc/vc.el (vc-default-ignore-completion-table):
18152         Silence byte-compiler warning.
18154         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
18155         slot, which can indeed be nil.
18156         (frameset-live-filter-alist, frameset-persistent-filter-alist):
18157         Move entry for `left' from persistent to live filter alist.
18158         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
18159         Doc fixes.
18160         (frameset-filter-params): When restoring a frame, copy items added to
18161         `filtered', to avoid unwittingly modifying the original parameters.
18162         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
18163         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
18165         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
18166         to use looking-at-p instead of looking-at.  (Bug#15028)
18168 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18170         Revert introduction of isearch-filter-predicates (bug#14714).
18171         Rely on add-function instead.
18172         * isearch.el (isearch-filter-predicates): Rename it back to
18173         isearch-filter-predicate.
18174         (isearch-message-prefix): Use advice-function-mapc and advice
18175         properties to get the isearch-message-prefix.
18176         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
18177         instead of run-hook-with-args-until-failure.
18178         (isearch-filter-visible): Not obsolete any more.
18179         * loadup.el: Preload nadvice.
18180         * replace.el (perform-replace): Revert to funcall
18181         instead of run-hook-with-args-until-failure.
18182         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
18183         * dired-aux.el (dired-isearch-filenames-mode): Rename from
18184         dired-isearch-filenames-toggle; make it into a proper minor mode.
18185         Use add/remove-function.
18186         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
18187         Call the minor-mode rather than add/remove-hook.
18188         (dired-isearch-filter-filenames):
18189         Remove isearch-message-prefix property.
18190         * info.el (Info--search-loop): New function, extracted from Info-search.
18191         Funcall isearch-filter-predicate instead of
18192         run-hook-with-args-until-failure isearch-filter-predicates.
18193         (Info-search): Use it.
18194         (Info-mode): Use isearch-filter-predicate instead of
18195         isearch-filter-predicates.
18197 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
18199         Do not call to `selected-window' where it is assumed by default.
18200         Affected functions are `window-minibuffer-p', `window-dedicated-p',
18201         `window-hscroll', `window-width', `window-height', `window-buffer',
18202         `window-frame', `window-start', `window-point', `next-window'
18203         and `window-display-table'.
18204         * abbrev.el (abbrev--default-expand):
18205         * bs.el (bs--show-with-configuration):
18206         * buff-menu.el (Buffer-menu-mouse-select):
18207         * calc/calc.el (calc):
18208         * calendar/calendar.el (calendar-generate-window):
18209         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
18210         (diary-make-entry):
18211         * comint.el (send-invisible, comint-dynamic-complete-filename)
18212         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
18213         * completion.el (complete):
18214         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
18215         * disp-table.el (describe-current-display-table):
18216         * doc-view.el (doc-view-insert-image):
18217         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
18218         * ehelp.el (with-electric-help):
18219         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18220         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
18221         * emacs-lisp/helper.el (Helper-help-scroller):
18222         * emulation/cua-base.el (cua--post-command-handler-1):
18223         * eshell/esh-mode.el (eshell-output-filter):
18224         * ffap.el (ffap-gnus-wrapper):
18225         * help-macro.el (make-help-screen):
18226         * hilit-chg.el (highlight-compare-buffers):
18227         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
18228         * hl-line.el (global-hl-line-highlight):
18229         * icomplete.el (icomplete-simple-completing-p):
18230         * isearch.el (isearch-done):
18231         * jit-lock.el (jit-lock-stealth-fontify):
18232         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
18233         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
18234         * mpc.el (mpc-tagbrowser, mpc):
18235         * net/rcirc.el (rcirc-any-buffer):
18236         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
18237         * play/landmark.el (landmark-max-width, landmark-max-height):
18238         * play/zone.el (zone):
18239         * progmodes/compile.el (compilation-goto-locus):
18240         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18241         * progmodes/etags.el (find-tag-other-window):
18242         * progmodes/fortran.el (fortran-column-ruler):
18243         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
18244         * progmodes/verilog-mode.el (verilog-point-text):
18245         * reposition.el (reposition-window):
18246         * rot13.el (toggle-rot13-mode):
18247         * server.el (server-switch-buffer):
18248         * shell.el (shell-dynamic-complete-command)
18249         (shell-dynamic-complete-environment-variable):
18250         * simple.el (insert-buffer, set-selective-display)
18251         (delete-completion-window):
18252         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
18253         (speedbar-recenter):
18254         * startup.el (fancy-splash-head):
18255         * textmodes/ispell.el (ispell-command-loop):
18256         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
18257         * tutorial.el (help-with-tutorial):
18258         * vc/add-log.el (add-change-log-entry):
18259         * vc/compare-w.el (compare-windows):
18260         * vc/ediff-help.el (ediff-indent-help-message):
18261         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
18262         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
18263         (ediff-setup-control-frame):
18264         * vc/emerge.el (emerge-position-region):
18265         * vc/pcvs-util.el (cvs-bury-buffer):
18266         * window.el (walk-windows, mouse-autoselect-window-select):
18267         * winner.el (winner-set-conf, winner-undo): Related users changed.
18269 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
18271         * frameset.el (frameset--set-id): Doc fix.
18272         (frameset-frame-id, frameset-frame-id-equal-p)
18273         (frameset-locate-frame-id): New functions.
18274         (frameset--process-minibuffer-frames, frameset--reuse-frame)
18275         (frameset-restore): Use them.
18277 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
18279         Do not call to `selected-frame' where it is assumed by default.
18280         Affected functions are `raise-frame', `redraw-frame',
18281         `frame-first-window', `frame-terminal' and `delete-frame'.
18282         * calendar/appt.el (appt-disp-window):
18283         * epg.el (epg-wait-for-completion):
18284         * follow.el (follow-delete-other-windows-and-split)
18285         (follow-avoid-tail-recenter):
18286         * international/mule.el (set-terminal-coding-system):
18287         * mail/rmail.el (rmail-mail-return):
18288         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
18289         * progmodes/f90.el (f90-add-imenu-menu):
18290         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
18291         * server.el (server-switch-buffer):
18292         * simple.el (delete-completion-window):
18293         * talk.el (talk):
18294         * term/xterm.el (terminal-init-xterm-modify-other-keys)
18295         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
18296         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
18297         * vc/ediff.el (ediff-documentation): Related users changed.
18298         * frame.el (selected-terminal): Remove the leftover.
18300 2013-08-05  Glenn Morris  <rgm@gnu.org>
18302         * calendar/calendar.el (calendar-generate-month):
18303         Fix for calendar-column-width != 1 + calendar-day-digit-width.
18304         (calendar-generate-month, calendar-font-lock-keywords):
18305         Fix for calendar-day-header-width > length of any day name.
18307 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
18309         * desktop.el (desktop-clear): Use new name of sort predicate.
18311         * frameset.el (frameset): Add docstring.  Move :version property to its
18312         own `version' slot.
18313         (frameset-copy): Rename from copy-frameset.
18314         (frameset-p): Check more thoroughly.
18315         (frameset-prop): Do not check for :version, which is no longer a prop.
18316         (frameset-live-filter-alist, frameset-persistent-filter-alist):
18317         Use new :never value instead of t.
18318         (frameset-filter-alist): Expand and clarify docstring.
18319         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
18320         (frameset-filter-minibuffer, frameset-filter-save-param)
18321         (frameset-filter-restore-param, frameset-filter-iconified):
18322         Add pointer to docstring of frameset-filter-alist.
18323         (frameset-filter-params): Rename filter values to be more meaningful:
18324         :never instead of t, and reverse the meanings of :save and :restore.
18325         (frameset--process-minibuffer-frames): Clarify error message.
18326         (frameset-save): Avoid unnecessary and confusing call to framep.
18327         Use new BOA constructor for framesets.
18328         (frameset--reuse-list): Doc fix.
18329         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
18330         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
18331         (frameset-minibufferless-first-p): Doc fix.
18332         Rename from frameset-sort-frames-for-deletion.
18333         (frameset-restore): Doc fixes.  Use new function names.
18334         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18336 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
18338         * desktop.el (desktop-restore-forces-onscreen)
18339         (desktop-restore-reuses-frames): Document :keyword constant values.
18340         (desktop-filter-parameters-alist): Remove, now identical to
18341         frameset-filter-alist.
18342         (desktop--filter-tty*): Remove, moved to frameset.el.
18343         (desktop-save-frameset, desktop-restore-frameset):
18344         Do not pass :filters argument.
18346         * frameset.el (frameset-live-filter-alist)
18347         (frameset-persistent-filter-alist): New variables.
18348         (frameset-filter-alist): Use them.  Add autoload cookie.
18349         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
18350         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
18351         `frameset--id' (it's supposed to be internal to frameset.el).
18352         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
18353         (frameset--initial-params): New function.
18354         (frameset--get-frame): Use it.  Doc fix.
18355         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
18356         Accept :all, not 'all.
18357         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
18358         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
18359         with fbound symbols.  Fix frame id matching, and remove matching ids if
18360         the frame being restored is deleted.  Obey :delete.
18362 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18364         * subr.el (macrop): New function.
18365         (text-clone--maintaining): New var.
18366         (text-clone--maintain): Rename from text-clone-maintain.  Use it
18367         instead of inhibit-modification-hooks.
18369         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
18370         a proxy, so as handle autoloads and redefinitions of the target.
18371         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
18373         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
18374         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
18375         (pcase--mutually-exclusive-p): New function.
18376         (pcase--split-consp): Use it.
18377         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
18378         mutually exclusive with the current predicate.
18380         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
18381         (edebug-macrop): Remove.  Use `macrop' instead.
18382         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
18383         (ad-macro-p):
18384         * eshell/esh-cmd.el (eshell-macrop):
18385         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
18387 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18389         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
18390         (advice-mapc): New function, using it.
18391         (advice-function-member-p): New function.
18392         (advice--normalize): Store the cdr in advice--saved-rewrite since
18393         that's the part that will be changed.
18394         (advice--symbol-function): New function.
18395         (advice-remove): Handle removal before the function is defined.
18396         Adjust to new advice--saved-rewrite.
18397         (advice-member-p): Use advice-function-member-p and
18398         advice--symbol-function.
18400 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
18402         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
18403         (frameset-filter-minibuffer): Doc fix.
18404         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
18405         (frameset--set-id, frameset--process-minibuffer-frames)
18406         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
18407         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
18409         * desktop.el (desktop-clear): Only delete frames when called
18410         interactively and desktop-restore-frames is non-nil.  Doc fix.
18411         (desktop-read): Set desktop-saved-frameset to nil.
18413 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
18415         * vc/vc.el (vc-ignore): Rewrite.
18416         (vc-default-ignore-completion-table, vc--read-lines)
18417         (vc--add-line, vc--remove-regexp): New functions.
18419         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
18420         (vc-svn-ignore-completion-table): New function.
18422         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
18423         (vc-hg-ignore-completion-table)
18424         (vc-hg-find-ignore-file): New functions.
18426         * vc/vc-git.el (vc-git-ignore): Rewrite.
18427         (vc-git-ignore-completion-table)
18428         (vc-git-find-ignore-file): New functions.
18430         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
18432         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
18433         (vc-bzr-ignore-completion-table)
18434         (vc-bzr-find-ignore-file): New functions.
18436 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
18438         * frameset.el (frameset-prop): New function and setter.
18439         (frameset-save): Do not modify frame list passed by the caller.
18441 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18443         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
18445 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18447         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
18448         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
18450         * custom.el (custom-initialize-default, custom-initialize-set)
18451         (custom-initialize-reset, custom-initialize-changed): Affect the
18452         toplevel-default-value (bug#6275, bug#14586).
18453         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
18454         for bug#6275.
18456 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
18458         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18459         Add cl-def* expressions.
18461         * frameset.el (frameset-filter-params): Fix order of arguments.
18463 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
18465         Move code related to saving frames to frameset.el.
18466         * desktop.el: Require frameset.
18467         (desktop-restore-frames): Doc fix.
18468         (desktop-restore-reuses-frames): Rename from
18469         desktop-restoring-reuses-frames.
18470         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
18471         (desktop-clear): Clear frames too.
18472         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
18473         (desktop--filter-tty*, desktop-save, desktop-read):
18474         Use frameset functions.
18475         (desktop-before-saving-frames-functions, desktop--filter-*-color)
18476         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18477         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
18478         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
18479         (desktop--process-minibuffer-frames, desktop-save-frames)
18480         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
18481         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
18482         (desktop--sort-states, desktop-restoring-frames-p)
18483         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
18484         (desktop-restoring-frameset-p, desktop-restore-frameset)
18485         (desktop--check-dont-save, desktop-save-frameset): New functions.
18486         (desktop--app-id): New constant.
18487         (desktop-first-buffer, desktop-buffer-ok-count)
18488         (desktop-buffer-fail-count): Move before first use.
18489         * frameset.el: New file.
18491 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18493         * files.el: Use lexical-binding.
18494         (dir-locals-read-from-file): Remove unused `err' variable.
18495         (hack-dir-local-variables--warned-coding): New var.
18496         (hack-dir-local-variables): Use it to avoid repeated warnings.
18497         (make-backup-file-name--default-function): New function.
18498         (make-backup-file-name-function): Use it as default.
18499         (buffer-stale--default-function): New function.
18500         (buffer-stale-function): Use it as default.
18501         (revert-buffer-insert-file-contents--default-function): New function.
18502         (revert-buffer-insert-file-contents-function): Use it as default.
18503         (insert-directory): Avoid add-to-list.
18505         * autorevert.el (auto-revert-handler): Simplify.
18506         Use buffer-stale--default-function.
18508 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
18510         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
18512         * whitespace.el (whitespace-ensure-local-variables): New function.
18513         (whitespace-cleanup-region): Call it.
18514         (whitespace-turn-on): Call it.
18516 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
18518         Complete file name handlers.
18520         * net/tramp.el (tramp-handle-set-visited-file-modtime)
18521         (tramp-handle-verify-visited-file-modtime)
18522         (tramp-handle-file-notify-rm-watch): New functions.
18523         (tramp-call-process): Do not bind `default-directory'.
18525         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18526         Order alphabetically.
18527         <access-file, add-name-to-file, dired-call-process>:
18528         <dired-compress-file, file-acl, file-notify-rm-watch>:
18529         <file-ownership-preserved-p, file-selinux-context>:
18530         <make-directory-internal, make-symbolic-link, set-file-acl>:
18531         <set-file-selinux-context, set-visited-file-modtime>:
18532         <verify-visited-file-modtime>: Add handler.
18533         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
18535         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18536         <file-notify-add-watch, file-notify-rm-watch>:
18537         <set-file-times, set-visited-file-modtime>:
18538         <verify-visited-file-modtime>: Add handler.
18539         (with-tramp-gvfs-error-message)
18540         (tramp-gvfs-handle-set-visited-file-modtime)
18541         (tramp-gvfs-fuse-file-name): Remove.
18542         (tramp-gvfs-handle-file-notify-add-watch)
18543         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
18544         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
18546         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18547         Order alphabetically.
18548         <file-notify-rm-watch>: Use default Tramp handler.
18549         <executable-find>: Remove private handler.
18550         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
18551         `default-directory'.
18552         (tramp-sh-handle-executable-find)
18553         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
18554         (tramp-sh-file-gvfs-monitor-dir-process-filter)
18555         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
18556         Do not use `format' in `tramp-message'.
18558         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
18559         <file-notify-rm-watch, set-visited-file-modtime>:
18560         <verify-visited-file-modtime>: Add handler.
18561         (tramp-smb-call-winexe): Do not bind `default-directory'.
18563 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
18565         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
18567 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
18569         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
18570         use it.
18571         (log-view-diff-changeset): Same.
18572         (log-view-diff-common): Call backend command `previous-revision'
18573         to find out the previous revision, in both cases.  Swap the
18574         variables `to' and `fr', so that `fr' usually refers to the
18575         earlier revision (Bug#14989).
18577 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
18579         * ibuf-ext.el (ibuffer-filter-by-filename):
18580         Make it work with dired buffers too.
18582 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
18584         * emacs-lisp/re-builder.el (reb-color-display-p):
18585         * files.el (save-buffers-kill-terminal):
18586         * net/browse-url.el (browse-url):
18587         * server.el (server-save-buffers-kill-terminal):
18588         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
18589         Prefer nil to selected-frame for the first arg of frame-parameter.
18591 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
18593         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
18595 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
18597         * minibuffer.el (completion--twq-all): Try and preserve each
18598         completion's case choice (bug#14907).
18600 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18602         * net/network-stream.el (open-network-stream): Mention the new
18603         :nogreeting parameter.
18604         (network-stream-open-starttls): Use the :nogreeting parameter
18605         (bug#14938).
18607         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
18609         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
18610         more natural than popping.
18612         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
18613         (shr-urlify): Highlight under mouse.
18615 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
18617         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
18619         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
18621         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
18622         buffer for output.
18624         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
18625         point-min==1.  Fix search string.  Fix parentheses missing.
18627         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
18628         assume point-min==1.  Fix search string.  Fix parentheses missing.
18630         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
18632         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
18633         buffer for output.
18635 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
18637         * frame.el (frame-notice-user-settings): Avoid inflooping when the
18638         initial frame is minibuffer-less.  (Bug#14841)
18640 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
18642         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
18643         option.
18645         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18646         (tramp-maybe-open-connection): Use it.
18648 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
18650         * desktop.el (desktop--make-frame): Include `minibuffer' in the
18651         minimal set of parameters passed when creating a frame, because
18652         the minibuffer status of a frame cannot be changed later.
18654 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
18656         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
18657         replace-regexp-in-string and inadvertent omissions in previous change.
18658         (todo-filter-items): Ensure only file names are comma-separated in
18659         name of filtered items buffer.
18661 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
18663         * desktop.el: Optionally force offscreen frames back onscreen.
18664         (desktop-restoring-reuses-frames): New option.
18665         (desktop--compute-pos, desktop--move-onscreen): New functions.
18666         (desktop--make-frame): Use desktop--move-onscreen.
18668 2013-07-27  Alan Mackenzie  <acm@muc.de>
18670         Fontify a Java generic method as a function.
18671         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
18672         value to t.
18674 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
18676         * calendar/todo-mode.el: Add command to rename todo files.
18677         (todo-rename-file): New command.
18678         (todo-key-bindings-t): Add key binding for it.  Change the
18679         bindings of todo-filter-regexp-items(-multifile) to use `x'
18680         instead of `r', since the latter is better suited to the new
18681         renaming command.
18683 2013-07-27  Alan Mackenzie  <acm@muc.de>
18685         Make Java try-with-resources statement parse properly.
18686         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
18687         (c-block-stmt-1-2-key): New language constants/variables.
18688         * progmodes/cc-engine.el (c-beginning-of-statement-1)
18689         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
18690         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
18691         with c-block-stmt-1-2-key.
18693 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
18695         * desktop.el (desktop--make-frame): Apply most frame parameters after
18696         creating the frame to force (partially or totally) offscreen frames to
18697         be restored as such.
18699 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
18701         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
18702         (Bug#14948)
18704 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18706         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
18707         `base' arg of backtrace-frame.
18709 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
18711         * simple.el (list-processes): Doc fix.
18713 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
18715         * desktop.el (desktop--select-frame):
18716         Try harder to reuse existing frames.
18718 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18720         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
18721         (edebug-eval): Use backtrace-eval.
18722         (edebug--display, edebug--recursive-edit): Don't let-bind the
18723         edebug-outer-* vars that keep track of variables we locally let-bind.
18724         (edebug-outside-excursion): Don't restore outside values of locally
18725         let-bound vars.
18726         (edebug--display): Use user-error.
18727         (cl-lexical-debug, cl-debug-env): Remove.
18729 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
18731         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
18732         are restored to be sure that they are visible before deleting any
18733         remaining ones.
18735 2013-07-26  Matthias Meulien  <orontee@gmail.com>
18737         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
18738         vc-print-root-log.  (Bug#14948)
18740 2013-07-26  Richard Stallman  <rms@gnu.org>
18742         Add aliases for encrypting mail.
18743         * epa.el (epa-mail-aliases): New option.
18744         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
18745         Bind inhibit-read-only so read-only text doesn't ruin everything.
18746         (epa-mail-default-recipients): New subroutine broken out.
18747         Handle epa-mail-aliases.
18749 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18751         Add support for lexical variables to the debugger's `e' command.
18752         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
18753         vars, except for debugger-outer-match-data.
18754         (debugger-frame-number): Move check for "on a function call" from
18755         callers into it.  Add `skip-base' argument.
18756         (debugger-frame, debugger-frame-clear): Simplify accordingly.
18757         (debugger-env-macro): Only reset the state stored in non-variables,
18758         i.e. current-buffer and match-data.
18759         (debugger-eval-expression): Rewrite using backtrace-eval.
18760         * subr.el (internal--called-interactively-p--get-frame): Remove.
18761         (called-interactively-p):
18762         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
18763         `base' arg of backtrace-frame instead.
18765 2013-07-26  Glenn Morris  <rgm@gnu.org>
18767         * align.el (align-regexp): Doc fix.  (Bug#14857)
18768         (align-region): Explicit error if subexpression missing/does not match.
18770         * simple.el (global-visual-line-mode):
18771         Do not duplicate the mode lighter.  (Bug#14858)
18773 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
18775         * window.el (display-buffer): In display-buffer bind
18776         split-window-keep-point to t, bug#14829.
18778 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
18780         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
18781         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
18782         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
18783         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18784         Change accordingly.
18785         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
18786         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
18788 2013-07-25  Glenn Morris  <rgm@gnu.org>
18790         * dired-x.el (dired-mark-extension): Convert comment to doc string.
18792 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
18794         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
18795         parameter to modify-frame-parameters if the value has not changed;
18796         this is a workaround for bug#14949.
18797         (desktop--make-frame): On cl-delete-if call, check parameter name,
18798         not full parameter.
18800 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
18802         * vc/vc.el (vc-ignore): New function.
18804         * vc/vc-svn.el (vc-svn-ignore): New function.
18806         * vc/vc-hg.el (vc-hg-ignore): New function.
18808         * vc/vc-git.el (vc-git-ignore): New function.
18810         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
18811         (vc-dir-ignore): New function.
18813         * vc/vc-cvs.el (vc-cvs-ignore): New function.
18814         (cvs-append-to-ignore): Move here from pcvs.el.
18816         * vc/vc-bzr.el (vc-bzr-ignore): New function.
18818         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
18820 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
18822         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
18823         (desktop-restore-frames): Warn when deleting an existing frame failed.
18825 2013-07-24  Glenn Morris  <rgm@gnu.org>
18827         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
18829 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
18831         * filenotify.el (file-notify-supported-p):
18832         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
18833         Remove functions.
18835         * autorevert.el (auto-revert-use-notify)
18836         (auto-revert-notify-add-watch):
18837         * net/tramp.el (tramp-file-name-for-operation):
18838         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18839         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18840         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18841         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18842         Remove `file-notify-supported-p' entry.
18844 2013-07-24  Glenn Morris  <rgm@gnu.org>
18846         * printing.el: Replace all uses of deleted ps-windows-system,
18847         ps-lp-system, ps-flatten-list with lpr- versions.
18849 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18851         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
18852         checked with memq (bug#14935).
18854         * files.el (revert-buffer-function): Use a non-nil default.
18855         (revert-buffer-preserve-modes): Declare var to
18856         provide access to the `preserve-modes' argument.
18857         (revert-buffer): Let-bind it.
18858         (revert-buffer--default): New function, extracted from revert-buffer.
18860 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18862         * lpr.el: Signal print errors more prominently.
18863         (print-region-function): Don't default to nil.
18864         (lpr-print-region): New function, extracted from print-region-1.
18865         Check lpr's return value and signal an error in case of problem.
18866         (print-region-1): Use it.
18867         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
18868         versions instead.
18869         (ps-printer-name): Default to nil.
18870         (ps-printer-name-option): Default to lpr-printer-switch.
18871         (ps-print-region-function): Don't default to nil.
18872         (ps-postscript-code-directory): Simplify default.
18873         (ps-do-despool): Use lpr-print-region to properly check the outcome.
18874         (ps-string-list, ps-eval-switch, ps-flatten-list)
18875         (ps-flatten-list-1): Remove.
18876         (ps-multibyte-buffer): Avoid setq.
18877         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
18878         (print-region-function, ps-print-region-function): Don't set them here.
18880 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
18882         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
18883         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
18884         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
18885         (ido-decorations): Doc fix.
18887         * ansi-color.el: Fix old URL.
18889 2013-07-23  Michael R. Mauger  <michael@mauger.com>
18891         * progmodes/sql.el: Version 3.3
18892         (sql-product-alist): Improve oracle :prompt-cont-regexp.
18893         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
18894         (sql-interactive-remove-continuation-prompt): Rewrite, use
18895         functions above.  Fix continuation prompt and complete output line
18896         handling.
18897         (sql-redirect-one, sql-execute): Use `read-only-mode' on
18898         redirected output buffer.
18899         (sql-mode): Restore deleted code (Bug#13591).
18901 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
18903         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
18905 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
18907         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
18909         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18910         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18911         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
18913 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
18915         * desktop.el (desktop-clear): Simplify; remove useless checks
18916         against invalid buffer names.
18917         (desktop-list*): Use cl-list*.
18918         (desktop-buffer-info, desktop-create-buffer): Simplify.
18920 2013-07-23  Leo Liu  <sdl.web@gmail.com>
18922         * bookmark.el (bookmark-make-record): Restore NAME as a default
18923         value.  (Bug#14933)
18925 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18927         * emacs-lisp/autoload.el (autoload--setup-output): New function,
18928         extracted from autoload--insert-text.
18929         (autoload--insert-text): Remove.
18930         (autoload--print-cookie-text): New function, extracted from
18931         autoload--insert-cookie-text.
18932         (autoload--insert-cookie-text): Remove.
18933         (autoload-generate-file-autoloads): Adjust calls accordingly.
18935         * winner.el (winner-hook-installed-p): Remove.
18936         (winner-mode): Simplify accordingly.
18938         * subr.el (add-to-list): Fix compiler-macro when `append' is
18939         not constant.  Don't use `cl-member' for the base case.
18941         * progmodes/subword.el: Fix boundary case (bug#13758).
18942         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
18943         own group.
18944         (subword-backward-regexp): Make it a constant.
18945         (subword-forward-internal): Don't treat a trailing capital as the
18946         beginning of a word.
18948 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
18950         * emacs-lisp/package.el (package-menu-mode): Don't modify the
18951         global value of tabulated-list-revert-hook (bug#14930).
18953 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
18955         * desktop.el: Require 'cl-lib.
18956         (desktop-before-saving-frames-functions): New hook.
18957         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
18958         for frames being saved.  Rename from desktop--save-minibuffer-frames.
18959         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
18960         Do not save frames with non-nil `desktop-dont-save' parameter.
18961         Filter out deleted frames.
18962         (desktop--find-frame): Use cl-find-if.
18963         (desktop--select-frame): Use cl-(first|second|third) to access values
18964         of desktop-mini.
18965         (desktop--make-frame): Use cl-delete-if.
18966         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
18967         (desktop-restore-frames): Use cl-(first|second|third) to access values
18968         of desktop-mini.  Look for visible frame at the end, not while
18969         restoring frames.
18971         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
18972         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
18973         Use string-match-p, looking-at-p (bug#14927).
18975 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
18977         * desktop.el (desktop-saved-frame-states):
18978         Rename from desktop--saved-states; all users changed.
18979         (desktop-save-frames): Rename from desktop--save-frames.
18980         Do not save state to desktop file.
18981         (desktop-save): Save desktop-saved-frame-states to desktop file
18982         and reset to nil.
18983         (desktop-restoring-frames-p): New function.
18984         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
18985         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
18986         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
18988         * desktop.el: Correctly restore iconified frames.
18989         (desktop--filter-iconified-position): New function.
18990         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
18992 2013-07-20  Glenn Morris  <rgm@gnu.org>
18994         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
18995         Let `message' do the formatting.
18996         (def-gdb-preempt-display-buffer): Add explicit format.
18998         * image-dired.el (image-dired-track-original-file):
18999         Use with-current-buffer.
19000         (image-dired-track-thumbnail): Use with-current-buffer.
19001         Avoid changing point of wrong window.
19003         * image-dired.el (image-dired-track-original-file):
19004         Avoid changing point of wrong window.  (Bug#14909)
19006 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
19008         * progmodes/gdb-mi.el (gdb-done-or-error):
19009         Guard against "%" in gdb output.  (Bug#14127)
19011 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
19013         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
19014         (Bug#14826)
19016         * international/mule.el (coding-system-iso-2022-flags): Fix last
19017         change.
19019 2013-07-20  Kenichi Handa  <handa@gnu.org>
19021         * international/mule.el (coding-system-iso-2022-flags):
19022         Add `8-bit-level-4'.  (Bug#8522)
19024 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19026         * net/shr.el (shr-mouse-browse-url): New command and keystroke
19027         (bug#14815).
19029         * net/eww.el (eww-process-text-input): Allow inputting when the
19030         point is at the start of the line, as the properties aren't
19031         front-sticky.
19033         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
19034         degenerate widths.
19036 2013-07-19  Richard Stallman  <rms@gnu.org>
19038         * epa.el (epa-popup-info-window): Doc fix.
19040         * subr.el (split-string): New arg TRIM.
19042 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
19044         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
19045         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
19047 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
19049         * filenotify.el (file-notify--library): Rename from
19050         `file-notify-support'.  Do not autoload.  Adapt all uses.
19051         (file-notify-supported-p): New defun.
19053         * autorevert.el (auto-revert-use-notify):
19054         Use `file-notify-supported-p' instead of `file-notify-support'.
19055         Adapt docstring.
19056         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
19058         * net/tramp.el (tramp-file-name-for-operation):
19059         Add `file-notify-supported-p'.
19061         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19062         New defun.
19063         (tramp-sh-file-name-handler-alist): Add it as handler for
19064         `file-notify-supported-p '.
19066         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19067         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19068         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19069         Add `ignore' as handler for `file-notify-*' functions.
19071 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
19073         * simple.el (line-move-partial, line-move): Don't start vscroll or
19074         scroll-up if the current line is not taller than the window.
19075         (Bug#14881)
19077 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
19079         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
19080         highlight question marks in the method names as strings.
19081         (ruby-block-beg-keywords): Inline.
19082         (ruby-font-lock-keyword-beg-re): Extract from
19083         `ruby-font-lock-keywords'.
19085 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
19087         * frame.el (blink-cursor-blinks): New defcustom.
19088         (blink-cursor-blinks-done): New defvar.
19089         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
19090         (blink-cursor-timer-function): Check if number of blinks has been
19091         done on X and NS.
19092         (blink-cursor-suspend, blink-cursor-check): New defuns.
19094 2013-07-15  Glenn Morris  <rgm@gnu.org>
19096         * edmacro.el (edmacro-format-keys): Fix previous change.
19098 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
19100         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
19101         The hack didn't work outside English locales anyway.
19103 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
19105         * simple.el (define-alternatives): Rename from alternatives-define,
19106         per RMS' suggestion.
19108 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
19110         * desktop.el (desktop-restore-frames): Change default to t.
19111         (desktop-restore-in-current-display): Now offer more options.
19112         (desktop-restoring-reuses-frames): New customization option.
19113         (desktop--saved-states): Doc fix.
19114         (desktop-filter-parameters-alist): New variable, renamed and expanded
19115         from desktop--excluded-frame-parameters.
19116         (desktop--target-display): New variable.
19117         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
19118         (desktop--filter-tty*, desktop--filter-*-color)
19119         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19120         (desktop--filter-save-desktop-parm)
19121         (desktop-restore-in-original-display-p): New functions.
19122         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
19123         (desktop--save-minibuffer-frames): New function, inspired by a similar
19124         function from Martin Rudalics.
19125         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
19126         (desktop--restore-in-this-display-p): Remove.
19127         (desktop--find-frame): Rename from desktop--find-frame-in-display
19128         and add predicate argument.
19129         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
19130         (desktop--reuse-list): New variable.
19131         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
19132         New functions.
19133         (desktop--restore-frames): Add support for "minibuffer-special" frames.
19135 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
19137         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
19139 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
19141         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19142         Highlight conversion methods on Kernel.
19144 2013-07-13  Alan Mackenzie  <acm@muc.de>
19146         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
19147         and comment it out.  This out-commenting enables certain C++
19148         declarations to be parsed correctly.
19150 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
19152         * international/mule.el (define-coding-system): Doc fix.
19154         * simple.el (default-font-height): Don't call font-info if the
19155         frame's default font didn't change since the frame was created.
19156         (Bug#14838)
19158 2013-07-13  Leo Liu  <sdl.web@gmail.com>
19160         * ido.el (ido-read-file-name): Guard against non-symbol value.
19162 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
19164         * progmodes/python.el (python-imenu--build-tree): Fix corner case
19165         in nested defuns.
19167 2013-07-13  Leo Liu  <sdl.web@gmail.com>
19169         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
19170         ido-set-matches call.  (Bug#6852)
19172 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
19174         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
19175         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
19176         Ruby 2.0.
19177         (ruby-font-lock-keywords): Distinguish calls to functions with
19178         module-like names from module references.  Highlight character
19179         literals.
19181 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
19183         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
19184         (gdb-send): Handle continued commands.  (Bug#14847)
19186 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
19188         * desktop.el (desktop--v2s): Remove unused local variable.
19189         (desktop-save-buffer): Make defvar-local; adjust docstring.
19190         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
19191         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
19193 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
19195         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
19197 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
19199         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
19200         (Bug#14842)
19202 2013-07-12  Glenn Morris  <rgm@gnu.org>
19204         * doc-view.el: Require cl-lib at runtime too.
19205         (doc-view-remove-if): Remove.
19206         (doc-view-search-next-match, doc-view-search-previous-match):
19207         Use cl-remove-if.
19209         * edmacro.el: Require cl-lib at runtime too.
19210         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
19211         (edmacro-mismatch, edmacro-subseq): Remove.
19213         * shadowfile.el: Require cl-lib.
19214         (shadow-remove-if): Remove.
19215         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
19216         Use cl-remove-if.
19218         * wid-edit.el: Require cl-lib.
19219         (widget-choose): Use cl-remove-if.
19220         (widget-remove-if): Remove.
19222         * progmodes/ebrowse.el: Require cl-lib at runtime too.
19223         (ebrowse-delete-if-not): Remove.
19224         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
19225         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
19226         Use cl-delete-if-not.
19228 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
19230         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
19231         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
19233 2013-07-12  Leo Liu  <sdl.web@gmail.com>
19235         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
19237 2013-07-11  Glenn Morris  <rgm@gnu.org>
19239         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
19240         (edebug-gensym-index, edebug-gensym):
19241         Remove reimplementation of cl-gensym.
19242         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
19244         * thumbs.el: Require cl-lib at run-time too.
19245         (thumbs-gensym-counter, thumbs-gensym):
19246         Remove reimplementation of cl-gensym.
19247         (thumbs-temp-file): Use cl-gensym.
19249         * emacs-lisp/ert.el: Require cl-lib at runtime too.
19250         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
19251         (ert--intersection, ert--set-difference, ert--set-difference-eq)
19252         (ert--union, ert--gensym-counter, ert--gensym-counter)
19253         (ert--coerce-to-vector, ert--remove*, ert--string-position)
19254         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
19255         (ert-make-test-unbound, ert--expand-should-1)
19256         (ert--expand-should, ert--should-error-handle-error)
19257         (should-error, ert--explain-equal-rec)
19258         (ert--plist-difference-explanation, ert-select-tests)
19259         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
19260         Use cl-lib functions rather than reimplementations.
19262 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
19264         * net/tramp.el (tramp-methods): Extend docstring.
19265         (tramp-connection-timeout): New defcustom.
19266         (tramp-error-with-buffer): Reset timestamp only when appropriate.
19267         (with-tramp-progress-reporter): Simplify.
19268         (tramp-process-actions): Improve messages.
19270         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19271         * net/tramp-sh.el (tramp-maybe-open-connection):
19272         Use `tramp-connection-timeout'.
19273         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
19274         (Bug#14808)
19276 2013-07-11  Leo Liu  <sdl.web@gmail.com>
19278         * ido.el (ido-read-file-name): Conform to the requirements of
19279         read-file-name.  (Bug#11861)
19280         (ido-read-directory-name): Conform to the requirements of
19281         read-directory-name.
19283 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
19285         * subr.el (delay-warning): New function.
19287 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
19289         * simple.el (default-line-height): New function.
19290         (line-move-partial, line-move): Use it instead of computing the
19291         line height inline.
19292         (line-move-partial): Always compute ROWH.  If the last line is
19293         partially-visible, but its text is completely visible, allow
19294         cursor to enter such a partially-visible line.
19296 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
19298         Improve error messages.  (Bug#14808)
19300         * net/tramp.el (tramp-current-connection): New defvar, moved from
19301         tramp-sh.el.
19302         (tramp-message-show-progress-reporter-message): Remove, not
19303         needed anymore.
19304         (tramp-error-with-buffer): Show message in minibuffer.
19305         Discard input before waiting.  Reset connection timestamp.
19306         (with-tramp-progress-reporter): Improve messages.
19307         (tramp-process-actions): Use progress reporter.  Delete process in
19308         case of error.  Improve messages.
19310         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
19311         Call `tramp-error-with-buffer' with vector and buffer.
19312         (tramp-current-connection): Remove.
19313         (tramp-maybe-open-connection): The car of
19314         `tramp-current-connection' are the first 3 slots of the vector.
19316 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
19318         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
19319         inside continued strings.
19321 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
19323         Timestamp fixes for undo (Bug#14824).
19324         * files.el (clear-visited-file-modtime): Move here from fileio.c.
19326 2013-07-10  Leo Liu  <sdl.web@gmail.com>
19328         * files.el (require-final-newline): Allow safe local value.
19329         (Bug#14834)
19331 2013-07-09  Leo Liu  <sdl.web@gmail.com>
19333         * ido.el (ido-read-directory-name): Handle fallback.
19334         (ido-read-file-name): Update DIR to ido-current-directory.
19335         (Bug#1516)
19336         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
19338 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
19340         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
19341         "autoload".  Remove "warn lower camel case" section, previously
19342         commented out.  Highlight negation char.  Do not highlight the
19343         target in singleton method definitions.
19345 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19347         * faces.el (tty-setup-hook): Declare the hook.
19349         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
19350         and detect when a guard/pred depends on local vars (bug#14773).
19351         (pcase--u1): Adjust caller.
19353 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
19355         * simple.el (line-move-partial, line-move): Account for
19356         line-spacing.
19357         (line-move-partial): Avoid setting vscroll when the last
19358         partially-visible line in window is of default height.
19360 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19362         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
19363         been used a while.
19365 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
19367         * subr.el (read-quoted-char): Remove unused local variable `char'.
19369 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
19371         * vc/ediff.el (ediff-version): Version update.
19372         (ediff-files-command, ediff3-files-command, ediff-merge-command)
19373         (ediff-merge-with-ancestor-command, ediff-directories-command)
19374         (ediff-directories3-command, ediff-merge-directories-command)
19375         (ediff-merge-directories-with-ancestor-command): New functions.
19376         All are command-line interfaces to ediff: to facilitate calling
19377         Emacs with the appropriate ediff functions invoked.
19379         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
19380         New function.
19381         (viper-save-kill-buffer): Check if buffer is modified.
19383         * emulation/viper.el (viper-version): Version update.
19384         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
19386 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19388         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
19389         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
19390         (viper-intercept-ESC-key): Simplify.
19391         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
19392         don't use kbd.
19393         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
19394         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
19395         (viper-setup-ESC-to-escape): New functions.
19396         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
19397         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
19399 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
19401         * simple.el (default-font-height, window-screen-lines):
19402         New functions.
19403         (line-move, line-move-partial): Use them instead of
19404         frame-char-height and window-text-height.  This makes scrolling
19405         text smoother when the buffer's default face uses a font that is
19406         different from the frame's default font.
19408 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
19410         * files.el (write-file): Do not display confirm dialog for NS,
19411         it does its own dialog, which can't be canceled (Bug#14578).
19413 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
19415         * simple.el (line-move-partial): Adjust the row returned by
19416         posn-at-point for the current window-vscroll.  (Bug#14567)
19418 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
19420         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
19421         (tramp-sh-file-inotifywait-process-filter): Handle file names with
19422         spaces.
19424 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
19426         * window.el (window-state-put-stale-windows): New variable.
19427         (window--state-put-2): Save list of windows without matching buffer.
19428         (window-state-put): Remove "bufferless" windows if possible.
19430 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
19432         * simple.el (alternatives-define): Remove leftover :group keyword.
19433         Tweak docstring.
19435 2013-07-06  Leo Liu  <sdl.web@gmail.com>
19437         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
19438         (ido-enable-virtual-buffers): New variable.
19439         (ido-buffer-internal, ido-toggle-virtual-buffers)
19440         (ido-make-buffer-list): Use it.
19441         (ido-exhibit): Support turning on and off virtual buffers
19442         automatically.
19444 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
19446         * simple.el (alternatives-define): New macro.
19448 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
19450         * subr.el (read-quoted-char): Use read-key.
19451         (sit-for): Let read-event decode tty input (bug#14782).
19453 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
19455         * calendar/todo-mode.el: Add handling of file deletion, both by
19456         mode command and externally.  Fix various related bugs.
19457         Clarify Commentary and improve some documentation strings and code.
19458         (todo-delete-file): New command.
19459         (todo-check-file): New function.
19460         (todo-show): Handle external deletion of the file we're trying to
19461         show (bug#14688).  Replace called-interactively-p by an optional
19462         prefix argument to avoid problematic interaction with catch form
19463         when byte compiled (bug#14702).
19464         (todo-quit): Handle external deletion of the archive's todo file.
19465         Make sure the buffer that was visiting the archive file is still
19466         live before trying to bury it.
19467         (todo-category-completions): Handle external deletion of any
19468         category completion files.
19469         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
19470         of todo files, in case of external deletion.
19471         (todo-add-file): Replace unnecessary setq by let-binding.
19472         (todo-find-archive): Check whether there are any archives.
19473         Replace unnecessary setq by let-binding.
19474         (todo-archive-done-item): Use find-file-noselect to get the
19475         archive buffer whether or not the archive already exists.
19476         Remove superfluous code.  Use file size instead of buffer-file-name to
19477         check if the archive is new; if it is, update list of archives.
19478         (todo-default-todo-file): Allow nil to be a valid value for when
19479         there are no todo files.
19480         (todo-reevaluate-default-file-defcustom): Use corrected definition
19481         of todo-default-todo-file.
19482         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
19483         (todo-delete-category, todo-show-categories-table)
19484         (todo-category-number): Clarify comment.
19485         (todo-filter-items): Clarify documentation string.
19486         (todo-show-current-file, todo-display-as-todo-file)
19487         (todo-reset-and-enable-done-separator): Tweak documentation string.
19488         (todo-done-separator): Make separator length window-width, since
19489         bug#2749 is now fixed.
19491 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
19493         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19494         Support both "gvfs-monitor-dir" and "inotifywait".
19495         (tramp-sh-file-inotifywait-process-filter): Rename from
19496         `tramp-sh-file-notify-process-filter'.
19497         (tramp-sh-file-gvfs-monitor-dir-process-filter)
19498         (tramp-get-remote-gvfs-monitor-dir): New defuns.
19500 2013-07-05  Leo Liu  <sdl.web@gmail.com>
19502         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
19504 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
19506         * frame.el (display-pixel-height, display-pixel-width)
19507         (display-mm-height, display-mm-width): Mention behavior on
19508         multi-monitor setups in docstrings.
19509         (w32-display-monitor-attributes-list): Declare function.
19510         (display-monitor-attributes-list): Use it.
19512 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
19514         * filenotify.el: New package.
19516         * autorevert.el (top): Require filenotify.el.
19517         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
19518         instead.
19519         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19520         (auto-revert-notify-handler): Use `file-notify-*' functions.
19522         * subr.el (file-notify-handle-event): Move function to filenotify.el.
19524         * net/tramp.el (tramp-file-name-for-operation):
19525         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
19527         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
19528         for `file-notify-add-watch' and `file-notify-rm-watch'.
19529         (tramp-process-sentinel): Improve trace.
19530         (tramp-sh-handle-file-notify-add-watch)
19531         (tramp-sh-file-notify-process-filter)
19532         (tramp-sh-handle-file-notify-rm-watch)
19533         (tramp-get-remote-inotifywait): New defuns.
19535 2013-07-03  Juri Linkov  <juri@jurta.org>
19537         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
19538         call of `occur-read-primary-args' to interactive spec.
19540         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
19541         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
19543 2013-07-03  Matthias Meulien  <orontee@gmail.com>
19545         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
19546         `Buffer-menu-multi-occur'.  Add it to the menu.
19547         (Buffer-menu-mode): Document it in docstring.
19548         (Buffer-menu-multi-occur): New command.  (Bug#14673)
19550 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
19552         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
19553         keywords and built-ins.
19555 2013-07-03  Glenn Morris  <rgm@gnu.org>
19557         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
19559         Make info-xref checks case-sensitive by default
19560         * info.el (Info-find-node, Info-find-in-tag-table)
19561         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
19562         Add option for exact case matching of nodes.
19563         * info-xref.el (info-xref): New custom group.
19564         (info-xref-case-fold): New option.
19565         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
19567 2013-07-03  Leo Liu  <sdl.web@gmail.com>
19569         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
19571 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
19573         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
19574         middle of block statement initially, lower the depth.  Remove
19575         FIXME comment, not longer valid.  Remove middle of block statement
19576         detection, no need to do that anymore since we've been using
19577         `ruby-parse-region' here.
19579 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
19581         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
19583 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
19585         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
19587 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
19589         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
19590         (desktop-restore-in-current-display): New customization option.
19591         (desktop--excluded-frame-parameters): Add `font'.
19592         (desktop--save-frames): Rename from desktop--save-windows.
19593         (desktop--restore-in-this-display-p): New function.
19594         (desktop--make-full-frame): Remove unwanted width/height from
19595         full(width|height) frames.
19596         (desktop--restore-frames): Rename from desktop--restore-windows.
19597         Obey desktop-restore-current-display.  Do not delete old frames or
19598         select a new frame unless we were able to restore at least one frame.
19600 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
19602         * files.el (find-file-noselect): Simplify conditional expression.
19604         * textmodes/remember.el (remember-append-to-file):
19605         Don't mix `find-buffer-visiting' and `get-file-buffer'.
19607         Add `remember-notes' function to store random notes across Emacs
19608         restarts.
19609         * textmodes/remember.el (remember-data-file): Add :set callback to
19610         affect notes buffer (if any).
19611         (remember-notes): New command.
19612         (remember-notes-buffer-name, bury-remember-notes-on-kill):
19613         New defcustoms for the `remember-notes' function.
19614         (remember-notes-save-and-bury-buffer): New command.
19615         (remember-notes-mode-map): New variable.
19616         (remember-mode): New minor mode.
19617         (remember-notes--kill-buffer-query): New function.
19618         * startup.el (initial-buffer-choice): Add notes to custom type.
19620 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
19622         * bindings.el (right-char, left-char): Don't call sit-for, this is
19623         no longer needed.  Use arithmetic comparison only for numerical
19624         arguments.
19626         * international/mule-cmds.el (select-safe-coding-system):
19627         Handle the case of FROM being a string correctly.  (Bug#14755)
19629 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19631         * net/shr.el (shr-make-table-1): Add a sanity check that allows
19632         progression on degenerate tables.
19633         (shr-rescale-image): ImageMagick animated images currently don't work.
19635 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
19637         Some fixes and improvements for desktop frame restoration.
19638         It is still experimental and disabled by default.
19639         * desktop.el (desktop--save-windows): Put the selected frame at
19640         the head of the list.
19641         (desktop--make-full-frame): New function.
19642         (desktop--restore-windows): Try to re-select the frame that was
19643         selected upon saving.  Do not abort if some frames fail to restore,
19644         just show an error message and continue.  Set up maximized frames
19645         so they have default non-maximized dimensions.
19647 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
19649         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
19650         Don't start heredoc inside a string or comment.
19652 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
19654         * bindings.el (visual-order-cursor-movement): New defcustom.
19655         (right-char, left-char): Provide visual-order cursor motion by
19656         calling move-point-visually.  Update the doc strings.
19658 2013-06-28  Kenichi Handa  <handa@gnu.org>
19660         * international/mule.el (define-coding-system): New coding system
19661         properties :inhibit-null-byte-detection,
19662         :inhibit-iso-escape-detection, and :prefer-utf-8.
19663         (set-buffer-file-coding-system): If :charset-list property of
19664         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
19665         appropriate for setting.
19667         * international/mule-cmds.el (select-safe-coding-system):
19668         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
19669         multibyte characters, return utf-8 (or one of its siblings).
19671         * international/mule-conf.el (prefer-utf-8): New coding system.
19672         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
19673         files.
19675 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
19677         * net/shr.el (shr-render-region): New function.
19679         * net/eww.el: Autoload `eww-browse-url'.
19681 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
19683         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19684         Adapt to `package-desc-version' being a list.
19685         Use `package--ac-desc-version' to retrieve version from a package
19686         archive element.
19688 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
19690         New experimental feature to save&restore window and frame setup.
19691         * desktop.el (desktop-save-windows): New defcustom.
19692         (desktop--saved-states): New var.
19693         (desktop--excluded-frame-parameters): New defconst.
19694         (desktop--filter-frame-parms, desktop--find-frame-in-display)
19695         (desktop--restore-windows, desktop--save-windows): New functions.
19696         (desktop-save): Call `desktop--save-windows'.
19697         (desktop-read): Call `desktop--restore-windows'.
19699 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19701         * net/shr.el (add-face-text-property): Remove compat definition.
19703 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
19705         * info.el (Info-try-follow-nearest-node): Move search for footnote
19706         above search for node name to prevent missing a footnote (bug#14717).
19708 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
19710         * obsolete/otodo-mode.el: Add obsolescence info to file header.
19712 2013-06-27  Leo Liu  <sdl.web@gmail.com>
19714         * net/eww.el (eww-read-bookmarks): Check file size.
19716 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19718         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
19719         advice--pending if newdef is nil or an autoload (bug#13820).
19720         (advice-mapc): New function.
19722 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19724         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
19725         probably.
19726         (eww-mode-map): Add a menu bar.
19727         (eww-add-bookmark): New command.
19728         (eww-bookmark-mode): New mode and commands.
19729         (eww-add-bookmark): Remove newlines from the title.
19730         (eww-bookmark-browse): Don't bug out if it's the only window.
19732 2013-06-26  Glenn Morris  <rgm@gnu.org>
19734         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
19735         (hfy-size): Handle ttys.  (Bug#14668)
19737         * info-xref.el: Update for Texinfo 5 change in *note format.
19738         (info-xref-node-re, info-xref-note-re): New constants.
19739         (info-xref-check-buffer): Use info-xref-note-re.
19741 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19743         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
19745         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
19746         nil terminate the loop (bug#14718).
19748 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19750         * net/eww.el: Rework history traversal.  When going forward/back,
19751         put these actions into the history, too, so that they can be
19752         replayed.
19753         (eww-render): Move the history reset to the correct buffer.
19755 2013-06-25  Juri Linkov  <juri@jurta.org>
19757         * files-x.el (modify-dir-local-variable): Change the header comment
19758         in the file with directory local variables.  (Bug#14692)
19760         * files-x.el (read-file-local-variable-value): Add `default'.
19761         (Bug#14710)
19763 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19765         * net/eww.el (eww-make-unique-file-name): Create a unique file
19766         name before saving to entering `y' accidentally asynchronously.
19768 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
19770         * net/eww.el (eww-download): New command and keystroke.
19772 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19774         * net/eww.el (eww-copy-page-url): Change name of command.
19776         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
19777         be more consistent with Info and dired.
19779         * net/eww.el (eww-mode-map): Ditto.
19781 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19783         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
19784         packages from archives.
19785         (package-archive-contents): Change format; include obsolete packages.
19786         (package-desc): Use `dir' to mark builtin packages.
19787         (package--from-builtin): Set the `dir' field to `builtin'.
19788         (generated-autoload-file, version-control): Declare.
19789         (package-compute-transaction): Change first arg and return value to be
19790         lists of package-descs.  Adjust to new package-archive-contents format.
19791         (package--add-to-archive-contents): Adjust to new
19792         package-archive-contents format.
19793         (package-download-transaction): Arg is now a list of package-descs.
19794         (package-install): If `pkg' is a package name, pass it as
19795         a requirement, so it is subject to the usual (e.g. disabled) checks.
19796         (describe-package): Accept package-desc as well.
19797         (describe-package-1): Describe a specific package-desc.  Add links to
19798         other package-descs for the same package name.
19799         (package-menu-describe-package): Pass the actual package-desc.
19800         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
19801         works correctly.
19802         (package-desc-status): New function.
19803         (package-menu--refresh): New function, extracted
19804         from package-menu--generate.
19805         (package-menu--generate): Use it.
19806         (package-delete): Update package-alist.
19807         (package-menu-execute): Don't call package-initialize.
19809         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
19810         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
19811         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
19812         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
19813         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
19814         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
19816 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
19818         * window.el (window--state-get-1): Workaround for bug#14527.
19819         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
19821 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19823         * net/eww.el (eww-back-url): Implement the history by stashing all
19824         the data into a list.
19825         (eww-forward-url): Allow going forward in the history, too.
19827 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19829         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
19830         for values and use read--expression for expressions (bug#14710).
19831         (read-file-local-variable): Avoid setq.
19832         (read-file-local-variable-mode): Use minor-mode-list.
19834 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19836         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
19837         for DOI URLs.
19839 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
19841         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
19842         Update imenu-support when dialect changes.
19844 2013-06-25  Leo Liu  <sdl.web@gmail.com>
19846         * ido.el (ido-read-internal): Allow forward slash on windows.
19848 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19850         * net/eww.el (eww): Start of strings is \\`, not ^.
19852 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
19854         * net/shr.el (shr-browse-url): Fix interactive spec.
19856         * net/eww.el (eww): Add a trailing slash to domain names.
19858 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
19860         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
19862 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19864         * net/shr.el (shr-browse-url): Use an external browser if given a
19865         prefix.
19867         * net/eww.el (eww-external-browser): Move to shr.
19869 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
19871         * net/eww.el (eww): Work more correctly for file: URLs.
19872         (eww-detect-charset): Allow quoted charsets.
19873         (eww-yank-page-url): New command and keystroke.
19875 2013-06-24  Daiki Ueno  <ueno@gnu.org>
19877         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
19878         file name of gpg executable.
19879         (epg-context-program): New function.
19880         (epg-context-home-directory): New function.
19881         (epg-context-set-program): New function.
19882         (epg-context-set-home-directory): New function.
19883         (epg--start): Use `epg-context-program' instead of
19884         'epg-gpg-program'.
19885         (epg--list-keys-1): Likewise.
19887 2013-06-24  Leo Liu  <sdl.web@gmail.com>
19889         * ido.el (ido-read-internal): Fix bug#14620.
19891 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
19893         * faces.el (face-documentation): Simplify.
19894         (read-face-attribute, tty-find-type, x-resolve-font-name):
19895         Use `string-match-p'.
19896         (list-faces-display): Use `string-match-p'.  Simplify.
19897         (face-spec-recalc): Check face to avoid face alias loops.
19898         (read-color): Use `string-match-p' and non-capturing parenthesis.
19900 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19902         * net/shr.el (shr-rescale-image): Use the new
19903         :max-width/:max-height functionality.
19905 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
19907         * net/eww.el (eww-search-prefix): New variable.
19908         (eww): Use it.
19909         (eww-external-browser): New variable.
19910         (eww-mode-map): New keystroke.
19911         (eww-browse-with-external-browser): New command.
19913         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
19915 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
19917         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
19918         Don't skip aligning the next header field when padding is 0;
19919         otherwise, field width is not respected unless the title is as
19920         wide as the field.
19922 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19924         * emacs-lisp/package.el (package-el-version): Remove.
19925         (package-process-define-package): Fix inf-loop.
19926         (package-install): Allow symbols as arguments again.
19928 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
19930         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
19931         add some more keyword-like methods.
19932         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
19934 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
19936         * bs.el (bs-buffer-show-mark): Make defvar-local.
19937         (bs-mode): Use setq-local.
19939         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
19940         (emacs-lock--try-unlocking): Make defvar-local.
19942 2013-06-22  Glenn Morris  <rgm@gnu.org>
19944         * play/cookie1.el (cookie-apropos): Minor simplification.
19946         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
19948 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
19950         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
19951         `regexp-opt', it breaks the build during dumping.
19953 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
19955         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19956         Highlight keyword-like methods on Kernel and Module with
19957         font-lock-builtin-face.
19958         (auto-mode-alist): Consolidate different entries into one regexp
19959         and add more *file-s.
19961 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
19963         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
19965         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
19966         (diary-entry): Use it in the action of this button type instead of
19967         diary-goto-entry.
19969         * calendar/todo-mode.el: New version.
19970         (todo-add-category): Append new category to end of file and give
19971         it the highest number, instead of putting it at the beginning and
19972         giving it 0.  Incorporate noninteractive functionality.
19973         (todo-forward-category): Adapt to 1-based category numbering.
19974         Allow skipping over archived categories.
19975         (todo-backward-category): Derive from todo-forward-category.
19976         (todo-backward-item, todo-forward-item): Make noninteractive and
19977         delegate interactive part to new commands.  Make sensitive to done items.
19978         (todo-categories): Make value an alist of category names and
19979         vectors of item counts.
19980         (todo-category-beg): Make a defconst.
19981         (todo-category-number): Use 1 instead of 0 as initial value.
19982         (todo-category-select): Make sensitive to overlays, optional item
19983         highlighting and done items.
19984         (todo-delete-item): Make sensitive to overlays and marked and done items.
19985         (todo-edit-item): Make sensitive to overlays and editing of
19986         date/time header optional.  Add format checks.
19987         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
19988         no-op if point is not on an item.  Advertise using todo-edit-quit.
19989         (todo-edit-mode): Make sensitive to new format, font-locking, and
19990         multiple todo files.
19991         (todo-insert-item, todo-insert-item-here): Derive from
19992         todo-basic-insert-item and extend functionality.
19993         (todo-item-end, todo-item-start): Make sensitive to done items.
19994         (todo-item-string): Don't return text properties.  Restore point.
19995         (todo-jump-to-category): Make sensitive to multiple todo files and
19996         todo archives.  Use extended category completion.
19997         (todo-lower-item, todo-raise-item): Rename to *-priority and
19998         derive from todo-set-item-priority.
19999         (todo-mode): Derive from special-mode.  Make sensitive to new
20000         format, font-locking and multiple todo files.  Make read-only.
20001         (todo-mode-map): Don't suppress digit keys, so they can supply
20002         prefix arguments.  Add many new key bindings.
20003         (todo-prefix): Insert as an overlay instead of file text.
20004         Change semantics from diary date expression to purely visual mark.
20005         (todo-print): Rename to todo-print-buffer.  Make buffer display
20006         features printable.  Remove option to restrict number of items
20007         printed.  Add option to print to file.
20008         (todo-print-function): Rename to todo-print-buffer-function.
20009         (todo-quit): Extend to handle exiting new todo modes.
20010         (todo-remove-item): Make sensitive to overlays.
20011         (todo-save): Extend to buffers of filtered items.
20012         (todo-show): Make sensitive to done items, multiple todo files and
20013         new todo modes.  Offer to convert legacy todo file before creating
20014         first new todo file.
20015         (todo-show-priorities): Rename to todo-top-priorities.
20016         Change semantics of value 0.
20017         (todo-top-priorities): Rename to todo-filter-top-priorities,
20018         derive from todo-filter-items and extend functionality.
20019         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
20020         and extend functionality to other types of filtered items.
20021         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
20022         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
20023         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
20024         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
20025         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
20026         (todo-edit-mode-hook, todo-entry-prefix-function)
20027         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
20028         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
20029         (todo-initials, todo-insert-threshold, todo-item-string-start)
20030         (todo-line-string, todo-menu, todo-mode-hook)
20031         (todo-more-important-p, todo-previous-answer, todo-previous-line)
20032         (todo-print-priorities, todo-remove-separator)
20033         (todo-save-top-priorities-too, todo-string-count-lines)
20034         (todo-string-multiline-p, todo-time-string-format)
20035         (todo-tmp-buffer-name): Remove.
20036         (todo-add-file, todo-archive-done-item, todo-choose-archive)
20037         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
20038         (todo-edit-category-diary-inclusion)
20039         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
20040         (todo-edit-file, todo-edit-item-date-day)
20041         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
20042         (todo-edit-item-date-month, todo-edit-item-date-to-today)
20043         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
20044         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
20045         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
20046         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
20047         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
20048         (todo-filter-top-priorities-multifile, todo-find-archive)
20049         (todo-find-filtered-items-file, todo-go-to-source-item)
20050         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
20051         (todo-jump-to-archive-category, todo-lower-category)
20052         (todo-mark-category, todo-marked-item-p, todo-merge-category)
20053         (todo-move-category, todo-move-item, todo-next-button)
20054         (todo-next-item, todo-padded-string, todo-powerset)
20055         (todo-previous-button, todo-previous-item)
20056         (todo-print-buffer-to-file, todo-raise-category)
20057         (todo-rename-category, todo-repair-categories-sexp, todo-search)
20058         (todo-set-category-number, todo-set-item-priority)
20059         (todo-set-top-priorities-in-category)
20060         (todo-set-top-priorities-in-file, todo-show-categories-table)
20061         (todo-sort-categories-alphabetically-or-numerically)
20062         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
20063         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
20064         (todo-toggle-item-header, todo-toggle-item-highlighting)
20065         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
20066         (todo-toggle-view-done-items, todo-toggle-view-done-only)
20067         (todo-unarchive-items, todo-unmark-category): New commands.
20068         (todo-absolute-file-name, todo-add-to-buffer-list)
20069         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
20070         (todo-basic-insert-item, todo-category-completions)
20071         (todo-category-number, todo-category-string-matcher-1)
20072         (todo-category-string-matcher-2, todo-check-filtered-items-file)
20073         (todo-check-format, todo-clear-matches)
20074         (todo-comment-string-matcher, todo-convert-legacy-date-time)
20075         (todo-current-category, todo-date-string-matcher)
20076         (todo-define-insertion-command, todo-diary-expired-matcher)
20077         (todo-diary-goto-entry, todo-diary-item-p)
20078         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
20079         (todo-display-categories, todo-display-sorted, todo-done-item-p)
20080         (todo-done-item-section-p, todo-done-separator)
20081         (todo-done-string-matcher, todo-files, todo-filter-items)
20082         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
20083         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
20084         (todo-insert-category-line, todo-insert-item-from-calendar)
20085         (todo-insert-sort-button, todo-insert-with-overlays)
20086         (todo-insertion-command-name, todo-insertion-key-bindings)
20087         (todo-label-to-key, todo-longest-category-name-length)
20088         (todo-make-categories-list, todo-mode-external-set)
20089         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
20090         (todo-modes-set-3, todo-multiple-filter-files)
20091         (todo-nondiary-marker-matcher, todo-prefix-overlays)
20092         (todo-read-category, todo-read-date, todo-read-dayname)
20093         (todo-read-file-name, todo-read-time)
20094         (todo-reevaluate-category-completions-files-defcustom)
20095         (todo-reevaluate-default-file-defcustom)
20096         (todo-reevaluate-filelist-defcustoms)
20097         (todo-reevaluate-filter-files-defcustom)
20098         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
20099         (todo-reset-done-separator, todo-reset-done-separator-string)
20100         (todo-reset-done-string, todo-reset-global-current-todo-file)
20101         (todo-reset-highlight-item, todo-reset-nondiary-marker)
20102         (todo-reset-prefix, todo-set-categories)
20103         (todo-set-date-from-calendar, todo-set-show-current-file)
20104         (todo-set-top-priorities, todo-short-file-name)
20105         (todo-show-current-file, todo-sort, todo-time-string-matcher)
20106         (todo-total-item-counts, todo-update-buffer-list)
20107         (todo-update-categories-display, todo-update-categories-sexp)
20108         (todo-update-count, todo-validate-name, todo-y-or-n-p):
20109         New functions.
20110         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
20111         New major modes.
20112         (todo-categories, todo-display, todo-edit, todo-faces)
20113         (todo-filtered): New defgroups.
20114         (todo-archived-only, todo-button, todo-category-string, todo-date)
20115         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
20116         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
20117         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
20118         (todo-add-item-if-new-category, todo-always-add-time-string)
20119         (todo-categories-align, todo-categories-archived-label)
20120         (todo-categories-category-label, todo-categories-diary-label)
20121         (todo-categories-done-label, todo-categories-number-separator)
20122         (todo-categories-todo-label, todo-categories-totals-label)
20123         (todo-category-completions-files, todo-completion-ignore-case)
20124         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
20125         (todo-done-separator-string, todo-done-string)
20126         (todo-files-function, todo-filter-done-items, todo-filter-files)
20127         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
20128         (todo-initial-category, todo-initial-file, todo-item-mark)
20129         (todo-legacy-date-time-regexp, todo-mode-line-function)
20130         (todo-nondiary-marker, todo-number-prefix)
20131         (todo-print-buffer-function, todo-show-current-file)
20132         (todo-show-done-only, todo-show-first, todo-show-with-done)
20133         (todo-skip-archived-categories, todo-top-priorities-overrides)
20134         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
20135         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
20136         New defcustoms.
20137         (todo-category-done, todo-date-pattern, todo-date-string-start)
20138         (todo-diary-items-buffer, todo-done-string-start)
20139         (todo-filtered-items-buffer, todo-item-start)
20140         (todo-month-abbrev-array, todo-month-name-array)
20141         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
20142         (todo-top-priorities-buffer): New defconsts.
20143         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
20144         (todo-categories-with-marks, todo-category-string-face)
20145         (todo-comment-face, todo-comment-string, todo-current-todo-file)
20146         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
20147         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
20148         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
20149         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
20150         (todo-font-lock-keywords, todo-global-current-todo-file)
20151         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
20152         (todo-insertion-commands-args)
20153         (todo-insertion-commands-args-genlist)
20154         (todo-insertion-commands-names, todo-insertion-map)
20155         (todo-key-bindings-t, todo-key-bindings-t+a)
20156         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
20157         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
20158         (todo-nondiary-face, todo-print-buffer, todo-time-face)
20159         (todo-visited): New variables.
20161 2013-06-21  Glenn Morris  <rgm@gnu.org>
20163         * play/cookie1.el (cookie-apropos): Add optional display argument.
20164         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
20165         (psychoanalyze-pinhead): Use cookie-doctor.
20167 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
20169         * emacs-lisp/package.el (tar-get-file-descriptor)
20170         (tar--extract): Declare.
20172 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
20174         Extend flymake's warning predicate to be a function (bug#14217).
20175         * progmodes/flymake.el (flymake-warning-predicate): New.
20176         (flymake-parse-line): Use it.
20177         (flymake-warning-re): Make obsolete alias to
20178         `flymake-warning-predicate'.
20180 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20182         * emacs-lisp/package.el (package-alist): Include obsolete packages.
20183         (package-obsolete-list): Remove.
20184         (package-activate): Remove min-version argument.  Add `force' argument.
20185         Adjust to new package-alist format.
20186         (package-mark-obsolete): Remove.
20187         (package-unpack): Force reload of the package's autoloads.
20188         (package-installed-p): Check builtins if the installed package is not
20189         recent enough.
20190         (package-initialize): Don't reset package-obsolete-list.
20191         Don't specify which package version to activate.
20192         (package-process-define-package, describe-package-1)
20193         (package-menu--generate): Adjust to new package-alist format.
20195 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
20197         * allout-widgets.el (allout-widgets-mode-off)
20198         (allout-widgets-mode-on, allout-widgets-pre-command-business)
20199         (allout-widgets-post-command-business)
20200         (allout-widgets-after-copy-or-kill-function)
20201         (allout-widgets-after-undo-function, allout-test-range-overlaps)
20202         (allout-decorate-item-and-context)
20203         (allout-graphics-modification-handler): Fix typos in docstrings.
20204         (allout-get-or-create-parent-widget): Use `looking-at-p'.
20206         * cmuscheme.el (scheme-start-file): Doc fix.
20207         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
20208         (scheme-input-filter): Use `string-match-p'.
20210         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
20212         * dired-x.el: Use Dired consistently in docstrings.
20214         * dired.el: Use Dired consistently in docstrings.
20215         (dired-readin, dired-mode): Use `setq-local'.
20216         (dired-switches-alist): Make defvar-local.
20217         (dired-buffers-for-dir): Use `zerop'.
20218         (dired-safe-switches-p, dired-switches-escape-p)
20219         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
20220         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
20221         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
20222         (dired-goto-next-nontrivial-file): Use `string-match-p'.
20223         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
20224         (dired-toggle-marks, dired-mark-files-containing-regexp)
20225         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
20226         (dired-flag-auto-save-files, dired-flag-backup-files):
20227         Use `looking-at-p'.
20228         (dired-mark-files-regexp, dired-build-subdir-alist):
20229         Use `string-match-p', `looking-at-p'.
20231         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
20232         (direct-print-region-helper): Use `string-match-p'.
20234 2013-06-21  Leo Liu  <sdl.web@gmail.com>
20236         * comint.el (comint-redirect-results-list-from-process):
20237         Fix infinite loop.
20239 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20241         * net/eww.el (eww-update-header-line-format): Quote % characters.
20243 2013-06-21  Glenn Morris  <rgm@gnu.org>
20245         * play/cookie1.el (cookie): New custom group.
20246         (cookie-file): New option.
20247         (cookie-check-file): New function.
20248         (cookie): Make it interactive.  Make start and end messages optional.
20249         Interactively, display the result.  Default to cookie-file.
20250         (cookie-insert): Default to cookie-file.
20251         (cookie-snarf): Make start and end messages optional.
20252         Default to cookie-file.  Use with-temp-buffer.
20253         (cookie-read): Rename from read-cookie.
20254         Make start and end messages optional.  Default to cookie-file.
20255         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
20256         Do not autoload it.
20257         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
20258         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
20260 2013-06-21  Leo Liu  <sdl.web@gmail.com>
20262         * progmodes/octave.el (octave-mode): Backward compatibility fix.
20264 2013-06-21  Glenn Morris  <rgm@gnu.org>
20266         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
20268 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20269             Daniel Hackney  <dan@haxney.org>
20271         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
20272         Consolidate the single-file vs tarball code.
20273         (package-desc-suffix): New function.
20274         (package-desc-full-name): Don't bother inlining it.
20275         (package-load-descriptor): Return the new package-desc.
20276         (package-mark-obsolete): Remove unused arg `package'.
20277         (package-unpack): Make it work for single files as well.
20278         Make it update package-alist.
20279         (package--make-autoloads-and-stuff): Rename from
20280         package--make-autoloads-and-compile.  Don't compile any more.
20281         (package--compile): New function.
20282         (package-generate-description-file): New function, extracted from
20283         package-unpack-single.
20284         (package-unpack-single): Remove.
20285         (package--with-work-buffer): Add indentation and debugging info.
20286         (package-download-single): Remove.
20287         (package-install-from-archive): Rename from package-download-tar, make
20288         it take a pkg-desc, and make it work for single files as well.
20289         (package-download-transaction): Simplify.
20290         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
20291         external tar program.
20292         (package-install-from-buffer): Remove `pkg-desc' argument.
20293         Use package-tar-file-info for tar-mode buffers.
20294         (package-install-file): Simplify accordingly.
20295         (package-archive-base): Change to take a pkg-desc.
20296         * tar-mode.el (tar--check-descriptor): New function, extracted from
20297         tar-get-descriptor.
20298         (tar-get-descriptor): Use it.
20299         (tar-get-file-descriptor): New function.
20300         (tar--extract): New function, extracted from tar-extract.
20301         (tar--extract): Use it.
20302         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
20303         case the summary uses non-ascii.  Adjust to new calling convention of
20304         package-tar-file-info.
20306 2013-06-21  Leo Liu  <sdl.web@gmail.com>
20308         * comint.el (comint-redirect-results-list-from-process):
20309         Fix random delay.  (Bug#14681)
20311 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
20313         * profiler.el (profiler-format-number): Use log, not log10.
20315 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
20317         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
20319 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20321         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
20322         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
20323         yet available.
20324         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
20325         (AUTOGENEL): ... here.
20326         * emacs-lisp/cl-macs.el (cl--sublis): New function.
20327         (cl--defsubst-expand): Use it.
20329 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
20331         * subr.el (log10): Move here from C code, and declare as obsolete.
20332         All uses of (log10 X) replaced with (log X 10).
20334 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
20336         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
20337         Declare with `defvar-local'.
20338         (tabulated-list-use-header-line, tabulated-list-entries)
20339         (tabulated-list-padding, tabulated-list-printer)
20340         (tabulated-list-sort-key): Declare with `defvar-local'.
20341         (tabulated-list-init-header, tabulated-list-print-fake-header):
20342         Use `setq-local'.
20344 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
20346         * arc-mode.el (archive-mode): Add `archive-write-file' to
20347         `write-contents-functions' also for remote files.  (Bug#14652)
20349 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
20351         * cus-edit.el (custom-commands): Fix typos.
20352         (custom-display): Fix tooltip text.
20353         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
20354         Fix typos in docstrings.
20355         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
20356         (custom-unlispify-menu-entry, custom-magic-value-create)
20357         (custom-add-see-also, custom-group-value-create): Use ?\s.
20358         (custom-guess-type, customize-apropos, editable-field)
20359         (custom-face-value-create): Use `string-match-p'.
20360         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
20362         * custom.el (custom-load-symbol): Use `string-match-p'.
20364         * ansi-color.el: Convert to lexical binding.
20365         (ansi-colors): Fix URL.
20366         (ansi-color-context, ansi-color-context-region): Use defvar-local.
20367         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
20368         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
20370 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20372         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
20374         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
20376 2013-06-19  Tom Tromey  <tromey@redhat.com>
20378         * net/eww.el (eww-top-url): Remove.
20379         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
20380         (eww-render): Set new variables.  Don't set eww-top-url.
20381         (eww-handle-link): Handle "prev", "home", and "contents".
20382         Downcase the rel text.
20383         (eww-top-url): Choose best top URL.
20385 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20387         * net/eww.el: Rewrite to implement form elements "by hand" instead of
20388         relying in widget.el.  Using widget.el leads to too many
20389         user interface inconsistencies.
20390         (eww-self-insert): Implement entering commands in text fields.
20391         (eww-process-text-input): New function to make text input field editing
20392         work.
20393         (eww-submit): Rewrite to use the new-style form methods.
20394         (eww-select-display): Display the correct selected item.
20395         (eww-change-select): Implement changing the select value.
20396         (eww-toggle-checkbox): Implement radio/checkboxes.
20397         (eww-update-field): Fix compilation error.
20398         (eww-tag-textarea): Implement <textarea>.
20400         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
20401         we don't shadow mode-specific bindings.
20403         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
20404         nothing to push.
20406         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
20408 2013-06-19  Glenn Morris  <rgm@gnu.org>
20410         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
20412 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
20414         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
20415         not needed.
20417         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
20419 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20421         * net/browse-url.el (browse-url-browser-function):
20422         `eww-browse-url' has the right calling signature, `eww' does not.
20424 2013-06-19  Glenn Morris  <rgm@gnu.org>
20426         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20427         Only eval autoloaded macros.
20428         (byte-compile-autoload): Only give the macro warning for macros.
20430         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
20431         (ps-underlined-faces): Declare.
20433         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
20434         (speedbar-add-supported-extension): Declare.
20436         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
20437         Don't include a date stamp in the header of the generated file;
20438         it leads to needless differences between output files.
20440 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
20442         * net/secrets.el (secrets-struct-secret-content-type):
20443         Replace check of introspection data by a test call of "CreateItem".
20444         Some servers do not offer introspection.
20446 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20448         * electric.el (electric-pair-mode): Improve interaction with
20449         electric-layout-mode.
20450         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
20451         (electric-pair-syntax): Use text-mode-syntax-table in comments
20452         and strings.
20453         (electric-pair--insert): New function.
20454         (electric-pair-post-self-insert-function): Use it and
20455         electric--after-char-pos.
20457 2013-06-19  Leo Liu  <sdl.web@gmail.com>
20459         * progmodes/octave.el (octave-help): Fix regexp.
20461 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20463         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
20464         (shr-table-horizontal-line): Allow nil as a value, and change the
20465         default.
20466         (shr-insert-table-ruler): Respect the nil value.
20468 2013-06-18  Tom Tromey  <tromey@barimba>
20470         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20471         New defvars.
20472         (eww-open-file): New defun.
20473         (eww-render): Initialize new variables.
20474         (eww-display-html): Handle "link" and "a".
20475         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
20476         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
20477         (eww-back-url): Rename from eww-previous-url.
20478         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20479         New defuns.
20481 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
20483         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
20484         Distinguish ternary operator tokens from slash symbol and slash
20485         char literal.
20487 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
20489         Convert symbol prettification into minor mode and global minor mode.
20491         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
20492         `prog-prettify-symbols', and make a local defvar instead of defcustom.
20493         (prettify-symbols--keywords): Rename from
20494         `prog-prettify-symbols-alist' and make a local defvar.
20495         (prettify-symbols--compose-symbol): Rename from
20496         `prog--prettify-font-lock-compose-symbol'.
20497         (prettify-symbols--make-keywords): Rename from
20498         `prog-prettify-font-lock-symbols-keywords' and simplify.
20499         (prog-prettify-install): Remove.
20500         (prettify-symbols-mode): New minor mode, based on
20501         `prog-prettify-install'.
20502         (turn-on-prettify-symbols-mode): New function.
20503         (global-prettify-symbols-mode): New globalized minor mode.
20505         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20506         * progmodes/cfengine.el (cfengine3-mode):
20507         * progmodes/perl-mode.el (perl-mode): Don't call
20508         `prog-prettify-install'; set `prettify-symbols-alist' instead.
20510 2013-06-18  Juri Linkov  <juri@jurta.org>
20512         * files-x.el (modify-file-local-variable-message): New function.
20513         (modify-file-local-variable)
20514         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
20515         and call `modify-file-local-variable-message' when it's non-nil.
20516         (add-file-local-variable, delete-file-local-variable)
20517         (add-file-local-variable-prop-line)
20518         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
20519         and use it.  (Bug#9820)
20521 2013-06-18  Juri Linkov  <juri@jurta.org>
20523         * emulation/vi.el (vi-shell-op):
20524         * emulation/vip.el (vip-execute-com, ex-command):
20525         * emulation/viper-cmd.el (viper-exec-bang):
20526         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
20527         the call of `shell-command-on-region'.  (Bug#14637)
20529         * simple.el (shell-command-on-region): Doc fix.
20531 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20533         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
20534         (bug#14633).
20536 2013-06-18  Glenn Morris  <rgm@gnu.org>
20538         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20540         * newcomment.el (comment-search-forward, comment-search-backward):
20541         Doc fix.  (Bug#14376)
20543 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
20545         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
20546         (buffer-face-mode-invoke): Doc fix.
20548 2013-06-18  Matthias Meulien  <orontee@gmail.com>
20550         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
20551         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
20553 2013-06-18  Glenn Morris  <rgm@gnu.org>
20555         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
20556         Replace obsolete function generic-make-keywords with its expansion.
20558         * progmodes/python.el (ffap-alist): Declare.
20560         * textmodes/reftex.el (bibtex-mode-map): Declare.
20562 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20564         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
20565         (package-unpack, package-unpack-single): Return the pkg-dir.
20566         (package-download-transaction): Use it to update package-alist.
20568 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20570         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
20571         possible choice.
20573 2013-06-17  Juri Linkov  <juri@jurta.org>
20575         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
20577 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
20579         * emacs-lisp/package.el (package-load-descriptor):
20580         Remove `with-syntax-table' call, `read' doesn't need it.
20581         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
20583 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
20585         * startup.el (command-line): Expand package name returned by
20586         `package--description-file' (bug#14639).
20588 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
20590         * emacs-lisp/package.el (package-load-descriptor): Do not call
20591         `emacs-lisp-mode', just use its syntax table.
20593 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
20595         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
20596         `font-lock-extra-managed-props' if any prettifying keyword is added.
20597         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
20598         (prog-mode): Use `setq-local'.
20600 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20602         * international/characters.el (standard-case-table): Set syntax of ?»
20603         and ?« to punctuation.
20605 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
20607         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
20608         Save relevant match data before calling `syntax-ppss' (bug#14595).
20610 2013-06-15  Juri Linkov  <juri@jurta.org>
20612         * files-x.el (modify-file-local-variable-prop-line): Add local
20613         variables to the end of the existing comment on the first line.
20614         Use `file-auto-mode-skip' to skip interpreter magic line,
20615         and also skip XML declaration.
20617 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20619         * startup.el (package--builtin-versions): New var.
20620         (package-subdirectory-regexp): Remove.
20621         (package--description-file): Hard code its value instead.
20623         * emacs-lisp/package.el: Don't activate packages older than builtin.
20624         (package-obsolete-list): Rename from package-obsolete-alist, and make
20625         it into a simple list of package-desc.
20626         (package-strip-version): Remove.
20627         (package-built-in-p): Use package--builtin-versions.
20628         (package-mark-obsolete): Simplify.
20629         (package-process-define-package): Mark it obsolete if older than the
20630         builtin version.
20631         (package-handle-response): Use line-end-position.
20632         (package-read-archive-contents, package--download-one-archive):
20633         Simplify.
20634         (package--add-to-archive-contents): Skip if older than the builtin or
20635         installed version.
20636         (package-menu-describe-package): Fix last change.
20637         (package-list-unversioned): New var.
20638         (package-menu--generate): Use it.
20640         * emacs-lisp/autoload.el: Manage package--builtin-versions.
20641         (autoload--insert-text, autoload--insert-cookie-text): New functions.
20642         (autoload-builtin-package-versions): New variable.
20643         (autoload-generate-file-autoloads): Use them.
20644         Remove the list of autoloaded functions/macros from the
20645         (autoload...) comments.
20647         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
20649 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
20651         * simple.el (line-move-partial): Don't jump to the next screen
20652         line as soon as it becomes visible.  Instead, continue enlarging
20653         the vscroll until the portion of a tall screen line that's left on
20654         display is about the height of the frame's default font.
20655         (Bug#14567)
20657 2013-06-15  Glenn Morris  <rgm@gnu.org>
20659         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
20660         compilation-error-regexp-alist void, or local while let-bound.
20662         * progmodes/make-mode.el (makefile-mode-syntax-table):
20663         Treat "=" as punctuation.  (Bug#14614)
20665 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
20667         * help-fns.el (describe-variable):
20668         Add extra line for permanent-local variables.
20670 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
20672         * progmodes/scheme.el (scheme-font-lock-keywords-2):
20673         Add export, import, library.  (Bug#9164)
20674         (library): Set indent function.
20676 2013-06-14  Glenn Morris  <rgm@gnu.org>
20678         * term/xterm.el (xterm--query):
20679         Stop after first matching handler.  (Bug#14615)
20681 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
20683         Add support for dired in saveplace.
20684         * dired.el (dired-initial-position-hook): New variable.
20685         (dired-initial-position): Call hook to place cursor position.
20686         * saveplace.el (save-place-to-alist): Add dired position.
20687         (save-place-dired-hook): New function.
20689 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20691         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
20692         through a symbol rather than letrec.
20694         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
20695         (package-desc): Add `dir' field.
20696         (package-desc-full-name): New function.
20697         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
20698         (package-maybe-load-descriptor): Remove.
20699         (package-load-all-descriptors): Just call package-load-descriptor.
20700         (package--disabled-p): New function.
20701         (package-desc-vers, package-desc-doc): Remove aliases.
20702         (package--dir): Remove function.
20703         (package-activate): Check if a package is disabled.
20704         (package-process-define-package): New function, extracted from
20705         define-package.
20706         (define-package): Turn into a place holder.
20707         (package-unpack-single, package-tar-file-info):
20708         Use package--description-file.
20709         (package-compute-transaction): Use package--disabled-p.
20710         (package-download-transaction): Don't call
20711         package-maybe-load-descriptor since they're all loaded anyway.
20712         (package-install): Change argument to be a pkg-desc.
20713         (package-delete): Use a single pkg-desc argument.
20714         (describe-package-1): Use package-desc-dir instead of package--dir.
20715         Use package-desc property instead of package-symbol.
20716         (package-install-button-action): Adjust accordingly.
20717         (package--push): Rewrite.
20718         (package-menu--print-info): Adjust accordingly.  Change the ID format
20719         to be a pkg-desc.
20720         (package-menu-describe-package, package-menu-get-status)
20721         (package-menu--find-upgrades, package-menu-mark-upgrades)
20722         (package-menu-execute, package-menu--name-predicate):
20723         Adjust accordingly.
20724         * startup.el (package--description-file): New function.
20725         (command-line): Use it.
20726         * emacs-lisp/package-x.el (package-upload-buffer-internal):
20727         Use package-desc-version.
20729         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
20730         (byte-compile-preprocess): Use it.
20731         (byte-compile-file-form-defalias): Try a bit harder to use macros we
20732         can't quite recognize.
20733         (byte-compile-add-to-list): Remove.
20734         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
20735         (cconv-closure-convert): Add assertion.
20737         * emacs-lisp/map-ynp.el: Use lexical-binding.
20738         (map-y-or-n-p): Remove unused vars `tail' and `object'.
20739         Factor out some repeated code.
20741 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20743         * subr.el (with-eval-after-load): New macro.
20744         (eval-after-load): Allow form to be a function.
20745         take advantage of lexical-binding.
20746         (do-after-load-evaluation): Use dolist and adjust to new format.
20747         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
20749 2013-06-13  Juri Linkov  <juri@jurta.org>
20751         * replace.el (perform-replace): Display "symbol " and other search
20752         modes from `isearch-message-prefix' in the *Help* buffer.
20754         * isearch.el (isearch-query-replace): Add " symbol" and other
20755         possible search modes from `isearch-message-prefix' to the prompt.
20756         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
20757         when reading a regexp to collect.
20759 2013-06-13  Juri Linkov  <juri@jurta.org>
20761         * isearch.el (word-search-regexp): Match whitespace if the search
20762         string begins or ends in whitespace.  The LAX arg is applied to
20763         both ends of the search string.  Use `regexp-quote' and explicit
20764         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
20765         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
20766         boundaries are replaced with symbol boundaries, and characters
20767         between symbols match non-word non-symbol syntax.  (Bug#14602)
20769 2013-06-13  Juri Linkov  <juri@jurta.org>
20771         * isearch.el (isearch-del-char): Don't exceed the length of
20772         `isearch-string' by the prefix arg.  (Bug#14563)
20774 2013-06-13  Juri Linkov  <juri@jurta.org>
20776         * isearch.el (isearch-yank-word, isearch-yank-line)
20777         (isearch-char-by-name, isearch-quote-char)
20778         (isearch-printing-char, isearch-process-search-char):
20779         Add optional count prefix arg.  (Bug#14563)
20781         * international/isearch-x.el
20782         (isearch-process-search-multibyte-characters):
20783         Add optional count prefix arg.
20785 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20787         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
20788         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
20789         lexical-binding.
20791 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
20793         * subr.el (set-temporary-overlay-map): Add on-exit argument.
20795 2013-06-13  Glenn Morris  <rgm@gnu.org>
20797         * startup.el (tty-handle-args):
20798         Don't just discard "--" and anything after.  (Bug#14608)
20800         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
20802 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
20804         Implement changes in Secret Service API.  Make it backward compatible.
20805         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
20806         (secrets-create-item): Use it.  Prefix properties with interface.
20808 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
20810         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
20811         (term-emulate-terminal): Respect term-suppress-hard-newline.
20813 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
20815         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
20816         Only remove a `thumb-file' overlay.  (Bug#14548)
20818 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
20820         * mail/reporter.el (reporter-submit-bug-report):
20821         Handle missing package-name.  (Bug#14600)
20823 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
20825         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
20826         (reftex-citation-prompt, reftex-default-bibliography)
20827         (reftex-bib-or-thebib, reftex-get-bibfile-list)
20828         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
20829         (reftex-bib-sort-author, reftex-bib-sort-year)
20830         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
20831         (reftex-extract-bib-entries-from-thebibliography)
20832         (reftex-get-bibkey-default, reftex-get-bib-names)
20833         (reftex-parse-bibtex-entry, reftex-get-bib-field)
20834         (reftex-format-bib-entry, reftex-parse-bibitem)
20835         (reftex-format-bibitem, reftex-do-citation)
20836         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
20837         (reftex-restrict-bib-matches, reftex-extract-bib-file)
20838         (reftex-insert-bib-matches, reftex-format-citation)
20839         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
20840         (reftex-create-bibtex-file): Add docstrings, mostly by converting
20841         existing comments into docstrings.
20843 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
20845         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
20847 2013-06-12  Andreas Schwab  <schwab@suse.de>
20849         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
20850         for auto-save files.
20852 2013-06-12  Glenn Morris  <rgm@gnu.org>
20854         * ido.el (ido-delete-ignored-files): Remove.
20855         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
20856         Go back to calling ido-ignore-item-p directly.
20858 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
20860         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
20862         * ido.el (ido-delete-ignored-files): New function,
20863         split from ido-make-file-list-1.
20864         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
20865         (ido-make-file-list-1): Use ido-delete-ignored-files.
20867 2013-06-12  Leo Liu  <sdl.web@gmail.com>
20869         * progmodes/octave.el (inferior-octave-startup)
20870         (inferior-octave-completion-table)
20871         (inferior-octave-track-window-width-change)
20872         (octave-eldoc-function-signatures, octave-help)
20873         (octave-find-definition): Use single quoted strings.
20874         (inferior-octave-startup-args): Change default value.
20875         (inferior-octave-startup): Do not hard code "-i" and
20876         "--no-line-editing".
20877         (inferior-octave-resync-dirs): Add optional arg NOERROR.
20878         (inferior-octave-directory-tracker): Use it.
20879         (octave-goto-function-definition): Robustify.
20880         (octave-help): Support highlighting operators in 'See also'.
20881         (octave-find-definition): Find subfunctions only in Octave mode.
20883 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20885         * help-fns.el (help-fns--compiler-macro): If the handler function is
20886         named, then put a link to it.
20887         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
20888         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
20889         (cl-typep): Use it.
20890         (cl-eval-when): Simplify debug spec.
20891         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
20892         compiler-macro function instead of setting `compiler-macro-file'.
20894 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
20896         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
20897         * vc/vc-hooks.el (vc-stay-local): Doc fix.
20899 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20900             Daniel Hackney  <dan@haxney.org>
20902         First part of Daniel Hackney's patch to package.el.
20903         * emacs-lisp/package.el: Use defstruct.
20904         (package-desc): New, main struct.
20905         (package--bi-desc, package--ac-desc): New structs, used to describe the
20906         format in external files.
20907         (package-desc-vers): Replace with package-desc-version accessor.
20908         (package-desc-doc): Replace with package-desc-summary accessor.
20909         (package-activate-1): Remove `package' arg since the pkg-vec now
20910         includes the name.
20911         (define-package): Use package-desc-from-define.
20912         (package-unpack-single): Change file-name arg to be a symbol.
20913         (package--add-to-archive-contents): Use package-desc-create and new
20914         accessor functions to package--ac-desc.
20915         (package-buffer-info, package-tar-file-info): Return a package-desc.
20916         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
20917         arg to be a package-desc.
20918         (package-install-file): Adjust accordingly.  Use \' to match EOS.
20919         (package--from-builtin): New function.
20920         (describe-package-1, package-menu--generate): Use it.
20921         (package--make-autoloads-and-compile): Change name arg to be a symbol.
20922         (package-generate-autoloads): Idem and return the name of the file.
20923         * emacs-lisp/package-x.el (package-upload-buffer-internal):
20924         Change pkg-info arg to be a package-desc.
20925         Use package-make-ac-desc.
20926         (package-upload-file): Use \' to match EOS.
20927         * finder.el (finder-compile-keywords): Use package-make-builtin.
20929 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20931         * vc/vc.el (vc-deduce-fileset): Change error message.
20932         (vc-read-backend): New function.
20933         (vc-next-action): Use it.
20935         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
20937         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
20938         (prolog-font-lock-keywords): Use regexp-opt instead.
20939         Don't manually highlight strings.
20940         (prolog-mode-variables): Simplify comment-start-skip.
20941         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
20943         * emacs-lisp/generic.el (generic--normalise-comments)
20944         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
20945         (generic-mode-set-comments): Use them.
20946         (generic-bracket-support): Use setq-local.
20947         (generic-make-keywords-list): Declare obsolete.
20949 2013-06-11  Glenn Morris  <rgm@gnu.org>
20951         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20952         Prettify after setting font-lock-defaults.  (Bug#14574)
20954 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
20956         * replace.el (query-replace, occur-read-regexp-defaults-function)
20957         (replace-search):
20958         * subr.el (declare-function, number-sequence, local-set-key)
20959         (substitute-key-definition, locate-user-emacs-file)
20960         (with-silent-modifications, split-string, eval-after-load):
20961         Fix typos, remove unneeded backslashes and reflow some docstrings.
20963 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20965         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
20966         default for Elisp files.
20968 2013-06-11  Glenn Morris  <rgm@gnu.org>
20970         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
20971         although define-derived-mode was doing this anyway.  (Bug#14583)
20973 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
20975         * allout.el (allout-encryption-plaintext-sanitization-regexps):
20976         Fix make-variable-buffer-local call to refer to the correct variable.
20978 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
20980         * eshell/em-term.el (eshell-visual-commands)
20981         (eshell-visual-subcommands, eshell-visual-options):
20982         Add summary line to docstrings.  Add cross-references.
20984 2013-06-10  Glenn Morris  <rgm@gnu.org>
20986         * epa.el (epa-read-file-name): New function.  (Bug#14510)
20987         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
20989 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
20991         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
20992         output redirection to be ignored with visual commands.
20994 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
20996         * eshell/em-term.el (eshell-visual-command-p): New function.
20997         (eshell-term-initialize): Move long lambda to separate function
20998         eshell-visual-command-p.
20999         * eshell/em-dirs.el (eshell-dirs-initialize):
21000         * eshell/em-script.el (eshell-script-initialize):
21001         Add missing #' to lambda.
21003 2013-06-08  Leo Liu  <sdl.web@gmail.com>
21005         * progmodes/octave.el (octave-add-log-current-defun): New function.
21006         (octave-mode): Set add-log-current-defun-function.
21007         (octave-goto-function-definition): Do not move point if not found.
21008         (octave-find-definition): Enhance to try subfunctions first.
21010 2013-06-08  Glenn Morris  <rgm@gnu.org>
21012         * emacs-lisp/bytecomp.el (byte-compile-char-before)
21013         (byte-compile-backward-char, byte-compile-backward-word):
21014         Improve previous change, to handle non-explicit nil.
21016 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
21018         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
21019         (smie--opener/closer-at-point): New function.
21020         (smie--matching-block-data): Use it.  Don't match from right after an
21021         opener or right before a closer.  Obey smie-blink-matching-inners.
21022         Don't signal a mismatch for repeated inners like "switch..case..case".
21024 2013-06-07  Leo Liu  <sdl.web@gmail.com>
21026         * progmodes/octave.el (octave-mode): Set comment-use-global-state
21027         to t.  (Bug#14303)
21028         (octave-function-header-regexp): Fix.  (Bug#14570)
21029         (octave-help-mode-finish-hook, octave-help-mode-finish):
21030         Remove.  Just use temp-buffer-show-hook.
21032         * newcomment.el (comment-search-backward): Revert last change.
21033         (Bug#14434)
21035         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
21037 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
21039         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
21040         through xargs, to avoid failure due to MS-Windows limitations on
21041         command-line length.
21043 2013-06-06  Glenn Morris  <rgm@gnu.org>
21045         * font-lock.el (lisp-font-lock-keywords-2):
21046         Treat user-error like error.
21048         * emacs-lisp/bytecomp.el (byte-compile-char-before)
21049         (byte-compile-backward-char, byte-compile-backward-word):
21050         Handle explicit nil arguments.  (Bug#14565)
21052 2013-06-05  Alan Mackenzie  <acm@muc.de>
21054         * isearch.el (isearch-allow-prefix): New user option.
21055         (isearch-other-meta-char): Don't exit isearch when a prefix
21056         argument is typed whilst `isearch-allow-prefix' is non-nil.
21057         (Bug#9706)
21059 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21061         * autorevert.el (auto-revert-notify-handler): Use memq.
21062         Hide assertion failure.
21064         * skeleton.el: Use cl-lib.
21065         (skeleton-further-elements): Use defvar-local.
21066         (skeleton-insert): Use cl-progv.
21068 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
21070         * progmodes/prog-mode.el (prog-prettify-symbols)
21071         (prog-prettify-install): Update docstrings.
21073 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21075         * simple.el: Move all the prog-mode code to prog-mode.el.
21076         * progmodes/prog-mode.el: New file.
21077         * loadup.el: Add prog-mode.el.
21079 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
21081         * simple.el (prog-prettify-symbols): Add version.
21082         (prog-prettify-install): Add convenience function to prettify symbols.
21084         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
21085         (perl--augmented-font-lock-keywords-1)
21086         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
21087         variables and use it.
21089         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21090         (cfengine3-mode): Remove unneeded variable and use it.
21092         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21093         (lisp--augmented-font-lock-keywords-1)
21094         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
21095         Remove unneeded variables and use it.
21097 2013-06-05  João Távora  <joaotavora@gmail.com>
21099         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
21100         to point when opening the connection.  (Bug#14380)
21102 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21104         * subr.el (load-history-regexp, load-history-filename-element)
21105         (eval-after-load, after-load-functions, do-after-load-evaluation)
21106         (eval-next-after-load, display-delayed-warnings)
21107         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
21108         definition of save-match-data.
21109         (overriding-local-map): Remove accidental obsolescence declaration.
21111         * emacs-lisp/edebug.el (edebug-result): Move before first use.
21113 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
21115         Generalize symbol prettify support to prog-mode and implement it
21116         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
21117         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
21118         (prog--prettify-font-lock-compose-symbol)
21119         (prog-prettify-font-lock-symbols-keywords): New variables and
21120         functions to support symbol prettification.
21121         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21122         (lisp--augmented-font-lock-keywords-1)
21123         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
21124         (lisp--prettify-symbols-alist): Implement prettify of lambda.
21125         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21126         (cfengine3--prettify-symbols-alist, cfengine3-mode):
21127         Implement prettify of -> => :: strings.
21128         * progmodes/perl-mode.el (perl-prettify-symbols)
21129         (perl--font-lock-compose-symbol)
21130         (perl--font-lock-symbols-keywords): Move to prog-mode.
21131         (perl--prettify-symbols-alist): Prettify -> => :: strings.
21132         (perl-font-lock-keywords-1)
21133         (perl-font-lock-keywords-2): Remove explicit prettify support.
21134         (perl--augmented-font-lock-keywords)
21135         (perl--augmented-font-lock-keywords-1)
21136         (perl--augmented-font-lock-keywords-2, perl-mode):
21137         Implement prettify support.
21139 2013-06-05  Leo Liu  <sdl.web@gmail.com>
21141         Re-implement SMIE matching block highlight using
21142         show-paren-data-function.  (Bug#14395)
21143         * emacs-lisp/smie.el (smie-matching-block-highlight)
21144         (smie--highlight-matching-block-overlay)
21145         (smie--highlight-matching-block-lastpos)
21146         (smie-highlight-matching-block)
21147         (smie-highlight-matching-block-mode): Remove.
21148         (smie--matching-block-data-cache): New variable.
21149         (smie--matching-block-data): New function.
21150         (smie-setup): Use smie--matching-block-data for
21151         show-paren-data-function.
21153         * progmodes/octave.el (octave-mode-menu): Fix.
21154         (octave-find-definition): Skip garbage lines.
21156 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21158         Fix compilation error with simultaneous dynamic+lexical scoping.
21159         Add warning when a defvar appears after the first let-binding.
21160         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
21161         (byte-compile-close-variables): Initialize it.
21162         (byte-compile--declare-var): New function.
21163         (byte-compile-file-form-defvar)
21164         (byte-compile-file-form-define-abbrev-table)
21165         (byte-compile-file-form-custom-declare-variable): Use it.
21166         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
21167         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
21168         (byte-compile-bind): Handle dynamic bindings that shadow
21169         lexical bindings.
21170         (byte-compile-unbind): Make arg non-optional.
21171         (byte-compile-let): Simplify.
21172         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
21173         (cconv--analyse-function, cconv-analyse-form): Populate it.
21174         Protect byte-compile-bound-variables to limit the scope of defvars.
21175         (cconv-analyse-form): Add missing rule for (defvar <foo>).
21176         Remove unneeded rule for `declare'.
21178         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
21179         so as to avoid depending on cl-adjoin at run-time.
21180         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
21182         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
21183         (macroexp--warn-and-return): Use it.
21185 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21187         * subr.el: Convert to lexical binding.
21188         (overriding-local-map): Make obsolete.
21189         (add-to-list): Doc fix.  Add compiler macro.
21190         (read-key): Swap values of local maps.
21192 2013-06-05  Leo Liu  <sdl.web@gmail.com>
21194         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
21196 2013-06-04  Leo Liu  <sdl.web@gmail.com>
21198         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
21199         (compilation-auto-jump): Suppress the "Mark set" message to give
21200         way to exit message.
21202 2013-06-04  Alan Mackenzie  <acm@muc.de>
21204         Remove faulty optimization from indentation calculation.
21205         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
21206         search limit based on 2000 characters back from indent-point.
21208 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
21210         * eshell/em-term.el (cl-lib): Require `cl-lib'.
21212 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
21214         * emacs-lisp/lisp.el: Use lexical-binding.
21215         (lisp--local-variables-1, lisp--local-variables): New functions.
21216         (lisp--local-variables-completion-table): New var.
21217         (lisp-completion-at-point): Use it complete let-bound vars.
21219         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
21220         eagerly (bug#14422).
21222 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
21224         * autorevert.el (auto-revert-notify-enabled)
21225         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21226         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
21227         (auto-revert-notify-handler): Handle also gfilenotify.
21229         * subr.el (file-notify-handle-event): New defun.  Replacing ...
21230         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
21231         Remove.
21233 2013-06-03  Juri Linkov  <juri@jurta.org>
21235         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
21236         `M-s h .'.  (Bug#14427)
21238         * hi-lock.el (highlight-symbol-at-point): New alias for the new
21239         command `hi-lock-face-symbol-at-point'.
21240         (hi-lock-face-symbol-at-point): New command.
21241         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
21242         (hi-lock-menu): Add `highlight-symbol-at-point'.
21243         (hi-lock-mode): Doc fix.
21245         * isearch.el (isearch-forward-symbol-at-point): New command.
21246         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
21247         (isearch-highlight-regexp): Add a regexp which matches
21248         words/symbols for word/symbol mode.
21250         * subr.el (find-tag-default-bounds): New function with the body
21251         mostly moved from `find-tag-default'.
21252         (find-tag-default): Move most code to `find-tag-default-bounds',
21253         call it and apply `buffer-substring-no-properties' afterwards.
21255 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
21257         * eshell/em-term.el (eshell-term-initialize):
21258         Use `cl-intersection' rather than `intersection'.
21260 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
21262         * vc/log-view.el: Doc fix.
21263         (log-view-mode-map): Copy keymap from `special-mode-map'.
21265 2013-06-02  Eric Ludlam  <zappo@gnu.org>
21267         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
21268         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
21269         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
21270         (eieio-unbound, eieio-default-superclass)
21271         (eieio--define-field-accessors, method-static, method-before)
21272         (method-primary, method-after, method-num-lists)
21273         (method-generic-before, method-generic-primary)
21274         (method-generic-after, method-num-slots)
21275         (eieio-specialized-key-to-generic-key)
21276         (eieio--check-type, class-v, class-p)
21277         (eieio-class-name, define-obsolete-function-alias)
21278         (eieio-class-parents-fast, eieio-class-children-fast)
21279         (same-class-fast-p, class-constructor, generic-p)
21280         (generic-primary-only-p, generic-primary-only-one-p)
21281         (class-option-assoc, class-option, eieio-object-p)
21282         (class-abstract-p, class-method-invocation-order)
21283         (eieio-defclass-autoload-map, eieio-defclass-autoload)
21284         (eieio-class-un-autoload, eieio-defclass)
21285         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
21286         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
21287         (eieio--defgeneric-init-form, eieio-defgeneric-form)
21288         (eieio-defgeneric-reset-generic-form)
21289         (eieio-defgeneric-form-primary-only)
21290         (eieio-defgeneric-reset-generic-form-primary-only)
21291         (eieio-defgeneric-form-primary-only-one)
21292         (eieio-defgeneric-reset-generic-form-primary-only-one)
21293         (eieio-unbind-method-implementations)
21294         (eieio--defmethod, eieio--typep)
21295         (eieio-perform-slot-validation, eieio-validate-slot-value)
21296         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
21297         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
21298         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
21299         (eieio-slot-name-index, eieio-class-slot-name-index)
21300         (eieio-set-defaults, eieio-initarg-to-attribute)
21301         (eieio-attribute-to-initarg, eieio-c3-candidate)
21302         (eieio-c3-merge-lists, eieio-class-precedence-c3)
21303         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
21304         (eieio-class-precedence-list, eieio-generic-call-methodname)
21305         (eieio-generic-call-arglst, eieio-generic-call-key)
21306         (eieio-generic-call-next-method-list)
21307         (eieio-pre-method-execution-functions, eieio-generic-call)
21308         (eieio-generic-call-primary-only, eieiomt-method-list)
21309         (eieiomt-optimizing-obarray, eieiomt-install)
21310         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
21311         (eieio-generic-form, eieio-defmethod, make-obsolete)
21312         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
21313         (defclass): Remove `eval-and-compile' from macro.
21314         (call-next-method, shared-initialize): Instead of using
21315         `scoped-class' variable, use new eieio--scoped-class, and
21316         eieio--with-scoped-class.
21317         (initialize-instance): Rename local variable 'scoped-class' to
21318         'this-class' to remove ambiguitity from old global.
21320         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
21321         eieio.el.
21322         (eieio--scoped-class-stack): New variable.
21323         (eieio--scoped-class): New fcn.
21324         (eieio--with-scoped-class): New scoping macro.
21325         (eieio-defclass): Use pushnew instead of add-to-list.
21326         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
21327         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
21328         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
21329         `scoped-class' variable, use new eieio--scoped-class, and
21330         eieio--with-scoped-class.
21332         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
21334 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
21336         * eshell/esh-ext.el (eshell-external-command): Pass args to
21337         `eshell-find-interpreter'.
21338         (eshell-find-interpreter): Add new second parameter ARGS.
21340         * eshell/em-script.el (eshell-script-initialize): Add second arg
21341         to the function added as MATCH to `eshell-interpreter-alist'.
21343         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
21344         the function added as MATCH to `eshell-interpreter-alist'.
21346         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
21347         (eshell-visual-options): New defcustom.
21348         (eshell-escape-control-x): Adapt docstring.
21349         (eshell-term-initialize): Test `eshell-visual-subcommands' and
21350         `eshell-visual-options' in addition to `eshell-visual-commands'.
21351         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
21353 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
21355         * progmodes/python.el (python-indent-block-enders): Add break,
21356         continue and raise keywords.
21358 2013-06-01  Glenn Morris  <rgm@gnu.org>
21360         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
21362         Plain (f)boundp silences compilation warnings since Emacs 22.1.
21363         * progmodes/cc-cmds.el (delete-forward-p):
21364         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
21365         * progmodes/cc-engine.el (buffer-syntactic-context):
21366         * progmodes/cc-fonts.el (face-property-instance):
21367         * progmodes/cc-mode.el (set-keymap-parents):
21368         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
21369         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
21370         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
21371         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
21372         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21374         * progmodes/cc-vars.el (other): Emacs has this widget since
21375         at least 21.1, so don't (re)define it.
21377         * eshell/em-cmpl.el (eshell-cmpl-initialize):
21378         Replace the obsolete alias pcomplete-arg-quote-list.
21380 2013-06-01  Leo Liu  <sdl.web@gmail.com>
21382         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
21383         punctuation syntax.
21384         (inferior-octave-minimal-columns)
21385         (inferior-octave-last-column-width): New variables.
21386         (inferior-octave-track-window-width-change): New function.
21387         (inferior-octave-mode): Adjust column width so that Octave output,
21388         for example from 'ls', can fit into the window nicely.
21390 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
21392         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21393         Highlight expansions inside regexp literals.
21395 2013-05-31  Glenn Morris  <rgm@gnu.org>
21397         * obsolete/sym-comp.el (symbol-complete):
21398         Replace obsolete completion-annotate-function.
21400         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
21402 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
21404         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21405         New function, checks if point is inside a literal that allows
21406         expression expansion.
21407         (ruby-syntax-propertize-expansion): Use it.
21408         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
21409         around the body.
21411 2013-05-30  Juri Linkov  <juri@jurta.org>
21413         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
21414         to "\M-si".
21415         (isearch-invisible): New variable.
21416         (isearch-forward): Doc fix.
21417         (isearch-mode): Set `isearch-invisible'
21418         to the value of `search-invisible'.
21419         (isearch-toggle-case-fold): Doc fix.
21420         (isearch-toggle-invisible): New command.
21421         (isearch-query-replace): Let-bind `search-invisible'
21422         to the value of `isearch-invisible'.
21423         (isearch-search): Use `isearch-invisible' instead of
21424         `search-invisible'.  Let-bind `search-invisible'
21425         to the value of `isearch-invisible'.  (Bug#11378)
21427 2013-05-30  Juri Linkov  <juri@jurta.org>
21429         * replace.el (perform-replace): Avoid `isearch-range-invisible'
21430         call when `query-flag' is nil and `search-invisible' is non-nil.
21431         (Bug#11746)
21433 2013-05-30  Glenn Morris  <rgm@gnu.org>
21435         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
21437         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
21438         (cc-require): Suppress spurious "noruntime" warnings.
21439         (cc-require-when-compile): Use fboundp, for sake of compiler.
21441         * progmodes/cc-mode.el: Move load of cc-vars before that of
21442         cc-langs (which in turn loads cc-vars), to quieten compiler.
21444 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21446         * paren.el: Simplify the code.
21447         (show-paren-mode): Always start the timer.
21448         (show-paren--idle-timer): Rename from show-paren-idle-timer.
21449         (show-paren--overlay, show-paren--overlay-1): Rename from
21450         show-paren-overlay and show-paren-overlay-1, and initialize to an
21451         overlay rather than to nil.
21452         (show-paren-function): Misc cleanup and simplifications.
21454 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21456         * paren.el (show-paren-data-function): New hook.
21457         (show-paren--default): New function, extracted from show-paren-function.
21458         (show-paren-function): Use show-paren-data-function.
21460 2013-05-30  Glenn Morris  <rgm@gnu.org>
21462         * ielm.el (ielm-map, ielm-complete-symbol):
21463         Use completion-at-point rather than obsolete functions.
21464         (inferior-emacs-lisp-mode): Doc fix.
21465         Set completion-at-point-functions, rather than
21466         comint-dynamic-complete-functions.
21468         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
21469         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
21470         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
21472         * image.el (image-animated-p): Tweak definition.
21474         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
21475         (rlogin-process-connection-type): Tweak default.  Add set-after.
21476         (rlogin-host): Doc fix.
21477         (rlogin): Tweak prompt.
21478         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
21480         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
21481         * progmodes/tcl.el (inferior-tcl-mode-map):
21482         Use completion-at-point rather than obsolete alias.
21484         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
21486         * minibuffer.el (read-file-name-completion-ignore-case):
21487         Move before completion--in-region, for eager macro expansion.
21489 2013-05-29  Juri Linkov  <juri@jurta.org>
21491         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
21492         for total count of matching lines.  Add `global-matches' for total
21493         count of matches.  Rename `matches' to `lines' for count of
21494         matching lines.  Add `matches' for count of matches.
21495         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
21496         to `prev-line' for line number of prev match endpt.
21497         Increment `matches' for every match.  Print the number of
21498         matching lines in the header.
21499         (occur-context-lines): Rename `lines' to `curr-line'.
21500         Rename `prev-lines' to `prev-line'.  (Bug#14017)
21502 2013-05-29  Juri Linkov  <juri@jurta.org>
21504         * replace.el (perform-replace): Add `skip-read-only-count',
21505         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
21506         Increment them for corresponding conditions and report the number
21507         of skipped occurrences in the final message.  (Bug#11746)
21508         (query-replace, query-replace-regexp, query-replace-regexp-eval)
21509         (replace-string, replace-regexp): Doc fix.
21511 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21513         * emacs-lisp/trace.el (trace--read-args): Provide a default.
21515         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
21516         prog-mode-map (bug#14504).
21518 2013-05-29  Leo Liu  <sdl.web@gmail.com>
21520         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
21521         (octave-help): Small simplification.
21523         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
21524         off the highlight first.
21526 2013-05-29  Glenn Morris  <rgm@gnu.org>
21528         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
21529         Handle idlwave-last-system-routine-info-cons-cell being nil.
21531         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
21532         (idlwave-write-paths): Simplify via with-temp-buffer.
21534         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
21535         * emulation/cua-rect.el: Also load cua-base at run time.
21537         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21538         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
21539         (cperl-imenu-on-info): Require imenu.
21541 2013-05-28  Alan Mackenzie  <acm@muc.de>
21543         Handle "capitalised keywords" correctly.
21544         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
21546 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
21548         * eshell/em-unix.el: Add -r option to cp.
21550 2013-05-28  Glenn Morris  <rgm@gnu.org>
21552         * vc/vc-arch.el (vc-exec-after): Declare.
21553         (vc-switches): Autoload.
21554         * vc/vc-bzr.el: No need to require vc when compiling.
21555         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
21556         (vc-resynch-buffer, vc-dir-refresh): Declare.
21557         (vc-setup-buffer, vc-switches): Autoload.
21558         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
21559         (vc-resynch-buffer): Declare.
21560         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
21561         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
21562         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
21563         (grep-read-regexp, grep-read-files, grep-expand-template)
21564         (vc-dir-refresh): Declare.
21565         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21566         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
21567         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
21568         * vc/vc-mtn.el (vc-exec-after): Declare.
21569         (vc-switches): Autoload.
21570         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
21571         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
21572         (vc-file-tree-walk): Declare.
21573         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
21574         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
21575         (vc-tag-precondition, vc-rename-master): Autoload.
21576         * vc/vc-svn.el (vc-exec-after): Declare.
21577         (vc-switches, vc-setup-buffer): Autoload.
21578         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
21579         Autoload.
21580         (vc-resynch-buffer): Declare.
21582         * obsolete/fast-lock.el (byte-compile-warnings):
21583         Don't warn about obsolete features in this obsolete file.
21585         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
21586         Move definition before use.
21588         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
21589         (dun-unix-verbs): Remove dun-zippy.
21590         (dun-zippy): Remove function.
21592         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
21594 2013-05-27  Juri Linkov  <juri@jurta.org>
21596         * replace.el (replace-search): New function with code moved out
21597         from `perform-replace'.
21598         (replace-highlight, replace-dehighlight): Move function definitions
21599         up closer to `replace-search'.  (Bug#11746)
21601 2013-05-27  Juri Linkov  <juri@jurta.org>
21603         * replace.el (perform-replace): Ignore invisible matches.
21604         In addition to checking `query-replace-skip-read-only', also
21605         filter out matches by calling `run-hook-with-args-until-failure'
21606         on `isearch-filter-predicates', and also check `search-invisible'
21607         for t or call `isearch-range-invisible'.
21608         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
21610 2013-05-27  Juri Linkov  <juri@jurta.org>
21612         * isearch.el (isearch-filter-predicates): Rename from
21613         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
21614         (isearch-message-prefix): Display text from the property
21615         `isearch-message-prefix' of the currently active filters.
21616         (isearch-search): Don't compare `isearch-filter-predicate' with
21617         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
21618         on `isearch-filter-predicates'.  Also check `search-invisible' for t
21619         or call `isearch-range-invisible'.
21620         (isearch-filter-visible): Make obsolete.
21621         (isearch-lazy-highlight-search):
21622         Call `run-hook-with-args-until-failure' on
21623         `isearch-filter-predicates' and use `isearch-range-invisible'.
21625         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
21626         `isearch-filter-predicates' instead of `funcall'ing
21627         `isearch-filter-predicate'.
21628         (Info-mode): Set `Info-isearch-filter' to
21629         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
21631         * dired-aux.el (dired-isearch-filter-predicate-orig):
21632         Remove variable.
21633         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
21634         (dired-isearch-filenames-end): Add and remove
21635         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
21636         instead of changing the value of `isearch-filter-predicate'.
21637         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
21638         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
21639         Put property `isearch-message-prefix' to "filename " on
21640         `dired-isearch-filter-filenames'.
21642         * wdired.el (wdired-change-to-wdired-mode):
21643         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
21644         locally instead of changing `isearch-filter-predicate'.
21645         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
21647 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
21649         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
21650         return the commit hash (Bug#14459).  Also set the
21651         `vc-git-detached' property.
21652         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
21653         (vc-git-mode-line-string): Use the same help-echo format whether
21654         in detached mode or not, because we know the actual revision now.
21655         When in detached mode, shorten the revision to 7 chars.
21657 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21659         * emacs-lisp/easy-mmode.el (define-minor-mode):
21660         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
21661         mode hook and provide a docstring.
21663 2013-05-27  Alan Mackenzie  <acm@muc.de>
21665         Remove spurious syntax-table text properties inserted by C-y.
21666         * progmodes/cc-mode.el (c-after-change): Also clear hard
21667         syntax-table property with value nil.
21669 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
21671         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
21672         when reading the events; the buffer layout shall not be changed.
21674 2013-05-27  Leo Liu  <sdl.web@gmail.com>
21676         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
21677         New variable.
21678         (inferior-octave-directory-tracker): Automatically re-sync
21679         default-directory.
21680         (octave-help): Improve handling of 'See also'.
21682 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21684         * doc-view.el: Minor naming convention tweaks.
21685         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
21687         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
21688         even if there's no `display' property yet (bug#14435).
21690 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
21692         * subr.el (unmsys--file-name): Rename from reveal-filename.
21694         * Makefile.in (custom-deps, finder-data, autoloads)
21695         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
21696         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
21697         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
21699 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21701         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
21702         error-completion on the first 2 args of condition-case (bug#14446).
21703         Don't burp at EOB.
21705 2013-05-25  Leo Liu  <sdl.web@gmail.com>
21707         * comint.el (comint-previous-matching-input): Do not flood the
21708         *Messages* buffer with trivial messages.
21710 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21712         * progmodes/flymake.el (flymake-nop): Don't return a string.
21713         (flymake-set-at): Fix typo.
21715         * simple.el (read--expression): New function, extracted from
21716         eval-expression.  Set completion-at-point-functions (bug#14465).
21717         (eval-expression, eval-minibuffer): Use it.
21719 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
21721         * progmodes/flymake.el (flymake-save-buffer-in-file)
21722         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
21723         (flymake-selected-frame, flymake-log, flymake-ins-after)
21724         (flymake-set-at, flymake-get-buildfile-from-cache)
21725         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
21726         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
21727         Refine the doc string.
21728         (flymake-get-file-name-mode-and-masks): Reformat.
21729         (flymake-get-real-file-name-function): Fix a minor bug.
21731 2013-05-24  Juri Linkov  <juri@jurta.org>
21733         * progmodes/grep.el (grep-mode-font-lock-keywords):
21734         Support =linenumber= format used by git-grep for lines with
21735         function names.  (Bug#13549)
21737 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21739         * progmodes/octave.el (octave-smie-rules): Return nil rather than
21740         0 after a semi-colon; it works better for smie-auto-fill.
21741         (octave--indent-new-comment-line): New function.
21742         (octave-indent-new-comment-line): Use it (indirectly).
21743         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
21744         modify comment-line-break-function.
21746         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
21747         (smie-setup): Use add-function to set it.
21749 2013-05-24  Sam Steingold  <sds@gnu.org>
21751         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
21752         argument (before the `interactive' argument).
21754 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21756         * image-mode.el (image-mode-winprops): Add winprops to
21757         image-mode-winprops-alist before running
21758         image-mode-new-window-functions.
21759         * doc-view.el (doc-view-new-window-function): Don't delay
21760         doc-view-goto-page via timers (bug#14435).
21762 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
21764         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
21765         (doc-view-desktop-save-buffer): New function.
21766         (doc-view-restore-desktop-buffer): New function.
21767         (desktop-buffer-mode-handlers):
21768         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
21769         handler.
21770         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
21771         `desktop-save-buffer' function.
21773 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
21775         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
21776         (tramp-gvfs-file-name-handler): Raise a user error when
21777         `tramp-gvfs-enabled' is nil.
21778         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
21779         Do not raise a user error when loading package.  (Bug#14447)
21781         * net/xesam.el: Move to obsolete/.
21783 2013-05-24  Glenn Morris  <rgm@gnu.org>
21785         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
21787         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
21789         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
21790         (Info-find-node, Man-getpage-in-background): Declare.
21792         * mail/unrmail.el (unrmail):
21793         Replace obsolete detect-coding-with-priority.
21795         * net/socks.el (socks-split-string): Use this rather than split-string.
21796         (socks-nslookup-host): Update for above change.
21797         (dynamic-choice, s5-dynamic-choice-match)
21798         (s5-dynamic-choice-match-inline, s5-widget-value-create):
21799         Comment out unused code.
21801         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
21802         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
21803         (gud-tooltip-echo-area): Make obsolete.
21804         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
21806         * progmodes/js.el (js--optimize-arglist): Declare.
21808         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
21810         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
21811         (ediff-window-C): Declare.
21813         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
21814         Tweak requires to silence compiler.
21816         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
21817         (he-search-string, he-tried-table, he-expand-list)
21818         (he-init-string, he-string-member, he-substitute-string)
21819         (he-reset-string): Declare.
21821         * obsolete/options.el (list-options): Use custom-variable-p,
21822         rather than obsolete alias.
21824 2013-05-23  Sam Steingold  <sds@gnu.org>
21826         * simple.el (shell-command-on-region): Pass the `replace' argument
21827         down to `call-process-region' to comply with the doc as reported on
21828         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
21830 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21832         * emacs-lisp/smie.el (smie-indent-forward-token)
21833         (smie-indent-backward-token): Handle string tokens (bug#14381).
21835 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21837         * ielm.el (ielm-menu): New menu.
21838         (inferior-emacs-lisp-mode): Set comment-start.
21840 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21842         * textmodes/reftex.el (reftex-ref-style-toggle):
21843         Fix deactivate action.
21845         * textmodes/reftex-vars.el (reftex-ref-style-alist):
21846         Add cleveref macros.
21848         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
21849         Accept options for bibliography commands.
21850         * textmodes/reftex-vars.el (reftex-bibliography-commands):
21851         Add addbibresource.  Basic Biblatex support.
21853 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
21855         * net/tramp-gvfs.el (top):
21856         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
21857         when loading package.  (Bug#14447)
21859 2013-05-23  Glenn Morris  <rgm@gnu.org>
21861         * progmodes/js.el: No need to load comint when compiling.
21862         (ring-insert, comint-send-string, comint-send-input)
21863         (comint-last-input-end, ido-chop): Declare.
21865         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
21866         * vc/ediff-mult.el: Adjust requires.
21867         (ediff-directories-internal, ediff-directory-revisions-internal)
21868         (ediff-patch-file-internal): Declare.
21869         * vc/ediff-ptch.el: Adjust requires.
21870         (ediff-use-last-dir, ediff-buffers-internal): Declare.
21871         (ediff-find-file): Autoload.
21872         * vc/ediff-util.el: No need to load ediff when compiling.
21873         (ediff-regions-internal): Declare.
21874         * vc/ediff-wind.el: Adjust requires.
21875         (ediff-compute-toolbar-width): Define when compiling.
21876         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
21877         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
21878         (dired-get-filename, dired-get-marked-files)
21879         (ediff-last-dir-patch, ediff-patch-default-directory)
21880         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
21881         (ediff-patch-buffer-internal): Declare.
21883         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
21884         (ispell-process, ispell-buffer-local-words, lm-summary)
21885         (lm-section-start, lm-section-end): Declare.
21886         (checkdoc-ispell-init): Simplify.
21888         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
21889         (he-string-member, he-reset-string, he-substitute-string): Declare.
21891         * eshell/em-ls.el: Adjust requires.
21892         (eshell-glob-regexp): Declare.
21893         * eshell/em-tramp.el: Adjust requires.
21894         (eshell-parse-command): Autoload.
21895         * eshell/em-xtra.el: Adjust requires.
21896         (eshell-parse-command): Autoload.
21897         * eshell/esh-ext.el: Adjust requires.
21898         (eshell-parse-command, eshell-close-handles): Autoload.
21899         * eshell/esh-io.el: Adjust requires.
21900         (eshell-output-filter): Autoload.
21901         * eshell/esh-util.el: No need to load tramp when compiling.
21902         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
21903         Declare.
21904         (eshell-parse-ange-ls): Require ange-ftp and tramp.
21905         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
21906         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
21907         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
21908         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
21909         * eshell/esh-opt.el, eshell/esh-proc.el:
21910         * eshell/esh-var.el: Adjust requires.
21911         * eshell/eshell.el: Do not require esh-util twice.
21912         (eshell-add-input-to-history): Declare.
21913         (eshell-command): Check history module is active before using it.
21915         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
21917 2013-05-22  Leo Liu  <sdl.web@gmail.com>
21919         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
21921 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
21923         * autorevert.el (auto-revert-notify-add-watch)
21924         (auto-revert-notify-handler): Add `attrib' for the inotify case,
21925         it indicates changes in file modification time.
21927 2013-05-22  Glenn Morris  <rgm@gnu.org>
21929         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21930         Always delete the autoloaded function from the noruntime and
21931         unresolved functions lists.
21933         * allout.el: No need to load epa, epg, overlay when compiling.
21934         (epg-context-set-passphrase-callback, epg-list-keys)
21935         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
21936         (epg-key-user-id-list): Declare.
21938         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
21939         (viper-set-parsing-style-toggling-macro)
21940         (viper-set-emacs-state-searchstyle-macros):
21941         Use called-interactively-p on Emacs.
21942         (viper-looking-back): Make it an obsolete alias.  Update callers.
21943         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
21944         Use looking-back rather than viper-looking-back.
21945         (viper-tmp-insert-at-eob, viper-enlarge-region)
21946         (viper-read-string-with-history, viper-register-to-point)
21947         (viper-append-to-register, viper-change-state-to-vi)
21948         (viper-backward-char-carefully, viper-forward-char-carefully)
21949         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
21950         (viper-change-state-to-emacs): Declare.
21951         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
21952         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
21953         * emulation/viper-mous.el: Do not load viper-cmd.
21954         (viper-backward-char-carefully, viper-forward-char-carefully)
21955         (viper-forward-word, viper-adjust-window): Declare.
21957         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
21959         * progmodes/idlw-help.el (idlwave-help-fontify):
21960         Use called-interactively-p.
21962         * term/w32console.el (w32-get-console-codepage)
21963         (w32-get-console-output-codepage): Declare.
21965         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
21966         Remove unnecessary declarations.
21967         (dframe-message): Doc fix.
21969         * info.el (dframe-select-attached-frame, dframe-current-frame):
21970         Declare.
21972         * speedbar.el (speedbar-message): Make it an obsolete alias.
21973         Update all callers.
21974         (speedbar-with-attached-buffer)
21975         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
21976         (speedbar-with-writable): Use backquote.
21977         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
21978         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
21979         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
21980         rather than speedbar- aliases.
21981         * mail/rmail.el: Load dframe rather than speedbar when compiling.
21982         (speedbar-make-specialized-keymap, speedbar-insert-button)
21983         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
21984         (speedbar-do-function-pointer): Declare.
21985         (rmail-speedbar-button, rmail-speedbar-find-file)
21986         (rmail-speedbar-move-message):
21987         Use dframe-with-attached-buffer rather than speedbar- alias.
21988         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
21989         (dframe-message, speedbar-make-specialized-keymap)
21990         (speedbar-add-expansion-list, speedbar-mode-functions-list)
21991         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
21992         (speedbar-insert-button, dframe-select-attached-frame)
21993         (dframe-maybee-jump-to-attached-frame)
21994         (speedbar-change-initial-expansion-list)
21995         (speedbar-previously-used-expansion-list-name): Declare.
21996         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
21997         Use dframe-message, dframe-with-attached-buffer rather than
21998         speedbar- aliases.
21999         (gud-sentinel): Silence compiler.
22000         * progmodes/vhdl-mode.el (speedbar-refresh)
22001         (speedbar-do-function-pointer, speedbar-add-supported-extension)
22002         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
22003         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
22004         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
22005         (speedbar-file-lists, speedbar-make-tag-line)
22006         (speedbar-line-directory, speedbar-goto-this-file)
22007         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
22008         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
22009         (speedbar-make-button, speedbar-reset-scanners)
22010         (speedbar-files-item-info, speedbar-line-text)
22011         (speedbar-find-file-in-frame, speedbar-set-timer)
22012         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
22013         (speedbar-with-writable): Do not (re)define it.
22014         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
22015         rather than speedbar- alias.
22017 2013-05-21  Leo Liu  <sdl.web@gmail.com>
22019         * progmodes/octave.el (octave-mode-menu): Update and re-organize
22020         menu items.
22021         (octave-mode): Tweak fill-nobreak-predicate.
22022         (inferior-octave-startup): Check process to avoid infinite loop.
22023         (inferior-octave): Pop to buffer first to show abornmal process
22024         exit information.
22026 2013-05-21  Glenn Morris  <rgm@gnu.org>
22028         * printing.el (pr-menu-bar): Define when compiling.
22030 2013-05-21  Leo Liu  <sdl.web@gmail.com>
22032         * progmodes/octave.el (octave-auto-fill): Remove.
22033         (octave-indent-new-comment-line): Improve.
22034         (octave-mode): Use auto fill mode through
22035         comment-line-break-function and fill-nobreak-predicate.
22036         (octave-goto-function-definition): Support DEFUN_DLD.
22037         (octave-beginning-of-defun): Small tweak.
22038         (octave-help): Show parent directory.
22040 2013-05-21  Glenn Morris  <rgm@gnu.org>
22042         * files.el (dired-unmark):
22043         * progmodes/gud.el (gdb-input): Update declarations.
22045         * calculator.el (electric, ehelp): No need to load when compiling.
22046         (Electric-command-loop, electric-describe-mode): Declare.
22048         * doc-view.el (doc-view-current-converter-processes): Move before use.
22050         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
22051         Move MODE-set-explicitly definition before use.
22053         * international/mule-diag.el (mule-diag):
22054         Don't use obsolete window-system-version.
22056         * mail/feedmail.el (smtpmail): No need to load when compiling.
22057         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
22059         * mail/mail-utils.el (rfc822): No need to load when compiling.
22060         (rfc822-addresses): Autoload it.
22061         (mail-strip-quoted-names): Trivial simplification.
22063         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
22064         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
22066         * net/snmp-mode.el (tempo): Don't duplicate requires.
22068         * progmodes/prolog.el (info): No need to load when compiling.
22069         (comint): Require before shell requires it.
22070         (Info-goto-node): Autoload it.
22071         (Info-follow-nearest-node): Declare.
22072         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
22074         * textmodes/artist.el (picture-mode-exit): Declare.
22076         * textmodes/reftex-parse.el (reftex-parse-from-file):
22077         Trivial rewrite so the compiler can parse it better.
22079 2013-05-20  Leo Liu  <sdl.web@gmail.com>
22081         * progmodes/octave.el (octave-help-mode-map)
22082         (octave-help-mode-finish-hook): New variables.
22083         (octave-help-mode, octave-help-mode-finish): New functions.
22084         (octave-help): Use octave-help-mode.
22086 2013-05-20  Glenn Morris  <rgm@gnu.org>
22088         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
22090 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
22092         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
22093         start at point, so that expansion starting right after opening
22094         slash in a regexp is recognized.
22095         (ruby-syntax-before-regexp-re): New defvar, extracted from
22096         ruby-syntax-propertize-function.  Since the value of this regexp
22097         is looked up at runtime now, we should be able to turn
22098         `ruby-syntax-methods-before-regexp' into a defcustom later.
22099         (ruby-syntax-propertize-function): Split regexp matching into two
22100         parts, for opening and closing slashes.  That allows us to skip
22101         over string interpolations and support multiline regexps.
22102         Don't call `ruby-syntax-propertize-expansions', instead use another rule
22103         for them, which calls `ruby-syntax-propertize-expansion'.
22104         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
22105         call to `ruby-syntax-propertize-function'.
22106         (ruby-syntax-propertize-expansion): Extracted from
22107         `ruby-syntax-propertize-expansions'.  Handles one expansion.
22108         (ruby-syntax-propertize-percent-literal): Leave point right after
22109         the percent symbol, so that the expression expansion rule can
22110         propertize the contents.
22111         (ruby-syntax-propertize-heredoc): Leave point at bol following the
22112         heredoc openers.
22113         (ruby-syntax-propertize-expansions): Remove.
22115 2013-05-18  Juri Linkov  <juri@jurta.org>
22117         * man.el (Man-default-man-entry): Remove `-' from the end
22118         of the default value.  (Bug#14400)
22120 2013-05-18  Glenn Morris  <rgm@gnu.org>
22122         * comint.el (comint-password-prompt-regexp):
22123         Allow "password for XXX" where XXX contains colons (eg https://...).
22125 2013-05-18  Leo Liu  <sdl.web@gmail.com>
22127         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
22128         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
22129         (octave-source-directories): Don't check process.
22130         (octave-source-directories, octave-find-definition): Doc fix.
22132 2013-05-18  Glenn Morris  <rgm@gnu.org>
22134         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
22135         Remove backspace/delete bindings.  (Bug#14392)
22137         * cus-dep.el (custom-make-dependencies): Sort the output.
22138         (custom-versions-load-alist): Convert comment to doc.
22140 2013-05-17  Leo Liu  <sdl.web@gmail.com>
22142         * newcomment.el (comment-search-backward): Stricter in finding
22143         comment start.  (Bug#14303)
22145         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
22146         (octave-comment-start-skip): Properly anchored.
22148 2013-05-17  Leo Liu  <sdl.web@gmail.com>
22150         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
22151         Clean up when turned off.  (Bug#14395)
22152         (smie--highlight-matching-block-overlay): No longer buffer-local.
22153         (smie-highlight-matching-block): Adjust.
22155 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
22157         Doc string fix for "nanoseconds" (Bug#14406).
22158         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
22159         Fix doc string typo that had "nanoseconds" instead of "microseconds".
22161 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
22163         * calc/calc-units.el (math-extract-units): Preserve powers
22164         of units.
22166 2013-05-17  Leo Liu  <sdl.web@gmail.com>
22168         * subr.el (delete-consecutive-dups): New function.
22169         * ido.el (ido-set-matches-1): Use it.
22170         * progmodes/octave.el (inferior-octave-completion-table): Use it.
22171         * ido.el (ido-remove-consecutive-dups): Remove.
22173 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22175         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22176         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
22177         regexp-opt's `words'.
22179 2013-05-16  Leo Liu  <sdl.web@gmail.com>
22181         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
22182         (smie--highlight-matching-block-overlay)
22183         (smie--highlight-matching-block-lastpos)
22184         (smie--highlight-matching-block-timer): New variables.
22185         (smie-highlight-matching-block): New function.
22186         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
22187         (smie-setup): Conditionally enable smie-blink-matching-open.
22189 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
22191         Sync with upstream verilog-mode r840.
22192         * progmodes/verilog-mode.el (verilog-mode-version)
22193         (verilog-mode-release-date): Update.
22194         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
22195         (verilog-sig-tieoff): Fix string error on
22196         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
22197         (verilog-read-decls): Fix parameters confusing
22198         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
22200 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
22202         * subr.el (reveal-filename): New function.
22204         * loadup.el: Compute Emacs executable versions on MS-Windows,
22205         where executables have the .exe extension.  Add a hard link
22206         emacs-XX.YY.ZZ.exe on MS-Windows.
22208         * Makefile.in (XARGS_LIMIT): New variable.
22209         (custom-deps, finder-data, autoloads)
22210         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22211         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22212         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
22213         (compile-main): Limit xargs according to $(XARGS_LIMIT).
22215 2013-05-16  Leo Liu  <sdl.web@gmail.com>
22217         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
22218         (octave-mode-menu, octave-mode-map): Remove its uses.
22220 2013-05-16  Reto Zimmermann  <reto@gnu.org>
22222         Sync with upstream vhdl mode v3.34.2.
22223         * progmodes/vhdl-mode.el: Use `push' throughout.
22224         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
22225         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
22226         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
22227         (vhdl-actual-generic-name): New option to derive actual generic name.
22228         (vhdl-port-paste-signals): Replace formal by actual generics.
22229         (vhdl-beautify): New name for old group vhdl-align.  Update users.
22230         (vhdl-beautify-options): New option.
22231         (vhdl-last-input-event): New compat alias.  Use throughout.
22232         (vhdl-goto-line): Replace user level function `goto-line'.
22233         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
22234         vhdl-fix-statement-buffer.
22235         (vhdl-create-mode-menu): Add some entries.
22236         (vhdl-align-region-groups): Respect vhdl-beautify-options.
22237         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
22238         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
22239         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
22240         to force statements on one line.
22241         (vhdl-remove-trailing-spaces-region):
22242         New, split from vhdl-remove-trailing-spaces.
22243         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
22244         Respect vhdl-beautify-options.
22245         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
22246         (vhdl-update-sensitivity-list): Not add with index if exists without.
22247         Not include array index with signal.  Ignore keywords in comments.
22248         (vhdl-get-visible-signals): Regexp tweaks.
22249         (vhdl-template-component-inst): Handle empty library.
22250         (vhdl-template-type): Add template for 'enum' type.
22251         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
22252         Use vhdl-replace-string.
22253         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
22254         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
22255         (vhdl-speedbar-initialize): Update for above name change.
22256         (vhdl-compose-wire-components): Fix in handling of constants.
22257         (vhdl-error-regexp-emacs-alist): New variable.
22258         (vhdl-error-regexp-add-emacs): New function;
22259         adds support for new compile.el (Emacs 22+)
22260         (vhdl-generate-makefile-1): Change target order for single lib. units.
22261         Allow use of absolute file names.
22263 2013-05-16  Leo Liu  <sdl.web@gmail.com>
22265         * simple.el (prog-indent-sexp): Indent enclosing defun.
22267 2013-05-15  Glenn Morris  <rgm@gnu.org>
22269         * cus-start.el (show-trailing-whitespace): Move to editing basics.
22270         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
22271         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
22272         (whitespace-highlight): Move to whitespace group.
22274         * comint.el (comint-source):
22275         * pcmpl-linux.el (pcmpl-linux):
22276         * shell.el (shell-faces):
22277         * eshell/esh-opt.el (eshell-opt):
22278         * international/ccl.el (ccl): Remove empty custom groups.
22280         * completion.el (dynamic-completion-mode):
22281         * jit-lock.el (jit-lock-debug-mode):
22282         * minibuffer.el (completion-in-region-mode):
22283         * type-break.el (type-break-mode-line-message-mode)
22284         (type-break-query-mode):
22285         * emulation/tpu-edt.el (tpu-edt-mode):
22286         * progmodes/subword.el (global-subword-mode, global-superword-mode):
22287         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
22288         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
22290         * term/xterm.el (xterm): Change parent group to terminals.
22292         * master.el (master): Remove empty custom group.
22293         (master-mode): Remove unused :group argument.
22294         * textmodes/refill.el (refill): Remove empty custom group.
22295         (refill-mode): Remove unused :group argument.
22297         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
22299         * cus-dep.el: Provide a feature.
22300         (custom-make-dependencies): Ignore dotfiles (dir-locals).
22301         Don't mistakenly ignore files whose basenames match a basename
22302         from preloaded-file-list (eg cedet/ede/simple.el).
22303         Add a fallback method for getting :group.
22305 2013-05-15  Juri Linkov  <juri@jurta.org>
22307         * isearch.el (isearch-char-by-name): Rename from
22308         `isearch-insert-char-by-name'.  Doc fix.
22309         (isearch-forward): Mention `isearch-char-by-name' in
22310         the docstring.  (Bug#13348)
22312         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
22313         `exit-minibuffer' instead of
22314         `isearch-nonincremental-exit-minibuffer'.
22315         (isearch-edit-string): Remove mention of
22316         `isearch-nonincremental-exit-minibuffer' from docstring.
22317         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
22318         (isearch-forward-exit-minibuffer)
22319         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
22321 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22323         * loadup.el: Just use unversioned DOC.
22325         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
22326         literals as extending to EOB.
22327         (nxml-last-fontify-end): Remove unused variable.
22328         (nxml-after-change1): Use with-silent-modifications.
22329         (nxml-extend-after-change-region): Simplify.
22330         (nxml-extend-after-change-region1): Remove function.
22331         (nxml-after-change1): Don't adjust for dependent regions.
22332         (nxml-fontify-matcher): Simplify.
22333         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
22334         (xmltok-add-dependent): Remove function.
22335         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
22336         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
22337         (xmltok-scan-prolog-after-processing-instruction-open): Treat
22338         unclosed <[[, <?, comment, and other literals as extending to EOB.
22339         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
22340         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
22341         Remove functions.
22342         (rng-do-some-validation-1): Don't mark dependent regions.
22343         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
22344         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
22345         (nxml-clear-dependent-regions): Remove functions.
22346         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
22347         (nxml-ensure-scan-up-to-date):
22348         Don't clear&mark dependent regions.
22350 2013-05-15  Leo Liu  <sdl.web@gmail.com>
22352         * progmodes/octave.el (octave-goto-function-definition):
22353         Improve and fix callers.
22355 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22357         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
22358         the setter (bug#14387).
22360         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
22361         surrounding group (bug#14402).
22363 2013-05-14  Juri Linkov  <juri@jurta.org>
22365         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
22366         (Bug#14390)
22368 2013-05-14  Glenn Morris  <rgm@gnu.org>
22370         * progmodes/f90.el (f90-imenu-generic-expression):
22371         Fix typo in 2013-05-08 change.  (Bug#14402)
22373 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
22375         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
22376         Remove signals for which replies are never received.
22378 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
22380         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
22381         (gdb-handler-alist, gdb-handler-number): Remove variables.
22382         (gdb-handler-list): New variable.
22383         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
22384         (gdb-pending-handler-p, gdb-handle-reply)
22385         (gdb-remove-all-pending-triggers): New functions.
22386         (gdb-discard-unordered-replies): New defcustom.
22387         (gdb-handler): New defstruct.
22388         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
22389         instead of gdb-pending-triggers.  Update docstring.
22390         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
22391         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
22392         (gdb-var-update-handler, def-gdb-auto-update-trigger)
22393         (def-gdb-auto-update-handler, gdb-get-changed-registers)
22394         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
22395         (gdb-frame-handler): Pending triggers are now automatically managed.
22396         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
22397         Remove argument.
22398         (gdb-input): Automatically handles pending triggers.  Update docstring.
22399         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
22400         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
22401         Update comments.
22402         (gdb-done-or-error): Now use gdb-handle-reply.
22404 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
22406         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
22407         gdb-debug-log.
22409 2013-05-14  Glenn Morris  <rgm@gnu.org>
22411         * subr.el (user-emacs-directory-warning): New option.
22412         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
22414 2013-05-14  Leo Liu  <sdl.web@gmail.com>
22416         * progmodes/octave.el (octave-font-lock-keywords): Fix error
22417         during redisplay.
22418         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
22419         (octave-font-lock-texinfo-comment): Fix invalid search bound
22420         error: wrong side of point.
22422 2013-05-14  Glenn Morris  <rgm@gnu.org>
22424         * progmodes/flymake.el (flymake-xml-program): New option.
22425         (flymake-xml-init): Use it.
22427         * term/xterm.el: Provide a feature.
22429         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
22431 2013-05-13  Glenn Morris  <rgm@gnu.org>
22433         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
22434         Add compat aliases as a hack workaround.  (Bug#14384)
22436 2013-05-13  Leo Liu  <sdl.web@gmail.com>
22438         * progmodes/octave.el (octave-indent-comment): Fix indentation for
22439         ###, and %!.
22440         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
22441         C-M-q.
22442         (octave-comment-start-skip): Include %!.
22443         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
22445 2013-05-12  Leo Liu  <sdl.web@gmail.com>
22447         * progmodes/octave.el (inferior-octave-startup): Store the value
22448         of __octave_srcdir__ for octave-source-directories.
22449         (inferior-octave-check-process): New function refactored out of
22450         inferior-octave-send-list-and-digest.
22451         (octave-source-directories)
22452         (octave-find-definition-filename-function): New variables.
22453         (octave-source-directories)
22454         (octave-find-definition-default-filename): New functions.
22455         (octave-find-definition): Improve to find functions implemented in C++.
22457 2013-05-12  Glenn Morris  <rgm@gnu.org>
22459         * calendar/diary-lib.el (diary-outlook-format-1):
22460         Don't include dayname in the output.  (Bug#14349)
22462 2013-05-11  Glenn Morris  <rgm@gnu.org>
22464         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
22466         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
22467         Treat cc-provide like provide.
22469 2013-05-11  Kevin Ryde  <user42@zip.com.au>
22471         * cus-dep.el (custom-make-dependencies):
22472         Use generated-autoload-load-name for the sake of files such
22473         such cedet/semantic/bovine/c.el, where the base file name
22474         is not in load-path.  (Bug#5277)
22476 2013-05-11  Glenn Morris  <rgm@gnu.org>
22478         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
22479         Provide features.
22481 2013-05-11  Leo Liu  <sdl.web@gmail.com>
22483         * progmodes/octave.el (octave-indent-comment): Improve.
22484         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22485         (octave-eldoc-function-signatures, octave-eldoc-function):
22486         New functions.
22487         (octave-mode, inferior-octave-mode): Add eldoc support.
22489 2013-05-11  Richard Stallman  <rms@gnu.org>
22491         * epa.el (epa-decrypt-file): Take output file name as argument
22492         and read it using `interactive'.
22494 2013-05-11  Leo Liu  <sdl.web@gmail.com>
22496         * progmodes/octave.el (octave-beginning-of-line)
22497         (octave-end-of-line): Check before using up-list because it jumps
22498         out of more syntactic contructs since moving to smie.
22499         (octave-indent-comment): New function.
22500         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
22501         (octave-begin-keywords, octave-end-keywords)
22502         (octave-reserved-words, octave-smie-bnf-table)
22503         (octave-smie-rules): Add new keywords from Octave 3.6.4.
22505 2013-05-11  Glenn Morris  <rgm@gnu.org>
22507         * faces.el (internal-face-x-get-resource):
22508         * frame.el (ns-display-monitor-attributes-list):
22509         * calc/calc-aent.el (math-to-radians-2):
22510         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
22511         Fix declarations.
22513         * calc/calc-menu.el: Make it loadable in isolation.
22515         * net/eudcb-bbdb.el: Make it loadable without bbdb.
22516         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
22517         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
22518         (eudc-bbdb-query-internal): Require 'bbdb.
22520         * lpr.el (lpr-headers-switches):
22521         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
22523         * progmodes/sql.el (sql-login-params): Fix and improve :type.
22525         * emulation/edt-mapper.el: In batch mode, error rather than hang.
22527         * term.el (term-set-escape-char): Make it idempotent.
22529 2013-05-10  Leo Liu  <sdl.web@gmail.com>
22531         * progmodes/octave.el (inferior-octave-completion-table):
22532         No longer a function and all uses changed.  Use cache to speed up
22533         completion due to bug#11906.
22534         (octave-beginning-of-defun): Re-write to be more general.
22536 2013-05-10  Glenn Morris  <rgm@gnu.org>
22538         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
22540 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
22542         * comint.el (comint-redirect-send-command-to-process): Use :around
22543         rather than :override for comint-redirect-filter.
22544         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
22545         Call it instead of comint-redirect-original-filter-function (which
22546         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
22548 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
22550         * frame.el (display-monitor-attributes-list): Add NS case.
22551         (ns-display-monitor-attributes-list): Declare.
22553 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
22555         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
22557 2013-05-09  Glenn Morris  <rgm@gnu.org>
22559         * international/fontset.el (vertical-centering-font-regexp):
22560         Set standard-value.
22562         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
22564         * bookmark.el (bookmark-search-delay):
22565         * cus-start.el (vertical-centering-font-regexp):
22566         * ps-mule.el (ps-mule-font-info-database-default):
22567         * ps-print.el (ps-default-fg, ps-default-bg):
22568         * type-break.el (type-break-good-break-interval):
22569         * whitespace.el (whitespace-indentation-regexp)
22570         (whitespace-space-after-tab-regexp):
22571         * emacs-lisp/testcover.el (testcover-1value-functions)
22572         (testcover-noreturn-functions, testcover-progn-functions)
22573         (testcover-prog1-functions):
22574         * emulation/viper-init.el (viper-emacs-state-cursor-color):
22575         * eshell/em-glob.el (eshell-glob-translate-alist):
22576         * play/tetris.el (tetris-tty-colors):
22577         * progmodes/cpp.el (cpp-face-default-list):
22578         * progmodes/flymake.el (flymake-allowed-file-name-masks):
22579         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
22580         (idlwave-help-browser-generic-args):
22581         * progmodes/make-mode.el (makefile-special-targets-list):
22582         * progmodes/python.el (python-shell-virtualenv-path):
22583         * progmodes/verilog-mode.el (verilog-active-low-regexp)
22584         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
22585         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
22586         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
22587         * textmodes/reftex-vars.el (reftex-format-label-function):
22588         * textmodes/remember.el (remember-diary-file): Fix custom types.
22590         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
22591         Add :version.
22593 2013-05-09  Leo Liu  <sdl.web@gmail.com>
22595         * progmodes/octave.el (inferior-octave-completion-at-point):
22596         Restore file completion.  (Bug#14300)
22597         (inferior-octave-startup): Fix incorrect highlighting for the
22598         first prompt.
22600 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22602         * progmodes/ruby-mode.el: First cut at SMIE support.
22603         (ruby-use-smie): New var.
22604         (ruby-smie-grammar): New constant.
22605         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
22606         (ruby-smie--forward-token, ruby-smie--backward-token)
22607         (ruby-smie-rules): New functions.
22608         (ruby-mode-variables): Setup SMIE if applicable.
22610 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
22612         * simple.el (line-move-visual): Signal beginning/end of buffer
22613         only if vertical-motion moved less than it was requested.  Avoids
22614         silly incorrect error messages when there are display strings with
22615         multiple newlines at EOL.
22617 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22619         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
22620         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
22621         (prolog-char-quote-workaround):
22622         * progmodes/cperl-mode.el (cperl-under-as-char):
22623         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
22624         Mark as obsolete.
22625         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
22626         their declaration.
22627         (vhdl-mode-syntax-table-init): Remove.
22629         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
22630         last change.
22632         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
22633         syntax for "_".
22634         (ld-script-font-lock-keywords):
22635         Change regexps to use things like \_< and \_>.
22637         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
22638         Change all regexps to use things like \_< and \_>.
22640         * progmodes/autoconf.el (autoconf-definition-regexp)
22641         (autoconf-font-lock-keywords, autoconf-current-defun-function):
22642         Handle a _ with symbol syntax.
22643         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
22645         * progmodes/ada-mode.el (ada-mode-abbrev-table):
22646         Consolidate declaration.
22647         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
22648         the declaration.
22649         (ada-create-syntax-table): Remove.
22650         (ada-capitalize-word): Don't mess with the syntax of "_" since it
22651         already has the right syntax nowadays.
22652         (ada-goto-next-word): Don't change the syntax of "_".
22654         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
22655         with-wrapper-hook.
22657 2013-05-08  Sam Steingold  <sds@gnu.org>
22659         * thingatpt.el (thing-at-point): Accept optional second argument
22660         NO-PROPERTIES to strip the text properties from the return value.
22661         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
22662         to `thing-at-point' instead of stripping the properties ourselves.
22663         Also, when `thing-at-point' fails to find a url, prepend "http://"
22664         to the filename at point on the assumption that the user is
22665         pointing at something like gnu.org/gnu.
22667 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
22669         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
22670         * faces.el (crm-separator):
22671         Silence byte-compiler.
22673         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
22674         (tool-bar-map): Remove unneeded defvars.
22676 2013-05-08  Leo Liu  <sdl.web@gmail.com>
22678         Re-work a fix for bug#10994 based on Le Wang's patch.
22679         * ido.el (ido-remove-consecutive-dups): New helper.
22680         (ido-completing-read): Use it.
22681         (ido-chop): Revert fix for bug#10994.
22683 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
22685         * cus-edit.el (custom-save-variables):
22686         Pretty-print long values.  (Bug#14187)
22688 2013-05-08  Glenn Morris  <rgm@gnu.org>
22690         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
22691         (m4-mode-syntax-table): Init in the defvar.
22692         (m4-mode-abbrev-table): Let define-derived-mode define it.
22694 2013-05-08  Tom Tromey  <tromey@redhat.com>
22696         * progmodes/m4-mode.el (m4-mode-syntax-table):
22697         Do not treat "_" as word constituent.  (Bug#14167)
22699 2013-05-07  Glenn Morris  <rgm@gnu.org>
22701         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
22702         Remove explicit eshell-isearch-cancel-map.
22704         * progmodes/f90.el (f90-smart-end-names): New option.
22705         (f90-smart-end): Doc fix.
22706         (f90-end-block-optional-name): New constant.
22707         (f90-block-match): Respect f90-smart-end-names.
22709 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
22711         * progmodes/octave.el (octave-smie-forward-token): Be more careful
22712         about implicit semi-colons (bug#14218).
22714 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22716         * frame.el (display-monitor-attributes-list)
22717         (frame-monitor-attributes): New functions.
22719 2013-05-06  Leo Liu  <sdl.web@gmail.com>
22721         * progmodes/octave.el (octave-syntax-propertize-function): Change
22722         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
22723         (octave-font-lock-keywords): Use octave-operator-regexp.
22724         (octave-completion-at-point): Rename from
22725         octave-completion-at-point-function.
22726         (inferior-octave-directory-tracker): Robustify.
22727         (octave-text-functions): Remove and fix its uses.  No such things
22728         any more.
22730 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
22732         * emacs-lisp/trace.el (trace--display-buffer): New function.
22733         (trace-make-advice): Use it.
22735 2013-05-06  Juri Linkov  <juri@jurta.org>
22737         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
22738         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
22739         Doc fix.
22740         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
22741         in the help string.  (Bug#12985)
22743 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
22745         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
22747 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
22749         * progmodes/perl-mode.el: Add support for here documents.
22750         (perl-syntax-propertize-function): Match here-doc markers.
22751         (perl-syntax-propertize-special-constructs): Find their end.
22752         (perl-imenu-generic-expression): Use [:alnum:].
22754         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
22755         (advice--add-function): Refresh the advice if already present
22756         (bug#14317).
22758 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
22760         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
22762 2013-05-06  Glenn Morris  <rgm@gnu.org>
22764         * w32-fns.el (w32-charset-info-alist): Declare.
22766         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
22767         of its defcustom properties.
22768         (eshell-cmpl-initialize): No need to load pcomplete.
22770         * generic-x.el: No need to require comint when compiling.
22772         * net/eudc-export.el: Make it loadable without bbdb.
22773         (top-level): Use require rather than load-library.
22774         (eudc-create-bbdb-record, eudc-bbdbify-phone)
22775         (eudc-batch-export-records-to-bbdb)
22776         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
22777         Require bbdb.
22779 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
22781         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
22782         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
22783         some tweaks, instead.
22785 2013-05-05  Leo Liu  <sdl.web@gmail.com>
22787         * progmodes/octave.el (octave-font-lock-keywords)
22788         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
22789         (inferior-octave-send-list-and-digest): Improve error message.
22790         (octave-mode, inferior-octave-mode): Use setq-local.
22791         (octave-help): Set info-lookup-mode.
22793 2013-05-05  Richard Stallman  <rms@gnu.org>
22795         * vc/compare-w.el (compare-windows-whitespace):
22796         Treat no-break space as whitespace.
22798         * mail/rmailsum.el (rmail-summary-rmail-update):
22799         Detect empty summary and don't change selected message.
22800         (rmail-summary-goto-msg): Likewise.
22802         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
22803         Doc fixes, rename args.
22805 2013-05-05  Alan Mackenzie  <acm@muc.de>
22807         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
22809 2013-05-05  Juri Linkov  <juri@jurta.org>
22811         * info.el (Info-read-subfile): Use (point-min) instead of (point)
22812         to not add the length of the summary segment to the return value.
22813         (Bug#14125)
22815 2013-05-05  Leo Liu  <sdl.web@gmail.com>
22817         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
22818         (inferior-octave-output-filter): Remove.
22819         (octave-send-region, inferior-octave-startup): Fix callers.
22820         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
22821         (octave-binary-file-extensions): New user variable.
22822         (octave-find-definition): Confirm if opening binary files.
22823         (octave-help-file): Use octave-find-definition to get the binary
22824         confirmation.
22825         (octave-help): Adjust for octave-help-file change.
22827 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22829         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
22830         Merge the two entries that handle function definitions.
22831         (pascal--syntax-propertize): New const.
22832         (pascal-mode): Use it.  Use setq-local.
22834 2013-05-04  Glenn Morris  <rgm@gnu.org>
22836         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
22837         (diary-from-outlook): Respect diary-from-outlook-function.
22839 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
22841         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
22842         Move the declaration from C.
22843         (read-minibuffer, eval-minibuffer): Move from C.
22844         (completion-setup-function): Avoid minibuffer-completion-contents.
22846 2013-05-03  Leo Liu  <sdl.web@gmail.com>
22848         * progmodes/octave.el (octave-font-lock-keywords): Do not
22849         dehighlight 'end' in comments or strings.
22850         (octave-completing-read, octave-goto-function-definition):
22851         New helpers.
22852         (octave-help-buffer): New user variable.
22853         (octave-help-file, octave-help-function): New button types.
22854         (octave-help): New command and bind it to C-h ;.
22855         (octave-find-definition): New command and bind it to M-.
22856         (user-error): Alias to error if not defined.
22858 2013-05-02  Leo Liu  <sdl.web@gmail.com>
22860         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
22861         for \.  (bug#14332)
22862         (octave-font-lock-keywords): Include [ and {.
22864 2013-05-02  Leo Liu  <sdl.web@gmail.com>
22866         * progmodes/octave.el (inferior-octave-startup-file): Change default.
22867         (inferior-octave): Remove calling comint-mode and return the buffer.
22868         (inferior-octave-startup): Cosmetic changes.
22870 2013-05-02  Leo Liu  <sdl.web@gmail.com>
22872         * progmodes/octave.el (octave-syntax-propertize-function):
22873         Include the case when ' is at line beginning.  (Bug#14336)
22875 2013-05-02  Glenn Morris  <rgm@gnu.org>
22877         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
22878         * desktop.el (vc-dir-mode): Just autoload it here.
22880 2013-05-02  Alan Mackenzie  <acm@muc.de>
22882         Eliminate variable c-standard-font-lock-fontify-region-function.
22883         * progmodes/cc-mode.el
22884         (c-standard-font-lock-fontify-region-function): Remove.
22885         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
22887 2013-05-01  Leo Liu  <sdl.web@gmail.com>
22889         * progmodes/octave.el: Compatible with older emacs-24 releases.
22890         (inferior-octave-has-built-in-variables): Remove.  Built-in
22891         variables were removed from Octave in 2007.
22892         (inferior-octave-startup): Fix uses.
22893         (comint-line-beginning-position): Remove compatibility code for
22894         emacs 21.
22896 2013-05-01  Juri Linkov  <juri@jurta.org>
22898         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
22900 2013-05-01  Juri Linkov  <juri@jurta.org>
22902         * comint.el (comint-previous-matching-input): Don't print message
22903         "History item: %d" when `isearch-mode' is active.
22904         (comint-history-isearch-message): Print message "History item: %d"
22905         when `comint-input-ring-index' is not empty and this function is
22906         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
22908 2013-05-01  Leo Liu  <sdl.web@gmail.com>
22910         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
22911         definitions.  Use completion-at-point to insert keywords.
22912         (octave-abbrev-start): Remove.
22913         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
22915 2013-04-30  Leo Liu  <sdl.web@gmail.com>
22917         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
22918         change.
22920 2013-04-30  Alan Mackenzie  <acm@muc.de>
22922         Handle arbitrarily long C++ member initialisation lists.
22923         * progmodes/cc-engine.el (c-back-over-member-initializers):
22924         new function.
22925         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
22926         (most) member init lists.
22928 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
22930         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
22931         variable.
22933 2013-04-30  Leo Liu  <sdl.web@gmail.com>
22935         * progmodes/octave.el (octave-variables): Remove.  No builtin
22936         variables any more.  All converted to functions.
22937         (octave-font-lock-keywords, octave-completion-at-point-function):
22938         Fix uses.
22939         (octave-font-lock-texinfo-comment): New user variable.
22940         (octave-texinfo-font-lock-keywords): New variable for texinfo
22941         comment block.
22942         (octave-function-comment-block): New face.
22943         (octave-font-lock-texinfo-comment): New function.
22944         (octave-mode): Font lock texinfo comment block.
22946 2013-04-29  Leo Liu  <sdl.web@gmail.com>
22948         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
22949         indexing expression.
22950         (octave-continuation-string): Do not use \.
22951         (inferior-octave-complete-impossible): Remove.
22952         (inferior-octave-completion-table)
22953         (inferior-octave-completion-at-point): Remove its uses.
22954         (inferior-octave-startup): completion_matches was introduced to
22955         Octave in 1996 so safe to assume it.
22956         (octave-function-file-comment): Improve to follow how Octave does it.
22957         (octave-update-function-file-comment): Tweak.
22959 2013-04-29  Leo Liu  <sdl.web@gmail.com>
22961         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
22962         (inferior-octave-startup): Remove inferior-octave-startup-hook.
22963         (octave-function-file-comment): Fix typo.
22964         (octave-sync-function-file-names): Use read-char-choice.
22966 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
22968         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
22969         to t for the less important warnings.
22971 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
22973         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
22975 2013-04-27  Glenn Morris  <rgm@gnu.org>
22977         * vc/log-view.el (log-view-current-entry):
22978         Treat "---" separator lines as part of the following rev.  (Bug#14169)
22980 2013-04-27  Juri Linkov  <juri@jurta.org>
22982         * subr.el (read-number): Doc fix about using it by interactive
22983         code letter `n'.  (Bug#14254)
22985 2013-04-27  Juri Linkov  <juri@jurta.org>
22987         * desktop.el (desktop-auto-save-timeout): New option.
22988         (desktop-file-checksum): New variable.
22989         (desktop-save): Add optional arg `auto-save' and don't auto-save
22990         if nothing changed.
22991         (desktop-auto-save-timer): New variable.
22992         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
22993         (after-init-hook): Call `desktop-auto-save-set-timer'.
22994         Suggested by Reuben Thomas <rrt@sc3d.org> in
22995         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
22997 2013-04-27  Leo Liu  <sdl.web@gmail.com>
22999         * progmodes/octave.el (octave-function-file-p)
23000         (octave-skip-comment-forward, octave-function-file-comment)
23001         (octave-update-function-file-comment): New functions.
23002         (octave-mode-map): Bind C-c ; to
23003         octave-update-function-file-comment.
23004         (octave-mode-menu): Add octave-update-function-file-comment.
23005         (octave-mode, inferior-octave-mode): Fix doc-string.
23006         (octave-insert-defun): Conform to Octave's coding convention.
23007         (Bug#14285)
23009         * files.el (basic-save-buffer): Don't let errors in
23010         before-save-hook prevent saving buffer.
23012 2013-04-20  Roland Winkler  <winkler@gnu.org>
23014         * faces.el (read-face-name): Use completing-read if arg multiple
23015         is nil.
23017 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
23019         * ls-lisp.el (ls-lisp-insert-directory): If no files are
23020         displayed, move point to after the totals line.
23021         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
23022         for the details.
23024 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23026         * emacs-lisp/package.el (package-autoload-ensure-default-file):
23027         Add current dir to the load-path.
23028         (package-generate-autoloads): Don't rely on
23029         autoload-ensure-default-file.
23031 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
23033         * textmodes/remember.el (remember-store-in-files): Document that
23034         the file name format is passed to `format-time-string'.
23036 2013-04-26  Leo Liu  <sdl.web@gmail.com>
23038         * progmodes/octave.el (octave-sync-function-file-names): New function.
23039         (octave-mode): Use it in before-save-hook.
23041 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
23043         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
23044         (bug#14274).
23046         * progmodes/octave.el (octave-smie-forward-token): Properly skip
23047         \n and comment, even if it's not an implicit ; (bug#14218).
23049 2013-04-26  Glenn Morris  <rgm@gnu.org>
23051         * subr.el (read-number): Once more use `read' rather than
23052         `string-to-number', to trap non-numeric input.  (Bug#14254)
23054 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
23056         * emacs-lisp/syntax.el (syntax-propertize-multiline):
23057         Use `syntax-multiline' text property consistently instead of
23058         `font-lock-multiline'.  (Bug#14237)
23060 2013-04-26  Glenn Morris  <rgm@gnu.org>
23062         * emacs-lisp/shadow.el (list-load-path-shadows):
23063         No longer necessary to check for duplicate simple.el, since
23064         2012-07-07 change to init_lread to not include installation lisp
23065         directories in load-path when running uninstalled.  (Bug#14270)
23067 2013-04-26  Leo Liu  <sdl.web@gmail.com>
23069         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
23070         (octave-mode, inferior-octave-mode): Use setq-local.
23071         (octave-not-in-string-or-comment-p): Rename to
23072         octave-in-string-or-comment-p.
23073         (octave-in-comment-p, octave-in-string-p)
23074         (octave-in-string-or-comment-p): Replace defsubst with defun.
23076 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
23078         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
23080 2013-04-25  Bastien Guerry  <bzg@gnu.org>
23082         * textmodes/remember.el (remember-data-directory)
23083         (remember-directory-file-name-format): Fix custom types.
23085 2013-04-25  Leo Liu  <sdl.web@gmail.com>
23087         * progmodes/octave.el (octave-completion-at-point-function):
23088         Make use of inferior octave process.
23089         (octave-initialize-completions): Remove.
23090         (inferior-octave-completion-table): New function.
23091         (inferior-octave-completion-at-point): Use it.
23092         (octave-completion-alist): Remove.
23094 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23096         * progmodes/opascal.el: Use font-lock and syntax-propertize.
23097         (opascal-mode-syntax-table): New var.
23098         (opascal-literal-kind, opascal-is-literal-end)
23099         (opascal-literal-token-at): Rewrite.
23100         (opascal--literal-start-re, opascal-font-lock-keywords)
23101         (opascal--syntax-propertize): New constants.
23102         (opascal-font-lock-defaults): Adjust.
23103         (opascal-mode): Use them.  Set comment-<foo> variables as well.
23104         (delphi-comment-face, opascal-comment-face, delphi-string-face)
23105         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
23106         (delphi-other-face, opascal-other-face): Remove face variables.
23107         (opascal-save-state): Remove macro.
23108         (opascal-fontifying-progress-step): Remove constant.
23109         (opascal--ignore-changes): Remove var.
23110         (opascal-set-token-property, opascal-parse-next-literal)
23111         (opascal-is-stable-literal, opascal-complete-literal)
23112         (opascal-is-literal-start, opascal-face-of)
23113         (opascal-parse-region, opascal-parse-region-until-stable)
23114         (opascal-fontify-region, opascal-after-change)
23115         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
23116         (opascal-debug-parse-region, opascal-debug-parse-window)
23117         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
23118         (opascal-debug-fontify-buffer): Remove.
23119         (opascal-debug-mode-map): Adjust accordingly.
23121 2013-04-25  Leo Liu  <sdl.web@gmail.com>
23123         Merge octave-mod.el and octave-inf.el into octave.el with some
23124         cleanups.
23125         * progmodes/octave.el: New file renamed from octave-mod.el.
23126         * progmodes/octave-inf.el: Merged into octave.el.
23127         * progmodes/octave-mod.el: Renamed to octave.el.
23129 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
23131         * textmodes/reftex-vars.el
23132         (reftex-label-ignored-macros-and-environments): New defcustom.
23134         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
23136 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23138         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
23139         (smie-indent-keyword): Improve the check to ensure that the next
23140         comment is really on the same line.
23141         (smie-indent-comment): Don't align with a subsequent closer (or eob).
23143         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
23144         semi-colons if the line is not otherwise empty (bug#14218).
23146 2013-04-25  Glenn Morris  <rgm@gnu.org>
23148         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
23150 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23152         * progmodes/opascal.el (opascal-set-token-property): Rename from
23153         opascal-set-text-properties and only set `token' (bug#14134).
23154         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
23155         (opascal-literal-text-properties): Remove.
23156         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
23157         Adjust callers.
23159 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
23161         * textmodes/remember.el (remember-handler-functions): Add an
23162         option for a new handler `remember-store-in-files'.
23163         (remember-data-directory, remember-directory-file-name-format):
23164         New options.
23165         (remember-store-in-files): New function to store remember notes
23166         as separate files within a directory.
23168 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
23170         * progmodes/compile.el (compilation-next-error-function):
23171         Pass "formats" to compilation-find-file (bug#11777).
23173 2013-04-24  Glenn Morris  <rgm@gnu.org>
23175         * vc/vc-bzr.el (vc-bzr-print-log):
23176         * vc/vc-hg.el (vc-hg-print-log):
23177         * vc/vc-svn.el (vc-svn-print-log):
23178         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
23180         * vc/vc-bzr.el (vc-bzr-print-log):
23181         * vc/vc-cvs.el (vc-cvs-print-log):
23182         * vc/vc-git.el (vc-git-print-log):
23183         * vc/vc-hg.el (vc-hg-print-log):
23184         * vc/vc-mtn.el (vc-mtn-print-log):
23185         * vc/vc-rcs.el (vc-rcs-print-log):
23186         * vc/vc-sccs.el (vc-sccs-print-log):
23187         * vc/vc-svn.el (vc-svn-print-log):
23188         * vc/vc.el (vc-print-log-internal): Doc fixes.
23190 2013-04-23  Glenn Morris  <rgm@gnu.org>
23192         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
23193         Remove venerable code attempting to avoid substitute-command-keys.
23195 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
23197         * textmodes/reftex-vars.el (reftex-label-regexps):
23198         Call `reftex-compile-variables' after changes to this variable.
23200 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23202         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
23203         Use lexical-binding.
23204         (jit-lock-force-redisplay): Use markers, check buffer's continued
23205         existence and beware narrowed buffers.
23206         (jit-lock-fontify-now): Adjust call accordingly.
23208 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
23210         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
23211         to avoid misleading the user.
23213 2013-04-22  Leo Liu  <sdl.web@gmail.com>
23215         * info-look.el: Prefer latex2e.info.  (Bug#14240)
23217 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
23219         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
23221         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
23222         * net/tramp.el (tramp-call-process): ... here.
23223         (tramp-set-completion-function, tramp-parse-putty):
23224         * net/tramp-adb.el (tramp-adb-execute-adb-command):
23225         * net/tramp-gvfs.el (tramp-gvfs-send-command):
23226         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
23227         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
23228         (tramp-call-local-coding-command): Use `tramp-call-process'
23229         instead of `tramp-compat-call-process'.
23231         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
23232         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
23233         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
23234         (tramp-find-inline-compress): Improve traces.
23235         (tramp-maybe-send-script): Check for Perl binary.
23236         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
23238 2013-04-22  Daiki Ueno  <ueno@gnu.org>
23240         * epg.el (epg-context-pinentry-mode): New function.
23241         (epg-context-set-pinentry-mode): New function.
23242         (epg--start): Pass --pinentry-mode option to gpg command.
23244 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
23246         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
23247         `comint-dynamic-complete' is obsolete since 24.1, replaced by
23248         `completion-at-point'.  (Bug#13774)
23250         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
23251         default key binding for `describe-distribution' has been moved to
23252         `C-h C-o'.  (Bug#13970)
23254 2013-04-21  Glenn Morris  <rgm@gnu.org>
23256         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
23257         Add doc strings.
23258         (vc-print-log): Clarify interactive prompt.
23260 2013-04-20  Glenn Morris  <rgm@gnu.org>
23262         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23263         No longer include timestamp etc information.
23265 2013-04-20  Roland Winkler  <winkler@gnu.org>
23267         * faces.el (read-face-name): Bug fix, return just one face if arg
23268         multiple is nil.  (Bug#14209)
23270 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
23272         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
23273         (remove-function): Autoload.
23275         * comint.el (comint-redirect-original-filter-function): Remove.
23276         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
23277         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
23278         (vc-cvs-annotate-command):
23279         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
23280         * progmodes/prolog.el (prolog-consult-compile):
23281         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
23282         Use add/remove-function instead.
23283         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
23284         (gud-tooltip-process-output, gud-tooltip-tips):
23285         Use add/remove-function instead.
23286         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
23287         (scheme-interaction-mode, exit-scheme-interaction-mode):
23288         Use add/remove-function instead.
23290         * vc/vc-dispatcher.el: Use lexical-binding.
23291         (vc--process-sentinel): Rename from vc-process-sentinel.
23292         Change last arg to be the code to run.  Don't use vc-previous-sentinel
23293         and vc-sentinel-commands any more.
23294         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
23295         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
23297 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
23299         * progmodes/sh-script.el (sh-imenu-generic-expression):
23300         Handle function names with a single character.  (Bug#14111)
23302 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
23304         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
23305         for subroutines defined in an eval (bug#14182).
23307 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
23309         * bookmark.el (bookmark-completing-read): Improve handling of empty
23310         string (bug#14176).
23312 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
23314         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
23316 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
23318         New faster Imenu implementation (bug#14058).
23319         * progmodes/python.el (python-imenu-prev-index-position)
23320         (python-imenu-format-item-label-function)
23321         (python-imenu-format-parent-item-label-function)
23322         (python-imenu-format-parent-item-jump-label-function):
23323         New vars.
23324         (python-imenu-format-item-label)
23325         (python-imenu-format-parent-item-label)
23326         (python-imenu-format-parent-item-jump-label)
23327         (python-imenu--put-parent, python-imenu--build-tree)
23328         (python-imenu-create-index, python-imenu-create-flat-index)
23329         (python-util-popn): New functions.
23330         (python-mode): Set imenu-create-index-function to
23331         python-imenu-create-index.
23333 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
23335         * winner.el (winner-active-region): Use region-active-p, activate-mark
23336         and deactivate-mark (bug#14225).
23338         * simple.el (deactivate-mark): Don't inline it.
23340 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
23342         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
23344 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
23346         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
23347         file extensions from the archive-mode entry in order to prefer
23348         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
23350 2013-04-18  Leo Liu  <sdl.web@gmail.com>
23352         * bindings.el (help-event-list): Add ?\?.
23354 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
23356         * subr.el (with-wrapper-hook): Declare obsolete.
23357         * simple.el (filter-buffer-substring-function): New hook.
23358         (filter-buffer-substring): Use it.
23359         (filter-buffer-substring-functions): Mark obsolete.
23360         * minibuffer.el (completion-in-region-function): New hook.
23361         (completion-in-region): Use it.
23362         (completion-in-region-functions): Mark obsolete.
23363         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
23364         * abbrev.el (abbrev-expand-function): New hook.
23365         (expand-abbrev): Use it.
23366         (abbrev-expand-functions): Mark obsolete.
23367         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
23368         and :filter-return.
23370 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
23372         * progmodes/python.el (python-nav--syntactically): Fix cornercases
23373         and do not care about match data.
23375 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
23377         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
23378         completion tables when completing error conditions and
23379         `declare' arguments.
23380         (lisp-complete-symbol, field-complete): Mark as obsolete.
23381         (check-parens): Unmatched parens are user errors.
23382         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
23384 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
23386         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
23387         command changed buffer (ie. `flyspell-pre-buffer' is not current
23388         buffer), which prevents making decisions based on invalid value of
23389         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
23390         cause an error when `flyspell-pre-point' was nil after switching
23391         buffers.
23392         (flyspell-post-command-hook): No longer needs to change buffers when
23393         checking pre-word.  While at it remove unnecessary progn.
23395 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
23397         * textmodes/ispell.el (ispell-add-per-file-word-list):
23398         Fix `flyspell-correct-word-before-point' error when accepting
23399         words and `coment-padding' is an integer by using
23400         `comment-normalize-vars' (Bug #14214).
23402 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
23404         New defun movement commands.
23405         * progmodes/python.el (python-nav--syntactically)
23406         (python-nav--forward-defun, python-nav-backward-defun)
23407         (python-nav-forward-defun): New functions.
23409 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
23411         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
23412         (python-syntax-context): Use named compiler-macro for backwards
23413         compatibility with Emacs 24.x.
23415 2013-04-17  Leo Liu  <sdl.web@gmail.com>
23417         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
23418         octave-hide-process-buffer.
23420 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
23422         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
23423         (bug#14216).
23425 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
23427         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
23428         Fix adjustment of offset when receiving incomplete responses from GDB
23429         (bug#14129).
23431 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
23433         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
23434         python-mode-abbrev-table.
23435         (python-skeleton-define): Adjust accordingly.
23436         (python-mode-abbrev-table): New table that inherits from it so that
23437         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
23439         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
23440         (abbrev-symbol): Use it.
23441         (abbrev--before-point): Use it since we already handle inheritance.
23443 2013-04-16  Leo Liu  <sdl.web@gmail.com>
23445         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
23446         binding to info-lookup-symbol.
23448 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
23450         * minibuffer.el (completion--twq-all):
23451         * term/ns-win.el (ns-initialize-window-system):
23452         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
23454 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
23456         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
23457         global bindings.
23459         * doc-view.el (doc-view-start-process): Handle url-handler directories.
23461 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
23463         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
23464         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23465         to nil.
23466         (ruby-end-of-defun): Remove the unused arg, change the docstring
23467         to reflect that this function is only used as the value of
23468         `end-of-defun-function'.
23469         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23470         to reflect an earlier change that beginning/end-of-defun functions
23471         jump between methods in a class definition, as well as top-level
23472         functions.
23474 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23476         * minibuffer.el (minibuffer-complete): Don't just scroll
23477         a *Completions* that's been iconified.
23478         (minibuffer-force-complete): Make sure repetitions do cycle when going
23479         through completion-in-region -> minibuffer-complete.
23481 2013-04-15  Alan Mackenzie  <acm@muc.de>
23483         Correct the placement of c-cpp-delimiters when there're #s not at
23484         col 0.
23486         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
23487         place a submatch around the #.
23488         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
23489         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
23490         on the #, not BOL.
23492 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23494         * emacs-lisp/nadvice.el: Properly test names when adding advice.
23495         (advice--member-p): New arg `name'.
23496         (advice--add-function, advice-member-p): Use it (bug#14202).
23498 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
23500         Reformulate java imenu-generic-expression.
23501         The old expression contained ill formed regexps.
23503         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
23504         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
23505         (cc-imenu-java-method-arg-regexp): New defconsts.
23506         (cc-imenu-java-build-type-args-regex): New defun.
23507         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
23508         handling of spaces in the regexp.
23510 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
23512         * textmodes/ispell.el (ispell-command-loop): Remove
23513         flyspell highlight of a word when ispell accepts it (bug #14178).
23515 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
23517         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
23518         uses code from the previous `ange-ftp-run-real-handler'.
23519         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
23520         only in case that function exist.  This is needed for proper
23521         unloading of Tramp.
23523 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
23525         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
23527         * textmodes/reftex.el (reftex-compile-variables): Use it.
23529 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
23531         * files.el (normal-mode): Only use default major-mode if no other mode
23532         was specified.
23534         * emacs-lisp/trace.el (trace-values): New function.
23536         * files.el: Allow : in local variables (bug#14089).
23537         (hack-local-variable-regexp): New var.
23538         (hack-local-variables-prop-line, hack-local-variables): Use it.
23540 2013-04-13  Roland Winkler  <winkler@gnu.org>
23542         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
23543         data before it gets modified by bibtex-beginning-of-entry.
23545 2013-04-13  Roland Winkler  <winkler@gnu.org>
23547         * textmodes/bibtex.el (bibtex-url): Doc fix.
23549 2013-04-13  Roland Winkler  <winkler@gnu.org>
23551         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
23552         does not visit a BibTeX file, exclude it from the list of buffers
23553         returned by bibtex-initialize.
23555 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
23557         * window.el (split-window): Remove interactive form, since as a
23558         command this function is a special case of split-window-below.
23559         Correct doc string.
23561 2013-04-12  Roland Winkler  <winkler@gnu.org>
23563         * faces.el (read-face-name): Do not override value of arg default.
23564         Allow single faces and strings as default values.  Remove those
23565         elements from return value that are not faces.
23566         (describe-face): Simplify.
23567         (face-at-point): New optional args thing and multiple so that this
23568         function can provide the same functionality previously provided by
23569         read-face-name.
23570         (make-face-bold, make-face-unbold, make-face-italic)
23571         (make-face-unitalic, make-face-bold-italic, invert-face)
23572         (modify-face, read-face-and-attribute): Use face-at-point.
23574         * cus-edit.el (customize-face, customize-face-other-window)
23575         * cus-theme.el (custom-theme-add-face)
23576         * face-remap.el (buffer-face-set)
23577         * facemenu.el (facemenu-set-face): Use face-at-point.
23579 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
23581         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
23583 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
23585         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
23586         off leading { and trailing } from field values.
23588 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
23590         * emacs-lisp/timer.el (timer--check): New function.
23591         (timer--time, timer-set-function, timer-event-handler): Use it.
23592         (timer-set-idle-time): Simplify.
23593         (timer--activate): CSE.
23594         (timer-event-handler): Give more info in error message.
23595         (internal-timer-start-idle): New function, moved from C.
23597         * mpc.el (mpc-proc): Add `restart' argument.
23598         (mpc-proc-cmd): Use it.
23599         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
23600         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
23601         less often.
23603 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
23605         * progmodes/sh-script.el: Implement `sh-mode' own
23606         `add-log-current-defun-function' (bug#14112).
23607         (sh-current-defun-name): New function.
23608         (sh-mode): Use the function.
23610 2013-04-09  Bastien Guerry  <bzg@gnu.org>
23612         * simple.el (choose-completion-string): Fix docstring (bug#14163).
23614 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
23616         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
23618         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
23619         timer (bug#14156).
23621 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
23623         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
23624         declaration.
23626 2013-04-07  Leo Liu  <sdl.web@gmail.com>
23628         * pcmpl-x.el: New file.
23630 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
23632         Do not set x-display-name until X connection is established.
23633         This is needed to prevent from weird situation described at
23634         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
23635         * frame.el (make-frame): Set x-display-name after call to
23636         window system initialization function, not before.
23637         * term/x-win.el (x-initialize-window-system): Add optional
23638         display argument and use it.
23639         * term/w32-win.el (w32-initialize-window-system):
23640         * term/ns-win.el (ns-initialize-window-system):
23641         * term/pc-win.el (msdos-initialize-window-system):
23642         Add compatible optional display argument.
23644 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
23646         * files.el (normal-backup-enable-predicate): On MS-Windows and
23647         MS-DOS compare truenames of temporary-file-directory and of the
23648         file, so that 8+3 aliases (usually found in $TEMP on Windows)
23649         don't fail comparison by compare-strings.  Also, compare file
23650         names case-insensitively on MS-Windows and MS-DOS.
23652 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23654         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
23655         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
23657 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
23659         * whitespace.el (whitespace-color-on, whitespace-color-off):
23660         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
23662 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
23664         * ispell.el (ispell-set-spellchecker-params):
23665         Really set `ispell-args' for all equivs.
23667 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23669         * ido.el (ido-completions): Use extra elements of ido-decorations
23670         (bug#14143).
23671         (ido-decorations): Update docstring.
23673 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
23675         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
23676         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
23677         nil during initialization, in order not to miss changes since the
23678         file was opened.  (Bug#14140)
23680 2013-04-05  Leo Liu  <sdl.web@gmail.com>
23682         * kmacro.el (kmacro-call-macro): Fix bug#14135.
23684 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
23686         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
23688 2013-04-04  Glenn Morris  <rgm@gnu.org>
23690         * electric.el (electric-pair-inhibit-predicate): Add :version.
23692 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
23694         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
23695         when a package is required several times (bug#14082).
23697 2013-04-04  Roland Winkler  <winkler@gnu.org>
23699         * faces.el (read-face-name): Behave as promised by the docstring.
23700         Assume that arg default is a list of faces.
23701         (describe-face): Call read-face-name with list of default faces.
23703 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
23705         * bookmark.el: Fix deletion of bookmarks (bug#13972).
23706         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
23707         (bookmark-bmenu-execute-deletions): Only skip first line if it's
23708         the header.
23709         (bookmark-exit-hook-internal): Save even if list is empty.
23711 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
23713         * emacs-lisp/package.el (package-pinned-packages): New var.
23714         (package--add-to-archive-contents): Obey it (bug#14118).
23716 2013-04-03  Alan Mackenzie  <acm@muc.de>
23718         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
23719         Also adapt to the new values of element 7 of a parse state.
23721         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
23722         parameter `not-in-delimiter'.  Handle being inside comment opener.
23723         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
23724         character in case we're typing a '*' after a '/'.
23725         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
23726         instead by passing the parameter to c-state-pp-to-literal.
23728         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
23729         for elt. 7 of a parse state.
23731 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
23733         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
23734         * international/latin1-disp.el, international/mule-util.el:
23735         * language/cyril-util.el, language/european.el, language/ind-util.el:
23736         * language/lao-util.el, language/thai.el, language/tibet-util.el:
23737         * language/tibetan.el, language/viet-util.el:
23738         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
23740 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23742         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
23743         (electric-pair-post-self-insert-function): Use it.
23744         (electric-pair-default-inhibit): New function, extracted from
23745         electric-pair-post-self-insert-function.
23747 2013-03-31  Roland Winkler  <winkler@gnu.org>
23749         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
23751 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
23753         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
23755 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
23757         Un-indent after "pass" and "return" statements (Bug#13888)
23758         * progmodes/python.el (python-indent-block-enders): New var.
23759         (python-indent-calculate-indentation): Use it.
23761 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
23763         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
23764         defun.  Defining it as defalias could introduce too eager
23765         byte-compiler optimization.  (Bug#14030)
23767 2013-03-30  Chong Yidong  <cyd@gnu.org>
23769         * iswitchb.el (iswitchb-read-buffer): Fix typo.
23771 2013-03-30  Leo Liu  <sdl.web@gmail.com>
23773         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
23774         (kmacro-execute-from-register): Pass the keyboard macro to
23775         kmacro-call-macro or repeating won't work correctly.
23777 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
23779         * progmodes/subword.el: Back to using `forward-symbol'.
23781         * subr.el (forward-whitespace, forward-symbol)
23782         (forward-same-syntax): Move from thingatpt.el.
23784 2013-03-29  Leo Liu  <sdl.web@gmail.com>
23786         * kmacro.el (kmacro-to-register): New command.
23787         (kmacro-execute-from-register): New function.
23788         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
23790 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
23792         * mpc.el: Use defvar-local and setq-local.
23793         (mpc--proc-connect): Connection failures are not bugs.
23794         (mpc-mode-map): `follow-link' only applies to the buffer's content.
23795         (mpc-volume-map): Bind to the up-events.
23797 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
23799         * progmodes/subword.el (superword-mode): Use `forward-sexp'
23800         instead of `forward-symbol'.
23802 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
23804         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
23805         (edebug--recursive-edit): Use it.
23806         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
23807         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
23809 2013-03-28  Leo Liu  <sdl.web@gmail.com>
23811         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
23813 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
23815         * facemenu.el (list-colors-callback): New defvar.
23816         (list-colors-redisplay): New function.
23817         (list-colors-display): Install list-colors-redisplay as the
23818         revert-buffer-function.  (Bug#14063)
23820 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23822         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
23823         and suffixes don't overlap (bug#14061).
23825         * case-table.el: Use lexical-binding.
23826         (case-table-get-table): New function.
23827         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
23829 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
23831         * progmodes/subword.el: Add `superword-mode' to do word motion
23832         over symbol_words (parallels and leverages `subword-mode' which
23833         does word motion inside MixedCaseWords).
23835 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
23837         * eshell/em-unix.el: Move su and sudo to...
23838         * eshell/em-tramp.el: ...Eshell tramp module.
23840 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
23842         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
23843         Change return value to be a sexp.  Delay `get-buffer' to after
23844         restoring the desktop (bug#13951).
23846 2013-03-26  Leo Liu  <sdl.web@gmail.com>
23848         * register.el: Move semantic tag handling back to
23849         cedet/semantic/senator.el.  (Bug#14052)
23851 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
23853         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
23854         into the prompt either (bug#13963).
23856 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23858         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
23859         part of "(error-foo)".
23861 2013-03-24  Juri Linkov  <juri@jurta.org>
23863         * replace.el (list-matching-lines-prefix-face): New defcustom.
23864         (occur-1): Pass `list-matching-lines-prefix-face' to the function
23865         `occur-engine' if `face-differs-from-default-p' returns t.
23866         (occur-engine): Add `,' inside backquote construct to evaluate
23867         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
23868         Pass `prefix-face' to the functions `occur-context-lines' and
23869         `occur-engine-add-prefix'.
23870         (occur-engine-add-prefix, occur-context-lines): Add optional arg
23871         `prefix-face' and propertize the prefix with `prefix-face'.
23872         (Bug#14017)
23874 2013-03-24  Leo Liu  <sdl.web@gmail.com>
23876         * nxml/rng-valid.el (rng-validate-while-idle)
23877         (rng-validate-quick-while-idle): Guard against deleted buffer.
23878         (Bug#13999)
23880         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
23881         is the last entry in kill-buffer-hook.
23883         * files.el (kill-buffer-hook): Doc fix.
23885 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
23887         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
23888         Make it safe-local.
23890         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
23892 2013-03-23  Leo Liu  <sdl.web@gmail.com>
23894         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
23895         Remove.
23897         * nxml/rng-valid.el (rng-validate-mode)
23898         (rng-after-change-function, rng-do-some-validation):
23899         * nxml/rng-maint.el (rng-validate-buffer):
23900         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
23901         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
23902         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
23903         (nxml-extend-after-change-region): Use with-silent-modifications.
23905         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
23906         timer-idle-list.
23908         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
23909         (rng-next-error-1, rng-previous-error-1): Do not let-bind
23910         timer-idle-list.  (Bug#13999)
23912 2013-03-23  Juri Linkov  <juri@jurta.org>
23914         * info.el (info-index-match): New face.
23915         (Info-index, Info-apropos-matches): Add a nested subgroup to the
23916         main pattern and add text properties with the new face to matches
23917         in index entries relative to the beginning of the index entry.
23918         (Bug#14015)
23920 2013-03-21  Eric Ludlam  <zappo@gnu.org>
23922         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
23923         Inhibit read only while inserting objects.
23925 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
23927         * progmodes/cfengine.el: Update docs to mention
23928         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
23929         symbol motion.  Remove "_" from the word syntax.
23931 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
23933         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
23934         syntax for both `cfengine2-mode' and `cfengine3-mode'.
23936 2013-03-20  Juri Linkov  <juri@jurta.org>
23938         * info.el (Info-next-reference-or-link)
23939         (Info-prev-reference-or-link): New functions.
23940         (Info-next-reference, Info-prev-reference): Use them.
23941         (Info-try-follow-nearest-node): Handle footnote navigation.
23942         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
23944 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
23946         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
23947         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
23949 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
23951         Suppress unnecessary non-ASCII chatter during build process.
23952         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23953         (batch-skkdic-convert): Suppress most of the chatter.
23954         It's not needed so much now that machines are faster,
23955         and its non-ASCII component was confusing; see Dmitry Gutov in
23956         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
23958 2013-03-20  Leo Liu  <sdl.web@gmail.com>
23960         * ido.el (ido-chop): Fix bug#10994.
23962 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
23964         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
23965         Remove vars.
23966         (whitespace-color-on, whitespace-color-off):
23967         Use `font-lock-fontify-buffer' (Bug#13817).
23969 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
23971         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
23972         remapping in mode-line.
23973         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
23975 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
23977         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
23978         value for `whitespace-line' face (Bug#13875).
23979         (whitespace-font-lock-keywords): Change description.
23980         (whitespace-color-on): Don't save `font-lock-keywords' value, save
23981         the constructed keywords instead.
23982         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
23984 2013-03-19  Leo Liu  <sdl.web@gmail.com>
23986         * progmodes/compile.el (compilation-display-error): New command.
23987         (compilation-mode-map, compilation-minor-mode-map): Bind it to
23988         C-o.  (Bug#13992)
23990 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
23992         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
23994 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
23996         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
23998 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
24000         * net/tramp-compat.el (tramp-compat-user-error): New defun.
24002         * net/tramp-adb.el (tramp-adb-handle-shell-command):
24003         * net/tramp-gvfs.el (top):
24004         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
24005         (tramp-handle-shell-command): Use it.
24006         (tramp-dissect-file-name): Raise an error when hostname is a
24007         method name, and neither method nor user is specified.
24009         * net/trampver.el: Update release number.
24011 2013-03-18  Leo Liu  <sdl.web@gmail.com>
24013         Make sure eldoc can be turned off properly.
24014         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
24015         eldoc-mode.
24016         (eldoc-display-message-p): Revert last change.
24017         (eldoc-display-message-no-interference-p)
24018         (eldoc-print-current-symbol-info): Tweak.
24020 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
24022         * doc-view.el (doc-view-new-window-function): Check the new window
24023         overlay's display property instead the char property of the
24024         buffer's first char.  Use `with-selected-window' instead of
24025         `save-window-excursion' with `select-window'.
24026         (doc-view-document->bitmap): Check the current doc-view overlay's
24027         display property instead the char property of the buffer's first char.
24029 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
24031         Automate the build of ja-dic.el (Bug#13984).
24032         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
24033         from the input, rather than assume that it's been done for us by the
24034         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
24035         the current date into a ja-dic.el comment, as that complicates
24036         regression testing.
24038 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
24040         * whitespace.el: Fix double evaluation.
24041         (whitespace-space, whitespace-hspace, whitespace-tab)
24042         (whitespace-newline, whitespace-trailing, whitespace-line)
24043         (whitespace-space-before-tab, whitespace-indentation)
24044         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
24045         obsolete defvars.
24046         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
24047         (whitespace-color-on): Use a single font-lock-add-keywords call.
24048         Fix double-evaluation of face variables.
24050 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
24052         * net/tramp-adb.el (tramp-adb-parse-device-names):
24053         Use `start-process' instead of `call-process'.  Otherwise, the
24054         function might be blocked under MS Windows.  (Bug#13299)
24056 2013-03-17  Leo Liu  <sdl.web@gmail.com>
24058         Extend eldoc to display info in the mode-line.  (Bug#13978)
24059         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
24060         (eldoc-mode-line-string): New variable.
24061         (eldoc-minibuffer-message): New function.
24062         (eldoc-message-function): New variable.
24063         (eldoc-message): Use it.
24064         (eldoc-display-message-p)
24065         (eldoc-display-message-no-interference-p):
24066         Support eldoc-post-insert-mode.
24068         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
24069         (eval-expression): Run it.
24071 2013-03-17  Roland Winkler  <winkler@gnu.org>
24073         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
24074         strings in the list of return values.
24076 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
24078         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
24079         radix before checking for HMS forms.
24081 2013-03-16  Leo Liu  <sdl.web@gmail.com>
24083         * progmodes/scheme.el: Add indentation and font-locking for λ.
24084         (Bug#13975)
24086 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
24088         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
24089         token before point (bug#13942).
24091 2013-03-16  Leo Liu  <sdl.web@gmail.com>
24093         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
24095 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
24097         * startup.el (command-line-normalize-file-name): Fix handling of
24098         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
24099         <xfq.free@gmail.com> in
24100         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
24102 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
24104         Sync with Tramp 2.2.7.
24106         * net/trampver.el: Update release number.
24108 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
24110         * doc-view.el: Fix bug#13887.
24111         (doc-view-insert-image): Don't modify overlay associated to
24112         non-live windows, and implement horizontal centering of image in
24113         case it's smaller than the window.
24114         (doc-view-new-window-function): Force redisplay of new windows on
24115         doc-view buffers.
24117 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
24119         * saveplace.el (save-place-alist-to-file): Don't sort
24120         `save-place-alist', just pretty-print it (bug#13882).
24122 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
24124         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
24125         Check whether `default-file-name-coding-system' is bound.
24126         It isn't in XEmacs.
24128 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
24130         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
24131         backquotes for `obsolete' (bug#13929).
24133         * international/mule.el (find-auto-coding): Include file name in
24134         obsolescence warning (bug#13922).
24136 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
24138         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
24139         for CFEngine 3-specific indentation.
24140         (cfengine3-indent-line): Use it.  Fix up category regex.
24141         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
24143 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
24145         * type-break.el (type-break-file-name):
24146         * textmodes/remember.el (remember-data-file):
24147         * strokes.el (strokes-file):
24148         * shadowfile.el (shadow-initialize):
24149         * saveplace.el (save-place-file):
24150         * ps-bdf.el (bdf-cache-file):
24151         * progmodes/idlwave.el (idlwave-config-directory):
24152         * net/quickurl.el (quickurl-url-file):
24153         * international/kkc.el (kkc-init-file-name):
24154         * ido.el (ido-save-directory-list-file):
24155         * emulation/viper.el (viper-custom-file-name):
24156         * emulation/vip.el (vip-startup-file):
24157         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
24158         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
24160 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
24162         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
24163         * language/thai-word.el: Switch to UTF-8.
24165 See ChangeLog.16 for earlier changes.
24167 ;; Local Variables:
24168 ;; coding: utf-8
24169 ;; End:
24171   Copyright (C) 2011-2015 Free Software Foundation, Inc.
24173   This file is part of GNU Emacs.
24175   GNU Emacs is free software: you can redistribute it and/or modify
24176   it under the terms of the GNU General Public License as published by
24177   the Free Software Foundation, either version 3 of the License, or
24178   (at your option) any later version.
24180   GNU Emacs is distributed in the hope that it will be useful,
24181   but WITHOUT ANY WARRANTY; without even the implied warranty of
24182   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24183   GNU General Public License for more details.
24185   You should have received a copy of the GNU General Public License
24186   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.