* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
[emacs.git] / lisp / ChangeLog
blob1bd45c07c3ee3a5c908f524f6f42a1fbce67d805
1 2015-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
4         unfold `closure's since byte-compile-unfold-lambda doesn't know how to
5         do it.
7 2015-03-06  Oscar Fuentes  <ofv@wanadoo.es>
9         * net/browse-url.el (browse-url-firefox): Removed outdated
10         MS-Windows limitations.
12 2015-03-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
14         * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
15         obsolete.
16         (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
17         Don't clean up postal addresses if ldap-ignore-attribute-codings
18         is set.  Combine mail addresses into one field. (Bug#17720)
19         (eudc-ldap-simple-query-internal): Call
20         eudc-ldap-cleanup-record-filtering-addresses instead of
21         eudc-ldap-cleanup-record-simple.
22         (eudc-ldap-get-field-list): Likewise.
24 2015-03-05  Ivan Shmakov  <ivan@siamics.net>
26         * net/eww.el (eww-html-p): New function (bug#20009).
27         (eww-render): Use it.
29 2015-03-05  Artur Malabarba  <bruce.connor.am@gmail.com>
31         * desktop.el (desktop-buffer-info): Write docstring.
32         (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
33         unquote lamda.
35         * emacs-lisp/package.el (package-refresh-contents): Update doc.
37 2015-03-05  Dmitry Gutov  <dgutov@yandex.ru>
39         * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
41 2015-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
43         Replace *-function vars with generic functions in cl-generic.
44         * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
45         (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
46         (cl--generic-t-generalizer): New const.
47         (cl--generic-make-method): Rename from `cl--generic-method-make'.
48         (cl--generic-make): Change calling convention.
49         (cl--generic): Add `options' field.
50         (cl-generic-function-options): New function.
51         (cl-defgeneric): Rewrite handling of options.  Add support for :method
52         options and allow the use of a default body.
53         (cl-generic-define): Save options in the corresponding new field.
54         (cl-defmethod): Fix ordering of qualifiers.
55         (cl-generic-define-method): Use cl-generic-generalizers.
56         (cl--generic-get-dispatcher): Change calling convention, and change
57         calling convention of the returned function as well so as to take the
58         list of methods separately from the generic function object, so that it
59         can receive the original generic function object.
60         (cl--generic-make-next-function): New function, extracted from
61         cl--generic-make-function.
62         (cl--generic-make-function): Use it.
63         (cl-generic-method-combination-function): Remove.
64         (cl--generic-cyclic-definition): New error.
65         (cl-generic-call-method): Take a generic function object rather than
66         its name.
67         (cl-method-qualifiers): New alias.
68         (cl--generic-build-combined-method): Use cl-generic-combine-methods,
69         don't segregate by qualifiers here any more.
70         (cl--generic-standard-method-combination): Segregate by qualifiers
71         here instead.  Add support for the `:extra' qualifier.
72         (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
73         (cl-generic-generalizers, cl-generic-combine-methods):
74         New generic functions.
75         (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
76         Use the new "default method in defgeneric" functionality, change
77         calling convention to receive a generic function object.
78         (cl--generic-head-used): New var.
79         (cl--generic-head-generalizer, cl--generic-eql-generalizer)
80         (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
81         New consts.
82         * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
83         (eieio--generic-subclass-generalizer): New consts.
84         (cl-generic-generalizers): New methods.
85         * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
86         (eieio--generic-static-object-generalizer): New consts.
87         (cl-generic-generalizers) <(head eieio--static)>: New method.
88         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
89         Unfold closures like lambdas.
91 2015-03-04  Filipp Gunbin  <fgunbin@fastmail.fm>
93         * autorevert.el (auto-revert-notify-add-watch):
94         Fix handler installation.  (Bug#20000)
96 2015-03-04  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
98         * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
99         (eww-same-page-p,eww-set-character-encoding): Fix docstring.
100         (eww): Do not end error messages with a period.
102 2015-03-04  Zhongwei Yao  <ashi08104@gmail.com>
104         * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
105         New user option.
106         (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
107         names starting with a space.
108         (tramp-methods): Add `tramp-default-port' for "adb".
109         (tramp-adb-parse-device-names): Add traces.  Return device names
110         with port, if present.
111         (tramp-adb-handle-directory-files-and-attributes): Quote all
112         remote file names.
113         (tramp-adb-get-device): New defun.
114         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
115         Use it.
116         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
117         variables.  Remove checks for listed devices.
119 2015-03-04  Michael Albinus  <michael.albinus@gmx.de>
121         * net/tramp.el (tramp): Add :link property.
122         (tramp-login-prompt-regexp): Allow also "user", as required by
123         Fritz!Box telnet.
124         (tramp-autoload-file-name-handler): Use "/".
125         (tramp-handle-unhandled-file-name-directory): Return nil when
126         required by the spec.
128         * net/tramp-cache.el (tramp-dump-connection-properties):
129         Use `with-temp-file'.
131         * net/tramp-sh.el (tramp-perl-file-attributes)
132         (tramp-perl-directory-files-and-attributes): Escape apostrophs in
133         file names.
134         (tramp-do-file-attributes-with-stat): Quote file name.
135         (tramp-sh-handle-directory-files-and-attributes): Fall back to
136         `tramp-handle-directory-files-and-attributes' in case of problems.
137         (tramp-do-directory-files-and-attributes-with-stat)
138         (tramp-sh-handle-file-name-all-completions)
139         (tramp-sh-handle-delete-directory)
140         (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
141         Normalize use of "cd".
142         (tramp-do-directory-files-and-attributes-with-stat): Use the
143         `quoting-style' arg of `ls' if possible.  Make it also working for
144         file names with apostrophs.
145         (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
146         in proper order.
147         (tramp-do-copy-or-rename-file-via-buffer)
148         (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
149         (tramp-get-remote-locale): Accept also \r in output.
150         (tramp-get-ls-command-with-quoting-style): New defun.
151         (tramp-get-inline-coding): Set `default-directory' to a local
152         directory.  Sporadically, `call-process-region' does not handle a
153         remote default directory properly.
155         * net/trampver.el: Update release number.
157 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
159         * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
160         .dat files for aspell dicts are also searched for in location
161         described by `ispell-aspell-dict-dir', matching aspell's dict-dir
162         variable.
164 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
166         * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
167         (ispell-hunspell-fill-dictionary-entry)
168         (ispell-find-hunspell-dictionaries)
169         (ispell-set-spellchecker-params): New generic name for
170         `ispell-hunspell-dictionary-equivs-alist'.
171         (ispell-aspell-add-aliases): Also use
172         `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
173         standard dict names.
175 2015-03-03  Glenn Morris  <rgm@gnu.org>
177         * net/browse-url.el (browse-url-firefox-startup-arguments):
178         Make obsolete.
179         (browse-url-firefox): Doc fix.  Remove -remote, which no longer
180         exists in Firefox 36.  (Bug#19921)
181         (browse-url-firefox-sentinel): Remove function.
183 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
185         * frame.el (blink-cursor-timer-function): Don't increment
186         blink-cursor-blinks-done counter when a menu is active on a w32
187         frame.  (Bug#19925)
189 2015-03-03  Juri Linkov  <juri@linkov.net>
191         * comint.el (comint-line-beginning-position): Revert searching for
192         the prompt when comint-use-prompt-regexp is non-nil because it
193         doesn't distinguish input from output.  Check the field property
194         `output' for the case when comint-use-prompt-regexp is nil.
195         (Bug#19710)
197 2015-03-03  Jérémy Compostella  <jeremy.compostella@gmail.com>
199         * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
200         with PAGER=cat.  (Bug#19870)
202 2015-03-03  Glenn Morris  <rgm@gnu.org>
204         * textmodes/flyspell.el (flyspell-duplicate-distance):
205         Bump :version.
207 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
209         * textmodes/text-mode.el (text-mode-syntax-table): Make some
210         punctuation character behave as word-constituent, for more
211         compatibility with Unicode.
213         * simple.el (transient-mark-mode): Doc fix.  (Bug#19841)
215 2015-03-03  Agustín Martín Domingo  <agustin6martin@gmail.com>
217         Improve string search in `flyspell-word-search-*`. (Bug#16800)
218         * flyspell.el (flyspell-duplicate-distance): Limit default search
219         distance for duplicated words to 40000.
220         (flyspell-word-search-backward, flyspell-word-search-forward):
221         Search as full word with defined casechars, not as substring.
223 2015-03-03  Juri Linkov  <juri@linkov.net>
225         Better support for the case of typing RET on the prompt in comint.
226         * comint.el (comint-get-old-input-default): Go to the field end
227         when comint-use-prompt-regexp is nil.
228         (comint-line-beginning-position): Check if point is already
229         on the prompt before searching for the prompt when
230         comint-use-prompt-regexp is non-nil.  (Bug#19710)
232 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
234         * frame.el (frame-notice-user-settings): Refresh the value of
235         frame parameters after calling tty-handle-reverse-video.
236         Call face-set-after-frame-default with the actual parameters, to avoid
237         resetting colors back to unspecified.
238         (set-background-color, set-foreground-color): Pass the foreground
239         and background colors to face-set-after-frame-default.  (Bug#19802)
241 2015-03-03  Wolfgang Jenkner  <wjenkner@inode.at>
243         * net/network-stream.el (network-stream-open-tls): Respect the
244         :end-of-capability setting.
246 2015-03-03  Juri Linkov  <juri@linkov.net>
248         Revert the previous change of comint-line-beginning-position callers,
249         and modify comint-line-beginning-position instead.
251         * comint.el (comint-history-isearch-search)
252         (comint-history-isearch-message, comint-history-isearch-wrap):
253         Use comint-line-beginning-position instead of field-beginning.
254         (comint-send-input): Use either end-of-line or field-end
255         depending on comint-use-prompt-regexp.
256         (comint-line-beginning-position): Search backward
257         for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
258         Use field-beginning instead of line-beginning-position
259         if comint-use-prompt-regexp is nil.  (Bug#19710)
261 2015-03-03  Robert Pluim  <rpluim@gmail.com>  (tiny change)
263         * calendar/todo-mode.el (todo-item-done): When done items are
264         hidden, restore point to its location prior to invoking this
265         command.  (Bug#19727)
267 2015-03-03  Eli Zaretskii  <eliz@gnu.org>
269         * textmodes/artist.el (artist-ellipse-compute-fill-info):
270         Use mapcar, not mapc, to create the other half of fill-info.
271         (Bug#19763)
273 2015-03-03  Nicolas Petton  <nicolas@petton.fr>
275         * emacs-lisp/authors.el (authors-ignored-files)
276         (authors-renamed-files-alist): Additions.
278 2015-03-03  Michael Albinus  <michael.albinus@gmx.de>
280         * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
281         tempfile for ControlPath.  (Bug#19702)
283 2015-03-03  Michael Albinus  <michael.albinus@gmx.de>
285         * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
286         ControlPath if possible.  (Bug#19702)
288 2015-03-03  Glenn Morris  <rgm@gnu.org>
290         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
291         (authors-valid-file-names, authors-renamed-files-alist): Additions.
293 2015-03-03  Alan Mackenzie  <acm@muc.de>
295         CC Mode: Stop Font Lock forcing fontification from BOL.  (Bug#19669)
296         * progmodes/cc-mode.el (c-font-lock-init):
297         Set font-lock-extend-region-functions to nil.
299 2015-03-03  Daniel Colascione  <dancol@dancol.org>
301         * emacs-lisp/generator.el: Make globals conform to elisp
302         style throughout.  Use more efficient font-lock patterns.
303         (cps-inhibit-atomic-optimization): Rename from
304         `cps-disable-atomic-optimization'.
305         (cps--gensym): New macro; replaces `cl-gensym' throughout.
306         (cps-generate-evaluator): Move the `iter-yield' local macro
307         definition here
308         (iter-defun, iter-lambda): from here.
310         (iter-defun): Use `macroexp-parse-body'.
312 2015-03-03  Daniel Colascione  <dancol@dancol.org>
314 2015-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
316         * progmodes/gud.el: Use lexical-binding (bug#19966).
318         * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
320 2015-03-03  Daniel Colascione  <dancol@dancol.org>
322         * emacs-lisp/generator.el: Make globals conform to elisp
323         style throughout.  Use more efficient font-lock patterns.
324         (cps-inhibit-atomic-optimization): Rename from
325         `cps-disable-atomic-optimization'.
326         (cps--gensym): New macro; replaces `cl-gensym' throughout.
327         (cps-generate-evaluator): Move the `iter-yield' local macro
328         definition here...
329         (iter-defun, iter-lambda): ...from here.
331 2015-03-03  Artur Malabarba  <bruce.connor.am@gmail.com>
333         * emacs-lisp/package.el (package-autoremove): Fix if logic.
335 2015-03-03  Martin Rudalics  <rudalics@gmx.at>
337         * window.el (window--dump-frame): For pixel height return total
338         number of frame's lines.
340 2015-03-03  Daniel Colascione  <dancol@dancol.org>
342         * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
344         * emacs-lisp/generator.el (iter-defun): Correctly propagate
345         docstrings and declarations to underlying function.
347 2015-03-02  Daniel Colascione  <dancol@dancol.org>
349         * emacs-lisp/generator.el: New file.
351         * vc/vc.el (vc-responsible-backend): Add autoload cookie for
352         `vc-responsible-backend'.
354 2015-03-01  Michael Albinus  <michael.albinus@gmx.de>
356         * vc/vc-hooks.el (vc-state, vc-working-revision):
357         Use `vc-responsible-backend' in order to support unregistered files.
359         * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
361         * vc/vc-rcs.el (vc-rcs-fetch-master-state):
362         * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
363         master name.
365         * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
367 2015-03-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
369         * net/shr.el (shr-insert): Remove soft hyphens.
370         (shr-insert): Also remove soft hypens from non-folded text.
372 2015-02-28  Eli Zaretskii  <eliz@gnu.org>
374         * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
375         when the charset is only given by the HTML <head>, and allow to
376         specify the encoding with "C-x RET c".
378 2015-02-27  Mark Laws  <mdl@60hz.org>
380         Support daemon mode on MS-Windows (bug#19688)
381         * server.el (server-process-filter): Force GUI frames on
382         MS-Windows in daemon mode, even if a TTY frame was requested.
384         * frameset.el (frameset-keep-original-display-p): Don't assume
385         windows-nt cannot be in daemon mode.
387         * frame.el (window-system-for-display): Don't assume windows-nt
388         cannot be in daemon mode.
390 2015-02-26  Ivan Shmakov  <ivan@siamics.net>
392         * faces.el (face-list-p): Split from face-at-point.
393         (face-at-point): Use it.
394         * facemenu.el (facemenu-add-face): Likewise.  (Bug#19912)
396 2015-02-26  Oscar Fuentes  <ofv@wanadoo.es>
398         * vc/vc.el (vc-annotate-switches): New defcustom.
399         * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
400         (vc-bzr-annotate-command): Use vc-switches.
401         * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
402         (vc-cvs-annotate-command): Use vc-switches.
403         * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
404         (vc-git-annotate-command): Use vc-switches.
405         * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
406         (vc-hg-annotate-command): Use vc-switches.
407         * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
408         (vc-mtn-annotate-command): Use vc-switches.
409         * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
410         (vc-svn-annotate-command): Use vc-switches.
412 2015-02-26  Alan Mackenzie  <acm@muc.de>
414         Handle "#" operator properly inside macro.  Fix coding bug.
416         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
417         On finding a "#" which looks like the start of a macro, check it
418         isn't already inside a macro.
420         * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
421         "safe" position into the list of them when this is beyond our
422         current position.
424 2015-02-26  Martin Rudalics  <rudalics@gmx.at>
426         * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
427         the menu frame is dead.  (Bug#19728)
429 2015-02-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
431         python.el: Handle tabs in python-indent-dedent-line.
432         * progmodes/python.el (python-indent-dedent-line): Fixes for
433         indentation with tabs.  Thanks to <dale@codefu.org> (Bug#19730).
435 2015-02-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
437         * progmodes/python.el (python-indent-context): Respect user
438         indentation after comment.
440 2015-02-26  Tassilo Horn  <tsdh@gnu.org>
442         * textmodes/reftex-vars.el (featurep): Conditionalize value of
443         reftex-label-regexps in order to stay compatible with XEmacs 21.5
444         which has no explicitly numbered groups in regexps (bug#19714).
446 2015-02-26  Daiki Ueno  <ueno@gnu.org>
448         * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
449         integer before comparison.
451 2015-02-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
453         * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
455 2015-02-25  Oleh Krehel  <ohwoeowho@gmail.com>
457         * emacs-lisp/check-declare.el (check-declare-warn):
458         Use compilation-style warnings.
459         (check-declare-files): Make sure that
460         `check-declare-warning-buffer' is in `compilation-mode'.
462 2015-02-25  Oleh Krehel  <ohwoeowho@gmail.com>
464         * emacs-lisp/check-declare.el (check-declare-ext-errors):
465         New defcustom.
466         (check-declare): New defgroup.
467         (check-declare-verify): When `check-declare-ext-errors' is
468         non-nil, warn about an unfound function, instead of saying
469         "skipping external file".
471 2015-02-25  Tassilo Horn  <tsdh@gnu.org>
473         * textmodes/reftex-vars.el (reftex-include-file-commands):
474         Call reftex-set-dirty on changes.
476 2015-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
478         * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
479         * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
480         save-excursion.
482 2015-02-24  Glenn Morris  <rgm@gnu.org>
484         * mail/rmailsum.el (rmail-summary-previous-all)
485         (rmail-summary-previous-msg): Simplify.
487 2015-02-25  Artur Malabarba  <bruce.connor.am@gmail.com>
489         * simple.el (region-active-p): Fix doc to say non-nil.
491 2015-02-24  Samer Masterson  <nosefrog@gmail.com>
493         * eshell/em-hist.el (eshell-hist-parse-word-designator):
494         Return args joined with " ".
495         * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
496         (eshell-hist-parse-modifier): Pass mod a list instead of a string
497         (bug#18960).
499 2015-02-24  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
501         * comint.el (comint-mode-map): Fix obvious typo.
503 2015-02-24  Johan Claesson  <johanclaesson@bredband.net>  (tiny change)
505         * filecache.el (file-cache-filter-regexps):
506         Add lock files.  (Bug#19516)
508 2015-02-24  Glenn Morris  <rgm@gnu.org>
510         * mail/rmailsum.el (rmail-summary-next-all)
511         (rmail-summary-previous-all, rmail-summary-next-msg):
512         Fix handling of optional argument.  (Bug#19916)
514         * progmodes/f90.el (f90-beginning-of-subprogram)
515         (f90-end-of-subprogram, f90-match-end):
516         Handle continued strings where the continuation does not start
517         with "&" and happens to match our regexp.  (Bug#19809)
519 2015-02-24  Bozhidar Batsov  <bozhidar@batsov.com>
521         * comint.el (comint-clear-buffer): New command.
522         (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
524 2015-02-23  Pete Williamson  <petewil0@googlemail.com>  (tiny change)
526         Use ${EXEEXT} more uniformly in makefiles
527         * Makefile.in (EMACS): Append ${EXEEXT}.
529 2015-02-23  Sam Steingold  <sds@gnu.org>
531         * files.el (recover-session): Handle `auto-save-list-file-prefix'
532         being a directory (empty non-directory part).
534 2015-02-23  Magnus Henoch  <magnus.henoch@gmail.com>
536         * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
537         instead of sasl-scram-sha-1, as the former is the name that can be
538         required.
540         * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
541         (sasl-scram-sha-1-client-final-message)
542         (sasl-scram-sha-1-authenticate-server): Move to end of file.
544 2015-02-23  Paul Eggert  <eggert@cs.ucla.edu>
546         * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
547         (Bug#19826)
549 2015-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
551         * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
552         and :documentation.  Change return value format accordingly.
553         * emacs-lisp/cl-generic.el (cl--generic-lambda):
554         * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
555         * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
557 2015-02-23  Dmitry Gutov  <dgutov@yandex.ru>
559         Introduce `xref-etags-mode'.
560         * progmodes/xref.el (xref-etags-mode--saved): New variable.
561         (xref-etags-mode): New minor mode.  (Bug#19466)
563 2015-02-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
565         * dom.el (dom-previous-sibling): New function.
567 2015-02-21  Paul Eggert  <eggert@cs.ucla.edu>
569         * bindings.el (ctl-x-map): There is no 'C-;'.
570         For now, make do with 'M-;'; this allows 'make bootstrap' to work.
571         Perhaps some other binding should be chosen.  (Bug#19826)
573 2015-02-21  Artur Malabarba  <bruce.connor.am@gmail.com>
575         * bindings.el (ctl-x-map): Fix `comment-line' binding.  (Bug#19826)
577 2015-02-21  Michael Albinus  <michael.albinus@gmx.de>
579         * autorevert.el (auto-revert-notify-add-watch)
580         (auto-revert-notify-handler, auto-revert-buffers): Handle also
581         buffers without an associated file, like dired buffers.  (Bug#16112)
583 2015-02-21  Dima Kogan  <dima@secretsauce.net>
585         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
586         (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
587         wrappers.  Call (auto-revert-buffers) consequently in order to
588         install handlers.
590 2015-02-21  Wilson Snyder  <wsnyder@wsnyder.org>
592         Sync with upstream verilog-mode revision 0d6420b.
593         * progmodes/verilog-mode.el (verilog-mode-version): Update.
594         (vector-skip-list): Remove.
595         (verilog-auto-inst-port, verilog-auto-inst-port-list)
596         (verilog-auto-inst, verilog-auto-inst-param):
597         Use arguments rather than vector-skip.
598         (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
599         modport if signal attachment is itself a modport.
600         Reported by Matthew Lovell.
602 2015-02-21  Reto Zimmermann  <reto@gnu.org>
604         Sync with upstream vhdl mode v3.37.1.  Add VHDL'08 support.
605         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
606         (vhdl-doc-release-notes): Update.
607         (vhdl-standard): Add VHDL'08 option.
608         (vhdl-sensitivity-list-all): New option.
609         (vhdl-directive-keywords): Add psl.
610         (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
611         (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
612         (vhdl-imenu-generic-expression): Add context, directive.
613         (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
614         (vhdl-template-map-init): Add vhdl-template-context.
615         (vhdl-mode-syntax-table): Support VHDL'08 block comments.
616         (vhdl-create-mode-menu): Add some entries.
617         (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
618         (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
619         New constants.
620         (vhdl-directives): New variable.
621         (vhdl-words-init, vhdl-template-process)
622         (vhdl-template-replace-header-keywords): Support VHDL'08.
623         (vhdl-abbrev-list-init): Add vhdl-directives.
624         (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
625         (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
626         (vhdl-lineup-comment): Handle block comments and directives.
627         (vhdl-beginning-of-directive, vhdl-template-context)
628         (vhdl-template-context-hook): New functions.
629         (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
630         (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
631         (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
632         (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
633         (vhdl-scan-context-clause): Add context.
635 2015-02-20  Glenn Morris  <rgm@gnu.org>
637         * calendar/solar.el (solar-sunrise-sunset-string):
638         Shorten message a little.
639         (sunrise-sunset): Use message rather than a window.  (Bug#19859)
641         * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
642         (f90-font-lock-keywords-2): Some F2008 additions.
644 2015-02-19  Dima Kogan  <dima@secretsauce.net>
646         * autorevert.el (auto-revert-buffers-counter)
647         (auto-revert-buffers-counter-lockedout): New variables.
648         (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
649         (auto-revert-notify-handler): Apply `auto-revert-handler' if not
650         suppressed by lockout.  (Bug#18958)
652 2015-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
654         * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
655         returns classes, not class names (bug#19891).
657         * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
659         * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
661 2015-02-18  Kelly Dean  <kelly@prtime.org>
663         * register.el (jump-to-register):
664         * emacs-lisp/lisp.el (check-parens):
665         Push mark before goto-char so user doesn't lose his previous place.
667 2015-02-18  Kelly Dean  <kelly@prtime.org>
669         * rect.el (rectangle-mark-mode):
670         Suppress superfluous "Mark set" message from push-mark.
672 2015-02-18  Kelly Dean  <kelly@prtime.org>
674         * help-mode.el (help-go-back, help-go-forward, help-follow):
675         * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
676         * winner.el (winner-redo):
677         * windmove.el (windmove-do-window-select):
678         * register.el (jump-to-register, increment-register, insert-register)
679         (append-to-register, prepend-to-register):
680         * files.el (find-alternate-file, abort-if-file-too-large, write-file)
681         (set-visited-file-name):
682         * emacs-lisp/lisp.el (kill-backward-up-list):
683         Use user-error instead of error.  (Bug#14480)
685 2015-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
687         * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
688         assumptions about window ordering.
690 2015-02-16  Kelly Dean  <kelly@prtime.org>
692         * files.el (insert-file-contents-literally): Fix docstring typo.
694 2015-02-16  Kelly Dean  <kelly@prtime.org>
696         * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
697         arguments correctly. (Bug#19685)
698         (define-minor-mode): Clarify docstring.
699         Clarify mode switch messages for minor modes.  (Bug#19690)
701 2015-02-16  Kelly Dean  <kelly@prtime.org>
703         * emacs-lisp/package-x.el (package-upload-buffer-internal):
704         Create valid tar files.  (Bug#19536)
706 2015-02-16  Kelly Dean  <kelly@prtime.org>
708         * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
709         (Bug#19059)
711 2015-02-16  Kelly Dean  <kelly@prtime.org>
713         * help-mode.el (help-do-xref): Prevent duplicated display of Info
714         buffer, and prevent interference with existing buffer.  (Bug#13190)
716 2015-02-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
718         python.el: Do not deactivate mark on shell fontification.  (Bug#19871)
720         * progmodes/python.el (python-shell-font-lock-post-command-hook):
721         Do not deactivate mark on fontification.
723 2015-02-16  Ivan Shmakov  <ivan@siamics.net>
725         * net/eww.el: Fix desktop support.  (Bug#19226)
726         (eww-mode): Add autoload cookie.
727         (eww-restore-desktop): Use inhibit-read-only.
729         * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
730         add-hook works correctly even if the file is not yet loaded.
732 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
734         * emacs-lisp/eieio.el (defclass): Use make-instance rather than
735         eieio-constructor.
736         (set-slot-value): Mark as obsolete.
737         (eieio-object-class-name): Improve call to eieio-class-name.
738         (eieio-slot-descriptor-name, eieio-class-slots): New functions.
739         (object-slots): Use it.  Declare obsolete.
740         (eieio-constructor): Merge it with `make-instance'.
741         (initialize-instance): Use `dolist'.
742         (eieio-override-prin1, eieio-edebug-prin1-to-string):
743         Use eieio--class-print-name.
745         * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
746         (eieio-class-name): Make it do what the docstring claims.
747         (eieio-defclass-internal): Simplify since `prots' isn't used any more.
748         (eieio--slot-name-index): Simplify accordingly.
749         (eieio-barf-if-slot-unbound): Pass the class object rather than its
750         name to `slot-unbound'.
752         * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
753         than on eieio-constructor.
755 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
758         * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
759         about relationship between `type', `named', and `slots'.
760         * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
761         value of `cl-struct-type' property.
763 2015-02-15  Jérémy Compostella  <jeremy.compostella@gmail.com>
765         * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
766         with PAGER=cat.  (Bug#19870)
768 2015-02-14  Artur Malabarba  <bruce.connor.am@gmail.com>
770         * emacs-lisp/package.el (package-read-all-archive-contents):
771         Don't build the compatibility table.
772         (package-refresh-contents, package-initialize): Do build the
773         compatibility table.
774         (package--build-compatibility-table): New function.
775         (describe-package-1): Describe why a package is incompatible.
777 2015-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
779         * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
780         of the parent.
781         (cl--assertion-failed): New function.
782         (cl-assertion-failed): Move in from cl-lib.el.
784         * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
785         as children of its parents.
786         (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
787         (cl-typep): Reimplement using define-inline.
788         (cl-assert): Use cl--assertion-failed.
789         (cl-struct-slot-value): Use define-inline.
791         * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
793         * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
794         (flyspell-generic-check-word-p): Mark as obsolete.
796 2015-02-13  Artur Malabarba  <bruce.connor.am@gmail.com>
798         * emacs-lisp/package.el (package--compatibility-table): New var.
799         (package--add-to-compatibility-table): New function.
800         (package-read-all-archive-contents): Populate compatibility table.
801         (package--incompatible-p): Also look in dependencies.
802         (describe-package-1): Fix "incompat" handling.
804 2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
806         * net/rfc2104.el: Moved here from lisp/gnus.
808 2015-02-13  Magnus Henoch  <magnus.henoch@gmail.com>
810         * net/sasl-scram-rfc.el: New file.
812         * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
813         Add SCRAM-SHA-1 first.
814         (sasl-mechanism-alist): Remove SCRAM-MD5 entry.  Add SCRAM-SHA-1
815         entry (bug#17636).
817 2015-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
819         * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
820         <ul>.
822 2015-02-12  Oleh Krehel  <ohwoeowho@gmail.com>
824         * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
825         (gdb-inferior-filter): Don't pop up the buried output buffer when
826         `gdb-display-io-nopopup' is non-nil.
828 2015-02-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
830         python.el: Allow killing shell buffer if process is dead.  (Bug#19823)
832         * progmodes/python.el (python-shell-font-lock-kill-buffer):
833         Don't require a running process.
834         (python-shell-font-lock-post-command-hook): Fontify only if the
835         shell process is running.
837 2015-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
839         * hi-lock.el (hi-lock-unface-buffer): Don't call
840         font-lock-remove-keywords if not needed (bug#19796).
842 2015-02-11  Artur Malabarba  <bruce.connor.am@gmail.com>
844         * emacs-lisp/package.el (package-install): Invert the second
845         argument, for better backwards compatibility.
846         (package-install-button-action, package-reinstall)
847         (package-menu-execute): Account for the change.
849 2015-02-11  Nicolas Petton  <nicolas@petton.fr>
851         * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
852         version of seq-reverse that works on sequences in Emacs 24.
853         Bump seq.el version to 1.2.
855 2015-02-11  Artur Malabarba  <bruce.connor.am@gmail.com>
857         * emacs-lisp/package.el (package--incompatible-p): New function.
858         Return non-nil if PKG has no chance of being installable.
859         (package--emacs-version-list): New variable.
860         (describe-package-1, package-desc-status)
861         (package-menu--print-info, package-menu--status-predicate):
862         Account for the "incompat" status.
864 2015-02-11  Martin Rudalics  <rudalics@gmx.at>
866         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
867         Rename frame parameter `maximized' to `fullscreen-restore'.
868         Restore fullwidth/-height after fullboth state.  Update doc-strings.
870 2015-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
872         * net/shr.el (shr-insert): Make sure the space inserted has the
873         right font (for width).
874         (shr-fill-line): Preserve background colours when indenting/folding.
875         (shr-ensure-paragraph): Don't insert a new paragraph as the first
876         item in a <li>.
878 2015-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
880         * net/shr.el (shr-use-fonts): New variable.
881         (shr-fill-text): Rename from "fold".
882         (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
883         New functions.
884         (shr-insert): Just insert, don't fill the text.  Filling is now
885         done afterwards per display unit.
886         (shr-fill-lines, shr-fill-line): New functions to fill text on a
887         per-unit base.
888         (shr-find-fill-point): Take a "beginning" parameter.
889         (shr-indent): Indent using the :width display parameter when using
890         fonts.
891         (shr-parse-style): Ignore "inherit" values, since we already do that.
892         (shr-tag-img): Remove the insertion states.
893         (shr-tag-blockquote): New-style filling.
894         (shr-tag-dd): Ditto.
895         (shr-tag-li): Ditto.
896         (shr-mark-fill): New function to mark lines that need filling.
897         (shr-tag-h1): Use a larger font.
898         (shr-tag-table-1): Get the natural and suggested widths in one
899         rendering.
900         (shr-tag-table): Create the "fixed" version of the table only once
901         so that we can cache data in the table.
902         (shr-insert-table): Get colspan calculations right by having
903         zero-width columns after colspan ones.
904         (shr-expand-alignments): New function to make :align-to specs work
905         right when rendered in one buffer and displayed in another one.
906         (shr-insert-table-ruler): Use :align-to to get the widths right.
907         (shr-make-table): Cache more.
908         (shr-make-table-1): Use the new <td> data layout.
909         (shr-pixel-buffer-width): New function.
910         (shr-render-td): Add a caching layer.
911         (shr-dom-max-natural-width): New function.
912         (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
913         (shr-tag-tt): New function.
914         (shr-tag-hr): Compute the right length when using fonts.
915         (shr-table-widths): Off-by-one error in width computation.
916         (shr-expand-newlines): Remove dead code.
917         (shr-insert-table): Extend background colors to the end of the column.
918         (shr-insert-table): Only copy the background, not underline and
919         the like.
920         (shr-face-background): New function.
922 2015-02-10  Fabián Ezequiel Gallina  <fgallina@gnu.org>
924         python.el: Improved shell font lock respecting markers.  (Bug#19650)
926         * progmodes/python.el
927         (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
928         (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
929         (python-shell-font-lock-post-command-hook): Fontify by copying text
930         properties from fontified buffer to shell, keeping markers unchanged.
931         (python-shell-font-lock-turn-off): Fix typo.
932         (python-util-text-properties-replace-name): Delete function.
934 2015-02-09  Nicolas Petton  <nicolas@petton.fr>
936         * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
937         return sequence elements in correct order.
939 2015-02-09  Simen Heggestøyl  <simenheg@gmail.com>  (tiny change)
941         * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
943 2015-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
945         * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
947         * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
948         case where the default value would be re-interpreted as a form!
950 2015-02-09  Christopher Genovese  <genovese@cmu.edu>  (tiny change)
952         * help-fns.el (help-fns--signature): Keep doc for keymap.
954 2015-02-09  Kelly Dean  <kelly@prtime.org>
956         * desktop.el: Save mark-ring less verbosely.
957         (desktop-var-serdes-funs): New var.
958         (desktop-buffer-info, desktop-create-buffer): Use it.
959         (desktop-file-version): Update to 208.
961 2015-02-09  Leo Liu  <sdl.web@gmail.com>
963         * emacs-lisp/pcase.el (pcase-lambda): New Macro.  (Bug#19814)
965         * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
967         * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
969 2015-02-08  Paul Eggert  <eggert@cs.ucla.edu>
971         Port to platforms lacking test -a and -o
972         * Makefile.in (compile-clean):
973         * net/tramp-sh.el (tramp-find-executable):
974         Prefer '&&' and '||' to 'test -a' and 'test -o'.
976 2015-02-08  Artur Malabarba  <bruce.connor.am@gmail.com>
978         * newcomment.el (comment-line): Fix missing paren.
980 2015-02-08  Ulrich Müller  <ulm@gentoo.org>
982         * play/gamegrid.el: Update comment to reflect that the
983         'update-game-score' helper program is now setgid by default.
985 2015-02-08  David Kastrup  <dak@gnu.org>
987         * subr.el (apply-partially): Use lexical binding here.
989 2015-02-08  Artur Malabarba  <bruce.connor.am@gmail.com>
991         * newcomment.el (comment-line): New command.
993         * bindings.el (ctl-x-map): Bind to `C-x C-;'.
995 2015-02-08  Oleh Krehel  <ohwoeowho@gmail.com>
997         * outline.el (outline-show-entry): Fix one invisible char for the
998         file's last outline.  (Bug#19493)
1000 2015-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1002         * subr.el (indirect-function): Change advertised calling convention.
1004 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1006         python.el: Fix completion-at-point.  (Bug#19667)
1008         * progmodes/python.el
1009         (python-shell-completion-native-get-completions): Force process buffer.
1010         (python-shell-completion-at-point): Handle case where call is not
1011         in a shell buffer.
1013 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1015         python.el: Fix shell font-lock multiline input.  (Bug#19744)
1017         * progmodes/python.el
1018         (python-shell-font-lock-post-command-hook): Handle multiline input.
1020 2015-02-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1022         python.el: Make shell font-lock respect markers.  (Bug#19650)
1024         * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1025         Use `erase-buffer`.
1026         (python-shell-font-lock-comint-output-filter-function):
1027         Handle newlines.
1028         (python-shell-font-lock-post-command-hook): Respect markers on
1029         text fontification.
1031 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1033         python.el: Keep eldoc visible while typing args.  (Bug#19637)
1034         * progmodes/python.el (python-eldoc--get-symbol-at-point):
1035         New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1036         (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1038 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1040         Fix hideshow integration.  (Bug#19761)
1041         * progmodes/python.el
1042         (python-hideshow-forward-sexp-function): New function based on
1043         Carlos Pita <carlosjosepita@gmail.com> patch.
1044         (python-mode): Make `hs-special-modes-alist` use it and initialize
1045         the end regexp with the empty string to avoid skipping parens.
1047 2015-02-07  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1049         * progmodes/python.el (python-check-custom-command): Do not use
1050         defvar-local for compat with Emacs<24.3.
1052 2015-02-07  Martin Rudalics  <rudalics@gmx.at>
1054         * frame.el (frame-notice-user-settings):
1055         Update `frame-size-history'.
1056         (make-frame): Update `frame-size-history'.
1057         Call `frame-after-make-frame'.
1058         * faces.el (face-set-after-frame-default): Remove call to
1059         frame-can-run-window-configuration-change-hook.
1061 2015-02-06  Dmitry Gutov  <dgutov@yandex.ru>
1063         * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1064         `vc-cvs-command' (bug#19732).
1066 2015-02-06  Nicolas Petton  <nicolas@petton.fr>
1068         * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1069         New functions.
1070         * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1071         (seq--drop-list, seq--take-list, seq--take-while-list):
1072         Better docstring.
1074 2015-02-06  Artur Malabarba  <bruce.connor.am@gmail.com>
1076         * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1077         `image-kill-buffer' instead.
1079 2015-02-06  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1081         * net/ldap.el (ldap-search-internal): Fix docstring.
1083 2015-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1085         * subr.el (define-error): The error conditions may be constant
1086         lists, so use `append' to concatenate them.
1088 2015-02-06  Wolfgang Jenkner  <wjenkner@inode.at>
1090         * net/network-stream.el (network-stream-open-tls): Respect the
1091         :end-of-capability setting.
1093 2015-02-05  Artur Malabarba  <bruce.connor.am@gmail.com>
1095         * emacs-lisp/package.el (package--sort-by-dependence):
1096         New function.  Return PACKAGE-LIST sorted by dependencies.
1097         (package-menu-execute): Use it to delete packages in order.
1098         (package--sort-deps-in-alist): New function.
1099         (package-menu-mark-install): Can mark dependencies.
1100         (package--newest-p): New function.
1101         (package-delete): Don't deselect when deleting an older version of
1102         an upgraded package.
1104         * emacs-lisp/package.el: Add missing (require 'subr-x)
1106 2015-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1108         * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1109         hyphenated (bug#19263).
1111         * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1112         of variable interpolation (bug#19751).
1114 2015-02-05  Era Eriksson  <era+emacs@iki.fi>
1116         * json.el (json-end-of-file): New error (bug#19768).
1117         (json-pop, json-read): Use it.
1119 2015-02-05  Kelly Dean  <kelly@prtime.org>
1121         * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1122         `describe-variable'.
1124         * help-fns.el (describe-function-or-variable): New function.
1126         * help.el (help-map): Bind `describe-function-or-variable' to o.
1127         (help-for-help-internal): Document o key.
1129 2015-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1131         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1132         special (:documentation ...) feature.
1133         * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1134         (eieio-make-child-predicate): Same.
1135         (eieio-copy-parents-into-subclass): Remove unused arg.
1136         (eieio-defclass-internal): Adjust call accordingly and remove redundant
1137         `pname' var.
1138         (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1139         callers accordingly.
1141         * emacs-lisp/cconv.el (cconv--convert-function):
1142         Add `docstring' argument.
1143         (cconv-convert): Use it to handle the new (:documentation ...) form.
1144         (cconv-analyze-form): Handle the new (:documentation ...) form.
1146         * emacs-lisp/bytecomp.el:
1147         (byte-compile-initial-macro-environment): Use macroexp-progn.
1148         (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1149         (byte-compile-file-form-defvar-function): Rename from
1150         byte-compile-file-form-define-abbrev-table.
1151         (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1152         (byte-compile): Use byte-compile-top-level rather than
1153         byte-compile-lambda so we can compile non-values.
1154         (byte-compile-form): Add warnings for failed uses of lexical vars via
1155         quoted symbols.
1156         (byte-compile-unfold-bcf): Improve message for failed inlining.
1157         (byte-compile-make-closure): Handle new format of internal-make-closure
1158         for dynamically-generated docstrings.
1160         * delsel.el: Deprecate the `kill' option.  Use lexical-binding.
1161         (open-line): Delete like all other commands, instead of killing.
1162         (delete-active-region): Don't define any return any value.
1164         * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1165         (python-mode): Don't assume eldoc-documentation-function has a non-nil
1166         default.
1168 2015-02-04  Sam Steingold  <sds@gnu.org>
1170         * progmodes/python.el (python-indent-calculate-indentation):
1171         Avoid the error when computing top-level indentation.
1173 2015-02-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1175         * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1177         * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1178         (mail-mode-flyspell-verify): Fix last change.
1179         (flyspell-external-point-words, flyspell-large-region):
1180         Avoid add-to-list on local vars.
1182 2015-02-04  Tassilo Horn  <tsdh@gnu.org>
1184         * emacs-lisp/package.el (package-installed-p): Fix typo causing
1185         void-variable error.
1187 2015-02-04  Artur Malabarba  <bruce.connor.am@gmail.com>
1189         * image-mode.el (image-kill-buffer): New command.
1190         (image-mode-map): Bind it to k.
1192         * emacs-lisp/package.el (package-delete): Remove package from
1193         `package-selected-packages' even if it can't be deleted.
1194         (package-installed-p): Accept package-desc objects.
1195         (package-install): Can be used to mark dependencies as
1196         selected. When given a package-desc object which is already
1197         installed, the package is not downloaded again, but it is marked
1198         as selected (if it wasn't already).
1199         (package-reinstall): Accept package-desc objects.
1201 2015-02-03  Artur Malabarba  <bruce.connor.am@gmail.com>
1203         * emacs-lisp/package.el (package-delete): Document NOSAVE.
1204         (package--get-deps): delete-dups when ONLY is nil.
1205         (package-autoremove): Warn the user if `package-selected-packages'
1206         is empty.
1208         (package--user-selected-p): New function.
1209         (package-delete, package-install, package-install-from-buffer):
1210         Use it
1211         (package-selected-packages): Mention it.
1213         (package-initialize): Don't populate `package-selected-packages'.
1214         (package-install-user-selected-packages, package-autoremove):
1215         Special handling for empty `package-selected-packages'.
1216         (package-install): Fix when PKG is a package-desc.
1218         (package-desc-status): Add "dependency" status to the Package
1219         Menu.
1220         (package-menu--status-predicate, package-menu--print-info)
1221         (package-menu-mark-delete, package-menu--find-upgrades)
1222         (package-menu--status-predicate, describe-package-1): Use it
1224         (package--removable-packages): New function.
1225         (package-autoremove): Use it.
1226         (package-menu-execute): Offer to remove unneeded packages.
1228         (package--read-pkg-desc, package-tar-file-info): Fix reference to
1229         tar-desc.
1231 2015-02-03  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1233         * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1234         (package-delete): New NOSAVE argument.
1236 2015-02-03  Michael Albinus  <michael.albinus@gmx.de>
1238         * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1239         (tramp-open-shell, tramp-maybe-open-connection): Set also
1240         HISTFILESIZE and HISTSIZE when needed.  (Bug#19731)
1242 2015-02-02  Artur Malabarba  <bruce.connor.am@gmail.com>
1244         * emacs-lisp/package.el (package--find-non-dependencies):
1245         New function.
1246         (package-initialize): Use it to populate `package-selected-packages'.
1247         (package-menu-execute): Clean unnecessary `and'.
1248         (package--get-deps): Fix returning duplicates.
1250 2015-02-02  Michael Albinus  <michael.albinus@gmx.de>
1252         * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1253         Use it as default.
1254         (tramp-open-shell, tramp-maybe-open-connection): Support it.
1255         (Bug#19731)
1257 2015-02-02  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1259         * emacs-lisp/package.el (package-delete): Remove package from
1260         package-selected-packages.
1261         (package-autoremove): Remove unneeded variable.
1263 2015-02-01  Artur Malabarba  <bruce.connor.am@gmail.com>
1265         * emacs-lisp/package.el (package-selected-packages): Fix :type
1266         (package-install): Rename ARG to MARK-SELECTED.
1267         (package--get-deps): Fix for indirect dependencies.
1268         (package-used-elsewhere-p): Rename to
1269         (package--used-elsewhere-p): New function.
1270         (package-reinstall, package-user-selected-packages-install)
1271         (package-autoremove): Use sharp-quote.
1272         (package-user-selected-packages-install): Reindent and rename to
1273         (package-install-user-selected-packages): New function.
1275 2015-02-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1277         * emacs-lisp/package.el: Don't allow deleting dependencies.
1279         (package-used-elsewhere-p): New function.
1280         (package-delete): Use it, return now an error when trying to
1281         delete a package used as dependency by another package.
1283         Add a reinstall package command.
1284         (package-reinstall): New function.
1286         Add a package-autoremove command.
1287         (package-selected-packages): New user var.
1288         (package-install): Add an optional arg to notify interactive use.
1289         Fix docstring. Save installed package to
1290         packages-installed-directly.
1291         (package-install-from-buffer): Same.
1292         (package-user-selected-packages-install): Allow installing all
1293         packages in packages-installed-directly at once.
1294         (package--get-deps): New function.
1295         (package-autoremove): New function.
1296         (package-install-button-action): Call package-install with
1297         interactive arg.
1298         (package-menu-execute): Same but only for only for not installed
1299         packages.
1301 2015-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1303         * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1304         and eieio-make-child-predicate.
1305         (eieio-class-parents): Use eieio--class-object.
1306         (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1307         (slot-exists-p): Use find-class.
1309         * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1310         Use find-lisp-object-file-name, help-fns-short-filename and new calling
1311         convention for eieio-class-def.
1312         (eieio-build-class-list): Remove function, unused.
1313         (eieio-method-def): Remove button type, unused.
1314         (eieio-class-def): Inherit from help-function-def.
1315         (eieio--defclass-regexp): New constant.
1316         (find-function-regexp-alist): Use it.
1317         (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1318         (eieio-help-find-method-definition, eieio-help-find-class-definition):
1319         Remove functions.
1321         * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1322         Use cl-check-type everywhere instead.
1323         (eieio-class-object): Remove, use find-class instead when needed.
1324         (class-p): Don't inline.
1325         (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1326         such as eieio classes, as objects.  Don't inline.
1327         (object-p): Mark as obsolete.
1328         (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1329         (eieio--generic-tagcode): Avoid `class-p'.
1330         (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1331         (eieio-defclass-internal): Use current-load-list rather than
1332         `class-location'.
1334         * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1336 2015-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1338         * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1339         since it may be "equivalent" in some sense, yet different (bug#19734).
1341 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1343         * outline.el (outline-font-lock-face): Add docstring.
1344         (outline-invisible-p): Improve docstring.
1345         (outline-invent-heading): Add docstring.
1346         (outline-promote): Improve docstring.
1347         (outline-demote): Improve docstring.
1348         (outline-head-from-level): Improve docstring.
1349         (outline-end-of-heading): Add docstring.
1350         (outline-next-visible-heading): Improve docstring.
1351         (outline-previous-visible-heading): Improve docstring.
1352         (outline-hide-region-body): Improve docstring.
1353         (outline-flag-subtree): Add docstring.
1354         (outline-end-of-subtree): Add docstring.
1355         (outline-headers-as-kill): Improve docstring.
1357 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1359         * outline.el (outline-hide-entry): Rename from `hide-entry'.
1360         (hide-entry): Declare as obsolete.
1361         (outline-show-entry): Rename from `show-entry'.
1362         (show-entry): Declare as obsolete.
1363         (outline-hide-body): Rename from `hide-body'.
1364         (hide-body): Declare as obsolete.
1365         (outline-hide-region-body): Rename from `hide-region-body'.
1366         (hide-region-body): Declare as obsolete.
1367         (outline-show-all): Rename from `show-all'.
1368         (show-all): Declare as obsolete.
1369         (outline-hide-subtree): Rename from `hide-subtree'.
1370         (hide-subtree): Declare as obsolete.
1371         (outline-hide-leaves): Rename from `hide-leaves'.
1372         (hide-leaves): Declare as obsolete.
1373         (outline-show-subtree): Rename from `show-subtree'.
1374         (show-subtree): Declare as obsolete.
1375         (outline-hide-sublevels): Rename from `hide-sublevels'.
1376         (hide-sublevels): Declare as obsolete.
1377         (outline-hide-other): Rename from `hide-other'.
1378         (hide-other): Declare as obsolete.
1379         (outline-show-children): Rename from `show-children'.
1380         (show-children): Declare as obsolete.
1381         (outline-show-branches): Rename from `show-branches'.
1382         (show-branches): Declare as obsolete.
1384 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1386         * outline.el (outline-mode): Clean up docstring.
1387         (font-lock-warning-face): Remove obsolete declaration.
1388         (outline-font-lock-face): Remove obsolete comment.
1390 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1392         * lisp/custom.el (defface): Set `indent' to 1.
1394 2015-01-30  Oleh Krehel  <ohwoeowho@gmail.com>
1396         * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1398 2015-01-30  Michal Nazarewicz  <mina86@mina86.com>
1400         * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1401         is set, but user has just been asked whether they really want to
1402         kill Emacs (for example with a ‘Modified buffers exist; exit
1403         anyway?’ prompt), do not ask them for another confirmation.
1405 2015-01-29  Jay Belanger  <jay.p.belanger@gmail.com>
1407         * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
1408         (calc-convert-units): Check for missing units.
1409         (math-consistent-units-p): Strengthen the test for consistent units.
1411         * lisp/calc/calc-ext.el (calc-init-extensions):  Autoload
1412         `calc-convert-exact-units' and assign it a keybinding.
1414         * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
1415         "un" keybinding.
1417 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1419         * emacs-lisp/cl.el (cl--function-convert): Simplify.
1421 2015-01-28  Tassilo Horn  <tsdh@gnu.org>
1423         * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1424         punctuation syntax since to allow bibtex fields with values such
1425         as {Test 1) and 2)} (bug#19205, bug#19707).
1426         (reftex--prepare-syntax-tables): New function.
1427         (reftex-mode): Use it.
1429 2015-01-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1431         python.el: New non-global state dependent indentation engine.
1432         (Bug#18319, Bug#19595)
1433         * progmodes/python.el (python-syntax-comment-or-string-p):
1434         Accept PPSS as argument.
1435         (python-syntax-closing-paren-p): New function.
1436         (python-indent-current-level)
1437         (python-indent-levels): Mark obsolete.
1438         (python-indent-context): Return more context cases.
1439         (python-indent--calculate-indentation)
1440         (python-indent--calculate-levels): New functions.
1441         (python-indent-calculate-levels): Use them.
1442         (python-indent-calculate-indentation, python-indent-line):
1443         (python-indent-line-function): Rewritten to use new API.
1444         (python-indent-dedent-line): Simplify logic.
1445         (python-indent-dedent-line-backspace): Use `unless`.
1446         (python-indent-toggle-levels): Delete function.
1448 2015-01-28  Daniel Koning  <dk@danielkoning.com>  (tiny change)
1450         * subr.el (posnp): Correct docstring of `posnp'.
1451         (posn-col-row): Make it work with all mouse position objects.
1452         * textmodes/artist.el (artist-mouse-draw-continously):
1453         Cancel timers if an error occurs during continuous drawing.  (Bug#6130)
1455 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
1457         * button.el (button-activate, push-button): Doc fix.  (Bug#19628)
1459 2015-01-28  Michael Albinus  <michael.albinus@gmx.de>
1461         * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1462         Adapt docstring.
1463         (file-notify--descriptor): New defun.
1464         (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1465         Adapt docstring.  Handle multiple values for
1466         `file-notify-descriptors' entries.  (Bug#18880)
1468         * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1469         `file-notify-descriptors', the implementation has been changed.
1471 2015-01-28  Eli Zaretskii  <eliz@gnu.org>
1473         * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1474         On MS-Windows, bind coding-system-for-read to the console output
1475         codepage.  (Bug#19458)
1477 2015-01-28  Dmitry Gutov  <dgutov@yandex.ru>
1479         Unbreak `mouse-action' property in text buttons.
1480         * button.el (push-button): Fix regression from 2012-12-06.
1482 2015-01-28  Glenn Morris  <rgm@gnu.org>
1484         * progmodes/sh-script.el (sh-mode): Doc fix.
1485         (sh-basic-indent-line): Handle electric newline.  (Bug#18756)
1487 2015-01-28  Paul Eggert  <eggert@cs.ucla.edu>
1489         Fix dired quoting bug with "Hit`N`Hide".
1490         * files.el (shell-quote-wildcard-pattern): Also quote "`".  (Bug#19498)
1492 2015-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1494         Tighten up the tagcode used for eieio and cl-struct objects.
1495         * loadup.el: Load cl-preloaded.
1496         * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1497         slot of the tag symbol to :quick-object-witness-check.
1498         (eieio-object-p): Use :quick-object-witness-check.
1499         (eieio--generic-tagcode): Use cl--generic-struct-tag.
1500         * emacs-lisp/cl-preloaded.el: New file.
1501         * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1502         (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1503         (cl--make-usage-args): Strip away &aux args.
1504         (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1505         (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1506         (cl-defstruct): Use `declare' and cl-struct-define.
1507         * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1508         (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1510 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1512         * emacs-lisp/cl.el (cl--function-convert):
1513         Merge cache that cl--labels-convert adds (bug#19699).
1515 2015-01-27  Ivan Shmakov  <ivan@siamics.net>
1517         * tar-mode.el: Allow for adding new archive members.  (Bug#19274)
1518         (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1519         (tar-header-serialize): New functions.
1520         (tar-current-position): Split from tar-current-descriptor.
1521         (tar-current-descriptor): Use it.
1522         (tar-new-entry): New command.
1523         (tar-mode-map): Bind it.
1525 2015-01-27  Sam Steingold  <sds@gnu.org>
1527         * progmodes/python.el (python-check-custom-command): Buffer local
1528         because it usually includes the buffer name.
1529         (python-check-command): Set to epylint when pyflakes is not available.
1531 2015-01-27  Artur Malabarba  <bruce.connor.am@gmail.com>
1533         * isearch.el (isearch-process-search-char): Add docstring.
1535 2015-01-27  Oleh Krehel  <ohwoeowho@gmail.com>
1537         * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1539 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
1541         * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1542         for the case cl-flet or cl-labels form is wrapped with lexical-let
1543         (bug#19613).
1545 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1547         * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1548         (cl--generic): The method-table is now a (list-of cl--generic-method).
1549         (cl--generic-member-method): New function.
1550         (cl-generic-define-method): Use it.
1551         (cl--generic-build-combined-method, cl--generic-cache-miss):
1552         Adapt to new method-table.
1553         (cl--generic-no-next-method-function): Add `method' argument.
1554         (cl-generic-call-method): Adapt to new method representation.
1555         (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1556         (cl-find-method, cl-method-qualifiers): New functions.
1557         (cl--generic-method-info): Adapt to new method representation.
1558         Return a string for the qualifiers.
1559         (cl--generic-describe):
1560         * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1561         (eieio-all-generic-functions, eieio-method-documentation):
1562         Adjust to new method representation.
1564         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1566 2015-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1568         * emacs-lisp/cl-generic.el: Add a method-combination hook.
1569         (cl-generic-method-combination-function): New var.
1570         (cl--generic-lambda): Remove `with-cnm' arg.
1571         (cl-defmethod): Change accordingly.
1572         (cl-generic-define-method): Don't check qualifiers validity.
1573         Preserve all qualifiers in `method-table'.
1574         (cl-generic-call-method): New function.
1575         (cl--generic-nest): Remove (morph into cl-generic-call-method).
1576         (cl--generic-build-combined-method): Adjust to new format of method-table
1577         and use cl-generic-method-combination-function.
1578         (cl--generic-standard-method-combination): New function, extracted from
1579         cl--generic-build-combined-method.
1580         (cl--generic-cnm-sample): Adjust to new format of method-table.
1582         * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1583         instead of :primary.
1585         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1586         Remove obsolete function.
1588 2015-01-26  Lars Ingebrigtsen  <larsi@gnus.org>
1590         * net/shr.el (shr-make-table-1): Fix colspan typo.
1591         (shr-make-table-1): Add comments.
1592         (shr-make-table-1): Make colspan display more sensibly.
1594         * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1595         slightly.
1597 2015-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1599         * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1600         (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1601         (bug#19672).
1602         (cl--generic-typeof-types): Add support for `sequence'.
1603         (cl-defmethod): Add non-keywords in the qualifiers.
1605 2015-01-25  Dmitry Gutov  <dgutov@yandex.ru>
1607         * emacs-lisp/find-func.el (find-function-regexp): Don't match
1608         `defgroup' (regression from the previous change here).
1610 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1612         * net/ldap.el (ldap-search-internal): Mention binddn in invalid
1613         credentials error message.
1615 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1617         * net/ldap.el (ldap-password-read): Validate password before
1618         caching it.
1619         (ldap-search-internal): Handle ldapsearch error conditions.
1621 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1623         * net/ldap.el (ldap-password-read): Handle password-cache being nil.
1625 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1627         * net/eudc.el (eudc-expand-inline): Always restore former server
1628         and protocol.
1630 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1632         * net/eudcb-ldap.el: Don't nag the user in case a default base is
1633         provided by the LDAP system configuration file.
1635 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1637         * net/eudc.el (eudc-format-query): Preserve the
1638         eudc-inline-query-format ordering of attributes in the returned list.
1639         * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
1640         Append the LDAP wildcard character to the last attribute value.
1642 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1644         * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
1645         Downcase field names of LDAP results.
1646         (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
1648 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1650         * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
1651         (ldap-search-internal): Send password to ldapsearch through a pipe
1652         instead of via the command line.
1654 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1656         * net/ldap.el: Require password-cache.
1657         (ldap-password-read): New function.
1658         (ldap-search-internal): Call ldap-password-read when it is
1659         configured to be called.
1661 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1663         * net/eudc-vars.el (eudc-expansion-overwrites-query):
1664         Change default to nil.
1666 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1668         * net/eudc.el (eudc-expand-inline): Ignore text properties of
1669         string-to-expand.
1671 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1673         * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
1674         format that includes first name and surname.
1676 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1678         * net/eudc-vars.el (eudc-inline-query-format): Change default to
1679         query email and first name instead of surname.
1681 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1683         * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
1685 2015-01-23  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
1687         * net/eudc-vars.el (eudc-server): Adjust docstring to mention
1688         eudc-server-hotlist.
1689         (eudc-server-hotlist): Move from eudc.el and make defcustom.
1690         * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
1691         (eudc-set-server): Allow setting protocol to nil.
1692         (eudc-expand-inline): Support hotlist-only expansions when server
1693         is not set.
1695 2015-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1697         * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
1698         (cl--generic-build-combined-method): Use it.
1700 2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
1702         Don't downcase system diagnostics' first letters
1703         * emacs-lisp/bytecomp.el (byte-compile-file):
1704         * ffap.el (find-file-at-point):
1705         * files.el (insert-file-1):
1706         * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
1707         (ange-ftp-copy-file-internal):
1708         * progmodes/etags.el (visit-tags-table):
1709         Keep diagnostics consistent with system's.
1710         * ffap.el (ffap-machine-p):
1711         Ignore case while comparing diagnostics.
1713 2015-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1715         * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
1716         arg (bug#19645).
1717         * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
1718         body with a docstring.
1720 2015-01-22  Dmitry Gutov  <dgutov@yandex.ru>
1722         * progmodes/xref.el (xref-location-marker, xref-location-group):
1723         Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
1724         counterparts.
1726         * progmodes/etags.el (xref-location-marker): Same.
1728         * progmodes/xref.el (xref--current): Rename from `xref--selected'.
1729         (xref--inhibit-mark-current): Rename from
1730         `xref--inhibit-mark-selected'.  Update the usages.
1731         (xref-quit): Reword the docstring.  Kill buffers after quitting
1732         windows instead of before.
1733         (xref--insert-xrefs): Tweak help-echo.
1734         (xref--read-identifier-history, xref--read-pattern-history):
1735         New variables.
1736         (xref--read-identifier, xref-find-apropos): Use them.
1738 2015-01-21  Ulrich Müller  <ulm@gentoo.org>
1740         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1741         Allow the 'update-game-score' helper program to run suid or sgid.
1743 2015-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1745         * emacs-lisp/eieio.el: Use cl-defmethod.
1746         (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
1747         (eieio-object-name-string): Declare as obsolete.
1749         * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
1750         (eieio--specializers-apply-to-class-p): New function.
1751         (eieio-all-generic-functions): Use it.
1752         (eieio-method-documentation): Use it as well as cl--generic-method-info.
1753         Change format of return value.
1754         (eieio-help-class): Adapt accordingly.
1756         * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
1757         errors when there's a `before' but no `primary' (bug#19645).
1758         (next-method-p): Return nil rather than signal an error.
1759         (eieio-defgeneric): Remove bogus (fboundp 'method).
1761         * emacs-lisp/eieio-speedbar.el:
1762         * emacs-lisp/eieio-datadebug.el:
1763         * emacs-lisp/eieio-custom.el:
1764         * emacs-lisp/eieio-base.el: Use cl-defmethod.
1766         * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
1767         (cl--generic-setf-rewrite): Setup the setf expander right away.
1768         (cl-defmethod): Make sure the setf expander is setup before we expand
1769         the body.
1770         (cl-defmethod): Silence byte-compiler warnings.
1771         (cl-generic-define-method): Shuffle code to change return value.
1772         (cl--generic-method-info): New function, extracted from
1773         cl--generic-describe.
1774         (cl--generic-describe): Use it.
1776 2015-01-21  Dmitry Gutov  <dgutov@yandex.ru>
1778         * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
1779         the major mode.  Remap `quit-window' to `xref-quit'.
1780         (xref--xref-buffer-mode): Inherit from special-mode.
1782         xref: Keep track of temporary buffers  (bug#19466).
1783         * progmodes/xref.el (xref--temporary-buffers, xref--selected)
1784         (xref--inhibit-mark-selected): New variables.
1785         (xref--mark-selected): New function.
1786         (xref--show-location): Maybe add the buffer to
1787         `xref--temporary-buffers', add `xref--mark-selected' to
1788         `buffer-list-update-hook' there.
1789         (xref--window): Add docstring.
1790         (xref-quit): Rename from `xref--quit'.  Update both references.
1791         Add KILL argument.  When it's non-nil, kill the temporary buffers
1792         that haven't been selected by the user.
1793         (xref--show-xref-buffer): Change the second argument to alist,
1794         extract the values for `xref--window' and
1795         `xref--temporary-buffers' from it.  Add `xref--mark-selected' to
1796         `buffer-list-update-hook' to each buffer in the list.
1797         (xref--show-xrefs): Move the logic of calling `xref-find-function'
1798         here.  Save the difference between buffer lists before and after
1799         it's called as "temporary buffers", and `pass it to
1800         `xref-show-xrefs-function'.
1801         (xref--find-definitions, xref-find-references)
1802         (xref-find-apropos): Update accordingly.
1804 2015-01-20  Artur Malabarba  <bruce.connor.am@gmail.com>
1806         * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
1808 2015-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1810         * emacs-lisp/eieio-generic.el: Remove.
1811         (defgeneric, defmethod): Move to eieio-compat.el.  Mark obsolete.
1812         * emacs-lisp/eieio-compat.el: New file.
1813         * emacs-lisp/eieio.el: Don't require eieio-generic any more.
1814         * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
1815         Remove unused function.
1816         (eieio-defclass): Move to eieio-compat.el.
1817         * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
1818         (macroexp--expand-all): Use it.
1819         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
1821 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
1823         * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
1824         major modes should use `add-function' to alter value of the variable.
1825         * hexl.el (hexl-mode):
1826         * ielm.el (inferior-emacs-lisp-mode):
1827         * progmodes/cfengine.el (cfengine3-mode):
1828         * progmodes/elisp-mode (emacs-lisp-mode):
1829         * progmodes/octave.el (octave-mode):
1830         * progmodes/python.el (python-mode):
1831         * simple.el (read--expression): Set `eldoc-documentation-function'
1832         using `add-function' so the default value is always used.
1834         * descr-text.el (describe-char-eldoc): New function returning
1835         basic Unicode codepoint information (e.g. name) about character
1836         at point.  It is meant to be used as a default value of the
1837         `eldoc-documentation-function' variable.
1838         (describe-char-eldoc--format, describe-char-eldoc--truncate):
1839         New helper functions for `describe-char-eldoc' function.
1841 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
1843         * textmodes/paragraphs.el (sentence-end-base): Include an
1844         ellipsis (…) and interrobang (‽) characters as end of a sentence,
1845         and a closing single quote (’) as an end of a quote.
1847 2015-01-20  Michal Nazarewicz  <mina86@mina86.com>
1849         * textmodes/tildify.el (tildify-double-space-undos): A new
1850         variable specifying whether pressing space in `tildify-mode' after
1851         a space has been replaced with hard space undos the substitution.
1852         (tildify-space): Add code branch for handling `tildify-doule-space'.
1854         * textmodes/tildify.el (tildify-space): A new function
1855         which can be used as a `post-self-insert-hook' to automatically
1856         convert spaces into hard spaces.
1857         (tildify-space-pattern): A new variable specifying pattern where
1858         `tildify-space' should take effect.
1859         (tildify-space-predicates): A new variable specifying list of
1860         predicate functions that all must return non-nil for
1861         `tildify-space' to take effect.
1862         (tildify-space-region-predicate): A new functions meant to be
1863         used as a predicate in `tildify-space-predicates' list.
1864         (tildify-mode): A new minor mode enabling `tildify-space' as a
1865         `post-self-insert-hook'
1867 2015-01-20  Daniel Colascione  <dancol@dancol.org>
1869         * vc/vc-dir.el (vc-dir): Default to repository root, not
1870         default-directory.
1872 2015-01-20  Dmitry Gutov  <dgutov@yandex.ru>
1874         * progmodes/etags.el (xref-etags-location): New class.
1875         (xref-make-etags-location): New function.
1876         (etags--xref-find-definitions): Use it.
1877         (xref-location-marker): New method implementation.
1879         * progmodes/xref.el: Mention that xref-location is an EIEIO class.
1880         (xref--insert-xrefs): Expand help-echo string.
1882 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
1884         * ido.el: Update Customization instructions.
1886 2015-01-19  Jonas Bernoulli  <jonas@bernoul.li>
1888         Define Ido keymaps once (bug#17000).
1889         * ido.el (ido-common-completion-map)
1890         (ido-file-dir-completion-map)
1891         (ido-file-completion-map, ido-buffer-completion-map): Set up key
1892         bindings when each variable is defined.
1893         (ido-completion-map): Move definition.
1894         (ido-init-completion-maps): Noop.
1895         (ido-common-initialization): Don't call it.
1896         (ido-setup-completion-map): Improve doc-string, cleanup.
1898 2015-01-19  Ivan Shmakov  <ivan@siamics.net>
1900         * cus-dep.el (custom-make-dependencies): Ensure that
1901         default-directory is interpreted as a directory (see bug#19140.)
1903 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
1905         * progmodes/xref.el (xref--display-position):
1906         Set `other-window-scroll-buffer'.
1907         (xref-goto-xref): Use `user-error'.
1909 2015-01-19  Dmitry Gutov  <dgutov@yandex.ru>
1911         * progmodes/xref.el (xref--display-history): New variable.
1912         (xref--window-configuration): Remove.
1913         (xref--save-to-history): New function.
1914         (xref--display-position): Use it.  Add new argument.
1915         (xref--restore-window-configuration): Remove.
1916         (xref--show-location, xref-show-location-at-point):
1917         Update accordingly.
1918         (xref--xref-buffer-mode): Don't use `pre-command-hook'.
1919         (xref--quit): New command.
1920         (xref-goto-xref): Use it.
1921         (xref--xref-buffer-mode-map): Bind `q' to it.
1923 2015-01-18  Dmitry Gutov  <dgutov@yandex.ru>
1925         * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
1926         indentation or at eol.
1928 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1930         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1931         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1932         New functions.
1933         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1935         * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
1936         `newname' argument.
1938         * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
1939         introduction of a new dispatch argument.
1940         (cl--generic-cache-miss): Handle dispatch on an argument which was not
1941         considered as dispatchable for this method.
1942         (cl-defmethod): Warn when adding a method to an obsolete generic function.
1943         (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
1945         * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
1947 2015-01-18  Artur Malabarba  <bruce.connor.am@gmail.com>
1949         * emacs-lisp/package.el (package--append-to-alist): Rename from
1950         `package--add-to-alist'
1951         Updated docstring due to new name.
1953 2015-01-18  Leo Liu  <sdl.web@gmail.com>
1955         * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
1956         multiple evaluation.  (Bug#19519)
1958         * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
1959         error.  (Bug#19434)
1961 2015-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1963         * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1964         (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1965         New functions.
1966         (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1968         * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
1969         or print is nil.
1970         (cl-struct-type-p): New function.
1972         * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
1973         (cl-defmethod): Add edebug spec.
1974         (cl--generic-build-combined-method): Fix call to
1975         cl-no-applicable-method.
1976         (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
1977         (cl--generic-isnot-nnm-p): New function.
1978         (cl--generic-lambda): Use it to add support for cl-next-method-p.
1979         (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
1980         (cl-next-method-p): New function.
1982 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
1984         * version.el (emacs-repository-get-version): Update docstring.
1986 2015-01-17  Ivan Shmakov  <ivan@siamics.net>
1988         * files.el (find-file-other-window, find-file-other-frame):
1989         Use mapc instead of mapcar.  (Bug#18175)
1991         * files.el (dir-locals-collect-variables): Use default-directory
1992         in place of the file name while working on non-file buffers, just
1993         like hack-dir-local-variables already does.  (Bug#19140)
1995         * textmodes/enriched.el (enriched-encode):
1996         Use inhibit-point-motion-hooks in addition to inhibit-read-only.
1997         (Bug#18246)
1999         * desktop.el (desktop-read): Do not call desktop-clear when no
2000         desktop file is found.  (Bug#18371)
2002         * misearch.el (multi-isearch-unload-function): New function.
2003         (misearch-unload-function): New alias.  (Bug#19566)
2005 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2007         * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2008         class-constructor, and make it an alias for `identity'.
2009         Update all callers.
2011         * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2012         argument here (bug#19620)...
2013         (defclass): ...instead of in the constructor here.
2015 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
2017         * emacs-lisp/package.el (package-archive-priorities):
2018         Specify correct type.
2020 2015-01-17  Ulrich Müller  <ulm@gentoo.org>
2022         * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2023         Remove.
2024         (emacs-repository-get-version): Discard the Bazaar case.
2025         * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2026         emacs-bzr-version-dirstate and move from version.el to here.
2027         (vc-bzr-working-revision): Use it.
2029 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2031         * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2032         eieio--scoped-class any more.
2034         * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2035         (eieio--scoped-class): Remove function.
2036         (eieio--with-scoped-class): Remove macro.  Replace uses with `progn'.
2037         (eieio--slot-name-index): Don't check the :protection anymore.
2038         (eieio-initializing-object): Remove var.
2039         (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2041 2015-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2043         Improve handling of doc-strings and describe-function for cl-generic.
2045         * help-mode.el (help-function-def): Add optional arg `type'.
2047         * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2048         as it's a symbol.
2049         (help-fns-short-filename): New function.
2050         (describe-function-1): Use it.  Use autoload-do-load.
2052         * emacs-lisp/find-func.el: Use lexical-binding.
2053         (find-function-regexp): Don't rule out `defgeneric'.
2054         (find-function-regexp-alist): Document new possibility of including
2055         a function instead of a regexp.
2056         (find-function-search-for-symbol): Implement that new possibility.
2057         (find-function-library): Don't assume that `function' is a symbol.
2058         (find-function-do-it): Remove unused var `orig-buf'.
2060         * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2061         (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2062         (eieio--method-optimize-primary): Don't mess with the docstring.
2063         (defgeneric): Keep the `args' in the docstring.
2064         (defmethod): Don't use the method's docstring for the generic
2065         function's docstring.
2067         * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2068         (eieio-defclass-autoload): Don't record the superclasses any more.
2069         (eieio-defclass-internal): Reuse the old class object if it was just an
2070         autoload stub.
2071         (eieio--class-precedence-list): Load the class if it's autoloaded.
2073         * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2074         override an autoload.
2075         (cl-generic-current-method-specializers): Replace dyn-bind variable
2076         with a lexically-scoped macro.
2077         (cl--generic-lambda): Update accordingly.
2078         (cl-generic-define-method): Record manually in the load-history with
2079         type `cl-defmethod'.
2080         (cl--generic-get-dispatcher): Minor optimization.
2081         (cl--generic-search-method): New function.
2082         (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2083         (cl--generic-search-method): Add hyperlinks for methods.  Merge the
2084         specializers and the function's arguments.
2086 2015-01-16  Artur Malabarba  <bruce.connor.am@gmail.com>
2088         * emacs-lisp/package.el (package--read-pkg-desc):
2089         New function. Read a `define-package' form in current buffer.
2090         Return the pkg-desc, with desc-kind set to KIND.
2091         (package-dir-info): New function. Find package information for a
2092         directory. The return result is a `package-desc'.
2093         (package-install-from-buffer): Install packages from dired buffer.
2094         (package-install-file): Install packages from directory.
2095         (package-desc-suffix)
2096         (package-install-from-archive)
2097         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2098         Ensure all remaining instances of `package-desc-kind' handle the 'dir
2099         value.
2101 2015-01-16  Jorgen Schaefer  <contact@jorgenschaefer.de>
2103         * emacs-lisp/package.el: Provide repository priorities.
2104         (package-archive-priorities): New variable.
2105         (package--add-to-alist): New function.
2106         (package--add-to-archive-contents): Use it.
2107         (package-menu--find-upgrades): Use it as well. Small clean up to
2108         make the use of the package name here explicit.
2109         (package-archive-priority): New function.
2110         (package-desc-priority-version): New function.
2112 2015-01-16  Daniel Colascione  <dancol@dancol.org>
2114         * cus-start.el (all): Make `ring-bell-function' customizable.
2116 2015-01-16  Dmitry Gutov  <dgutov@yandex.ru>
2118         * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2119         vc-svn-after-dir-status's second argument.  (Bug#19429)
2121 2015-01-16  Samer Masterson  <samer@samertm.com>
2123         * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2124         regardless of pcomplete-cycle-completions's value.  (Bug#18950)
2126 2015-01-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2128         * dom.el (dom-strings): New function.
2130         * files.el (directory-files-recursively): Don't use the word
2131         "path" for a file name.
2133 2015-01-15  Wolfgang Jenkner  <wjenkner@inode.at>
2135         * calc/calc-units.el (math-units-in-expr-p)
2136         (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2137         (math-extract-units): Handle the `neg' operator.  (Bug#19582)
2139 2015-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2141         * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2142         (cl--labels-convert): Use it to ask the macro what is its replacement
2143         in the #'f case.
2145         * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2146         Return the value of the primary rather than the after method.
2148         * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2149         (eieio--generic-tagcode): New function.
2150         (cl-generic-tagcode-function): Use it.
2151         (eieio--generic-tag-types): New function.
2152         (cl-generic-tag-types-function): Use it.
2153         (eieio-object-p): Tighten up the test.
2155         * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2157 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2159         * emacs-lisp/cl-generic.el: New file.
2161         * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2162         (cl-load-time-value, cl-labels): Use closures rather than
2163         backquoted lambdas.
2164         (cl-macrolet): Use `eval' to create the function value, and support CL
2165         style arguments in for the defined macros.
2167 2015-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2169         * net/eww.el: Use lexical-binding.
2170         (eww-links-at-point): Remove unused arg.
2171         (eww-mode-map): Inherit from special-mode-map.
2172         (eww-mode): Derive from special-mode.  Don't use `setq' on a hook.
2174 2015-01-13  Alan Mackenzie  <acm@muc.de>
2176         Allow compilation during loading of CC Mode-derived modes (bug#19206).
2177         * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2178         New function which walks the stack to discover whether we're compiling
2179         or loading.
2180         (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2181         (cc-bytecomp-is-loading): New defsubst.
2182         (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2183         Use the above defsubsts.
2184         (cc-require-when-compile, cc-bytecomp-defvar)
2185         (cc-bytecomp-defun): Simplify conditionals.
2186         * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2187         "Borrow" this function from cc-bytecomp.el.
2188         (c-get-current-file): Reformulate using the above.
2189         (c-lang-defconst): Prevent duplicate entries of file names in a
2190         symbol's 'source property.
2191         (c-lang-const): Use cc-bytecomp-is-compiling.
2192         * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2193         Use cc-bytecomp-is-compiling.
2195 2015-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2197         * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2198         (bug#19552).
2200 2015-01-13  Dmitry Gutov  <dgutov@yandex.ru>
2202         * menu-bar.el (menu-bar-goto-menu): Before calling
2203         `xref-marker-stack-empty-p', first check that `xref' is loaded.
2204         (Bug#19554)
2206 2015-01-12  Martin Rudalics  <rudalics@gmx.at>
2208         * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2209         cookie (Bug#19554).
2211         * frame.el (frame-notice-user-settings): Remove code dealing with
2212         frame-initial-frame-tool-bar-height.  Turn off `tool-bar-mode'
2213         only if `window-system-frame-alist' or `default-frame-alist' ask
2214         for it.
2215         (make-frame): Update frame-adjust-size-history if needed.
2217 2015-01-12  Paul Eggert  <eggert@cs.ucla.edu>
2219         Have 'make' output better GEN names
2220         * Makefile.in (PHONY_EXTRAS): New macro.
2221         (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2222         relevant files' time stamps are ignored.
2223         (custom-deps, $(lisp)/cus-load.el, finder-data)
2224         ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2225         (custom-deps, $(lisp)/cus-load.el, finder-data)
2226         ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2227         ($(lisp)/subdirs.el, update-subdirs):
2228         Output more-accurate destination names with GEN.
2230         Say "ELC foo.elc" instead of "GEN foo.elc"
2231         * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2232         New macros.
2233         ($(THEFILE)c, .el.elc): Use them.
2235 2015-01-11  Michael Albinus  <michael.albinus@gmx.de>
2237         * files.el (directory-files-recursively): Do not include
2238         superfluous remote file names.
2240 2015-01-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2242         * net/eww.el (eww): Interpret anything that looks like a protocol
2243         designator as a full URL.
2245 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2247         * net/shr.el (shr-urlify): Don't bother the user about
2248         invalidly-encoded display strings.
2250 2015-01-10  Ivan Shmakov  <ivan@siamics.net>
2252         * net/shr.el (shr-urlify): Decode URLs before using them as titles
2253         (bug#19555).
2255 2015-01-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2257         * net/eww.el (eww): Always interpret URLs that start with https?:
2258         as plain URLs, even if they have spaces in them (bug#19556).
2259         (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2260         software" as an URL.
2261         (eww): Don't interpret "org/foo" as an URL.
2262         (eww): Clear the title when loading so that we don't display
2263         misleading information.
2265 2015-01-10  Daniel Colascione  <dancol@dancol.org>
2267         * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2268         by analogy with dired.
2270 2015-01-09  Daniel Colascione  <dancol@dancol.org>
2272         * progmodes/js.el (js--function-heading-1-re)
2273         (js--function-prologue-beginning): Parse ES6 generator function
2274         declarations.  (That is, "function* name()").
2276 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2279         that creates functions, and most of the sanity checks.
2280         Mark as obsolete the <class>-child-p function.
2281         * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2282         (eieio--class, eieio--object): Use cl-defstruct.
2283         (eieio--object-num-slots): Define manually.
2284         (eieio-defclass-autoload): Use eieio--class-make.
2285         (eieio-defclass-internal): Rename from eieio-defclass.  Move all the
2286         `(lambda...) definitions and most of the sanity checks to `defclass'.
2287         Mark as obsolete the <class>-list-p function, the <class> variable and
2288         the <initarg> variables.  Use pcase-dolist.
2289         (eieio-defclass): New compatibility function.
2290         * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2291         (eieio-class-speedbar): Don't use eieio-default-superclass var.
2293 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2295         * emacs-lisp/eieio-generic.el: New file.
2296         * emacs-lisp/eieio-core.el: Move all generic function code to
2297         eieio-generic.el.
2298         (eieio--defmethod): Declare.
2300         * emacs-lisp/eieio.el: Require eieio-generic.  Move all generic
2301         function code to eieio-generic.el.
2302         * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2303         eieio-generic.el.
2304         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2305         to eieio--generic-call.
2306         * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2307         <class>-child type.
2309 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2311         * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2312         Don't use <class> as a variable.
2314         * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2315         (call-next-method): Simplify.
2316         (clone): Obey eieio-backward-compatibility.
2318         * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2319         (eieio-read-generic): Use `generic-p' instead.
2321         * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2322         (eieio-defclass-autoload): Obey it.
2323         (eieio--class-object): Improve error behavior.
2324         (eieio-class-children-fast, same-class-fast-p): Remove.  Inline at
2325         every use site.
2326         (eieio--defgeneric-form-primary-only): Rename from
2327         eieio-defgeneric-form-primary-only; update all callers.
2328         (eieio--defgeneric-form-primary-only-one): Rename from
2329         eieio-defgeneric-form-primary-only-one; update all callers.
2330         (eieio-defgeneric-reset-generic-form)
2331         (eieio-defgeneric-reset-generic-form-primary-only)
2332         (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2333         (eieio--method-optimize-primary): New function to replace them.
2334         (eieio--defmethod, eieio-defmethod): Use it.
2335         (eieio--perform-slot-validation): Rename from
2336         eieio-perform-slot-validation; update all callers.
2337         (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2338         Change `class' to be a class object.  Update all callers.
2339         (eieio--validate-class-slot-value): Rename from
2340         eieio-validate-class-slot-value.  Change `class' to be a class object.
2341         Update all callers.
2342         (eieio-oset-default): Accept class object as well.
2343         (eieio--generic-call-primary-only): Rename from
2344         eieio-generic-call-primary-only.  Update all callers.
2346         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2347         Improve error messages.
2348         (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2349         well as user-defined types.  Emit errors for legacy types like
2350         <class>-child and <class>-list, if not eieio-backward-compatibility.
2352 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2354         * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2355         (eieio--class-slot-initarg): Rename from class-slot-initarg.
2356         Change `class' arg to be a class object.  Update all callers.
2357         (call-next-method): Adjust to new return value of `eieio-generic-form'.
2358         (eieio-default-superclass): Set var to the class object.
2359         (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2360         Change print behavior to affect class objects rather than
2361         class symbols.
2363         * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2364         (eieio-class-parents-fast): Remove macro.
2365         (eieio--class-option-assoc): Rename from class-option-assoc.
2366         Update all callers.
2367         (eieio--class-option): Rename from class-option.  Change `class' arg to
2368         be a class object.  Update all callers.
2369         (eieio--class-method-invocation-order): Rename from
2370         class-method-invocation-order.  Change `class' arg to be a class
2371         object.  Update all callers.
2372         (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2373         a list of class objects rather than names.
2374         (eieio-defclass): Remove redundant quotes.  Use `eieio-oref-default'
2375         for accessors to class allocated slots.
2376         (eieio--perform-slot-validation-for-default): Rename from
2377         eieio-perform-slot-validation-for-default.  Update all callers.
2378         (eieio--add-new-slot): Rename from eieio-add-new-slot.
2379         Update all callers.  Use push.
2380         (eieio-copy-parents-into-subclass): Adjust to new content of
2381         `parent' field.  Use dolist.
2382         (eieio-oref): Remove support for providing a class rather than
2383         an object.
2384         (eieio-oref-default): Prefer class objects over class names.
2385         (eieio--slot-originating-class-p): Rename from
2386         eieio-slot-originating-class-p.  Update all callers.  Use `or'.
2387         (eieio--slot-name-index): Turn check into assertion.
2388         (eieio--class-slot-name-index): Rename from
2389         eieio-class-slot-name-index.  Change `class' arg to be a class object.
2390         Update all callers.
2391         (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2392         (eieio--c3-candidate): Rename from eieio-c3-candidate.
2393         Update all callers.
2394         (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2395         Update all callers.
2396         (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2397         Update all callers.
2398         (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2399         Update all callers.
2400         (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2401         Update all callers.  Adjust to new `parent' content.
2402         (eieio--class-precedence-list): Rename from -class-precedence-list.
2403         Update all callers.
2404         (eieio-generic-call): Use autoloadp and autoload-do-load.
2405         Slight simplification.
2406         (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2407         return value of `eieio-generic-form'.
2408         (eieiomt-add): Index the hashtable with class objects rather than
2409         class names.
2410         (eieio-generic-form): Accept class objects as well.
2412         * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2413         Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2414         (eieio-persistent-validate/fix-slot-value):
2415         Change `class' arg to be a class object.  Update all callers.
2417 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2419         * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2420         additionally to class names.
2422         * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2423         (object): Remove first (constant) slot; rename second to `class-tag'.
2424         (eieio--object-class-object, eieio--object-class-name): New funs
2425         to replace eieio--object-class.
2426         (eieio--class-object, eieio--class-p): New functions.
2427         (same-class-fast-p): Make it a defsubst, change its implementation
2428         to check the class objects rather than their names.
2429         (eieio-object-p): Rewrite.
2430         (eieio-defclass): Adjust the object initialization according to the new
2431         object layout.
2432         (eieio--scoped-class): Declare it returns a class object (not a class
2433         name any more).  Adjust calls accordingly (along with calls to
2434         eieio--with-scoped-class).
2435         (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2436         its class arg to be a class object.  Adjust callers accordingly.
2437         (eieio-slot-originating-class-p): Make its start-class arg a class
2438         object.  Adjust all callers.
2439         (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2440         Make its `class' arg a class object.  Adjust all callers.
2442         * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2443         Use eieio--slot-name-index rather than eieio-slot-name-index.
2445 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2447         * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2448         name argument.
2449         (eieio-object-name): Use eieio-object-name-string.
2450         (eieio--object-names): New const.
2451         (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2452         using a hashtable rather than a built-in slot.
2453         (eieio-constructor): Rename from `constructor'.  Remove `newname' arg.
2454         (clone): Don't mess with the object's "name".
2456         * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2457         (eieio-object-value-get): Use eieio-object-set-name-string.
2459         * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2460         (eieio--object): Remove `name' field.
2461         (eieio-defclass): Adjust to new convention where constructors don't
2462         take an "object name" any more.
2463         (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2464         (eieio-validate-slot-value, eieio-oset-default)
2465         (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2466         (eieio-generic-call-primary-only): Simplify.
2468         * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2469         Use call-next-method.
2470         (eieio-constructor): Rename from `constructor'.
2471         (eieio-persistent-convert-list-to-object): Drop objname.
2472         (eieio-persistent-validate/fix-slot-value): Don't hardcode
2473         eieio--object-num-slots.
2474         (eieio-named): Use a normal slot.
2475         (slot-missing) <eieio-named>: Remove.
2476         (eieio-object-name-string, eieio-object-set-name-string, clone)
2477         <eieio-named>: New methods.
2479 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2481         * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2482         (method-*): Add a "eieio--" prefix to those constants.
2484         * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2486         * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2488 2015-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2490         * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2491         `eieio-default-superclass'.
2493         * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2495         * emacs-lisp/eieio-custom.el: Use lexical-binding.
2496         (eieio-object-value-to-abstract): Simplify.
2498         * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2499         (eieio-build-class-alist): Use dolist.
2500         (eieio-all-generic-functions): Adjust to use of hashtables.
2502         * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2503         symbol-hashtable.  It contains a hashtable instead of an obarray.
2504         (generic-p): Use symbol property `eieio-method-hashtable' instead of
2505         `eieio-method-obarray'.
2506         (generic-primary-only-p, generic-primary-only-one-p):
2507         Slight optimization.
2508         (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2509         (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2510         (eieio-class-un-autoload): Use autoload-do-load.
2511         (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2512         Use new cl-deftype-satisfies.  Adjust to use of hashtables.
2513         Don't hardcode the value of eieio--object-num-slots.
2514         (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2515         Use a closure rather than a backquoted lambda.
2516         (eieio--defmethod): Adjust call accordingly.  Set doc-string via the
2517         function-documentation property.
2518         (eieio-slot-originating-class-p, eieio-slot-name-index)
2519         (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2520         (eieio-generic-form): Adjust to use of hashtables.
2521         (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2522         additional class argument.
2523         (eieio-generic-call-methodname): Remove, unused.
2525         * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2526         Prefer \' to $.
2528 2015-01-08  Eli Zaretskii  <eliz@gnu.org>
2530         * simple.el (line-move-visual): When converting X pixel coordinate
2531         to temporary-goal-column, adjust the value for right-to-left
2532         screen lines.  This fixes vertical-motion, next/prev-line, etc.
2534 2015-01-08  Glenn Morris  <rgm@gnu.org>
2536         * files.el (file-tree-walk): Remove; of unknown authorship.  (Bug#19325)
2538 2015-01-07  K. Handa  <handa@gnu.org>
2540         * international/ccl.el (define-ccl-program): Improve the docstring.
2542 2015-01-06  Sam Steingold  <sds@gnu.org>
2544         * shell.el (shell-display-buffer-actions): Remove,
2545         use `display-buffer-alist' instead.
2547 2015-01-05  Dmitry Gutov  <dgutov@yandex.ru>
2549         * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2550         to the references.
2552 2015-01-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2554         * minibuffer.el (completion-category-defaults): New var.
2555         Set unicode-name to use substring completion.
2556         (completion-category-defaults): Set it to nil.
2558 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
2560         Add mouse interaction to xref.
2561         * progmodes/xref.el (xref--button-map): New variable.
2562         (xref--mouse-2): New command.
2563         (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2564         the inserted references.
2566 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
2568         Less 'make' chatter for lisp dir
2569         * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2570         to make it clearer that the caller must specify it.
2571         (compile-onefile): Remove, replacing by ...
2572         ($(THEFILE)c): ... new rule.  This lets us use AM_V_GEN here.
2573         ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2574         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2575         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2576         Use AM_V_GEN to lessen 'make' chatter.
2577         (.el.elc): Omit duplicate comment.
2579         Less 'make' chatter in batch mode
2580         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2581         * emacs-lisp/bytecomp.el (byte-compile-file):
2582         * files.el (save-buffer, basic-save-buffer):
2583         * international/quail.el (quail-update-leim-list-file):
2584         Don't output messages like "Generating ..." in batch mode.
2586 2015-01-04  Dmitry Gutov  <dgutov@yandex.ru>
2588         Unbreak `mouse-action' property in text buttons.
2589         * button.el (push-button): Fix regression from 2012-12-06.
2591 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
2593         * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2595         * menu-bar.el (menu-bar-goto-menu): Use it.
2597 2015-01-03  Dmitry Gutov  <dgutov@yandex.ru>
2599         * progmodes/xref.el (xref--window-configuration): New variable.
2600         (xref-show-location-at-point): New command.
2601         (xref--restore-window-configuration): New function.
2602         (xref-next-line, xref-prev-line): Delegate to
2603         `xref-show-location-at-point'.
2604         (xref--location-at-point): Don't signal the error.
2605         (xref-goto-xref): Do that here instead.
2606         (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
2607         to `pre-command-hook'.
2608         (xref--xref-buffer-mode-map): Don't remap `next-line' and
2609         `previous-line'.  Additionally bind `xref-next-line' and
2610         `xref-prev-line' to `n' and `p' respectively.
2611         Bind `xref-show-location-at-point' to `C-o'.
2613 2015-01-01  Eli Zaretskii  <eliz@gnu.org>
2615         * tool-bar.el (tool-bar-local-item)
2616         (tool-bar-local-item-from-menu): Call force-mode-line-update to
2617         make sure the tool-bar changes show on display.
2619 2015-01-01  Michael Albinus  <michael.albinus@gmx.de>
2621         Sync with Tramp 2.2.11.
2623         * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
2624         Make an alias for `default-toplevel-value' if it doesn't exist.
2626         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2627         Use `tramp-compat-delete-directory'.
2629         * net/trampver.el: Update release number.
2631 2015-01-01  Filipp Gunbin  <fgunbin@fastmail.fm>
2633         * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
2634         for remote files.  (Bug#19449)
2636 2015-01-01  Simen Heggestøyl  <simenheg@gmail.com>  (tiny change)
2638         * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
2640 2014-12-31  Paul Eggert  <eggert@cs.ucla.edu>
2642         Less 'make' chatter in lisp directory
2643         * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
2644         (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
2645         (custom-deps, finder-data, autoloads, update-subdirs): Use them.
2647 2014-12-31  Filipp Gunbin  <fgunbin@fastmail.fm>
2649         * info.el (info-display-manual): Limit the completion alternatives
2650         to currently visited manuals if prefix argument is non-nil.
2652 2014-12-30  Paul Eggert  <eggert@cs.ucla.edu>
2654         * Makefile.in (semantic): Simplify.
2656 2014-12-30  Juri Linkov  <juri@linkov.net>
2658         * net/eww.el (eww-isearch-next-buffer): New function.
2659         (eww-mode): Set multi-isearch-next-buffer-function to it.
2661 2014-12-30  Dmitry Gutov  <dgutov@yandex.ru>
2663         * progmodes/xref.el (xref-find-definitions): Mention "no
2664         identifier at point" case in the docstring.
2666         * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
2667         (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
2668         and `separator-tag-file' items.
2670 2014-12-29  Paul Eggert  <eggert@cs.ucla.edu>
2672         * obsolete/pc-select.el (pc-selection-mode): Use system-type.
2673         This is instead of system-name, which is both wrong here and obsolete.
2674         * desktop.el (desktop-save-frameset):
2675         * dnd.el (dnd-get-local-file-uri):
2676         * nxml/rng-uri.el (rng-uri-file-name-1):
2677         Prefer (system-name) to system-name, and avoid naming
2678         locals 'system-name'.
2679         * startup.el (system-name): Now an obsolete variable.  (Bug#19438)
2681 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
2683         * menu-bar.el (menu-bar-next-tag-other-window)
2684         (menu-bar-next-tag): Remove.
2686 2014-12-29  K. Handa  <handa@gnu.org>
2688         * international/mule.el (make-translation-table-from-alist):
2689         Accept nil or zero-length vector for FROM and TO.
2691 2014-12-29  Lars Ingebrigtsen  <larsi@gnus.org>
2693         * net/eww.el (eww-mode): Truncate overlong lines for prettier
2694         display when resizing.
2696         * net/shr.el (shr-width): Default to using the window width when
2697         rendering.
2699 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
2701         Unbreak jumping to an alias's definition.
2702         * emacs-lisp/find-func.el (find-function-library): Return a pair
2703         (ORIG-FUNCTION . LIBRARY) instead of just its second element.
2704         (find-function-noselect): Use it.
2705         * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
2706         `elisp--xref-identifier-location', incorporate logic from
2707         `elisp--xref-find-definitions', use the changed
2708         `find-function-library' return value.
2710 2014-12-29  Juri Linkov  <juri@linkov.net>
2712         * comint.el (comint-history-isearch-message): Use field-beginning
2713         instead of comint-line-beginning-position - that's more fixes for
2714         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2715         (comint-history-isearch-message): Fix args of isearch-message-prefix.
2717 2014-12-29  Juri Linkov  <juri@linkov.net>
2719         * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
2720         (vc-dir-mode-map): Bind it to "\C-o".
2721         (vc-dir-menu-map): Add it to menu.
2723 2014-12-29  Dmitry Gutov  <dgutov@yandex.ru>
2725         * progmodes/etags.el (find-tag-other-window)
2726         (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
2727         (tags-apropos): Declare obsolete.
2729         * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
2730         with xref ones.
2732 2014-12-28  Eli Zaretskii  <eliz@gnu.org>
2734         * international/mule.el (define-coding-system): Fix typos in the
2735         doc string.
2737 2014-12-28  Kenichi Handa  <handa@gnu.org>
2739         * international/mule.el (define-coding-system): Improve the doc
2740         string.
2742 2014-12-28  Ivan Shmakov  <ivan@siamics.net>
2744         * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
2745         elements in tables (bug#19444).
2747         * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
2748         (bug#19445).
2750 2014-12-28  Juri Linkov  <juri@linkov.net>
2752         * vc/compare-w.el: Require diff-mode for diff faces.
2753         (compare-windows-removed, compare-windows-added): New faces
2754         inheriting from diff faces.
2755         (compare-windows): Define obsolete face alias.
2756         (compare-windows-highlight): Replace face `compare-windows' with
2757         new faces `compare-windows-added' and `compare-windows-removed'
2758         (bug#19451).
2759         (compare-windows-get-recent-window): Signal an error when
2760         no other window is found (bug#19170).
2762 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
2764         * progmodes/elisp-mode.el (elisp--xref-identifier-file):
2765         Skip features that have no sources.
2767         * simple.el (execute-extended-command):
2768         When `suggest-key-bindings' is nil, don't.
2770 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2772         python.el: Native readline completion.
2773         * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
2774         (python-shell-completion-native-enable)
2775         (python-shell-completion-native-output-timeout): New defcustoms.
2776         (python-shell-completion-native-interpreter-disabled-p)
2777         (python-shell-completion-native-try)
2778         (python-shell-completion-native-setup)
2779         (python-shell-completion-native-turn-off)
2780         (python-shell-completion-native-turn-on)
2781         (python-shell-completion-native-turn-on-maybe)
2782         (python-shell-completion-native-turn-on-maybe-with-msg)
2783         (python-shell-completion-native-toggle): New functions.
2784         (python-shell-completion-native-get-completions): New function.
2785         (python-shell-completion-at-point): Use it.
2787 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2789         python.el: Enhance shell user interaction and deprecate
2790         python-shell-get-or-create-process.
2791         * progmodes/python.el (python-shell-get-process-or-error):
2792         New function.
2793         (python-shell-with-shell-buffer): Use it.
2794         (python-shell-send-string, python-shell-send-region)
2795         (python-shell-send-buffer, python-shell-send-defun)
2796         (python-shell-send-file, python-shell-switch-to-shell): Use it.
2797         Add argument MSG to display user-friendly message when no process
2798         is running.
2799         (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
2800         (python-shell-make-comint): Rename argument SHOW from POP.
2801         Use display-buffer instead of pop-to-buffer.
2802         (run-python): Doc fix.  Return process.
2803         (python-shell-get-or-create-process): Make obsolete.
2805 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2807         * progmodes/python.el (python-shell-buffer-substring):
2808         Handle cornercase when region sent starts at point-min.
2810 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
2812         * language/misc-lang.el (composition-function-table): Add Syriac
2813         characters and also ZWJ/ZWNJ.
2814         See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
2815         for the details.
2817 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2819         python.el: Fix message when sending region.
2820         * progmodes/python.el (python-shell-send-region): Rename argument
2821         send-main from nomain.  Fix message.
2822         (python-shell-send-buffer): Rename argument send-main from arg.
2824         python.el: Cleanup temp files even with eval errors.
2825         * progmodes/python.el (python-shell-send-file): Make file-name
2826         mandatory.  Fix temp file removal in the majority of cases.
2828         python.el: Handle file encoding for shell.
2829         * progmodes/python.el (python-rx-constituents): Add coding-cookie.
2830         (python-shell--save-temp-file): Write file with proper encoding.
2831         (python-shell-buffer-substring): Add coding cookie for detected
2832         encoding to generated content.  Fix blank lines when removing
2833         if-name-main block.
2834         (python-shell-send-file): Handle file encoding.
2835         (python-info-encoding-from-cookie)
2836         (python-info-encoding): New functions.
2838 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
2840         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2841         Use `tramp-rsh-end-of-line', it ought to be more robust.
2843 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2845         * progmodes/js.el (js-syntax-propertize): "return" can't be divided
2846         (bug#19397).
2848 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
2850         * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2852         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
2853         as end-of-line delimeter for passwords, when running on MS Windows.
2855 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2857         * progmodes/sh-script.el (sh-set-shell): Don't change the global value
2858         of indent-line-function (bug#19433).
2860 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2862         Fix line numbers on Python shell.
2863         * progmodes/python.el (python-shell--save-temp-file): Do not
2864         append coding cookie.
2865         (python-shell-send-string): Generalize for
2866         python-shell-send-region.
2867         (python--use-fake-loc): Delete var.
2868         (python-shell-buffer-substring): Cleanup fake-loc logic.
2869         (python-shell-send-region): Remove fake-loc logic, simplify.
2871 2014-12-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2873         * progmodes/python.el (python-indent-post-self-insert-function):
2874         Make colon to re-indent only for dedenters, handling
2875         multiline-statements gracefully.
2877 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
2879         * net/tramp.el (tramp-handle-insert-file-contents):
2880         Set `find-file-not-found-functions' in case of errors.  (Bug#18623)
2882 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
2884         * net/tramp-sh.el (tramp-send-command-and-read): New optional
2885         arg MARKER.
2886         (tramp-get-remote-path): Use it.
2888 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2890         * subr.el (redisplay-dont-pause): Mark as obsolete.
2892 2014-12-27  Michael Albinus  <michael.albinus@gmx.de>
2894         * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
2895         (tramp-accept-process-output): Use nil as argument for
2896         `accept-process-output', when there is a gateway prepended.
2898         * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
2899         wrong debug buffer.
2900         (tramp-gw-open-connection): Set process coding system 'binary.
2901         (tramp-gw-open-network-stream): Handle HTTP error 403.
2903         * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
2904         wrong debug buffer.
2905         (tramp-maybe-open-connection): Set connection property "gateway".
2907 2014-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2909         * subr.el (sit-for): Tweak docstring (bug#19381).
2911 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
2913         * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
2914         stage to after `diff-index' (bug#19386).
2916 2014-12-27  João Távora  <joaotavora@gmail.com>
2918         * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
2919         `electric-pair-mode' (bug#19356).
2921 2014-12-27  Dmitry Gutov  <dgutov@yandex.ru>
2923         elisp-xref-find: Don't create buffers eagerly.
2925         * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
2926         into `elisp--company-location'.
2927         (elisp--identifier-completion-table): Rename to
2928         `elisp--identifier-completion-table', and do not include just any
2929         symbols with a property list.
2930         (elisp-completion-at-point): Revert the 2014-12-25 change.
2931         (elisp--xref-identifier-file): New function.
2932         (elisp--xref-find-definitions): Use it.
2934         * emacs-lisp/find-func.el (find-function-library): New function,
2935         extracted from `find-function-noselect'.
2937         * progmodes/xref.el (xref-elisp-location): New class.
2938         (xref-make-elisp-location): New function.
2939         (xref-location-marker): New implementation.
2941 2014-12-27  Juri Linkov  <juri@linkov.net>
2943         * minibuffer.el (minibuffer-completion-help):
2944         Use shrink-window-if-larger-than-buffer in window-height
2945         when temp-buffer-resize-mode is nil.
2947         * window.el (with-displayed-buffer-window): Remove window-height
2948         from the action alist in the temp-buffer-window-show call
2949         when window-height is handled explicitly afterwards (bug#19355).
2951 2014-12-27  Juri Linkov  <juri@linkov.net>
2953         Support subdirectories when saving places in dired.
2954         * saveplace.el (toggle-save-place, save-place-to-alist)
2955         (save-places-to-alist, save-place-dired-hook):
2956         Use dired-current-directory instead of dired-directory (bug#19436).
2957         (save-place-dired-hook): Add check for alist to make the new
2958         format future-proof to allow other possible formats.
2960 2014-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2962         python.el: Generate clearer shell buffer names.
2963         * progmodes/python.el (python-shell-get-process-name)
2964         (python-shell-internal-get-process-name): Use `buffer-name`.
2965         (python-shell-internal-get-or-create-process): Simplify.
2967 2014-12-26  Dmitry Gutov  <dgutov@yandex.ru>
2969         Add basic xref apropos implementation to elisp-mode.
2971         * progmodes/elisp-mode.el (elisp--xref-find-definitions):
2972         Filter out nil results.
2973         (elisp--xref-find-apropos): New function.
2974         (elisp-xref-find): Use it.
2976         * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
2978 2014-12-25  Filipp Gunbin  <fgunbin@fastmail.fm>
2980         * dired-aux.el (dired-maybe-insert-subdir):
2981         Make dired-maybe-insert-subdir always skip trivial files.
2983 2014-12-25  Helmut Eller  <eller.helmut@gmail.com>
2984             Dmitry Gutov  <dgutov@yandex.ru>
2986         Consolidate cross-referencing commands.
2988         Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
2989         `C-x 5 .' from etags.el to xref.el.
2991         * progmodes/xref.el: New file.
2993         * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
2994         (elisp--identifier-location): New function, extracted from
2995         `elisp--company-location'.
2996         (elisp--company-location): Use it.
2997         (elisp--identifier-completion-table): New variable.
2998         (elisp-completion-at-point): Use it.
2999         (emacs-lisp-mode): Set the local values of `xref-find-function'
3000         and `xref-identifier-completion-table-function'.
3001         (elisp-xref-find, elisp--xref-find-definitions)
3002         (elisp--xref-identifier-completion-table): New functions.
3004         * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3005         favor of `xref--marker-ring'.
3006         (tags-lazy-completion-table): Autoload.
3007         (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3008         (find-tag-noselect): Use `xref-push-marker-stack'.
3009         (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3010         (etags--xref-limit): New constant.
3011         (etags-xref-find, etags--xref-find-definitions): New functions.
3013 2014-12-25  Martin Rudalics  <rudalics@gmx.at>
3015         * cus-start.el (resize-mini-windows): Make it customizable.
3017 2014-12-24  Stephen Leake  <stephen_leake@stephe-leake.org>
3019         * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3020         to (info "(emacs)Contributing").  (Bug#19299)
3022 2014-12-24  Martin Rudalics  <rudalics@gmx.at>
3024         * window.el (mouse-autoselect-window-position-1): New variable.
3025         (mouse-autoselect-window-cancel)
3026         (mouse-autoselect-window-select, handle-select-window):
3027         With delayed autoselection select window only if mouse moves after
3028         selecting its frame.
3030 2014-12-24  Michael Albinus  <michael.albinus@gmx.de>
3032         * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3033         remote file names.  (Bug#18782)
3035 2014-12-23  Sam Steingold  <sds@gnu.org>
3037         * shell.el (shell-display-buffer-actions): New user option.
3038         (shell): Pass it to `pop-to-buffer' instead of hard-coding
3039         `pop-to-buffer-same-window'.
3041 2014-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3043         * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3044         (js-syntax-propertize-regexp): Use it to recognize "slash in
3045         a character class" (bug#19397).
3047 2014-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3049         * completion.el: Use post-self-insert-hook (bug#19400).
3050         (completion-separator-self-insert-command)
3051         (completion-separator-self-insert-autofilling): Remove.
3052         (completion-separator-chars): New var.
3053         (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3054         of changing the keymap.
3055         (completion--post-self-insert): New function.
3056         (dynamic-completion-mode): Use it instead of rebinding keys.
3057         (cmpl--completion-string): Rename from completion-string.
3058         (add-completion-to-head, delete-completion): Let-bind it explicitly.
3060 2014-12-22  Bozhidar Batsov  <bozhidar@batsov.com>
3062         * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3063         by leveraging `syntax-ppss'.
3065 2014-12-22  Artur Malabarba  <bruce.connor.am@gmail.com>
3067         * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3069 2014-12-20  Michael Albinus  <michael.albinus@gmx.de>
3071         * net/tramp-sh.el (tramp-histfile-override): Add :version.
3073 2014-12-20  Teodor Zlatanov  <tzz@lifelogs.com>
3075         * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3077 2014-12-19  Artur Malabarba  <bruce.connor.am@gmail.com>
3079         * let-alist.el (let-alist): Enable access to deeper alists by
3080         using dots inside the dotted symbols.
3082 2014-12-19  Alan Mackenzie  <acm@muc.de>
3084         Make C++11 uniform init syntax work.
3085         New keywords "final" and "override".
3086         * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3087         New function.
3088         (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3089         new function.
3090         * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3091         carefully for "are we at a declarator?" using
3092         c-back-over-member-initializers.
3093         * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3094         and "override" in the C++ value.
3096 2014-12-19  Martin Rudalics  <rudalics@gmx.at>
3098         * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3100 2014-12-21  Lars Ingebrigtsen  <larsi@gnus.org>
3102         * net/nsm.el (nsm-save-host): Don't save the host name twice
3103         (bug#19269).
3105 2014-12-18  Sam Steingold  <sds@gnu.org>
3107         Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3108         * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3109         (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3110         * menu-bar.el (menu-bar-buffer-vector): Extract from
3111         `menu-bar-update-buffers'.
3112         (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3113         (buffer-menu-open): New user command, bound globally to C-f10,
3114         provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3115         (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3116         convert the value returned by `mouse-buffer-menu-map' to a list
3117         acceptable to `popup-menu' for `buffer-menu-open'.
3119 2014-12-18  Artur Malabarba  <bruce.connor.am@gmail.com>
3121         * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3123 2014-12-18  Sam Steingold  <sds@gnu.org>
3125         * emacs-lisp/package.el: Avoid compilation warning by declaring
3126         the `find-library-name' function.
3127         (package-activate-1): Fix the `with-demoted-errors' calls:
3128         the first argument must be a string literal.
3130 2014-12-18  Martin Rudalics  <rudalics@gmx.at>
3132         Add code for "preserving" window sizes.
3133         * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3134         `preserve-size' t.
3135         (dired-mark-pop-up): Preserve size of window showing marked files.
3136         * electric.el (Electric-pop-up-window):
3137         * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3138         with `preserve-size' t.
3139         * minibuffer.el (minibuffer-completion-help):
3140         Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3141         (Bug#19355).  Preserve size of completions window.
3142         * register.el (register-preview): Preserve size of register
3143         preview window.
3144         * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3145         with `preserve-size' t (Bug#1291).
3146         * window.el (with-displayed-buffer-window): Add calls to
3147         `window-preserve-size'.
3148         (window-min-pixel-size, window--preservable-size)
3149         (window-preserve-size, window-preserved-size)
3150         (window--preserve-size, window--min-size-ignore-p): New functions.
3151         (window-min-size, window-min-delta, window--resizable)
3152         (window--resize-this-window, split-window-below)
3153         (split-window-right): Amend doc-string.
3154         (window--min-size-1, window-sizable, window--size-fixed-1)
3155         (window-size-fixed-p, window--min-delta-1)
3156         (frame-windows-min-size, window--max-delta-1, window-resize)
3157         (window--resize-child-windows, window--resize-siblings)
3158         (enlarge-window, shrink-window, split-window): Handle preserving
3159         window sizes.
3160         (adjust-window-trailing-edge): Handle preserving window
3161         sizes.  Signal user-error instead of an error when there's no
3162         window above or below.
3163         (window--state-put-2): Handle horizontal scroll bars.
3164         (window--display-buffer): Call `preserve-size' if asked for.
3165         (display-buffer): Mention `preserve-size' alist member in doc-string.
3166         (fit-window-to-buffer): New argument PRESERVE-SIZE.
3167         * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3168         scroll bar on ispell's windows.  Don't count window lines and
3169         don't deal with dedicated windows.
3170         (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3171         do the window handling.
3172         (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3173         (ispell-display-buffer): New function to reuse, create and fit
3174         window to ispell's buffers.  (Bug#3413)
3176 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
3178         * emacs-lisp/package.el (package-activate): Do not re-activate or
3179         reload the dependencies (bug#19390).
3181 2014-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3183         * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3184         (c-update-modeline):
3185         * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3186         * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3187         (c-mode-base-map): Use c-subword-mode.
3189 2014-12-18  Eli Zaretskii  <eliz@gnu.org>
3191         * international/mule-diag.el (describe-font-internal):
3192         Display additional info returned by font-info.
3194         * linum.el (linum--face-width): Rename from linum--face-height,
3195         and use the new functionality of font-info.
3196         (linum-update-window): Use linum--face-width and frame-char-width,
3197         instead of approximating with height.
3199 2014-12-18  Dmitry Gutov  <dgutov@yandex.ru>
3201         * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3202         change (bug#19387).  Use `apply' on `vc-dir-command'  (bug#19405).
3204         * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3205         and a docstring.
3206         (package-activate): Call itself on dependencies on PACKAGE with
3207         the same FORCE argument.  Pass FORCE as RELOAD into
3208         `package-activate-1'  (bug#19390).
3210 2014-12-17  Sam Steingold  <sds@gnu.org>
3212         * emacs-lisp/package.el (package--list-loaded-files):
3213         Handle `(nil ...)' elements in `load-history'.
3215 2014-12-17  Teodor Zlatanov  <tzz@lifelogs.com>
3217         * net/tramp-sh.el (tramp-histfile-override): New variable.
3218         (tramp-open-shell, tramp-maybe-open-connection): Use it.
3220 2014-12-17  Dmitry Gutov  <dgutov@yandex.ru>
3222         * vc/vc.el: Improve `dir-status-files' description.
3224         * emacs-lisp/package.el (package--list-loaded-files): Don't call
3225         file-truename on load-history elements (bug#19390).
3227 2014-12-16  Nicolas Petton  <petton.nicolas@gmail.com>
3229         * emacs-lisp/seq.el: New file.
3231 2014-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3233         * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3234         is 0 and there is no input pending.
3236 2014-12-15  Juri Linkov  <juri@linkov.net>
3238         * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3239         only on the return value (bug#19383).
3241 2014-12-15  Juri Linkov  <juri@linkov.net>
3243         * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3244         the wrapped search by the length of the search string to be able
3245         to lazy-highlight the whole search string at point (bug#19353).
3247 2014-12-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3249         * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3251 2014-12-14  Alan Mackenzie  <acm@muc.de>
3253         * cus-start.el (all): Add fast-but-imprecise-scrolling.
3255 2014-12-14  Artur Malabarba  <bruce.connor.am@gmail.com>
3257         * let-alist.el: Add lexical binding.
3259 2014-12-14  Steve Purcell  <steve@sanityinc.com>  (tiny change)
3261         * emacs-lisp/package.el (package-menu-mode): Use an extra column
3262         for the "Version" column, to accomodate date-and-time-based versions.
3264 2014-12-14  Cameron Desautels  <camdez@gmail.com>
3266         * cus-edit.el (custom-unsaved-options): New function, extracted
3267         from `customize-unsaved'.
3268         (custom-unsaved): Use it.
3269         (custom-prompt-customize-unsaved-options): New function.
3270         (Bug#19328)
3272 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
3274         * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3276 2014-12-14  Dmitry Gutov  <dgutov@yandex.ru>
3278         Move ASYNC argument to the `diff' VC command to the fifth
3279         position, for better compatibility with existing third-party code,
3280         and document it.
3282         * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3283         backend `diff' command in the last position.
3285         * vc/vc-svn.el (vc-svn-diff):
3286         * vc/vc-src.el (vc-src-diff):
3287         * vc/vc-sccs.el (vc-sccs-diff):
3288         * vc/vc-rcs.el (vc-rcs-diff):
3289         * vc/vc-mtn.el (vc-mtn-diff):
3290         * vc/vc-hg.el (vc-hg-diff):
3291         * vc/vc-git.el (vc-git-diff):
3292         * vc/vc-dav.el (vc-dav-diff):
3293         * vc/vc-cvs.el (vc-cvs-diff):
3294         * vc/vc-bzr.el (vc-bzr-diff):
3295         * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3297 2014-12-14  Paul Eggert  <eggert@cs.ucla.edu>
3299         * emacs-lisp/cconv.el (cconv--analyze-use):
3300         Rename from cconv--analyse-use.
3301         (cconv--analyze-function): Rename from cconv--analyse-function.
3302         (cconv-analyze-form): Rename from cconv-analyse-form.
3304 2014-12-13  Andreas Schwab  <schwab@linux-m68k.org>
3306         * net/shr.el (shr-next-link): Don't error out at eob.
3308 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3310         * isearch.el (isearch-open-necessary-overlays): Open overlay
3311         ending at point (bug#19333).
3313 2014-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3315         * net/shr.el (shr-fold-text): New function.
3316         (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3317         alt/title texts.
3318         (shr-fold-text): Inhibit state from being altered.
3320         * files.el (directory-files-recursively): Really check whether
3321         files are symlinks.
3322         (directory-name-p): New function.
3323         (directory-files-recursively): Use it.
3325 2014-12-13  Artur Malabarba  <bruce.connor.am@gmail.com>
3327         * emacs-lisp/package.el (package--list-loaded-files): New function
3328         to list files in a given directory which correspond to already
3329         loaded files.
3330         (package-activate-1): Reload files given by `package--list-loaded-files'.
3331         Fix bug#10125, bug#18443, and bug#18448.
3333 2014-12-13  Eric S. Raymond  <esr@snark.thyrsus.com>
3335         * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3337 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
3339         * simple.el (password-word-equivalents): Add "passcode", used for
3340         numeric secrets like PINs or RSA tokens.
3342 2014-12-13  Michael Albinus  <michael.albinus@gmx.de>
3344         * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3345         order to determine `tramp-own-remote-path'.
3347 2014-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3349         * progmodes/python.el (python-shell-parse-command):
3350         Quote `python-shell-interpreter`.  (Bug#19289)
3352 2014-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3354         * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3355         (python-indent-levels): Document extra value.
3356         (python-indent-calculate-indentation): Return `noindent' in strings.
3357         (python-indent-post-self-insert-function)
3358         (python-indent-calculate-levels): Handle new value.
3360 2014-12-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3362         * net/network-stream.el (network-stream-open-starttls): No need to
3363         check for the availability of `gnutls-available-p'.
3365         * files.el (directory-files-recursively): Don't follow symlinks to
3366         other directories.
3368 2014-12-12  Eric S. Raymond  <esr@snark.thyrsus.com>
3370         * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3371         * vc/vc.el: latest-on-branch-p is no longer a public method.
3373         * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3374         * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3375         Remove `rollback' method, to be replaced in the future by uncommit.
3377 2014-12-11  Michael Albinus  <michael.albinus@gmx.de>
3379         * vc/vc-hg.el (vc-hg-state): Make FILE absolute.  Handle the case
3380         that there is empty output.
3382 2014-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3384         * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3385         (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3387 2014-12-10  Artur Malabarba  <bruce.connor.am@gmail.com>
3389         * let-alist.el: Add new package and macro.
3391 2014-12-10  Eric S. Raymond  <esr@snark.thyrsus.com>
3393         * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3394         * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3395         it's a shoot-self-in-foot archaism.  Workfiles are always kept.
3397 2014-12-10  Rasmus Pank Roulund  <emacs@pank.eu>
3399         * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3400         trouble with ls over ftp.  These flags result in ls returning no
3401         output, causing Tramp-breakage.  (bug#19192)
3403 2014-12-10  Andreas Schwab  <schwab@suse.de>
3405         * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3407 2014-12-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3409         * files.el (directory-files-recursively):
3410         Use `file-name-all-completions' instead of `directory-files' for
3411         greater speed.
3413         * net/shr.el (shr-tag-object): Don't bug out on text elements in
3414         <object>.
3416 2014-12-09  Bozhidar Batsov  <bozhidar@batsov.com>
3418         * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3419         and Puppetfile.
3420         (ruby-toggle-string-quotes): New command that allows you to quickly
3421         toggle between single-quoted and double-quoted string literals.
3423 2014-12-09  Eric S. Raymond  <esr@snark.thyrsus.com>
3425         * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3426         list, avoids problems witt names containing hyphens.
3428 2014-12-09  Wilson Snyder  <wsnyder@wsnyder.org>
3430         Sync with upstream verilog-mode revision aa4b777.
3431         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3432         (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3433         (verilog-set-auto-endcomments): Automatically comment property/
3434         endproperty blocks to match other similar blocks like sequence/
3435         endsequence, function/endfunction, etc.  Reported by Alex Reed.
3436         (verilog-set-auto-endcomments): Fix end comments for functions of
3437         type void, etc.  Detect the function- or task-name when
3438         auto-commenting blocks that lack an explicit portlist.
3439         Reported by Alex Reed.
3440         (verilog-nameable-item-re): Fix nameable items that can have an
3441         end-identifier to include endchecker, endgroup, endprogram,
3442         endproperty, and endsequence.  Reported by Alex Reed.
3443         (verilog-preprocessor-re, verilog-beg-of-statement):
3444         Fix indentation of property/endproperty around pre-processor
3445         directives.  Reported by Alex Reed.
3446         (verilog-label-be): When auto-commenting a buffer, consider
3447         auto-comments on all known keywords (not just a subset thereof).
3448         Reported by Alex Reed.
3449         (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3450         Reported by Alex Reed.
3451         (verilog-beg-of-statement-1, verilog-at-constraint-p):
3452         Fix hanging with many curly-bracket pairs, bug663.
3453         (verilog-do-indent): Fix electric tab deleting form-feeds.
3454         Note caused by indent-line-to deleting tabls pre 24.5.
3455         (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3456         (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3457         (verilog-read-always-signals, verilog-auto-sense-sigs)
3458         (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3459         bug844.  Reported by Greg Hilton.
3461 2014-12-09  Alex Reed  <acreed4@gmail.com>  (tiny change)
3463         * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3464         Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3465         'foreach', and 'do' keywords.
3466         (verilog-endcomment-reason-re, verilog-beg-of-statement):
3467         Fix labeling do-while blocks, bug842.
3468         (verilog-backward-token): Fix indenting sensitivity lists with
3469         named events, bug840.
3471 2014-12-09  Reto Zimmermann  <reto@gnu.org>
3473         Sync with upstream vhdl mode v3.36.1.
3474         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3475         (vhdl-compiler-alist): Anchor all error regexps.
3476         (vhdl-compile-use-local-error-regexp): Change default to nil.
3477         (vhdl-asort, vhdl-anot-head-p): Remove.
3478         (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3479         Remove optional argument of vhdl-aget and update all callers.
3480         (vhdl-import-project): Also set `vhdl-compiler'.
3482 2014-12-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3484         * files.el (find-files): New function.
3486         * net/shr.el (shr-dom-print): Don't print comments.
3487         (shr-tag-svg): Give inline SVG images the right type.
3489         * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3490         certificates in the header line.
3491         (eww-invalid-certificate, eww-valid-certificate): New faces.
3493 2014-12-09  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3495         * progmodes/python.el (inferior-python-mode):
3496         Set `comint-prompt-read-only` to `t` only locally.
3498 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3500         * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3501         (nsm-format-certificate): Include more data about the connection.
3502         (nsm-query): Fill the text to that it looks nicer.
3503         (nsm-check-protocol): Also warn if using SSL3 or older.
3505 2014-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3507         * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3509         * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3511         * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3513         * info.el (Info-mode-map): Remove left-over binding.
3515         * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3516         (avl-tree--root): Remove redundant defsetf.
3518 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3520         * net/nsm.el (network-security-level): Remove the detailed
3521         description, which was already outdated, and refer the users to
3522         the manual.
3523         (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3524         (bug#19153).
3526 2014-12-06  Andrey Kotlarski  <m00naticus@gmail.com>
3528         * net/eww.el (eww-buffers-mode): New major mode.
3529         (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3530         (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3531         New commands/functions (bug#19131).
3533 2014-12-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3535         * net/gnutls.el (gnutls-negotiate): Ignore files found via
3536         'file-name-handler-alist' since the gnutls library can't use those
3537         (bug#15866).
3539 2014-12-08  Dmitry Gutov  <dgutov@yandex.ru>
3541         * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3542         when FILES is non-nil (bug#19304).
3544 2014-12-08  Eric S. Raymond  <esr@snark.thyrsus.com>
3546         * vc/vc-arch.el: Move to obsolete directory so a test framework
3547         won't trip over bit-rot in it.  There has been no Arch snapshot
3548         for nine years.
3550 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3552         * net/eww.el (eww-follow-link): Revert prefix behaviour to
3553         previous behavior.
3554         (eww-copy-page-url): Add doc string.
3556 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
3558         * net/eww.el (eww): Move history recording here...
3559         (eww-browse-url): ... from here (bug#19253).
3561         * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3562         iterating over possible buffer names.)
3564 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3566         * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3567         (eww-current-buffer): Compilation fix for bug#18550 patch.
3569 2014-12-07  Ivan Shmakov  <ivan@siamics.net>
3571         * net/eww.el (eww-list-histories): Restore the history in the
3572         correct buffer (bug#18550).
3574 2014-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3576         * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3577         displaying shortened titles first (bug#16398).
3579 2014-12-07  Tom Willemse  <tom@ryuslash.org>  (tiny change)
3581         * progmodes/python.el: Recognize docstrings.
3582         (python-docstring-at-p, python-font-lock-syntactic-face-function):
3583         New functions.
3584         (python-mode): Use them.
3586 2014-12-06  Ulf Jasper  <ulf.jasper@web.de>
3588         * net/newst-treeview.el (newsticker--treeview-list-add-item)
3589         (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3590         (newsticker--treeview-create-groups-menu)
3591         (newsticker--treeview-create-tree-menu): Remove.
3592         (newsticker--treeview-tree-open-menu): New.
3593         (newsticker-treeview-tree-click): Pass event to
3594         `newsticker-treeview-tree-do-click'.
3595         (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3597 2014-12-05  Juri Linkov  <juri@linkov.net>
3599         * comint.el (comint-history-isearch-search)
3600         (comint-history-isearch-wrap): Use field-beginning instead of
3601         comint-line-beginning-position.
3602         (comint-send-input): Go to the end of the field instead of the end
3603         of the line to accept whole multi-line input.
3604         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3606 2014-12-05  Juri Linkov  <juri@linkov.net>
3608         * minibuffer.el (minibuffer-completion-help):
3609         Compare selected-window with minibuffer-window to check whether
3610         completions should be displayed near the minibuffer.  (Bug#17809)
3611         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
3613 2014-12-05  Michael Albinus  <michael.albinus@gmx.de>
3615         * vc/vc-mtn.el (vc-mtn-root):
3616         * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
3618 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3620         * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
3621         of the whole pipe when indenting an opening keyword after a |.
3622         Generalize this treatment to opening keywords like "while" (bug#18031).
3624 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3626         * simple.el (newline): Place the hook buffer-locally,
3627         to make sure it's first.
3629         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3630         Fix handling of symbols with different syntax at beginning/end or with
3631         symbol rather than word syntax.
3633 2014-12-05  Eli Zaretskii  <eliz@gnu.org>
3635         * simple.el (line-move): If noninteractive, call line-move-1, not
3636         forward-line, since the former is compatible with line-move-visual
3637         both in terms of the column to which it moves and the return
3638         value.  (Bug#19211)
3640 2014-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3642         * vc/ediff-init.el (ediff-odd-p): Remove.
3643         (ediff-background-face): Use cl-oddp instead.
3644         (ediff-buffer-live-p): Make it a defsubst.
3646         * tooltip.el (tooltip-region-active-p): Remove.
3648         * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
3649         (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
3651         * fringe.el (fringe-bitmap-p): Make it a plain function.
3653         * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
3654         (class-p, generic-p, eieio-object-p, class-abstract-p):
3655         Make them defsubst, so as to avoid corner case problems where
3656         the arg might be evaluated in the condition-case, or it can't be passed
3657         to higher-order functions like `cl-some'.
3659 2014-12-05  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3661         * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
3662         and remove old menu-related code.
3664 2014-12-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3666         * net/eww.el (eww-display-pdf): Let mailcap determine how to
3667         display PDF files (bug#19270).
3669 2014-12-05  Juri Linkov  <juri@linkov.net>
3671         Compare with the most recent window by default.
3672         * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
3673         (compare-windows-get-recent-window)
3674         (compare-windows-get-next-window): New functions.
3675         (compare-windows, compare-windows-sync-default-function):
3676         Use `compare-windows-get-window-function' instead of `next-window'.
3677         (compare-windows): Add diff/match messages with region boundaries.
3678         (Bug#19170)
3680 2014-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3682         * subr.el (filter): Remove.  Use `cl-remove-if-not' or `seq-filter'.
3684 2014-12-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3686         * net/shr.el (shr--extract-best-source): Ignore non-text children.
3688 2014-12-04  Eli Zaretskii  <eliz@gnu.org>
3690         Implement copying of a buffer portion while preserving visual order.
3691         * simple.el (bidi-directional-controls-chars)
3692         (bidi-directional-non-controls-chars): New variables.
3693         (squeeze-bidi-context-1, squeeze-bidi-context)
3694         (line-substring-with-bidi-context)
3695         (buffer-substring-with-bidi-context): New functions.
3697         * files.el (file-tree-walk): Doc fix.
3699 2014-12-04  Rupert Swarbrick  <ruperts@broadcom.com> (tiny change)
3700             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
3702         * autoinsert.el (auto-insert-alist): Update C/C++ header and
3703         program support to match more extensions.  Replace non-alnum
3704         characters when generating include guards (headers) and check for
3705         more extensions when generating includes (programs)
3706         (bug#19254).
3708 2014-12-03  Eric S. Raymond  <esr@snark.thyrsus.com>
3710         * files.el (file-tree-walk): Fix docstring.
3712 2014-12-03  Karl Fogel  <kfogel@red-bean.com>
3714         Fix bug whereby saving files hung in VC hook.
3716         Saving a buffer visiting a file under SVN control would hang if
3717         the remote repository were unreachable, because the VC hooks tried
3718         to run "svn status -u" on the file, where the "-u" tells svn to
3719         get update information from the remote repository.
3720         http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
3722         * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
3723         argument and always pass "-v" to "svn status", never "-u".
3725 2014-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3727         * emacs-lisp/inline.el: Fix up copyright header.
3728         (inline-quote, inline-const-p, inline-const-val, inline-error):
3729         Silence compiler warnings.
3730         (inline-letevals): Fix edebug spec.
3731         (inline--testconst-p): Consider lambda expressions as const-p.
3732         (inline--getconst-val): Use inline--testconst-p.
3734         * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
3735         and change default to stay in the minibuffer when called from
3736         the minibuffer (bug#19250).
3737         (lazy-completion-table): Use this new argument to preserve the
3738         old behavior.
3740         * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
3741         incorrect lexical elements (bug#19250).
3743 2014-12-03  A. N. Other  <none@example.com>
3745         * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
3747 2014-12-02  Glenn Morris  <rgm@gnu.org>
3749         * whitespace.el (whitespace-big-indent-regexp): Add :version.
3751 2014-12-02  Eric S. Raymond  <esr@snark.thyrsus.com>
3753         * subr.el (filter): New macro.  Because it's just silly for a Lisp
3754         not to have this in 2014.  And VC needs it.
3756         * vc.el: All backends: API simplification: Abolish dir-status.
3757         It's replaced by dir-status-files.
3759         * vc.el: All backends: API simplification: Remove 4th
3760         'default-state' argument from vc-dir-status files and its backend
3761         methods - no backend method ever set it.  It was used only in the
3762         fallback method to to set a default of 'up-to-date, though a
3763         convoluted call chain obscured this.
3765         * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
3767         * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
3768         improving behavior on directories using multiple file-oriented VCSes.
3770         * vc/vc.el: All backends: API simplification; clear-headers
3771         is no longer a public method.  It is now local to the one place
3772         it's used, in the RCS steal-lock method.
3774 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
3776         * vc/vc.el: In all backends: API simplification; could-register
3777         is no longer a public method.  (vc-cvs.el still has a private
3778         implementation.)
3780         * vc/vc.el: In all backends: API cleanup; the backend diff method
3781         takes an explicit async flag.  This eliminates a particularly ugly
3782         global.
3784         * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
3785         VC randomly/unpredictably fails without it; cause not yet established.
3787 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3789         Merge some of the differences from the standalone CC-mode.
3790         The main change is to only use the `category' text-property only when
3791         available.  For that many calls are changed to use c-get-char-property,
3792         c-next-single-property-change, c-sc-scan-lists,
3793         c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
3795         * progmodes/cc-mode.el (c-just-done-before-change): New var.
3796         (c-basic-common-init): Initialize it.
3797         (c-common-init): Only use mode-require-final-newline when available.
3798         (c-before-change): Check and set c-just-done-before-change.
3799         (c-after-change): Re-set c-just-done-before-change.
3800         (c-advise-fl-for-region): New macro.
3801         (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
3802         (font-lock-after-change-function, jit-lock-after-change):
3803         Advise if needed.
3805         * progmodes/cc-langs.el (c-modified-constant): New lang var.
3806         (c-known-type-key): Don't make a list just to throw it away.
3808         * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
3809         Handle the case where categories are not available.
3810         (c-record-parse-state-state, c-replay-parse-state-state):
3811         Handle marker values.
3812         (c-before-change-check-<>-operators): Look for the `syntax-table'
3813         property rather than for the corresponding `category'.
3814         (c-looking-at-decl-block): Remove unused var
3815         `c-disallow-comma-in-<>-arglists'.
3816         (c-forward-<>-arglist-recur): Remove unused var
3817         `orig-record-found-types'.
3819         * progmodes/cc-defs.el (c-version): Bump up to 5.33.
3820         (c-use-category): New const.
3821         (c-next-single-property-change): New macro.
3822         (c-region-is-active-p): Prefer region-active-p when available.
3823         (c-search-backward-char-property): Fix old min/max typo; probably
3824         a copy/paste error.
3825         (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
3826         Turn them into macros that obey c-use-category.
3827         (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
3828         (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
3829         (c-sc-scan-lists, c-sc-parse-partial-sexp)
3830         (c-looking-at-non-alphnumspace): New macros.
3831         (c-sc-parse-partial-sexp-no-category): New function.
3832         (c-emacs-features): Add `category-properties' element.
3834         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
3835         (c-backward-into-nomenclature): Use cc-subword if subword-mode is
3836         not available.
3837         (c-beginning-of-defun, c-end-of-defun, c-mark-function)
3838         (c-indent-line-or-region): Use c-region-is-active-p.
3840         * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
3841         (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
3842         (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
3843         (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
3844         (cc-bytecomp-obsolete-fun): Delete unused functions.
3846         * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
3848 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3850         * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
3851         dom.el changes.
3853 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3855         * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
3856         current "project" rather than just the current directory.
3857         * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
3858         the file names make sense.
3860         * vc/smerge-mode.el (smerge-swap): New command.
3862         * vc/diff-mode.el (diff-kill-applied-hunks): New command.
3864 2014-12-01  Ulf Jasper  <ulf.jasper@web.de>
3866         * net/newst-treeview.el (newsticker--treeview-item-show):
3867         Check window liveliness before measuring its width.
3869         * net/newst-backend.el (newsticker--get-news-by-url-callback):
3870         Pass correct status to `newsticker--sentinel-work'.
3871         (newsticker--sentinel-work): Use "newsticker--download-error" as
3872         guid in order to prevent multiple "Could not download..."
3873         messages.  (Bug#19166)
3875 2014-12-01  Ivan Shmakov  <ivan@siamics.net>
3877         * net/eww.el (eww-render): Call `eww-after-render-hook' in the
3878         correct buffer (bug#19225).
3880 2014-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3882         * net/nsm.el (network-security-level): Change the default to `medium'.
3884         * net/eww.el (eww): Leave point in a place that doesn't cause
3885         scrolling when displaying "Loading...".
3887 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
3889         * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
3890         backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
3891         'merge-branch'.  Prompting for merge revisions is pushed down to
3892         the back ends; this fixes a layering violation that caused bad
3893         behavior with SVN.
3895         * vc/vc.el, vc-hooks.el: All backends: API simplification;
3896         vc-stay-local-p and repository-hostname are no longer public
3897         methods.  Only the CVS and SVN backends used these, and the SVN
3898         support was conditioned out because svn status -v is too slow.
3899         The CVS back end retains this machinery and the vc-stay-local
3900         configuration variable now only affects it.
3902 2014-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3904         * emacs-lisp/inline.el: New file.
3906 2014-12-01  Eric S. Raymond  <esr@snark.thyrsus.com>
3908         * vc/vc.el, vc-hooks.el: All backends: API simplification;
3909         vc-state-heuristic is no longer a public method, having been
3910         removed where it is redundant, unnecessary, or known buggy.
3911         This eliminated all backends except CVS.  Eliminates bug#7850.
3913         * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
3914         Eliminate vc-mistrust-permissions.  It was only relevant to the
3915         RCS and SCCS back ends and defaulted to t.  Code now always
3916         mistrusts permissions - by actual measurement the effect on
3917         performance is negligible.  As a side effect bug#11490 is now
3918         irrelevant.
3920         * vc/vc.el, vc-hooks.el: All backends: API simplification;
3921         vc-workfile-unchanged-p is no longer a public method (but the RCS
3922         and SCCS back ends retain it as a private method used in state
3923         computation).  This method was redundant with vc-state and usually
3924         implemented as a trivial call to same.  Fixes the failure mode
3925         described in bug#694.
3927         * vc/vc.el: All backends: API simplification; init-revision is
3928         gone, and vc-registered functions no longer take an
3929         initial-revision argument.
3931 2014-11-29  Glenn Morris  <rgm@gnu.org>
3933         * vc/vc-src.el (vc-src, vc-src-diff-switches)
3934         (vc-src-master-templates): Fix :version tags.
3936 2014-11-29  Paul Rankin  <paul@tilk.co>  (tiny change)
3938         * outline.el (outline-move-subtree-down): Refactor and improve code.
3940 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
3941             Stefan Monnier  <monnier@iro.umontreal.ca>
3943         * outline.el (outline-move-subtree-down): Make sure we can move
3944         forward to find the end of the subtree and the insertion point
3945         (bug#19102).
3947 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3949         * progmodes/python.el (python-shell-completion-setup-code):
3950         Use __builtin__ module (or builtins in Python 3) and catch all errors
3951         when importing readline and rlcompleter.
3953 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
3955         * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
3956         (todo-revert-buffer): New function.
3957         (todo-modes-set-1): Use it as the buffer-local value of
3958         revert-buffer-function.
3960 2014-11-29  Stephen Berman  <stephen.berman@gmx.net>
3962         * calendar/todo-mode.el (todo-mode): If called interactively, just
3963         display a message saying to call todo-show to enter Todo mode
3964         (Bug#19112).
3966 2014-11-29  Dmitry Gutov  <dgutov@yandex.ru>
3968         * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
3969         (Bug#18579)
3971         * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
3972         files.  (Bug#18579)
3974 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
3976         * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
3977         remote `buffer-file-name'.
3979 2014-11-29  Leo Liu  <sdl.web@gmail.com>
3981         * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
3983 2014-11-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3985         Set PYTHONUNBUFFERED on shell startup.
3987         * progmodes/python.el (python-shell-unbuffered): New var.
3988         (python-shell-calculate-process-environment): Use it.
3990 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
3992         * net/tramp.el (tramp-action-password): Clean password on subsequent
3993         attempts even if there was no wrong password indication.  (Bug#19047)
3995         * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
3996         fallback.
3997         (tramp-open-connection-setup-interactive-shell): No need to check
3998         for nil as `tramp-get-remote-locale' return value.
4000 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
4002         * vc/vc-git.el (vc-git-command, vc-git--call):
4003         Bind coding-system-for-read and coding-system-for-write to
4004         vc-git-commits-coding-system.
4005         (vc-git-previous-revision): Use "~1" instead of "^", since the
4006         latter is a special character for MS-Windows system shells.
4008 2014-11-29  Michael Albinus  <michael.albinus@gmx.de>
4010         Improve XEmacs compatibility.
4012         * net/tramp.el (tramp-autoload-file-name-handler):
4013         Wrap `temporary-file-directory' by `symbol-value', it doesn't
4014         exist in XEmacs.
4015         (tramp-read-passwd): Don't use `with-timeout-suspend' and
4016         `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4017         (tramp-time-less-p, tramp-time-subtract): Remove functions.
4018         (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4019         * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4020         * net/tramp-cache.el (tramp-get-file-property):
4021         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4022         Use `time-less-p' and `time-subtract, respectively.
4024         * net/tramp-adb.el (top): Do not require time-date.el.
4026         * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4028         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4029         Check, whether `utf-8' is a valid coding system.
4031 2014-11-29  Eli Zaretskii  <eliz@gnu.org>
4033         * vc/vc.el (vc-retrieve-tag): Doc fix.
4035 2014-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4037         * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4038         (bug#19152).
4040 2014-11-28  Martin Rudalics  <rudalics@gmx.at>
4042         Fix two issues around help-window-select.  (Bug#11039) (Bug#19012)
4043         * help.el (help-window-old-frame): New variable.
4044         (help-window-select): Default to nil (Bug#11039).
4045         Rewrite doc-string.
4046         (help-window-setup): When the help window appears on another
4047         frame and `help-window-select' is non-nil, give that frame input
4048         focus too (Bug#19012).
4049         (with-help-window): Store selected frame in
4050         help-window-old-frame.
4052 2014-11-28  Ulf Jasper  <ulf.jasper@web.de>
4054         * net/newst-treeview.el (newsticker--treeview-load): Take care of
4055         nil value for `newsticker-groups-filename'.
4057 2014-11-28  Daiki Ueno  <ueno@gnu.org>
4059         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4060         (epa-sign-region, epa-encrypt-region):
4061         Use `epg-context-set-{passphrase,progress}-callback', instead of
4062         `setf'.  This partially reverts commit 9e48a95c (bug#19150).
4063         Reported by José A. Romero L.
4065 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4067         * net/eww.el (eww-restore-history):
4068         Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4070 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
4072         * net/newst-backend.el (newsticker--parse-atom-1.0):
4073         Handle embedded (x)html in summary node.
4075 2014-11-27  Sam Steingold  <sds@gnu.org>
4077         * menu-bar.el (menu-bar-open): When everything else fails,
4078         use (mouse-menu-bar-map).
4080 2014-11-27  Ulf Jasper  <ulf.jasper@web.de>
4082         * net/newst-treeview.el (newsticker-groups-filename):
4083         Change default value to nil.  Point out that variable is obsolete in doc
4084         string.
4085         (newsticker--treeview-load): Change wording of the questions the
4086         user is asked when `newsticker-groups-filename' is found to be
4087         used and we offer to read and remove the groups file.  (Bug#19165)
4089 2014-11-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4091         * net/eww.el (eww): Record the new URL immediately, so that if the
4092         HTTP fetch fails, we have the right URL in the buffer.
4093         (eww-process-text-input): Don't shorten the input field if
4094         deleting at the last character (bug#19085).
4095         (eww-restore-history): Inhibit change functions while restoring
4096         the history.
4097         (eww-process-text-input): Fix deletion at the start of the field, too.
4098         (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4099         (eww-process-text-input): Try to keep track of the size more reliably.
4101         * dom.el (dom-pp): New function.
4103 2014-11-27  Eli Zaretskii  <eliz@gnu.org>
4105         * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4106         Don't assume --long is the default for "bzr log", always specify
4107         it explicitly, in case the user defined an alias for 'log' that
4108         uses some other format.
4110 2014-11-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4112         * progmodes/python.el (python-eldoc--get-doc-at-point):
4113         Strip shell output before returning.  (bug#18794)
4115 2014-11-27  Dmitry Gutov  <dgutov@yandex.ru>
4117         Fix indentation before `!=' and after `+='.  Originally reported
4118         in https://github.com/mooz/js2-mode/issues/174.
4119         * progmodes/js.el (js--indent-operator-re): Make assignments and
4120         (in)equality operator a separate case.
4121         (js--continued-expression-p): Escape the second `+' in the regexp.
4123 2014-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4125         * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4127 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4129         * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4130         when querying about new certificates.
4132         * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4134         * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4135         can be strings.
4136         (dom-elements): Protect against non-text nodes.
4137         (dom-non-text-children): New function.
4139         * net/eww.el (eww-tag-title): Use `dom-text'.
4141 2014-11-26  Sam Steingold  <sds@gnu.org>
4143         * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4145 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4147         * net/eww.el (eww-highest-readability): More dom.el fixes.
4149 2014-11-26  Ulf Jasper  <ulf.jasper@web.de>
4151         * net/newst-backend.el (newsticker--parse-generic-items):
4152         Take care of UIDs when adding elements to cache.
4154 2014-11-26  Alan Mackenzie  <acm@muc.de>
4156         Remove spurious reference to symbol category_properties.
4157         * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4159 2014-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4161         * net/eww.el: Use the new dom.el accessors throughout.
4163         * net/shr.el: Ditto.
4165         * dom.el: New file.
4167 2014-11-26  Glenn Morris  <rgm@gnu.org>
4169         * arc-mode.el (archive-visit-single-files): Add :version.
4171 2014-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4173         * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4174         elements.
4175         (nsm-warnings-ok-p): The new version of this function always
4176         returned nil when everything was OK.
4178 2014-11-25  Teodor Zlatanov  <tzz@lifelogs.com>
4180         * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4182         * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4183         (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4185 2014-11-20  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4187         * emacs-lisp/byte-run.el (function-put): Match argument names to
4188         docstring.
4190 2014-11-24  Sam Steingold  <sds@gnu.org>
4192         * vc/vc-hooks.el (vc-directory-exclusion-list):
4193         Fix a trivial typo (bug#19171).
4195 2014-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4197         * vc/vc-hooks.el (vc-state-base-face): Don't override
4198         mode-line-inactive.
4200 2014-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4202         * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4203         (eww-process-text-input): Inhibit read only so that input fields
4204         don't get shortened (bug#19085).
4206 2014-11-24  Leo Liu  <sdl.web@gmail.com>
4208         * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4210         * window.el (with-temp-buffer-window)
4211         (with-current-buffer-window, with-displayed-buffer-window):
4212         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4213         * emacs-lisp/cl-lib.el (substring):
4214         * emacs-lisp/cl-extra.el (cl-getf): Use it.
4216 2014-11-24  Eli Zaretskii  <eliz@gnu.org>
4218         * isearch.el (isearch-update): Don't assume
4219         pos-visible-in-window-p will return nil when point is hscrolled
4220         out of view.  (Bug#19157)
4222 2014-11-20  Andrey Kotlarski  <m00naticus@gmail.com>
4224         * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4225         (eww-follow-link): Follow in new buffer in case of prefix
4226         argument, open externally with double prefix (bug#19130).
4228 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4230         * net/eww.el (eww-display-html): Decode the document-defined charset.
4231         (eww): Pop to the *eww* buffer immediately after executing the
4232         `M-x eww' command to avoid having buffers pop up later.
4233         (eww-display-html): Don't pop the *eww* buffer.
4234         (eww-display-raw): Ditto.
4235         (eww-display-image): Ditto.
4236         (eww-follow-link): Make going to #targets in the page work again.
4238 2014-11-23  Ivan Shmakov  <ivan@siamics.net>
4240         * net/eww.el (eww-suggest-uris): New variable.
4241         (eww-suggested-uris): New function.
4242         (eww): Default to URL under point.
4243         (eww-links-at-point): New function.
4245 2014-11-20  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
4247         * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4249 2014-11-17  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
4251         * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4253 2014-11-23  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
4255         * net/eww.el (eww-set-character-encoding): New command and keystroke.
4256         (eww-display-raw): Use it (bug#16225).
4258 2014-11-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4260         * net/nsm.el (network-security-level): Rename from
4261         `nsm-security-level' and documented.
4263         * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4264         we're sending a password.
4266         * net/nsm.el: New file that implements a Network Security Manager.
4268         * net/network-stream.el (open-network-stream): Add a new
4269         :warn-unless-encrypted parameter.
4270         (network-stream-open-plain): Allow warning unless encrypted.
4271         (network-stream-open-starttls): Call the Network Security Manager.
4272         (network-stream-open-tls): Ditto.
4274 2014-11-23  Leo Liu  <sdl.web@gmail.com>
4276         * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4277         (calendar-chinese-to-absolute-for-diary)
4278         (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4279         Handle leap months in Chinese calendar.  (Bug#18953)
4281 2014-11-22  Alan Mackenzie  <acm@muc.de>
4283         Fix error with `mark-defun' and "protected:" in C++ Mode.
4284         * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4285         return code of (label) from c-beginning-of-decl-1.  (Bug#19134)
4287 2014-11-22  Ulf Jasper  <ulf.jasper@web.de>
4289         * net/newst-backend.el (newsticker--sentinel-work):
4290         Tell `libxml-parse-xml-region' to discard comments.  (Bug#18787)
4292 2014-11-22  Michael Albinus  <michael.albinus@gmx.de>
4294         * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4295         (tramp-sh-handle-process-file): Propagate `process-environment'.
4297         * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4298         Tramp propagates environment variables now.
4300 2014-11-22  Eric S. Raymond  <esr@snark>
4302         * vc/vc-filewise.el: New file to isolate code used only by the
4303         file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4304         live in vc.el and certainly not in vc-hooks.el.
4306         * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name  -> vc-master-name.
4307         This is preparatory to isolating all the 'master' functions
4308         used only by the file-oriented back ends.  With this done first,
4309         the substantive diffs will be easier to read.
4311 2014-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4313         * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4314         that is recognized by `help-mode'.
4316 2014-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4318         * desktop.el (desktop-create-buffer): Use activate-mark to set
4319         `mark-active' (bug#19058).
4321 2014-11-21  Eric S. Raymond  <esr@snark>
4323         * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4324         nil state.
4326 2014-11-21  Eli Zaretskii  <eliz@gnu.org>
4328         * vc/vc.el (vc-deduce-fileset): Support invocation from
4329         *vc-change-log* buffer.  (Bug#19084)
4331 2014-11-13  Matthew Leach  <matthew@mattleach.net>
4333         * arc-mode.el (archive-visit-single-files): New.
4334         (archive-mode): Visit file if archive contains a single file.
4335         (Bug#1702)
4337 2014-11-21  Ulrich Müller  <ulm@gentoo.org>
4339         * vc/vc.el: Fix a typo in the commentary.
4341 2014-11-20  Eric S. Raymond  <esr@snark.thyrsus.com>
4343         * vc/vc-src.el, vc/vc.el: Added support for SRC.  Needs more
4344         testing and a real log-view mode.
4346         * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4347         * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4348         * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4349         checkout methods; where it matters (which is only in SCCS and RCS)
4350         files are always checked out editable.  This may actually have
4351         been dynamically true already - it looks like the vc-next-action
4352         code evolved past visiting the other case.  Tested with RCS.
4354         * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4355         * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4356         * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4357         argument from the backend checkin methods.  Only the RCS, SCCS,
4358         and CVS back ends tried to do anything with it, and that code was
4359         never exercised.  Chiseling away the cruft of decades...
4361 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4363         * net/eww.el (eww-render): Remove a no-op :title setting.
4365 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
4367         * net/eww.el (eww-history-limit): New variable.
4368         (eww-save-history): Use it (bug#19105).
4369         (eww-reload): Reload the page in the right buffer.
4371 2014-11-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4373         * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4375 2014-11-19  Ivan Shmakov  <ivan@siamics.net>
4377         * net/eww.el (eww-desktop-remove-duplicates)
4378         (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4379         (eww-mode): Set up desktop mode (bug#18010).
4380         (eww-desktop-data-save, eww-desktop-data-1)
4381         (eww-desktop-history-duplicate, eww-desktop-misc-data)
4382         (eww-restore-desktop): New functions.
4384 2014-11-19  Eli Zaretskii  <eliz@gnu.org>
4386         * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4387         correct buffer.  (Bug#19101)
4389 2014-11-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4391         * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4392         `diff-switches' if `vc-git-diff-switches' is nil.  (Bug#19099)
4394 2014-11-19  Artur Malabarba  <bruce.connor.am@gmail.com>
4396         * ido.el (ido-bury-buffer-at-head): New command.
4397         (ido-buffer-completion-map): Bind it to C-S-b.
4399 2014-11-18  Juri Linkov  <juri@linkov.net>
4401         * simple.el (next-line-or-history-element): Wrap next-line
4402         in with-no-warnings.
4403         (previous-line-or-history-element): Wrap previous-line
4404         in with-no-warnings.
4406 2014-11-18  Juri Linkov  <juri@linkov.net>
4408         * progmodes/grep.el (grep-compute-defaults):
4409         Compute grep-highlight-matches before its use.
4411 2014-11-18  Juri Linkov  <juri@linkov.net>
4413         * replace.el (query-replace-from-to-separator): Turn defvar into
4414         defcustom.  Wrap char-displayable-p in ignore-errors because an
4415         attempt to autoload char-displayable-p fails during pre-loading.
4416         Move (propertize "\0" ... 'separator t) out of customizable part
4417         to query-replace-read-from.
4418         (query-replace-read-from): Call custom-reevaluate-setting on
4419         query-replace-from-to-separator to reevaluate the separator
4420         depending on the return value of char-displayable-p.
4421         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4423 2014-11-18  Juri Linkov  <juri@linkov.net>
4425         * bindings.el (minibuffer-local-map): Rebind [down] from
4426         next-history-element to next-line-or-history-element, and [up]
4427         from previous-history-element to previous-line-or-history-element.
4429         * simple.el (next-line-or-history-element)
4430         (previous-line-or-history-element): New commands.
4431         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4433 2014-11-18  Leo Liu  <sdl.web@gmail.com>
4435         * emacs-lisp/nadvice.el (define-advice): New macro.
4436         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4437         Add define-advice.
4438         (lisp-font-lock-keywords-1): Add define-advice.
4440 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4442         * epg.el (epg-context): New slot EDIT-CALLBACK.
4443         (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4444         (epg-reset): Reset EDIT-CALLBACK of the context.
4445         (epg-start-edit-key): New function.
4446         (epg-edit-key): New function.
4448 2014-11-18  Paul Eggert  <eggert@cs.ucla.edu>
4450         Port new time stamp handling to Emacs 23.2.
4451         This fix is for Gnus.  Reported by Katsumi Yamaoka.
4452         * calendar/time-date.el (time-add, time-subtract, time-less-p):
4453         Use eval-and-compile, not eval-when-compile.
4455 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4457         * epg.el (epg-context-set-passphrase-callback)
4458         (epg-context-set-progress-callback): Check if the CALLBACK
4459         argument is a function, instead of a cons.
4461 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4463         * epa-file.el (epa-file-insert-file-contents)
4464         (epa-file-write-region): Remove redundant check of
4465         epa-pinentry-mode.
4466         * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4467         (epa-sign-region, epa-encrypt-region): Remove redundant check of
4468         epa-pinentry-mode.
4470 2014-11-18  Daiki Ueno  <ueno@gnu.org>
4472         * epa-file.el (epa-file-insert-file-contents): Don't show
4473         "*Error*" buffer if input file does not exist.
4474         Reported by Herbert J. Skuhra.
4476 2014-11-18  Paul Pogonyshev  <pogonyshev@gmail.com>
4477             Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4479         * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4480         An alternative version of the patch from bug#13871.
4481         (c-operators): Add "alignof".
4482         (c-primitive-type-kwds): Add "char16_t", "char32_t".
4483         (c-type-modifier-kwds): Add "constexpr", "noexcept".
4484         (c-modifier-kwds): Add "thread_local".
4485         (c-constant-kwds): Add "nullptr".
4487 2014-11-17  Michal Nazarewicz  <mina86@mina86.com>
4489         * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4490         New variables for specifying tildify pattern and representation of
4491         a hard space -- a no-break space by default -- respectively.
4492         Being buffer-local they are much easier to handle than
4493         `tildify-string-alist' and `tildify-pattern-alist' respectively
4494         that have been used so far.  They also works better with derived
4495         modes.
4496         (tildify-foreach-region-function): New variable specifying
4497         a function determining portions of buffer that should be
4498         tildified.  It allows major modes to create a filtering function
4499         more elaborate than a set of regular expressions.  Initialised to
4500         `tildify--deprecated-ignore-evironments' by default to handle now
4501         deprecated `tildify-ignored-environments-alist' variable.
4502         (tildify--foreach-region): A new function that takes
4503         `tildify-foreach-region-function' into account and calls callback
4504         for regions of the buffer that should be tildified.
4505         (tildify-foreach-ignore-environments): A new function which can be
4506         partially applied and used as `tildify-foreach-region-function'.
4507         (tildify-ignored-environments-alist, tildify-pattern)
4508         (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4509         (tildify--find-env): Rename from `tildify-find-env' and mark as
4510         obsolete.
4511         (tildify--deprecated-ignore-evironments): New function,
4512         immediately marked as obsolete, used to handle deprecated
4513         `tildify-ignored-environments-alist'.
4515         * textmodes/tex-mode.el (tex-common-initialization):
4516         Set `tildify-space-string' and `tildify-foreach-region-function'
4517         variables in all variants of TeX mode since `tildify-string-alist'
4518         and `tildify-ignored-environments-alist' are now empty by default.
4520         * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4521         If encoding supports it use no-break space instead of character
4522         entity; this changes previous default which used a numeric
4523         reference.
4525         * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4526         If encoding does not support no-break space, use numeric reference;
4527         this changes previous default which used named entity (“&nbsp;”)
4528         in HTML mode.
4530 2014-11-17  Ulf Jasper  <ulf.jasper@web.de>
4532         * calendar/icalendar.el (icalendar-export-alarms):
4533         New customizable variable.  (Bug#5433)
4534         (icalendar-export-region): Export alarms as specified in
4535         `icalendar-export-alarms'.
4536         (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4537         New functions for exporting alarms.
4539 2014-11-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4541         * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4543 2014-11-17  Paul Eggert  <eggert@cs.ucla.edu>
4545         Port new time stamp handling to old Emacs and to XEmacs.
4546         This is needed for Gnus, which copies time-date.el and which
4547         runs on older Emacs implementations.
4548         * calendar/time-date.el (with-decoded-time-value):
4549         Handle 'nil' and floating-point arg more compatibly with new Emacs.
4550         (encode-time-value, with-decoded-time-value):
4551         Obsolete only if new Emacs.
4552         (time-add, time-subtract, time-less-p): Define if not new Emacs.
4554         Improve time stamp handling, and be more consistent about it.
4555         This implements a suggestion made in:
4556         http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4557         Among other things, this means timer.el no longer needs to
4558         autoload the time-date module.
4559         * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4560         * arc-mode.el (archive-ar-summarize):
4561         * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4562         * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4563         (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4564         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4565         * proced.el (proced-time-lessp):
4566         * timezone.el (timezone-time-from-absolute):
4567         * type-break.el (type-break-schedule, type-break-time-sum):
4568         Simplify by using new functionality.
4569         * calendar/cal-dst.el (calendar-next-time-zone-transition):
4570         Do not return time values in obsolete and undocumented (HI . LO)
4571         format; use (HI LO) instead.
4572         * calendar/time-date.el (with-decoded-time-value):
4573         Treat 'nil' as current time.  This is mostly for XEmacs.
4574         (encode-time-value, with-decoded-time-value): Obsolete.
4575         (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4576         XEmacs.  Define only if XEmacs, as they're now C builtins in Emacs.
4577         * ldefs-boot.el: Update to match new time-date.el
4578         * proced.el: Do not require time-date.
4580 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4582         * net/eww.el (eww-mode): Make the buffer read-only.
4583         (eww-form-text): Inhibit read-only-ness in text input fields
4584         (bug#16476).
4586 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4588         * simple.el (execute-extended-command--shorter): Cut search here.
4589         (execute-extended-command): Instead of here.
4591 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4593         * progmodes/python.el (python-mode): Avoid use of set-local to
4594         keep Emacs 24.x compatibility.
4596 2014-11-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4598         * net/shr.el (shr): Move to the new defgroup `web'.
4600         * net/eww.el (eww): Ditto.
4602         * simple.el (execute-extended-command): Don't show the help
4603         message if the binding isn't significantly shorter than the
4604         M-x command the user typed (bug#19013).
4606 2014-11-16  Ulf Jasper  <ulf.jasper@web.de>
4608         * calendar/icalendar.el (icalendar--convert-tz-offset):
4609         Return complete cons when offsets of standard time and daylight saving
4610         time are equal.
4611         (icalendar-export-region): Fix unbound variable warning.
4613 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4615         * progmodes/python.el (run-python): Allow CMD to be optional and
4616         default it to a safe command, even for Windows.  (bug#18596)
4618 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4620         * progmodes/python.el (python-shell-calculate-command):
4621         Rename from python-shell-parse-command.  Cleanup.
4622         (run-python, run-python-internal): Use it.
4623         (python-shell-calculate-pythonpath): Rename from
4624         python-new-pythonpath.
4625         (python-shell-calculate-process-environment): Use it.
4626         (python-shell-calculate-exec-path): Add comment.
4628 2014-11-16  Thierry Banel  <tbanelwebmin@free.fr>  (tiny change)
4630         * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
4631         for date handling.
4633 2014-11-16  Andreas Schwab  <schwab@linux-m68k.org>
4635         * version.el (emacs-repository-get-version): Use git rev-parse
4636         instead of git log.
4638 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4640         * progmodes/python.el (python-indent-calculate-levels):
4641         Fix indentation behavior multiline dedenter statement.  (Bug#18432)
4643 2014-11-16  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4645         * progmodes/python.el (python-indent-region):
4646         Use python-indent-line and skip special cases.  (Bug#18843)
4648 2014-11-16  Peder O. Klingenberg  <peder@klingenberg.no>
4650         * mail/emacsbug.el (report-emacs-bug): Make a better guess at
4651           envelope-from when reporting through sendmail (bug#19054).
4653 2014-11-16  Oscar Fuentes  <ofv@wanadoo.es>
4655         Add faces for the VC modeline state indicator.
4656         * vc/vc-hooks.el:
4657         (vc-state-faces, vc-state-base-face)
4658         (vc-up-to-date-state, vc-needs-update-state)
4659         (vc-locked-state, vc-locally-added-state)
4660         (vc-conflict-state, vc-removed-state)
4661         (vc-missing-state, vc-edited-state):
4662         New faces.
4663         (vc-default-mode-line-string): Use them
4665 2014-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4667         * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
4669 2014-11-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4671         * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
4673 2014-11-15  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4675         * progmodes/python.el (python-eldoc-setup-code): Enhance string
4676         type checks, simplify printing.  (Bug#18962)
4678 2014-11-14  Ivan Andrus  <darthandrus@gmail.com>
4680         * progmodes/python.el (python-shell-font-lock-kill-buffer):
4681         (python-shell-font-lock-with-font-lock-buffer)
4682         (python-shell-get-buffer, python-ffap-module-path):
4683         Use `derived-mode-p' instead of equality test on `major-mode'.
4685 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4687         * progmodes/python.el (python-shell-virtualenv-root): Rename from
4688         python-shell-virtualenv-path.
4689         (python-shell-internal-get-process-name)
4690         (python-shell-calculate-process-environment)
4691         (python-shell-calculate-exec-path): Use it.
4693 2014-11-14  Eli Zaretskii  <eliz@gnu.org>
4695         * bindings.el (search-map): Fix last change: don't use 'kbd' in
4696         bindings.el, since it is not yet loaded when bindings.el is
4697         preloaded.
4699 2014-11-14  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4701         * progmodes/python.el (python-shell-completion-get-completions):
4702         Fix previous merge.
4704 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4706         * net/eww.el (eww-render): Don't set the title to the URL.
4708 2014-11-13  Ulrich Müller  <ulm@gentoo.org>
4710         * version.el (emacs-repository-get-version): Call `git log'
4711         command with proper format argument (bug#19049).
4713 2014-11-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4715         * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
4717 2014-11-14  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4719         * net/eww.el (eww-search-words): New command (bug#16258).
4721 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4723         * net/shr.el (shr-inhibit-images): Add a doc string.
4725         * net/eww.el (eww-after-render-hook): New variable.
4726         (eww-render): Use it.
4728         * net/shr.el (shr-descend): Don't descend further than
4729         `max-specpdl-size' allows (bug#16587).
4730         (shr-depth): New variable.
4731         (shr-warning): New variable.
4733 2014-11-13  Ivan Shmakov  <ivan@siamics.net>
4735         * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
4736         (shr-expand-url): Expand absolute URLs correctly (bug#17958).
4738 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4740         * net/eww.el (eww): Add comment to clarify.
4742         * net/shr.el (shr-parse-image-data): Remove blocked bits from
4743         external SVG images.
4744         (shr-tag-object): Display images in <object> forms (bug#16244).
4745         (shr-tag-table): Also insert <objects> after the tables.
4747 2014-11-13  Michael Albinus  <michael.albinus@gmx.de>
4749         * vc/vc-hg.el (vc-hg-state): Disable pager.  (Bug#18940)
4751 2014-11-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4753         * net/eww.el (eww-form-file): Fix version number.
4755 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4757         * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
4759 2014-11-10  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4761         * net/eww.el(eww-form-file(defface)): New defface of file upload form.
4762         (eww-submit-file): New key map of file upload.
4763         (eww-form-file): New file upload button and file name context.
4764         (eww-select-file): Select file and display selected file name.
4765         (eww-tag-input): Handle input tag of file type.
4766         (eww-update-field): Add point offset.
4767         (eww-submit): Add submit with multipart/form-data.
4769 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4771         * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
4772         Allow taking a buffer to render data in.  This allows using several
4773         eww buffers (bug#16211).
4775 2014-11-10  Charles Rendleman  <carendle@gmail.com>  (tiny change)
4777         * net/eww.el (eww-download-callback): Save only the file contents,
4778         not the headers.
4780 2014-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4782         * net/eww.el (eww-data): New plist to store all the data relevant
4783         to a single page, used throughout the file instead of the
4784         variables `eww-current-url', `eww-current-dom',
4785         `eww-current-source', and `eww-current-title'.
4786         (eww-readable): Copy over pertinent data from the parent page.
4787         (eww-save-history): Don't let the history grow infinitely.
4789         * net/eww.el: Remove `eww-next-url', `eww-previous-url',
4790         `eww-up-url', `eww-home-url', `eww-start-url' and
4791         `eww-contents-url' and put the data into the `eww-data' plist.
4792         This allow restoring these values after going back in the history.
4794 2014-11-10  Sylvain Chouleur  <sylvain.chouleur@gmail.com>  (tiny change)
4796         Allow VTIMEZONE where daylight and standard time zones are equal.
4797         See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
4798         * calendar/icalendar.el (icalendar--convert-tz-offset):
4799         Support timezone without daylight saving time.
4801 2014-11-10  Glenn Morris  <rgm@gnu.org>
4803         * startup.el (command-line): Handle nil elements in load-path.
4805 2014-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4807         * help.el (view-lossage): Include the actual commands run.
4809 2014-11-10  Dmitry Gutov  <dgutov@yandex.ru>
4811         * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
4812         no state is specified.  (Bug#18964)
4814 2014-11-09  Eric Ludlam  <zappo@gnu.org>
4816         * emacs-lisp/eieio-custom.el (eieio-customize-object):
4817         Set eieio-cog (current group) to g, which is an improved form of input
4818         group.
4820 2014-11-09  Juri Linkov  <juri@jurta.org>
4822         * isearch.el (isearch-message-prefix): Show "Multi-file" and
4823         "Multi-buffer" instead of "Multi".  (Bug#13592)
4825         * misearch.el (multi-isearch-file-list):
4826         Autoload multi-isearch-buffer-list and multi-isearch-file-list.
4827         (multi-isearch-end): Reset multi-isearch-buffer-list and
4828         multi-isearch-file-list to nil.
4830 2014-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4832         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4833         Don't call byte-compile-preprocess since the result will go through
4834         cconv.
4835         (byte-compile-output-docform): Handle uninterned `name' correctly.
4836         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
4837         to circumvent byte-compiler bug.
4839         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
4840         (macroexp--compiler-macro): Remove left-over debug code.
4842         * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
4844 2014-11-08  Juri Linkov  <juri@jurta.org>
4846         * simple.el (shell-command): Use buffer-name when output-buffer is
4847         a buffer.  (Bug#18096)
4849 2014-11-08  Juri Linkov  <juri@jurta.org>
4851         * minibuffer.el (minibuffer-completion-help): Compare this-command
4852         with completion-at-point.  (Bug#17809)
4854 2014-11-08  Glenn Morris  <rgm@gnu.org>
4856         * emacs-lisp/bytecomp.el (byte-compile-report-error):
4857         Allow the argument to be a string.  Due to the vague doc,
4858         it was already being used this way.
4860 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
4862         * net/tramp.el (tramp-check-cached-permissions): Include hop in
4863         the constructed Tramp file name.  (Bug#18943)
4865 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4867         * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
4868         (bug#18952).
4869         (cua-set-mark, cua--post-command-handler-1):
4870         * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
4872 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
4874         * files.el (file-name-non-special): Wrap the call of
4875         `insert-file-contents' by `unwind-protect', in order to set the
4876         buffer's file name anyway.  (Bug#18891)
4878 2014-11-08  Alan Mackenzie  <acm@muc.de>
4880         Fix wrong bound to c-font-lock-declarators.
4881         * progmodes/cc-fonts.el (c-font-lock-declarations):
4882         Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
4883         the buffer is sometimes narrowed to less than "limit" (e.g., in
4884         the presence of macros).  (Bug#18948)
4886 2014-11-08  Michael Albinus  <michael.albinus@gmx.de>
4888         * net/tramp.el (tramp-error-with-buffer): Show connection buffer
4889         only when message appeared in minibuffer.  (Bug#18891)
4891         * net/tramp-adb.el (tramp-adb-handle-file-attributes):
4892         * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4893         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
4894         case of errors.
4896 2014-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4898         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4899         Don't compile before eval in `eval-and-compile'.
4900         (byte-compile-arglist-warn): Add check for defining macros after their
4901         first use.  Check call use even if the function is fboundp.
4903 2014-11-08  Richard Stallman  <rms@gnu.org>
4905         * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
4906         Check more carefully for mime-part specified character set.
4907         Check for mime-part Content Transfer Encoding.
4908         Notify if no armor found.
4910 2014-11-08  Martin Rudalics  <rudalics@gmx.at>
4912         * faces.el (face-set-after-frame-default): Enable running
4913         `window-configuration-change-hook'.
4915 2014-11-07  Juri Linkov  <juri@jurta.org>
4917         * replace.el: History for query replace pairs.
4918         (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
4919         (query-replace-from-to-separator): New variable.
4920         (query-replace-read-from): Let-bind query-replace-from-to-history
4921         to a list of FROM-TO strings created from query-replace-defaults
4922         and separated by query-replace-from-to-separator.  Use it as
4923         the history while reading from the minibuffer.  Split the returned
4924         string by the separator to get FROM and TO parts, and add them
4925         to the history variables.
4926         (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
4927         (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
4928         http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
4930         * isearch.el (isearch-text-char-description): Keep characters
4931         intact and put formatted strings with the `display' property.
4933 2014-11-07  Martin Rudalics  <rudalics@gmx.at>
4935         * cus-start.el (frame-resize-pixelwise): Fix group.
4936         (frame-inhibit-implied-resize): Add entry.
4938 2014-11-07  Daiki Ueno  <ueno@gnu.org>
4940         * epa.el (epa-pinentry-mode): New user option.
4941         (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4942         (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
4943         * epa-file.el (epa-file-insert-file-contents)
4944         (epa-file-write-region): Respect epa-pinentry-mode.
4946 2014-11-07  Daiki Ueno  <ueno@gnu.org>
4948         * epg.el (epg--list-keys-1): Ignore fields after the 15th field
4949         (bug#18979).  Reported by Hideki Saito.
4951 2014-11-06  Daiki Ueno  <ueno@gnu.org>
4953         * emacs-lisp/package.el (package--display-verify-error): New function.
4954         (package--check-signature): Use it to display output sent to stderr.
4956 2014-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4958         * subr.el (pop): Don't call the getter twice (bug#18968).
4960         * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
4961         uses of `funcall'.
4963 2014-11-06  Daiki Ueno  <ueno@gnu.org>
4965         * epa.el (epa-error-buffer): New variable.
4966         (epa-display-error): New function.
4967         (epa-decrypt-file, epa-verify-file, epa-verify-region)
4968         (epa-delete-keys, epa-import-keys): Display output sent to stderr.
4969         (epa-sign-file, epa-sign-region, epa-encrypt-region)
4970         (epa-export-keys, epa-insert-keys): Display output sent to stderr.
4971         Use setf instead of epg-context-set-*.
4972         * epa-file.el (epa-file-insert-file-contents):
4973         Use epa-display-error instead of epa-display-info.  Mimic the behavior
4974         of jka-compr when decryption program is not found.
4975         (epa-file-write-region): Use epa-display-error instead of
4976         epa-display-info.
4978 2014-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4980         * vc/vc.el (vc-region-history): New command.
4981         (vc-print-log-internal): Use cl-some.
4983         * vc/vc-git.el (vc-git-region-history): New function.
4984         (vc-git-region-history-mode-map)
4985         (vc-git--log-view-long-font-lock-keywords)
4986         (vc-git-region-history-font-lock-keywords): New vars.
4987         (vc-git-region-history-font-lock): New function.
4988         (vc-git-region-history-mode): New major mode.
4990 2014-11-05  Tassilo Horn  <tsdh@gnu.org>
4992         * net/eww.el (subr-x): Require subr-x at compile-time because eww
4993         uses string-trim.
4995 2014-11-05  Daiki Ueno  <ueno@gnu.org>
4997         * epg.el (epg-context): Add new slot ERROR-OUTPUT.
4998         (epg-error-output): New buffer-local variable.
4999         (epg--start): Initialize epg-error-output.
5000         (epg--process-filter): Record output lines sent to stderr, in
5001         epg-error-output.
5002         (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5003         slot of context.
5004         * epa-file.el (epa-file-insert-file-contents): On error, display
5005         output sent to stderr.
5006         (epa-file-write-region): Likewise.
5008 2014-11-05  Eli Zaretskii  <eliz@gnu.org>
5010         * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5011         returned by load-average.
5013 2014-11-05  Michael Albinus  <michael.albinus@gmx.de>
5015         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5016         a local copy; setting `inhibit-file-name-handlers' proper might be
5017         more performant.  (Bug#18751)
5019 2014-11-05  Glenn Morris  <rgm@gnu.org>
5021         * mail/emacsbug.el (report-emacs-bug): No longer include
5022         recent-keys in the report.  (Bug#18900)
5024 2014-11-04  Paul Eggert  <eggert@cs.ucla.edu>
5026         * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5028 2014-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
5030         * net/eww.el (eww): Trim URL with `string-trim'.
5031         Suggested by Vibhav Pant <vibhavp@gmail.com>.
5033 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5035         * net/eww.el (eww-score-readability): Don't count comments positively.
5037         * net/shr.el (shr-retransform-dom): Typo fix.
5039         * net/eww.el (eww-score-readability): Parse SVC images correctly.
5040         (eww-display-html): Don't leave point inside forms.
5042         * net/shr.el: Ditto.
5044 2014-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5046         * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5047         edebug-prin1-to-string already handles circularity.
5049         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5050         autoloading when specified as a lambda.
5052         * simple.el (execute-extended-command--last-typed): New var.
5053         (read-extended-command): Set it.
5054         Don't complete obsolete commands.
5055         (execute-extended-command--shorter-1)
5056         (execute-extended-command--shorter): New functions.
5057         (execute-extended-command): Use them to suggest shorter names.
5058         (indicate-copied-region, deactivate-mark): Use region-active-p.
5060 2014-11-03  Michael Albinus  <michael.albinus@gmx.de>
5062         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5063         local copy of FILENAME, when it is remote.  (Bug#18751)
5065         * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5066         an error when the command fails; the return code must indicate.
5067         (tramp-adb-send-command-and-check): Fix docstring.
5069 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5071         * net/shr.el (shr-retransform-dom): Don't ignore elements that
5072         have no children like <br />.
5074         * net/eww.el (eww-display-html): Clear `url-queue'.
5075         (eww-display-pdf): New function.
5076         (eww-render): Display PDFs with `doc-view'.
5077         (url-queue): Require `url-queue' to avoid compilation warning.
5078         (eww-colorize-region): Remove duplicate function.
5079         (eww-tag-body): Use `shr-colorize-region'.
5081 2014-11-03  Yoni Rabkin <yrk@gnu.org>
5083         * net/eww.el (eww-list-bookmarks): Autoload.
5085 2014-11-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5087         * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5089         * net/eww.el (eww-display-html): The charset is called `utf-8',
5090         not `utf8'.
5091         (eww-readable): Decode the saved text correctly.
5092         (eww-readable): Save the history before displaying so that we can
5093         go back to the non-readable version.
5094         (eww-display-html): Don't try to decode the text if we've been
5095         passed in a pre-parsed DOM.
5096         (eww-tag-title): Remove newlines and extra whitespace from the
5097         displayed title.
5099 2014-11-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5101         * net/eww.el (eww-readable): New command and keystroke.
5103         * net/shr.el (shr-retransform-dom): New function.
5105         * net/eww.el (eww-display-html): Set `eww-current-source' in the
5106         correct buffer.
5107         (eww-view-source): Use it.
5109 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5111         * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5112         (Bug#18603).
5114 2014-11-02  Brian McKenna  <brian@brianmckenna.org>  (tiny change)
5116         * net/eww.el (eww-submit): Encode empty form values as "".  (Bug#17785).
5118 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5120         * net/eww.el (eww): Allow "file:/file/name" URLs.  (Bug#18825).
5122 2014-11-02  Ivan Shmakov  <ivan@siamics.net>
5124         * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5125         (Bug#18834).
5127 2014-11-02  Eric Abrahamsen  <eric@ericabrahamsen.net>
5129         * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5130         use as advice.
5131         (edebug-setup-hook): Advise `edebug-prin1-to-string'.  (Bug#18897)
5133 2014-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5135         * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5136         (bug#18821).
5137         * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5139 2014-11-01  Michael R. Mauger  <michael@mauger.com>
5141         * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5142         syntax, add new keywords, and parse longer keywords first.
5143         (sql-redirect-one): Protect against empty command.
5144         (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5145         to SQL.  (Bug#14759)
5147 2014-11-01  Michael R. Mauger  <michael@mauger.com>
5149         * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5150         Bug#16814 with let-bind of comint-input-ring variables around read
5151         and save functions.
5153 2014-11-01  Michael Albinus  <michael.albinus@gmx.de>
5155         * net/tramp-cache.el (tramp-get-file-property)
5156         (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5157         and `tramp-cache-set-count-*' are bound.  Otherwise, there might
5158         be compiler warnings.
5160         * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5161         Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5163 2014-11-01  Eli Zaretskii  <eliz@gnu.org>
5165         * progmodes/compile.el (compilation-mode): Turn off deferred
5166         fontifications locally.  (Bug#18856)
5168 2014-11-01  Wolfgang Jenkner  <wjenkner@inode.at>
5170         * net/tramp-sh.el (tramp-send-command): Fix the case where the
5171         remote-echo connection property is non-nil (bug#18858).
5173 2014-11-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5175         * simple.el (newline): Add assertions to try and help catch bug#18913.
5177         * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5178         (bug#18886).
5179         (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5181 2014-11-01  Kim F. Storm  <storm@cua.dk>
5183         Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5184         * delsel.el (delete-selection-save-to-register)
5185         (delsel--replace-text-or-position): New vars.
5186         (delete-active-region): Use them.
5187         (delete-selection-repeat-replace-region): New command, moved from
5188         cua-base.el.
5189         * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5190         (cua-repeat-replace-region): Move command to delsel.el.
5191         (cua--init-keymaps): Update binding accordingly.
5192         (cua-mode): Set delete-selection-save-to-register.
5194 2014-11-01  Alan Mackenzie  <acm@muc.de>
5196         Make blink-parens work with a closing template delimiter.
5197         * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5198         before calling blink-paren-function, so as to apply syntax-table
5199         properties to the ">".
5201 2014-11-01  Jan Djärv  <jan.h.d@swipnet.se>
5203         * select.el (gui-get-selection): Comment: data-type ignored on NS.
5205 2014-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5207         * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5208         (macroexp--expand-all): Unrelated tweaks.
5210         * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5212 2014-10-30  Glenn Morris  <rgm@gnu.org>
5214         * startup.el (command-line): Remove pointless attempt to avoid
5215         statting the file-system (which expand-file-name doesn't do).
5217 2014-10-30  Daniel Colascione  <dancol@dancol.org>
5219         Add "enum class" support to C++ mode.
5220         * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5221         (c-after-brace-list-key): New language consts/variables.
5222         * progmodes/cc-engine.el (c-looking-at-decl-block):
5223         Exclude spurious match of "enum struct" from decl-block recognition.
5224         (c-backward-colon-prefixed-type): New function.
5225         (c-backward-over-enum-header): Call above function to extend
5226         recognition of enum structure.
5228 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5230         * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5231         (c-lang-defconst):
5232         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5234 2014-10-30  Eli Zaretskii  <eliz@gnu.org>
5236         * progmodes/compile.el (compilation-start):
5237         If compilation-scroll-output is non-nil, don't force window-start of
5238         the compilation buffer to be at beginning of buffer.  (Bug#18874)
5240         * startup.el (fancy-about-text): Read the entire tutorial, not
5241         just its first 256 bytes.  (Bug#18760)
5243 2014-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5245         * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5246         * emacs-lisp/cl-extra.el: Add missing provide.
5248         * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5249         all args are copyable (bug#18767).
5250         (=, <, >, <=, >=): Re-enable the optimization.
5252 2014-10-29  Glenn Morris  <rgm@gnu.org>
5254         * net/rcirc.el (rcirc-fill-column): Unbump :version.  Mark :risky.
5256         * version.el (emacs-bzr-version, emacs-bzr-get-version):
5257         Revert 2014-10-26 change.
5259 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
5261         Simplify use of current-time and friends.
5262         * allout-widgets.el (allout-widgets-hook-error-handler):
5263         * calendar/appt.el (appt-display-message):
5264         * calendar/icalendar.el (icalendar--convert-float-to-ical):
5265         * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5266         (timeclock-last-period, timeclock-day-base):
5267         * eshell/em-ls.el (eshell-ls-file):
5268         * eshell/esh-util.el (eshell-parse-ange-ls):
5269         * generic-x.el (named-database-print-serial):
5270         * net/newst-backend.el (newsticker--get-news-by-url-callback)
5271         (newsticker-get-news, newsticker--sentinel-work)
5272         (newsticker--image-get, newsticker--image-sentinel):
5273         * net/tramp-sh.el (tramp-get-remote-touch):
5274         * progmodes/opascal.el (opascal-debug-log):
5275         * textmodes/remember.el (remember-mail-date)
5276         (remember-store-in-files):
5277         * vc/vc-annotate.el (vc-annotate-display-autoscale)
5278         (vc-default-annotate-current-time):
5279         * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5280         * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5281         * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5282         Omit unnecessary call to current-time.
5283         * calendar/time-date.el (time-to-seconds) [!float-time]:
5284         * vc/vc-annotate.el (vc-annotate-convert-time):
5285         Use current time if arg is nil, to be compatible with float-time.
5286         (time-date--day-in-year): New function, with most of the guts of
5287         the old time-to-day-in-year.
5288         (time-to-day-in-year): Use it.
5289         (time-to-days): Use it, to avoid decoding the same time stamp twice.
5290         * calendar/timeclock.el (timeclock-time-to-date):
5291         Arg is now optional, like current-time-string.
5292         (timeclock-update-mode-line):
5293         Don't call current-time twice to get the current time stamp,
5294         as this can lead to inconsistent results.
5295         * completion.el (cmpl-hours-since-origin):
5296         * ido.el (ido-time-stamp):
5297         * vc/vc-annotate.el (vc-annotate-convert-time):
5298         Simplify by using float-time.
5299         * completion.el (save-completions-to-file):
5300         Rename local var to avoid confusion.
5301         * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5302         time-to-seconds now behaves like float-time with respect to nil arg.
5303         * subr.el (progress-reporter-do-update):
5304         Don't call float-time unless needed.
5306 2014-10-29  Leo Liu  <sdl.web@gmail.com>
5308         * net/rcirc.el (rcirc-fill-column): Use function.
5309         (rcirc-markup-fill): Remove adjustment.
5311 2014-10-28  Christopher Schmidt  <ch@ristopher.com>
5313         * calc/calc.el (quick-calc):
5314         * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5316 2014-10-28  Sam Steingold  <sds@gnu.org>
5318         * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5319         the sake of `window-body-width' (in addition to `frame-width').
5321 2014-10-26  Eric S. Raymond  <esr@thyrsus.com>
5323         * version.el: Fix some fallback values to conform to the actual
5324         release number.
5326 2014-10-25  Eric S. Raymond  <esr@thyrsus.com>
5328         * Makefile.in: Change some production names so they're neutral
5329         about the repository type.
5331 2014-10-25  Michael Albinus  <michael.albinus@gmx.de>
5333         * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5334         (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5335         during initialization.  (Bug#18774)
5337 2014-10-25  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5339         * ses.el (macroexp): Add require for this package, so that
5340         function `ses--cell' gets macroexp-quote --- this change was
5341         supposed to be in my previous commit, but left out by mistake.
5342         (ses--cell): Do not make formula a macroexp-quote of value when
5343         value, not formula, is *skip*.
5345 2014-10-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5347         * ses.el (macroexp): Add require for this package, so that function
5348         `ses--cell gets macroexp-quote.
5349         (ses--cell): Makes formula a macroexp-quote of value when formula
5350         is nil.  The rationale of this changr is to allow in the future
5351         shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5352         instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'.  In such a case
5353         reference list REFLIST would be re-computed after load --- thus
5354         trading off load time against file size.
5356         * emacs-lisp/package.el (package--alist-to-plist-args):
5357         Use macroexp-quote instead of a lambda expression which has the same
5358         content as macroexp-quote.
5359         (macroexp): Add require for this package, so that function
5360         `package--alist-to-plist-args' gets macroexp-quote.
5362         * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5364 2014-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5366         * term/ns-win.el (ns-store-cut-buffer-internal)
5367         (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5369 2014-10-24  Martin Rudalics  <rudalics@gmx.at>
5371         * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5372         Calculate increment from last position instead of window edge.
5373         Add right- and bottom-divider bindings to transient map.
5375 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5377         * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5378         even if :predicate was nil, for the benefit of typep.
5379         Record the name of the predicate for typep's use.
5380         (cl--make-type-test): Use pcase.  Obey new
5381         cl-deftype-satisfies property.
5383         * epg.el: Use cl-defstruct.
5384         (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5385         (epg-data-string): Define via cl-defstruct.
5386         (epg--gv-nreverse): New macro.
5387         (epg-context--make): New constructor (provided vi cl-defstruct).
5388         (epg-make-context): Rewrite using it.
5389         (epg-context-protocol, epg-context-program)
5390         (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5391         (epg-context-include-certs, epg-context-cipher-algorithm)
5392         (epg-context-digest-algorithm, epg-context-compress-algorithm)
5393         (epg-context-passphrase-callback, epg-context-progress-callback)
5394         (epg-context-signers, epg-context-sig-notations, epg-context-process)
5395         (epg-context-output-file, epg-context-result, epg-context-operation)
5396         (epg-context-pinentry-mode): Define using cl-defstruct.
5397         (epg-context-set-protocol, epg-context-set-program)
5398         (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5399         (epg-context-set-digest-algorithm)
5400         (epg-context-set-sig-notations, epg-context-set-process)
5401         (epg-context-set-output-file, epg-context-set-result)
5402         (epg-context-set-operation, epg-context-set-pinentry-mode)
5403         (epg-context-set-compress-algorithm): Remove.  Use setf instead.
5404         (epg-context-set-armor, epg-context-set-textmode)
5405         (epg-context-set-signers): Redefine using setf
5406         and declare as obsolete.
5407         (epg-context-set-passphrase-callback)
5408         (epg-context-set-progress-callback): Use setf.
5409         (epg-signature-notations): Rename from epg-sig-notations.
5410         (epg-make-signature, epg-signature-status, epg-signature-key-id)
5411         (epg-signature-validity, epg-signature-fingerprint)
5412         (epg-signature-creation-time, epg-signature-expiration-time)
5413         (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5414         (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5415         (epg-signature-set-status, epg-signature-set-key-id)
5416         (epg-signature-set-validity, epg-signature-set-fingerprint)
5417         (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5418         (epg-signature-set-pubkey-algorithm)
5419         (epg-signature-set-digest-algorithm, epg-signature-set-class)
5420         (epg-signature-set-version, epg-signature-set-notations): Remove.
5421         Use setf instead.
5422         (epg-make-new-signature, epg-new-signature-type)
5423         (epg-new-signature-pubkey-algorithm)
5424         (epg-new-signature-digest-algorithm, epg-new-signature-class)
5425         (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5426         Define using cl-defstruct.
5427         (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5428         (epg-key-user-id-list): Define using cl-defstruct.
5429         (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5430         Use setf instead.
5431         (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5432         (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5433         (epg-sub-key-id, epg-sub-key-creation-time)
5434         (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5435         cl-defstruct.
5436         (epg-sub-key-set-fingerprint): Remove.  Use setf instead.
5437         (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5438         (epg-user-id-signature-list): Define using cl-defstruct.
5439         (epg-user-id-set-signature-list): Remove.  Use setf instead.
5440         (epg-make-key-signature, epg-key-signature-validity)
5441         (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5442         (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5443         (epg-key-signature-user-id, epg-key-signature-class)
5444         (epg-key-signature-exportable-p): Define using cl-defstruct.
5445         (epg-make-sig-notation, epg-sig-notation-name)
5446         (epg-sig-notation-value, epg-sig-notation-human-readable)
5447         (epg-sig-notation-critical): Define using cl-defstruct.
5448         (epg-sig-notation-set-value): Remove.  Use setf instead.
5449         (epg-make-import-status, epg-import-status-fingerprint)
5450         (epg-import-status-reason, epg-import-status-new)
5451         (epg-import-status-user-id, epg-import-status-signature)
5452         (epg-import-status-sub-key, epg-import-status-secret): Define using
5453         cl-defstruct.
5454         (epg-make-import-result, epg-import-result-considered)
5455         (epg-import-result-no-user-id, epg-import-result-imported)
5456         (epg-import-result-imported-rsa, epg-import-result-unchanged)
5457         (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5458         (epg-import-result-new-signatures, epg-import-result-new-revocations)
5459         (epg-import-result-secret-read, epg-import-result-secret-imported)
5460         (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5461         (epg-import-result-imports): Define using cl-defstruct.
5463         * emacs-lisp/package.el: Require EPG during macroexpansion.
5464         (package--check-signature, package-import-keyring): Use setf instead of
5465         epg-context-set-home-directory.
5467 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5469         * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5471 2014-10-23  Leo Liu  <sdl.web@gmail.com>
5473         * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5474         (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5475         (cfengine3-current-defun): New function.
5476         (cfengine3-mode): Set add-log-current-defun-function.
5478 2014-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5480         * select.el: Use lexical-binding.
5481         (gui-set-selection): Provide an implementation for non-GUI frames
5482         (bug#18791).
5483         * term/x-win.el: Use lexical-binding.
5484         (x-clipboard-yank): Fix up missed renamings.
5485         * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5486         (w32--set-selection): Fix up var names.
5487         * term/pc-win.el: Use lexical-binding.
5488         (w16-selection-exists-p): Silence compiler warning.
5489         (w16-selection-owner-p): Fix up missed renamings.
5491         * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5493         * frame.el (frame-notice-user-settings): Fix excessive quoting.
5495 2014-10-22  Tassilo Horn  <tsdh@gnu.org>
5497         * doc-view.el (doc-view-open-text): View the document's plain text
5498         in the current buffer instead of a new one.
5499         (doc-view-toggle-display): Handle the case where the current
5500         buffer contains the plain text contents of the document.
5501         (doc-view-initiate-display): Don't switch to fallback mode if the
5502         user wants to view the doc's plain text.
5503         (doc-view-set-doc-type): Use assoc-string instead of
5504         assoc-ignore-case.
5506 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5508         * subr.el (read-key): Fix clicks on the mode-line.
5509         (set-transient-map): Return exit function.
5511         * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5512         (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5513         (mouse-yank-secondary): Use gui-get-selection.
5514         (mouse--down-1-maybe-follows-link): Use read-key.
5516         * xt-mouse.el: Add `event-kind' property on the fly from
5517         xterm-mouse-translate-1 rather than statically at the outset.
5519 2014-10-21  Daniel Colascione  <dancol@dancol.org>
5521         * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5522         change window configuration when we turn it off.
5524 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5526         Get rid of backend-dependent selection-handling functions for kill/yank
5527         and make it generic instead by relying on the lower-level selection
5528         management functions.
5530         * select.el (select-enable-clipboard): Rename from
5531         gui-select-enable-clipboard.
5532         (select-enable-primary): Move from x-win.el and rename from
5533         x-select-enable-primary.
5534         (gui-last-selected-text): Remove.
5535         (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5536         New vars.
5537         (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5538         (gui-select-text-alist, gui-selection-value-alist): Remove.
5539         (x-select-request-type): Move from x-win.el.
5540         (gui--selection-value-internal): New function, taken from x-win's
5541         x-selection-value-internal.
5542         (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5543         (gui-set-selection-alist): Rename from gui-own-selection-alist and
5544         extend it to handle a nil value as a "disown" request.
5545         (gui-disown-selection-alist): Remove.
5546         (xselect-convert-to-delete): Adjust accordingly.
5547         (gui-set-selection): Simplify accordingly as well.  Use dotimes.
5549         * term/x-win.el (x-last-selected-text-primary)
5550         (x-select-enable-primary): Remove (moved to select.el).
5551         (x-select-request-type): Move to select.el.
5552         (x-selection-value-internal, x--selection-value): Remove functions.
5553         (gui-selection-value, gui-select-text): Remove moethods.
5554         (gui-set-selection): Merge own and disown methods.
5556         * term/w32-win.el (w32--select-text, w32--get-selection-value):
5557         Delete function (move functionality into w32--set-selection and
5558         w32--get-selection).
5559         (gui-select-text, gui-selection-value): Don't define methods.
5560         (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5561         New functions.
5562         (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5563         Use them.
5564         (gui-selection-exists-p): Adjust to new name of C primitive.
5566         * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5567         test of gui-select-enable-clipboard, to make it usable as
5568         a gui-get-selection method.
5569         (gui-selection-exists-p): Adjust to new name of C primitive.
5570         (gui-set-selection): Merge own and disown methods.
5571         (gui-select-text, gui-selection-value): Delete methods.
5572         (w16--select-text): Delete function.
5574         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5575         (ns-selection-value): Remove functions.
5576         (gui-select-text, gui-selection-value): Don't define method any more.
5577         (gui-set-selection): Merge the old own and disown methods.
5578         (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5579         underlying C primitive.
5581         * startup.el (command-line): Adjust now that `gui-method' expects nil
5582         for ttys.
5584         * frame.el (gui-method): Use window-system rather than framep.
5585         (gui-method-declare): The tty case is now nil rather than t.
5586         (make-frame): Adjust accordingly.
5588 2014-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5590         * net/newst-reader.el (newsticker--image-read): Simplify.
5591         (newsticker--icon-read): Use dolist and fix free var error.
5593         * imenu.el (imenu--menubar-keymap): New var.
5594         (imenu-add-to-menubar): Set it to remember the keymap we used.
5595         (imenu-update-menubar): Use it instead of asking lookup-key.
5597         * obsolete/cc-compat.el: Make obsolete (bug#18561).
5599         * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5601         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5602         case (bug#18767).
5604 2014-10-21  Glenn Morris  <rgm@gnu.org>
5606         * Merge in all changes up to version 24.4 release.
5608 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5610         * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5611         case (bug#18767).
5613 2014-10-20  Glenn Morris  <rgm@gnu.org>
5615         * Merge in all changes up to 24.4 release.
5617 2014-10-20  Ulf Jasper  <ulf.jasper@web.de>
5619         * net/newst-backend.el
5620         (newsticker--image-download-by-url-callback): Make this function
5621         actually work: Check status properly, then save image.
5623 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5625         * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
5626         `this-event'.
5627         (mouse-drag-line): Unless there's no actual mouse, use the event's
5628         position info.
5630 2014-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5632         * textmodes/css-mode.el (scss-mode): New major-mode.
5633         (css-mode-syntax-table): Use d style comment, to ease the scss case.
5634         (css-ident-re): Allow things like @-moz-keyframes.
5635         (scss--hash-re): New const.
5636         (css--font-lock-keywords): New function, extracted from
5637         css-font-lock-keywords.
5639 2014-10-19  Ulf Jasper  <ulf.jasper@web.de>
5641         * net/newst-backend.el: Require url-parse.
5642         (newsticker--get-news-by-wget): Store feed name as process property.
5643         (newsticker--sentinel): Read feed name from process property.
5644         (newsticker--sentinel-work): Rename argument name to feed-name.
5645         Rename variable imageurl to image-url.  Pick icon url from Atom
5646         1.0 data.  Launch download of feed icon.
5647         (newsticker--get-icon-url-atom-1.0): New.
5648         (newsticker--unxml)
5649         (newsticker--unxml-node)
5650         (newsticker--unxml-attribute): Documentation.
5651         (newsticker--icons-dir): New.
5652         (newsticker--image-get): New arguments FILENAME and DIRECTORY.
5653         Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
5654         (newsticker--image-download-by-wget): New.  Use process properties
5655         for storing informations.
5656         (newsticker--image-sentinel): Read informations from process properties.
5657         (newsticker--image-save)
5658         (newsticker--image-remove)
5659         (newsticker--image-download-by-url)
5660         (newsticker--image-download-by-url-callback): New.
5661         (newsticker-opml-export): Handle url list entries containing a
5662         function instead of an url string.
5664         * net/newst-reader.el (newsticker-html-renderer): Whitespace.
5665         (newsticker--print-extra-elements)
5666         (newsticker--do-print-extra-element):
5667         Documentation (newsticker--image-read): Optionally limit image height.
5668         Use imagemagick if possible.
5669         (newsticker--icon-read): New.
5671         * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
5672         (newsticker--treeview-tree-expand): Use feed icons in treeview.
5673         (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
5674         (newsticker--tree-widget-leaf-icon): Use feed icon.
5676 2014-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5678         * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
5679         Use help-function-arglist instead.
5681         * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
5682         (eieio--with-scoped-class): Use `declare'.
5683         (eieio-defclass): Remove compatibility code.
5684         (no-method-definition, no-next-method, inconsistent-class-hierarchy)
5685         (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
5687 2014-10-18  Jan Djärv  <jan.h.d@swipnet.se>
5689         * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
5691         * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
5692         replacements to stock names before stock names in a list.
5693         Cdr may be a list, each name is tried in turn until one is found.
5695 2014-10-18  Alan Mackenzie  <acm@muc.de>
5697         Check that a "macro" found near point-min isn't a ## operator.
5698         * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
5699         (c-beginning-of-macro): Use the above new function.  (Bug#18749)
5701 2014-10-18  Teodor Zlatanov  <tzz@lifelogs.com>
5703         * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
5704         correct data to `gnutls-boot' (Bug#18664).
5705         Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
5707 2014-10-18  Michal Nazarewicz  <mina86@mina86.com>
5709         * whitespace.el (whitespace-style, whitespace-big-indent)
5710         (whitespace-big-indent-regexp, whitespace-style-value-list)
5711         (whitespace-toggle-option-alist, whitespace-interactive-char)
5712         (whitespace-toggle-options)
5713         (global-whitespace-toggle-options, whitespace-help-text)
5714         (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
5715         style to `whitespace-mode' to indicate that the line indentation
5716         is too deep.  By default, 32 SPACEs or four TABs are considered
5717         too many but `whitespace-big-indent-regexp' can be configured.
5719 2014-10-17  Michal Nazarewicz  <mina86@mina86.com>
5721         * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
5722         tildify-mode-alist.
5724 2014-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5726         * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
5727         (defclass, defgeneric, defmethod): Add doc-string position.
5728         (with-slots): Require cl-lib.
5730         * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
5731         (list-of): New type.
5732         (eieio--typep): Remove.
5733         (eieio-perform-slot-validation): Use cl-typep instead.
5735         * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
5737         * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
5739 2014-10-16  Alan Mackenzie  <acm@muc.de>
5741         Trigger showing when point is in the "periphery" of a line or just
5742         inside a paren.
5743         * paren.el (show-paren-style, show-paren-delay)
5744         (show-paren-priority, show-paren-ring-bell-on-mismatch):
5745         Remove superfluous :group specifications.
5746         (show-paren-when-point-inside-paren)
5747         (show-paren-when-point-in-periphery): New customizable variables.
5748         (show-paren-highlight-openparen): Make into a defcustom.
5749         (show-paren--unescaped-p, show-paren--categorize-paren)
5750         (show-paren--locate-near-paren): New defuns.
5751         (show-paren--default): Refaactor and trigger on more paren
5752         positions.
5753         (show-paren-function): Small consequential changes.
5755 2014-10-16  Tom Tromey  <tom@tromey.com>
5757         * files.el (auto-mode-alist): Use javascript-mode for .jsm
5758         (bug #18719).
5760 2014-10-16  Eli Zaretskii  <eliz@gnu.org>
5762         * international/characters.el (bracket-type): Force pre-loading of
5763         uni-brackets.el.
5765 2014-10-16  Alan Mackenzie  <acm@muc.de>
5767         * cus-edit.el (custom-command-apply): Specify the return value in
5768         the doc string.
5769         (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
5770         custom-command-apply has returned non-nil.
5772 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5774         * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
5775         Remove incorrect handling of eldoc-print-after-edit.
5776         (eldoc-message-commands, eldoc-last-data): Use defvar.
5777         * loadup.el (emacs-lisp/eldoc): Load it.
5779         * progmodes/m4-mode.el (m4-syntax-propertize): New var.
5780         (m4-mode): Use it.
5781         (m4--quoted-p): New function.
5782         (m4-font-lock-keywords): Don't handle #..\n comments any more.
5783         (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
5784         for most special characters.
5786         * progmodes/compile.el (compilation--previous-directory): Simplify.
5787         (compilation-next-error): Ensure the parse before we look at
5788         compilation-message property.
5790 2014-10-15  Eli Zaretskii  <eliz@gnu.org>
5792         * simple.el (what-cursor-position):
5793         * descr-text.el (describe-char): Update to support the new bidi
5794         characters.
5796         * emacs-lisp/tabulated-list.el (tabulated-list-mode):
5797         Force bidi-paragraph-direction to 'left-to-right'.  This fixes
5798         buffer-menu display when the first buffer happens to start with
5799         R2L letter.
5801 2014-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5803         * progmodes/elisp-mode.el (elisp--local-variables-1):
5804         Handle quoted expressions (bug#18688).
5806 2014-10-14  Jérémy Compostella  <jeremy.compostella@intel.com>
5807             Michael Albinus  <michael.albinus@gmx.de>
5809         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5810         Reduce the amount of set environment variable commands.
5812 2014-10-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5814         Fix import completion.  (Bug#18582)
5815         * progmodes/python.el (python-shell-completion-get-completions):
5816         Fix import case regexp.
5818 2014-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5820         * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
5821         (bug#18622).  Reported by Arni Magnusson <arnima@hafro.is>.
5822         * progmodes/prolog.el (prolog-electric--underscore): Same.
5824 2014-10-12  Michael Albinus  <michael.albinus@gmx.de>
5826         * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
5828 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
5830         * cus-start.el (all): Add missing ns and boolean to
5831         ns-use-fullscreen-animation.
5833 2014-10-11  Leo Liu  <sdl.web@gmail.com>
5835         * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
5836         Use strings.
5837         (cfengine3-create-imenu-index): New function.
5838         (cfengine3-mode): Use it for `imenu-create-index-function'.
5839         (cfengine-auto-mode): Improve and prefer cfengine3-mode when
5840         buffer is empty.
5842 2014-10-11  Jan Djärv  <jan.h.d@swipnet.se>
5844         * cus-start.el (all): Add ns-use-fullscreen-animation.
5846 2014-10-11  Glenn Morris  <rgm@gnu.org>
5848         * calendar/diary-lib.el (diary-display-function):
5849         Drop support for deprecated nil and list forms.
5850         (diary-list-entries): Update for the above.
5851         * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
5853 2014-10-10  Leo Liu  <sdl.web@gmail.com>
5855         * window.el (temp-buffer-window-show): Make BUFFER a required arg.
5856         (Bug#18656)
5858 2014-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5860         * select.el (gui-selection-exists-p-alist): New method.
5861         * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
5862         * simple.el (deactivate-mark): Use it.
5863         * term/x-win.el (gui-selection-exists-p):
5864         * term/w32-win.el (gui-selection-exists-p):
5865         * term/pc-win.el (gui-selection-exists-p):
5866         * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
5868 2014-10-10  Glenn Morris  <rgm@gnu.org>
5870         * info.el (Info-fontify-maximum-menu-size): Bump to 400k.  (Bug#16227)
5871         Fix :type.  Allow t to mean no limit.
5872         (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
5874 2014-10-09  Glenn Morris  <rgm@gnu.org>
5876         * frame.el (display-monitor-attributes-list): Doc tweaks.
5878 2014-10-09  Eli Zaretskii  <eliz@gnu.org>
5880         * faces.el (display-grayscale-p): Mention in the doc string that
5881         the argument can be either a display name or a frame.
5883         * frame.el (display-pixel-height, display-pixel-width)
5884         (display-mm-height, display-mm-width, display-backing-store)
5885         (display-save-under, display-planes, display-color-cells)
5886         (display-visual-class, display-monitor-attributes-list)
5887         (display-screens): Mention in the doc string that the argument can
5888         be either a display name or a frame.  Improve the docs of the
5889         monitor attributes.  (Bug#18636)
5891 2014-10-09  Martin Rudalics  <rudalics@gmx.at>
5893         * term.el (term-window-width): Subtract 1 from the width when
5894         any fringe has zero width, not just the right fringe.  (Bug#18601)
5896 2014-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5898         * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
5900 2014-10-08  Leo Liu  <sdl.web@gmail.com>
5902         * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
5904 2014-10-08  Glenn Morris  <rgm@gnu.org>
5906         * calendar/cal-x.el (calendar-dedicate-diary):
5907         Drop support for recently deleted aliases.
5909 2014-10-08  Leo Liu  <sdl.web@gmail.com>
5911         * progmodes/cfengine.el (cfengine3-make-syntax-cache):
5912         Always return a syntax.  Replace call-process-shell-command with
5913         process-file.  Ensure cfengine-mode-syntax-functions-regex is
5914         always set.  Ensure cache when cfengine-cf-promises fails.
5915         (Bug#18620)
5917 2014-10-07  Glenn Morris  <rgm@gnu.org>
5919         * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
5921 2014-10-07  Wilson Snyder  <wsnyder@wsnyder.org>
5923         Sync with upstream verilog-mode revision c075a492.
5924         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5925         (verilog-menu): Add AUTOINSERTLAST.
5926         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
5927         is nil, fix indenting initial/final to match always statements, bug825.
5928         Reported by Tim Clapp.
5929         (verilog-extended-complete-re): Fix indentation of DPI-C imports,
5930         bug557.  Reported by ZeDong Mao and Jason Forkey.
5931         (verilog-read-decls): Fix parsing typed interfaces.
5932         Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
5933         (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
5934         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
5935         Reported by Pierre-David Pfister.
5936         (verilog-auto-insert-lisp): Doc fix.
5937         (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
5938         allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
5939         (verilog-sk-ovm-class, verilog-sk-uvm-object)
5940         (verilog-sk-uvm-component): Fix missing string keyword in class
5941         skeletons, bug824.  Reported by eldad faruhi.
5943 2014-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5945         * term/w32-win.el: Move all code from 32-common-fns.el here.
5946         (gui-select-text, gui-selection-value): Use w32 handlers in the w32
5947         console as well (bug#18629).
5948         * w32-common-fns.el: Remove.
5949         * loadup.el: Don't load w32-common-fns.el.
5950         * w32-fns.elc: Don't require w32-common-fns.
5952         * icomplete.el: Move Iswitchb autoload here.  Much simpler.
5953         * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
5954         Remove redundant obsolescence thingy.
5955         * loadup.el: Don't load obsolete/loaddefs.el.
5956         * Makefile.in (obsolete-autoloads): Remove.
5957         (AUTOGENEL): Remove obsolete/loaddefs.el.
5959 2014-10-06  Glenn Morris  <rgm@gnu.org>
5961         * Makefile.in (obsolete-autoloads): Write to a separate file,
5962         to workaround autoloads bug.  (Bug#17407)
5963         (AUTOGENEL): Add obsolete/loaddefs.el.
5964         * loadup.el: Load obsolete/loaddefs.el if present.
5965         * subr.el (do-after-load-evaluation):
5966         Don't warn about obsolete/loaddefs.el.
5968         * menu-bar.el (menu-bar-games-menu): Remove landmark.
5969         It has zero relationship to a game.
5971 2014-10-06  Leo Liu  <sdl.web@gmail.com>
5973         * imenu.el (imenu): Re-write for clarity.
5975 2014-10-06  Glenn Morris  <rgm@gnu.org>
5977         Remove calendar code obsolete since at least version 23.1.
5978         * calendar/cal-bahai.el (calendar-absolute-from-bahai)
5979         (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
5980         (calendar-goto-bahai-date, list-bahai-diary-entries)
5981         (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
5982         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
5983         (insert-yearly-bahai-diary-entry):
5984         * calendar/cal-china.el (chinese-calendar-time-zone)
5985         (chinese-calendar-location-name)
5986         (chinese-calendar-daylight-time-offset)
5987         (chinese-calendar-standard-time-zone-name)
5988         (chinese-calendar-daylight-time-zone-name)
5989         (chinese-calendar-daylight-savings-starts)
5990         (chinese-calendar-daylight-savings-ends)
5991         (chinese-calendar-daylight-savings-starts-time)
5992         (chinese-calendar-daylight-savings-ends-time)
5993         (chinese-calendar-celestial-stem)
5994         (chinese-calendar-terrestrial-branch)
5995         (calendar-absolute-from-chinese, calendar-print-chinese-date)
5996         (calendar-goto-chinese-date):
5997         * calendar/cal-coptic.el (calendar-absolute-from-coptic)
5998         (calendar-print-coptic-date, coptic-prompt-for-date)
5999         (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6000         (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6001         * calendar/cal-french.el (calendar-absolute-from-french)
6002         (calendar-print-french-date, calendar-goto-french-date):
6003         * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6004         (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6005         (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6006         (holiday-rosh-hashanah-etc, holiday-hanukkah)
6007         (holiday-passover-etc, holiday-tisha-b-av-etc)
6008         (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6009         (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6010         (insert-monthly-hebrew-diary-entry)
6011         (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6012         (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6013         (diary-sabbath-candles):
6014         * calendar/cal-islam.el (calendar-absolute-from-islamic)
6015         (calendar-print-islamic-date, calendar-goto-islamic-date)
6016         (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6017         (mark-islamic-diary-entries, insert-islamic-diary-entry)
6018         (insert-monthly-islamic-diary-entry)
6019         (insert-yearly-islamic-diary-entry):
6020         * calendar/cal-iso.el (calendar-absolute-from-iso)
6021         (calendar-print-iso-date, calendar-iso-read-args)
6022         (calendar-goto-iso-date, calendar-goto-iso-week):
6023         * calendar/cal-julian.el (calendar-absolute-from-julian)
6024         (calendar-print-julian-date, calendar-goto-julian-date)
6025         (calendar-absolute-from-astro, calendar-print-astro-day-number)
6026         (calendar-goto-astro-day-number):
6027         * calendar/cal-mayan.el (calendar-print-mayan-date)
6028         (calendar-next-haab-date, calendar-previous-haab-date)
6029         (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6030         (calendar-next-calendar-round-date)
6031         (calendar-previous-calendar-round-date)
6032         (calendar-absolute-from-mayan-long-count)
6033         (calendar-goto-mayan-long-count-date):
6034         * calendar/cal-move.el (scroll-calendar-left)
6035         (scroll-calendar-right, scroll-calendar-left-three-months)
6036         (scroll-calendar-right-three-months):
6037         * calendar/cal-persia.el (calendar-absolute-from-persian)
6038         (calendar-print-persian-date, persian-prompt-for-date)
6039         (calendar-goto-persian-date):
6040         * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6041         * calendar/calendar.el (view-diary-entries-initially)
6042         (mark-diary-entries-in-calendar, calendar-today-face)
6043         (diary-face, holiday-face, view-calendar-holidays-initially)
6044         (mark-holidays-in-calendar, initial-calendar-window-hook)
6045         (today-visible-calendar-hook, today-invisible-calendar-hook)
6046         (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6047         (bahai-diary-entry-symbol, american-date-diary-pattern)
6048         (european-date-diary-pattern, european-calendar-display-form)
6049         (american-calendar-display-form, holidays-in-diary-buffer)
6050         (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6051         (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6052         (fancy-diary-buffer, increment-calendar-month)
6053         (extract-calendar-month, extract-calendar-day)
6054         (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6055         (mark-visible-calendar-date, calendar-version):
6056         * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6057         (diary-display-hook, list-diary-entries-hook)
6058         (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6059         (nongregorian-diary-marking-hook, print-diary-entries-hook)
6060         (abbreviated-calendar-year, number-of-diary-entries)
6061         (view-other-diary-entries, add-to-diary-list)
6062         (include-other-diary-files, simple-diary-display)
6063         (fancy-diary-display, print-diary-entries, mark-diary-entries)
6064         (mark-sexp-diary-entries, mark-included-diary-files)
6065         (mark-calendar-days-named, mark-calendar-month)
6066         (mark-calendar-date-pattern, sort-diary-entries)
6067         (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6068         (insert-weekly-diary-entry, insert-monthly-diary-entry)
6069         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6070         (insert-block-diary-entry, insert-cyclic-diary-entry)
6071         (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6072         * calendar/holidays.el (general-holidays, oriental-holidays)
6073         (local-holidays, other-holidays, hebrew-holidays)
6074         (christian-holidays, islamic-holidays, bahai-holidays)
6075         (solar-holidays, list-calendar-holidays)
6076         (check-calendar-holidays, mark-calendar-holidays)
6077         (filter-visible-calendar-holidays):
6078         * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6079         (diary-phases-of-moon): Remove obsolete aliases.
6080         * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6081         * calendar/cal-x.el (calendar-one-frame-setup)
6082         (calendar-only-one-frame-setup, calendar-two-frame-setup):
6083         Remove obsolete functions.
6084         (cal-x-load-hook): Remove obsolete hook.
6085         * calendar/calendar.el (european-calendar-style):
6086         Remove obsolete variable.
6087         (calendar-date-style): No longer consult european-calendar-style.
6088         * calendar/calendar.el (european-calendar, american-calendar):
6089         Remove obsolete commands.
6090         * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6091         * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6092         (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6093         Use the face `diary' instead of the variable `diary-face'.
6094         * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6095         (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6096         * calendar/icalendar.el (icalendar--date-style): Remove function.
6097         Replace all uses with calendar-date-style.
6098         * textmodes/remember.el (calendar-date-style): Declare.
6099         (remember-diary-convert-entry):
6100         No longer consult european-calendar-style.
6102 2014-10-05  Leo Liu  <sdl.web@gmail.com>
6104         * imenu.el (imenu-default-goto-function): Fix typo.
6106 2014-10-04  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
6108         * net/ntlm.el (ntlm-build-auth-request):
6109         Add NTLM2 Session support.  (Bug#15603)
6111 2014-10-04  Glenn Morris  <rgm@gnu.org>
6113         * apropos.el (apropos-symbols-internal):
6114         Avoid error with non-symbol properties.  (Bug#18337#16)
6116         * startup.el (command-line):
6117         Handle altered user-emacs-directory in load-path warning.  (Bug#18512)
6119 2014-10-04  Martin Rudalics  <rudalics@gmx.at>
6121         * window.el (window-full-height-p): Make it behave correctly for
6122         minibuffer window.
6123         (window-current-scroll-bars): Fix code.
6124         (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6125         window-scroll-bars.
6126         * frame.el (frame-current-scroll-bars): Fix doc-string.
6127         * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6129 2014-10-04  Mark Oteiza  <mvoteiza@udel.edu>  (tiny change)
6131         * files.el (auto-mode-alist): Use sh-mode for .zsh files.  (Bug#18488)
6133 2014-10-04  Glenn Morris  <rgm@gnu.org>
6135         * frame.el (frame-monitor-attributes)
6136         (display-monitor-attributes-list): Doc fixes.
6138 2014-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6140         Merge trivially safe differences from standalone CC-mode.
6141         * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6142         just to then pass it to `symbol-value'.
6143         (prog-mode): Provide fallback definition, if needed.
6144         * progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
6145         Remove "cl-" prefix accordingly.
6146         * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6147         characterp depending on the type of characters.
6148         (c-font-lock-enum-tail): Remove unused var `start'.
6149         * progmodes/cc-engine.el: Load CL at compile-time.
6150         (c-declare-lang-variables): Use mapcan.
6151         (c-append-to-state-cache): Remove unused var `ce+1'.
6152         (c-parse-state-state): Make buffer-local.
6153         (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6154         (c-just-after-func-arglist-p): Remove unused var `end'.
6155         * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6156         (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6157         (c-make-keywords-re): Use delete-dups.
6158         (c-get-current-file): Avoid file-name-base.
6159         * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6160         `close-paren-inserted'.
6161         * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6163         * progmodes/python.el: Avoid building unneeded markers.
6164         (python-font-lock-keywords, python-indent-dedent-line)
6165         (python-fill-paren, python-shell-completion-complete-or-indent):
6166         Prefer point over point-marker.
6167         (inferior-python-mode): Remove redundant completion settings.
6169 2014-10-03  Dmitry Gutov  <dgutov@yandex.ru>
6171         * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6172         (vc-svn-ignore): Use it.  (Bug#18619)
6174 2014-10-03  Martin Rudalics  <rudalics@gmx.at>
6176         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6177         In doc-string mention need to set `frame-resize-pixelwise'.
6179 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6181         * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6182         similarly to Rogers's 2010-06-16 change for the remote case
6183         (bug#18605).
6185 2014-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6187         New gui-selection-value consolidating x-selection-value.
6188         * select.el (gui-selection-value-alist): New method.
6189         (gui-selection-value): New function.
6190         (x-selection-value): Make it an obsolete alias.
6191         * simple.el (interprogram-paste-function): Default to
6192         gui-selection-value.
6193         * w32-common-fns.el (w32-get-selection-value): Simplify.
6194         (x-selection-value): Remove alias.
6195         (interprogram-paste-function): Don't set.
6196         (gui-selection-value): Define for w32.
6197         * term/x-win.el (gui-selection-value): Define for x.
6198         (x--selection-value): Rename from x--selection-value.
6199         (interprogram-paste-function): Don't set.
6200         * term/pc-win.el (w16-get-selection-value): Simplify.
6201         (msdos-initialize-window-system): Don't set
6202         interprogram-paste-function.
6203         (gui-selection-value): Define for pc.
6204         * term/ns-win.el (x-selection-value): Remove.
6205         (gui-selection-value): Define for ns, instead.
6206         * term/common-win.el (x-setup-function-keys): Don't set
6207         interprogram-paste-function.
6208         * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6209         Use gui-selection-value.
6211 2014-10-02  David Raynes  <rayners@gmail.com>  (tiny change)
6213         * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6215 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6217         * obsolete/lucid.el (read-number): Remove, redundant.
6218         * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6219         Remove, broken.
6221 2014-10-02  Glenn Morris  <rgm@gnu.org>
6223         * emacs-lisp/package.el (package-import-keyring):
6224         Create gnupg directory private.  (Bug#17625#155)
6226 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6228         * progmodes/python.el (python-shell-completion-get-completions):
6229         Use python-shell--prompt-calculated-input-regexp from the
6230         process buffer (bug#18582).
6231         Don't assume that `line' comes from the process buffer.
6233 2014-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6235         * frame.el: Use lexical-binding (bug#18598).
6236         (make-frame): Use t rather than nil for tty's window-system.
6237         * startup.el (command-line): Use gui-method.
6239         Consolidate management/ownership of selections.
6240         * select.el (gui-get-selection-alist): New method.
6241         (gui-get-selection): Use it.  Rename from x-get-selection.
6242         (x-get-selection): Define as obsolete alias.
6243         (x-get-clipboard): Mark obsolete.
6244         (gui-get-primary-selection): New function.
6245         (x-get-selection-value): Mark obsolete.
6246         (gui-own-selection-alist, gui-disown-selection-alist)
6247         (gui-selection-owner-p-alist): New methods.
6248         (gui-set-selection): Use them.  Rename from x-set-selection.
6249         (x-set-selection): Define as obsolete alias.
6250         (gui--valid-simple-selection-p): Rename from
6251         x-valid-simple-selection-p.
6252         * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6253         (gui-selection-owner-p, gui-get-selection): Define for w32.
6254         (w32-get-selection-value): Rename from x-get-selection-value.
6255         Use the new gui-last-selected-text.
6256         * term/x-win.el (x-get-selection-value): Remove.
6257         (x-clipboard-yank): Declare obsolete.
6258         (gui-own-selection, gui-disown-selection, gui-get-selection)
6259         (gui-selection-owner-p): Define for x.
6260         * term/w32-win.el (w32-win-suspend-error): Rename from
6261         x-win-suspend-error.
6262         * term/pc-win.el (w16-get-selection-value): Rename from
6263         x-get-selection-value.
6264         (w16-selection-owner-p): Rename from x-selection-owner-p.
6265         (gui-own-selection, gui-disown-selection, gui-get-selection)
6266         (gui-selection-owner-p): Define for pc.
6267         (w16--select-text): New function.
6268         * term/ns-win.el (gui-own-selection, gui-disown-selection)
6269         (gui-get-selection, gui-selection-owner-p): Define for ns.
6270         * term.el (term-mouse-paste):
6271         * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6273 2014-10-02  H. Dieter Wilhelm  <dieter@duenenhof-wilhelm.de>
6275         * calc/calc-help.el (calc-describe-thing): Quote strings
6276         which could look like regexps.
6278 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6280         Consolidate x-select-text.
6281         * frame.el (gui-method, gui-method-define, gui-method-declare)
6282         (gui-call): New macros.
6283         (gui-method--name): New function.
6284         (frame-creation-function-alist): Use gui-method-declare.
6285         (make-frame): Use gui-method.
6286         * select.el (gui-select-enable-clipboard): Rename from
6287         x-select-enable-clipboard and move here.
6288         (x-select-enable-clipboard): Define as obsolete alias.
6289         (gui-last-selected-text): New var, to replace x-last-selected-text.
6290         (gui-select-text): New GUI method.
6291         (gui-select-text): New function.
6292         (x-select-text): Define as obsolete alias.
6293         * term/common-win.el (x-select-enable-clipboard, x-select-text):
6294         Move to select.el.
6295         * simple.el (interprogram-cut-function): Change default to
6296         x-select-text.
6297         (interprogram-paste-function): Change default to `ignore'.
6298         * w32-common-fns.el (interprogram-cut-function): Don't modify.
6299         * term/x-win.el (interprogram-cut-function): Don't modify.
6300         (gui-select-text): Add method for x.
6301         * term/w32-win.el (gui-select-text): Add method for w32.
6302         * term/pc-win.el (x-last-selected-text): Remove, use
6303         gui-last-selected-text instead.
6304         (msdos-initialize-window-system): Don't set interprogram-cut-function.
6305         (gui-select-text): Add method for pc.
6306         * term/ns-win.el (ns-last-selected-text): Remove, use
6307         gui-last-selected-text instead.
6308         (gui-select-text): Add method for ns.
6309         (x-setup-function-keys): Don't change interprogram-cut-function.
6310         * loadup.el ("startup"): Load after "frame".
6311         * subr.el (package--builtin-versions, package--description-file):
6312         Move from startup.el.
6313         * startup.el (package--builtin-versions, package--description-file):
6314         Move to subr.el.
6315         (handle-args-function-alist, window-system-initialization-alist):
6316         Use gui-method-declare.
6317         (command-line): Use gui-method.
6319 2014-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6321         * subr.el (alist-get): New accessor.
6322         * emacs-lisp/gv.el (alist-get): Provide expander.
6323         * winner.el (winner-remember):
6324         * tempo.el (tempo-use-tag-list):
6325         * progmodes/gud.el (minor-mode-map-alist):
6326         * international/mule-cmds.el (define-char-code-property):
6327         * frameset.el (frameset-filter-params):
6328         * files.el (dir-locals-set-class-variables):
6329         * register.el (get-register, set-register):
6330         * calc/calc-yank.el (calc-set-register): Use it.
6331         * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6332         * tooltip.el (tooltip-set-param): Mark as obsolete.
6333         (tooltip-show): Use alist-get instead.
6334         * ses.el (ses--alist-get): Remove.  Use alist-get instead.
6336 2014-10-01  Ulf Jasper  <ulf.jasper@web.de>
6338         * net/newst-backend.el: Remove Time-stamp.  Rename variable
6339         `newsticker--download-logos' to `newsticker-download-logos' and
6340         make it customizable.
6341         (newsticker--sentinel-work): Move xml-workarounds to function
6342         `newsticker--do-xml-workarounds', call unless libxml-parser is
6343         used.  Allow single quote in regexp for encoding.
6344         Use libxml-parser if available, else fall back to `xml-parse-region'.
6345         Take care of possibly missing namespace prefixes (like "RDF"
6346         instead of "rdf:RDF") when checking xml nodes and attributes (as
6347         libxml correctly removes the prefixes).  Always use Atom 1.0 as
6348         fallback feed type.  Rename `newsticker--download-logos' to
6349         `newsticker-download-logos'
6350         (newsticker--unxml, newsticker--unxml-node)
6351         (newsticker--unxml-attribute): New.
6352         (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6353         HTML code has become part of the xml parse tree.
6354         (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6355         of possibly missing namespace prefixes.
6356         (newsticker--parse-generic-items): Code formatting.  Typo.
6357         (newsticker--images-dir): Add trailing slash.
6358         (newsticker--image-get): Fix error message.
6360         * net/newst-plainview.el: Remove Time-stamp.
6362         * net/newst-reader.el: Remove Time-stamp.
6363         (newsticker-download-logos): Rename variable
6364         `newsticker--download-logos' to `newsticker-download-logos' and
6365         make it customizable.
6366         (newsticker--print-extra-elements): Add optional parameter
6367         'htmlish for using html markup.  Amend list of ignored elements.
6368         (newsticker--do-print-extra-element): Add parameter 'htmlish for
6369         using html markup.
6371         * net/newst-ticker.el: Remove Time-stamp.
6373         * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6374         for formatting extra elements.
6376         * net/newsticker.el:  Remove Time-stamp, Version.
6377         (newsticker-version): Make obsolete.
6379 2014-09-30  Leonardo Nobrega  <leonobr@gmail.com>  (tiny change)
6381         * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6382         (bug#18462).
6384 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6386         * emacs-lisp/package.el (package-check-signature): Default to nil if
6387         GPG is not available.
6388         (package-refresh-contents): Don't mess with the keyring if we won't
6389         check the signatures anyway.
6391 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6393         * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6394         (ses-center, ses-center-span): Use them.
6395         (ses-print-cell): Bind them while calling the printer.
6396         (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6397         (ses-dorange): Revert last change.
6398         (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6399         the formula.
6400         (ses-set-cell): Avoid `eval'.
6401         (ses--time-check): Rename it from ses-time-check and turn it into
6402         a macro.
6404         * ses.el (ses-setup): Don't assume modifying the iteration var of
6405         dotimes affects the iteration (bug#18191).
6407 2014-09-30  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6409         * ses.el (ses-calculate-cell): Bind row and col dynamically to
6410         their values with 'cl-progv'.
6411         (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6412         their values with 'cl-progv', also use non-interned symbols for
6413         row, minrow, maxrow, mincol and maxcol.
6414         (maxrow maxcol): New defvar, to make the compiler happy.
6416 2014-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6418         * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6419         completion functions.
6421 2014-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6423         * ses.el (ses--letref): Quote value before it gets re-evaluated.
6425 2014-09-28  Thien-Thi Nguyen  <ttn@gnu.org>
6427         Font-lock `cl-flet*', too.
6428         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6429         Add "flet*" to intermediate var `cl-lib-kw'.
6431 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6433         * epg-config.el (epg-gpg-program): Use the plain program names rather
6434         than their absolute file name.
6436         * subr.el (track-mouse): New macro.
6437         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6438         Remove track-mouse case.
6439         * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6441 2014-09-27  Leo Liu  <sdl.web@gmail.com>
6443         * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6445         * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6447 2014-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6449         * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6450         Handle the case where `match' is :pcase--succeed or :pcase--fail
6451         (bug#18554).
6453         Introduce global-eldoc-mode.  Move Elisp-specific code to elisp-mode.el.
6454         * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6455         (eldoc-schedule-timer): Obey it.
6456         (eldoc-documentation-function): Default to nil.
6457         (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6458         (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6459         (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6460         (eldoc-last-data-store, eldoc-docstring-first-line)
6461         (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6462         (eldoc-beginning-of-sexp, eldoc-current-symbol)
6463         (eldoc-function-argstring): Move to elisp-mode.el.
6464         (eldoc-symbol-function): Remove, unused.
6465         * progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
6466         (elisp-completion-at-point): Rename from lisp-completion-at-point.
6467         (elisp--preceding-sexp): Rename from preceding-sexp.
6468         * loadup.el: Load new file progmodes/elisp-mode.
6469         * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6470         * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6471         (lisp--local-variables-completion-table, lisp--expect-function-p)
6472         (lisp--form-quoted-p, lisp--company-doc-buffer)
6473         (lisp--company-doc-string, lisp--company-location)
6474         (lisp-completion-at-point): Move to elisp-mode.el.
6475         * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6476         extracted from emacs-lisp-mode-syntax-table.
6477         (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6478         elisp-mode.el.
6479         (lisp-imenu-generic-expression): Add comments to document what comes
6480         from which Lisp dialect.
6481         (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6482         (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6483         (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6484         (emacs-lisp-byte-code-comment)
6485         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6486         (lisp-interaction-mode-map, lisp-interaction-mode)
6487         (eval-print-last-sexp, last-sexp-setup-props)
6488         (last-sexp-toggle-display, prin1-char, preceding-sexp)
6489         (eval-last-sexp-1, eval-last-sexp-print-value)
6490         (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6491         (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6493 2014-09-26  Paul Eggert  <eggert@cs.ucla.edu>
6495         * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6496         Do not match file names that end in '/', as they cannot be 'grep'
6497         hits nowadays.  This prevents confusion when 'grep -r' reports a
6498         match in a file whose basename is ':12345:'.  Conversely, do not
6499         require exactly the same sequence of spaces and tabs after both
6500         colons, and allow spaces or tabs before the second colon, as per
6501         the POSIX spec for 'grep' output.
6503 2014-09-26  Leo Liu  <sdl.web@gmail.com>
6505         Add cl-parse-integer based on parse-integer (Bug#18557)
6506         * calendar/parse-time.el (parse-time-digits): Remove.
6507         (digit-char-p, parse-integer) Moved to cl-lib.el.
6508         (parse-time-tokenize, parse-time-rules, parse-time-string):
6509         Use cl-parse-integer.
6511         * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6513         * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6514         (cl-digit-char-p): New function.
6516 2014-09-25  Juri Linkov  <juri@jurta.org>
6518         * vc/add-log.el (change-log-next-buffer): Don't create an empty
6519         buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6520         Return the current buffer if no files match the default pattern
6521         ChangeLog.[0-9].  Signal "end of multi" when file is nil.  (Bug#18547)
6523 2014-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6525         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6526         the global vc-handled-backends (bug#18535).
6528 2014-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6530         * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6531         Suggested by <lompik@voila.fr>.
6533 2014-09-24  Ulf Jasper  <ulf.jasper@web.de>
6535         * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6536         Rename from `newsticker--treeview-do-get-node'.
6537         (newsticker--treeview-get-node-by-id):
6538         Rename from `newsticker--treeview-get-node'.
6539         (newsticker--treeview-buffer-init)
6540         (newsticker--treeview-buffer-init): Disable buffer undo.
6541         (newsticker--treeview-unfold-node): Adapt to modified
6542         `newsticker--group-find-parent-group'.
6543         (newsticker--group-do-find-group):
6544         Rename from `newsticker--group-do-find-group-for-feed'.
6545         Now works for both, groups and feeds.
6546         (newsticker--group-find-parent-group):
6547         Rename from `newsticker--group-find-group-for-feed'.
6548         Now works for both, groups and feeds.
6549         (newsticker--group-do-get-parent-group)
6550         (newsticker--group-get-parent-group): Remove.
6551         (newsticker-group-add-group): Change interactive prompts.
6552         (newsticker-group-add-group): Finally jump to added group.
6553         (newsticker-group-delete-group): Finally jump to current feed.
6554         (newsticker--group-do-rename-group, newsticker-group-rename-group)
6555         (newsticker--get-group-names, newsticker--group-names): New.
6556         (newsticker-group-move-feed): Finally jump to moved feed.
6557         (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6558         (newsticker-group-shift-group-down)
6559         (newsticker-group-shift-group-up, newsticker--group-shift): New.
6560         (newsticker-treeview-mode-map): New keybindings for new shift commands.
6562         * net/newst-backend.el (newsticker--item-list)
6563         (newsticker--item-position, newsticker--prev-message)
6564         (newsticker--scrollable-text): Move to newst-ticker.el.
6566         * net/newst-ticker.el (newsticker--item-list)
6567         (newsticker--item-position, newsticker--prev-message)
6568         (newsticker--scrollable-text): Move from newst-backend.el.
6570 2014-09-22  Kan-Ru Chen  <kanru@kanru.info>
6572         * window.el (fit-window-to-buffer): When counting buffer width,
6573         count the whole visible buffer.  Correctly convert the body-height
6574         to pixel size for window-text-pixel-size (Bug#18498).
6576 2014-09-22  Sam Steingold  <sds@gnu.org>
6578         * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6579         (sql-execute): Use `special-mode'.
6581 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6583         Add pcase-defmacro, as well as `quote' and `app' patterns.
6584         * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6585         * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6586         (pcase--funcall, pcase--eval): New functions.
6587         (pcase--u1): Use them for guard, pred, let, and app.
6588         (\`): Use the new feature to generate better code for vector patterns.
6589         * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6590         (pcase--upat): Remove.
6591         (pcase--macroexpand): Don't hardcode handling of `.
6592         (pcase--split-consp, pcase--split-vector): Remove.
6593         (pcase--split-equal): Disregard ` since it's expanded away.
6594         (pcase--split-member): Optimize for quote rather than for `.
6595         (pcase--split-pred): Optimize for quote rather than for `.
6596         (pcase--u1): Remove handling of ` (and of `or' and `and').
6597         Quote non-selfquoting values when passing them to `eq'.
6598         Drop `app's let-binding if the variable is not used.
6599         (pcase--q1): Remove.
6600         (`): Define as a pattern macro.
6601         * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6602         (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6603         (pcase--macroexpand): Handle self-quoting patterns here, expand them to
6604         quote patterns.
6605         (pcase--split-match): Don't hoist or/and here any more.
6606         (pcase--split-equal): Optimize quote patterns as well as ` patterns.
6607         (pcase--flip): New helper macro.
6608         (pcase--u1): Optimize the memq case directly.
6609         Don't handle neither self-quoting nor and/or patterns any more.
6610         * emacs-lisp/pcase.el (pcase-defmacro): New macro.
6611         (pcase--macroexpand): New function.
6612         (pcase--expand): Use it.
6613         * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
6614         New optimization functions.
6615         (pcase--u1): Add support for `quote' and `app'.
6616         (pcase): Document them in the docstring.
6618 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6620         Use lexical-bindin in Ibuffer.
6621         * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
6622         (ibuffer-compile-format): Simplify.
6623         (ibuffer-clear-summary-columns): Simplify.
6624         * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
6625         elem of dotimes when we don't refer to the iteration var from it.
6626         (ibuffer-toggle-sorting-mode): Avoid add-to-list.
6627         * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
6628         Silence byte-compiler.
6630 2014-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6632         * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
6633         expression for a list.
6635         * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
6636         for functions with no arguments.
6638         * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
6639         (mpc-volume-refresh): Make sure the corresponding header-line is updated.
6641 2014-09-17  Tom Willemse  <tom@ryuslash.org>  (tiny change)
6643         * simple.el (clone-indirect-buffer): Mention the return value
6644         (bug#18478).
6646         * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
6647         Text mode in docstring (bug#18464).
6649 2014-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6651         * progmodes/perl-mode.el (perl-syntax-propertize-function):
6652         Accept underscores in identifiers after "sub" (bug#18502).
6654 2014-09-21  Tassilo Horn  <tsdh@gnu.org>
6656         * textmodes/reftex-sel.el (reftex-select-label-mode)
6657         (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
6658         from special-mode (instead of fundamental-mode) and propertize
6659         with font-lock-face instead of just face.  (Bug#18496)
6661         * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
6663 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
6665         * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
6666         `table-etc' when `end' is non-nil.
6667         (lisp-completion-at-point): Move `end' back if it's after quote.
6668         If in comment or string, only complete when after backquote.
6669         (Bug#18265)
6670         (lisp-completion-at-point): Don't use
6671         `lisp--local-variables-completion-table' in the
6672         `lisp--form-quoted-p' case.
6674 2014-09-19  Dmitry Gutov  <dgutov@yandex.ru>
6676         * emacs-lisp/lisp.el (lisp--expect-function-p)
6677         (lisp--form-quoted-p): New functions.
6678         (lisp-completion-at-point): Use them to see if we're completing a
6679         variable reference, a function name, or just any symbol.
6680         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
6682 2014-09-18  Ivan Kanis  <ivan@kanis.fr>
6684         * net/shr.el, net/eww.el: Don't override `shr-width', but
6685         introduce a new variable `shr-internal-width'.  This allows users
6686         to specify a width themselves.
6688 2014-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6690         * image-mode.el (image-toggle-display-image): If we have a
6691         `fit-width' or a `fit-height', don't limit the size of the image
6692         to the window size, because that doesn't preserve the aspect ratio.
6693         * image-mode.el: Move defvars earlier to avoid a byte-compilation
6694         warning.
6696 2014-09-17  Reuben Thomas  <rrt@sc3d.org>
6698         * progmodes/js.el: Add interpreter-mode-alist support for various
6699         JavaScript interpreters.
6701 2014-09-17  Paul Eggert  <eggert@cs.ucla.edu>
6703         Don't assume 'grep' supports GREP_OPTIONS.
6704         The GREP_OPTIONS environment variable is planned to be marked
6705         obsolescent in GNU grep, due to problems in its use, so stop
6706         relying on it.
6707         * progmodes/grep.el (grep-highlight-matches): Document this.
6708         (grep-process-setup): Do not set GREP_OPTIONS.
6709         (grep-compute-defaults): Use an explicit --color option if supported.
6711 2014-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
6714         Don't add outdated key-shortcut cache (bug#18482).
6716 2014-09-15  Glenn Morris  <rgm@gnu.org>
6718         * image.el (image-multi-frame-p): Fix thinko - do not force
6719         a delay if none was specified.  (Bug#18334)
6721 2014-09-15  Kan-Ru Chen  <kanru@kanru.info>
6723         * window.el (fit-window-to-buffer): Doc fix.
6725 2014-09-15  Ivan Shmakov  <ivan@siamics.net>
6727         * desktop.el (desktop-create-buffer): Check that buffers are still live
6728         before burying them (bug#18373).
6730 2014-09-15  Glenn Morris  <rgm@gnu.org>
6732         * calendar/diary-lib.el (diary-list-entries):
6733         Restore 24.3 display behavior.  (Bug#18381)
6735 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
6737         * mouse.el (mouse-drag-line): On text-mode frames, count the mode
6738         line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
6739         discrepancy between window-pixel-edges and mouse events, and
6740         avoids moving mode line up when the mouse click is on the modeline
6741         and no drag is attempted.
6743 2014-09-14  Daniel Colascione  <dancol@dancol.org>
6745         * register.el (insert-register): Change default interactive
6746         insertion mode.
6748 2014-09-14  Michael Albinus  <michael.albinus@gmx.de>
6750         * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
6751         Suppress debug messages.
6753         * net/tramp.el (tramp-file-name-handler):
6754         * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
6755         appropriate.
6757 2014-09-13  Christopher Schmidt  <ch@ristopher.com>
6759         * calendar/calendar.el (calendar-update-mode-line):
6760         Do not overwrite mode-line-format if calendar-mode-line-format is
6761         nil.  (Bug#18467)
6763 2014-09-13  Leo Liu  <sdl.web@gmail.com>
6765         * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
6766         (pcase--expand): Use it.
6767         (pcase-exhaustive): New macro.  (Bug#16567)
6769         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
6770         Add pcase-exhaustive.
6772 2014-09-13  Eli Zaretskii  <eliz@gnu.org>
6774         * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
6775         using the specified transfer-encoding, if any, or 'undecided'.
6776         (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
6777         broken at the window margin.
6779 2013-12-27  Ken Olum  <kdo@cosmos.phy.tufts.edu>
6781         Support rendering of HTML parts in Rmail (bug#4258).
6782         * mail/rmailmm.el (rmail-mime-process): Handle text/html
6783         separately from other text/ types.  Suppress tagline for
6784         multipart body.
6785         (rmail-mime-parse): Don't change visibility of tagline here.
6786         (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
6787         Handle text/html specially.
6788         (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
6789         (rmail-mime-insert-html, rmail-mime-render-html-shr)
6790         (rmail-mime-render-html-lynx): New functions.
6791         (rmail-mime-fix-inserted-faces): New function.
6792         (rmail-mime-process-multipart): Find the best part to show
6793         following rmail-mime-prefer-html if set.
6794         (rmail-mime-searching): New variable.
6795         (rmail-search-mime-message): Bind rmail-mime-searching to
6796         suppress rendering while searching.
6798 2014-09-12  Sam Steingold  <sds@gnu.org>
6800         * progmodes/sql.el (sql-product-alist): Add vertica.
6801         (sql-vertica-program, sql-vertica-options)
6802         (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
6803         New functions and variables to support Vertica.
6804         Inspired by code by Roman Scherer <roman@burningswell.com>.
6806 2014-09-11  Paul Eggert  <eggert@cs.ucla.edu>
6808         * ses.el (ses-file-format-extend-parameter-list): Rename from
6809         ses-file-format-extend-paramter-list, to correct a misspelling.
6810         All uses changed.
6812 2014-09-10  Alan Mackenzie  <acm@muc.de>
6814         CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
6815         gets loaded at run-time).
6816         * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
6817         c-lang-const to c-make-no-parens-syntax-table and correct the
6818         logic.
6819         (c-no-parens-syntax-table): Correct the logic of the
6820         c-lang-defvar.
6822 2014-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6824         CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
6825         plus misc cleanup.
6826         * progmodes/cc-mode.el (c-basic-common-init):
6827         Set open-paren-in-column-0-is-defun-start.
6828         (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
6829         Remove declarations, unused.
6830         (run-mode-hooks): Remove declaration.
6831         (font-lock-defaults): Use plain `defvar' to declare.
6832         (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
6833         * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
6834         (c-make-mode-syntax-table): Don't micro-optimize.
6835         (c-keywords, c-keyword-member-alist): Simplify.
6836         (c-kwds-lang-consts): Don't eval at compile-time.
6837         (c-primary-expr-regexp): Comment out unused vars.
6838         * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
6839         (c-font-byte-compile): New var.
6840         (c--compile): New function.  Use it instead of `byte-compile'.
6841         (c-cpp-matchers): Quote the value returned by
6842         `c-make-syntactic-matcher' in case it's not self-evaluating.
6843         (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
6844         parentheses instead (in case MATCHER happens to be a list).
6845         (c-font-lock-enum-tail): Remove unused var `start'.
6846         (c-font-lock-objc-methods): Silence byte-compiler warnings.
6847         * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
6848         test into an argument.
6849         * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
6850         (c-get-char-property): Don't use `eval' just to unquote a constant.
6851         (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
6852         more efficiently.
6853         (c-put-char-property-fun): Don't call `byte-compile' by hand.
6854         (c-clear-char-property, c-clear-char-properties): Check that `property'
6855         is a quoted constant.
6856         (c-emacs-features): Remove `infodock', `syntax-properties', and
6857         `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
6858         'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
6859         changing buffer, so we don't have to setq them again afterwards.
6860         (c-lang-const): Remove redundant symbolp assertions.
6861         (c-find-assignment-for-mode): Use `or'.
6862         * Makefile.in (compile-one-process): Remove cc-mode dependency.
6864 2014-09-09  Sam Steingold  <sds@gnu.org>
6866         * progmodes/sql.el (sql-default-directory): Fix type annotation.
6868 2014-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6870         * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
6871         Change doc comments into docstrings.
6872         * Makefile.in: Remove cc-awk dependency.
6874 2014-09-08  Sam Steingold  <sds@gnu.org>
6876         * progmodes/sql.el (sql-send-line-and-next): New command,
6877         bound to C-c C-n.
6878         (sql-show-sqli-buffer): Display the buffer instead of its name and
6879         bind the command to C-c C-z.
6880         (sql-default-directory): New user option.
6881         (sql-product-interactive): Bind `default-directory' to it to
6882         enable remote connections using Tramp.
6883         (sql-set-sqli-buffer): Call `sql-product-interactive' when no
6884         suitable buffer is available.
6886 2014-09-08  Glenn Morris  <rgm@gnu.org>
6888         * calendar/calendar.el (calendar-basic-setup):
6889         Fix calendar-view-holidays-initially-flag and fancy display.
6890         * calendar/diary-lib.el (diary-live-p): Doc fix.
6892         * calendar/calendar.el (calendar-basic-setup):
6893         Avoid clobbering calendar with diary.  (Bug#18381)
6895 2014-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6897         * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
6899 2014-09-08  Lars Ljung  <lars@matholka.se>  (tiny change)
6901         * isearch.el (isearch-yank-word-or-char): Obey superword-mode
6902         as well (bug#18400).
6904 2014-09-08  Eli Zaretskii  <eliz@gnu.org>
6906         * subr.el (posn-actual-col-row): Doc fix.  (Bug#18385)
6908 2014-09-06  Leo Liu  <sdl.web@gmail.com>
6910         * emacs-lisp/pcase.el (pcase): Doc fix.
6911         (pcase--split-vector): New function.
6912         (pcase--q1): Support vector qpattern.  (Bug#18327)
6914 2014-09-05  Sam Steingold  <sds@gnu.org>
6916         * textmodes/tex-mode.el (tex-print-file-extension): New user
6917         option.
6918         (tex-print): Use it instead of the hard-coded string.
6920 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
6922         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6923         Expand `default-directory'.
6925 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
6927         * scroll-bar.el (horizontal-scroll-bars-available-p):
6928         New function.
6929         (horizontal-scroll-bar-mode): Rewrite using
6930         horizontal-scroll-bars-available-p.
6931         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
6932         horizontal-scroll-bars-available-p.
6934 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6936         * subr.el (call-process-shell-command, process-file-shell-command):
6937         Make the `args' obsolete (bug#18409).
6938         (start-process-shell-command, start-file-process-shell-command):
6939         Use `declare'.
6941 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
6943         * calc/calc-forms.el (math-normalize-hms): Do a better check for
6944         "negative" hms forms.
6946 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
6948         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
6949         returns nil (bug#18391).
6951 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6953         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
6954         terminating paren (bug#18352).
6955         (eldoc-last-data-store): Return cached data.
6956         (eldoc-get-var-docstring): Avoid setq.
6957         (eldoc-get-fnsym-args-string): Clarify data flow.
6959 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6961         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
6962         case where we're currently providing part of the &rest arg after some
6963         &key args, as in define-ibuffer-op (bug#18048).
6965 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6967         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
6968         buffer-local setting of which-func-mode.
6969         (which-func-mode): Use defvar-local.
6970         (which-function-mode): Don't reset which-func-mode in each buffer since
6971         it might have been set by someone else.
6972         (which-func-update-ediff-windows): Check which-function-mode.
6974 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
6976         * frame.el (frame-initialize): Remove horizontal-scroll-bars
6977         from frame-initial-frame-alist.
6978         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
6979         (horizontal-scroll-bar-mode-explicit)
6980         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
6981         (toggle-horizontal-scroll-bar): Remove.
6982         (horizontal-scroll-bar-mode): Remove defcustom.
6983         (horizontal-scroll-bar-mode): Fix doc-string.
6984         (scroll-bar-toolkit-scroll)
6985         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
6987 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6989         * emacs-lisp/package.el (package-generate-description-file):
6990         Properly quote the arguments (bug#18332).  Change second arg.
6991         (package--alist-to-plist-args): Rename from package--alist-to-plist and
6992         quote the elements.
6993         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
6994         the *-pkg.el file.  Adjust to new calling convention of
6995         package-generate-description-file.
6997         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
6998         (gud-gdb-completions): Remove obsolete workaround.
7000 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
7002         * subr.el (posn-col-row): Revert the change from commit
7003         2010-11-13T21:07:58Z!eliz@gnu.org, which
7004         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7005         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7006         introduced an off-by-one error in the reported row when there is a
7007         header line.  (Bug#18384)
7009 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7011         * progmodes/python.el (python-indent-post-self-insert-function):
7012         Avoid electric colon at beginning-of-defun.  (Bug#18228)
7014 2014-09-03  Glenn Morris  <rgm@gnu.org>
7016         * tutorial.el (tutorial--display-changes):
7017         Fix 2014-08-01 change.  (Bug#18382)
7019 2014-09-03  Ken Brown  <kbrown@cornell.edu>
7021         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7022         the Cygwin-w32 build.  (Bug#18347)
7024 2014-09-03  Glenn Morris  <rgm@gnu.org>
7026         * tar-mode.el (tar--extract, tar-extract):
7027         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
7029 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7031         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7032         handle multiline elements (bug#18380).
7034 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
7036         * ls-lisp.el (ls-lisp-use-string-collate)
7037         (ls-lisp-UCA-like-collation): New defcustoms.
7038         (ls-lisp-string-lessp): Use them to control sorting by file
7039         names.  (Bug#18051)
7040         (ls-lisp-version-lessp): New function.
7041         (ls-lisp-handle-switches): Use it to implement the -v switch of
7042         GNU ls.
7043         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7045 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
7047         * ibuffer.el: Replace mode-specific quit function with
7048         `quit-window' via `special-mode'.
7049         (ibuffer-mode-map): Use keybindings from special-mode-map instead
7050         of local overrides.
7051         (ibuffer): Don't store previous windows configuration.
7052         Let `quit-window' handle restoring.
7053         (ibuffer-quit): Remove function.  Use `quit-window' instead.
7054         (ibuffer-restore-window-config-on-quit): Remove variable.
7055         (ibuffer-prev-window-config): Remove variable.
7057 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
7059         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7060         name instead of variable name in hook docstring.  (Bug#18349)
7062 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
7064         * window.el (display-buffer-at-bottom): Prefer bottom-left
7065         window to other bottom windows.  Reuse a bottom window if it
7066         shows the buffer already.  Suggested by Juri Linkov
7067         <juri@jurta.org> in discussion of (Bug#18181).
7069 2014-08-29  Leo Liu  <sdl.web@gmail.com>
7071         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7072         append to minibuffer-setup-hook.  (Bug#18341)
7074 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7076         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7077         byte-compiler.
7078         (lookup-syntax-properties): Silence byte-compiler.
7079         (c-lang-defconst): Quote the code with `lambda' rather than with
7080         `quote'.
7081         (c-lang-const): Avoid unneeded setq.
7082         (c-lang-constants-under-evaluation): Add docstring.
7083         (c-lang--novalue): New constant.
7084         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7085         (c-get-lang-constant): Same here.
7086         Get the mode's value using `funcall' now that the code is quoted
7087         with `lambda'.
7089 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
7091         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7092         (Bug#18326)
7094 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
7096         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7097         interpretation of `portion-whole'.
7099 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
7101         * net/tramp-adb.el: Spell author name correctly.
7103 2014-08-28  João Távora  <joaotavora@gmail.com>
7105         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7106         use url-expand-file-name.  (Bug#18310)
7108 2014-08-28  Glenn Morris  <rgm@gnu.org>
7110         * emulation/cua-rect.el (cua--highlight-rectangle):
7111         Avoid error at point-min.  (Bug#18309)
7113 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7115         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7116         executable-find (bug#18244).
7118         * simple.el (self-insert-uses-region-functions): Defvar.
7120 2014-08-28  Glenn Morris  <rgm@gnu.org>
7122         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7124 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
7126         * startup.el (normal-top-level): Now use internal--top-level-message.
7128 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
7130         * startup.el (normal-top-level): Use top-level-message.
7132 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7134         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7135         URLs containing spaces and the like.
7137 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
7139         * subr.el (remq): Fix docstring (Bug#18253).
7141 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
7143         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7145 2014-08-24  Alan Mackenzie  <acm@muc.de>
7147         Handle C++11's "auto" and "decltype" constructions.
7148         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7149         and return 'decltype.
7150         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7151         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
7152         keyword.
7153         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7154         "decltype" keyword.
7155         (c-font-lock-c++-new): Handle "decltype" constructions.
7156         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7157         New c-lang-defconsts/defvars.
7158         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7159         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7160         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7161         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7163         Make ">>" act as double template ender in C++ Mode.  (Bug#11386)
7164         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7165         off from c->-op-cont-re.
7166         (c->-op-cont-tokens): Change to use the above.
7167         (c->-op-without->-cont-regexp): New lang-const.
7168         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7169         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7172 2014-08-23  Alan Mackenzie  <acm@muc.de>
7174         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7175         loop, bug #18306.  The bug was introduced on 2014-08-02.
7177 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
7179         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7180         Don't recognize a Top node if there are other sectioning commands
7181         earlier in the Texinfo file.  This fixes a bug in
7182         texinfo-make-menu and avoids inflooping in
7183         texinfo-all-menus-update when they are invoked on texinfo.texi.
7185 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
7187         * window.el (window--side-window-p): New function.
7188         (split-window, window-splittable-p): Use window--side-window-p to
7189         determine whether WINDOW can be split (Bug#18304).
7190         * calendar/calendar.el (calendar-basic-setup): Fix one call of
7191         `window-splittable-p' and add another (Bug#18304).
7193 2014-08-20  Sam Steingold  <sds@gnu.org>
7195         * progmodes/python.el (python-new-pythonpath): Extract from
7196         `python-shell-calculate-process-environment'.
7198 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7200         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7201         for &key args (bug#18048).
7203 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7205         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7206         (eldoc-function-argstring-format): Remove.
7207         (eldoc-function-argstring): Always return upcase args.
7208         Use help-make-usage.  Don't add parens.
7209         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7210         it's too late to do it right (bug#18048).
7212 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
7214         * scroll-bar.el (scroll-bar-horizontal-drag-1)
7215         (scroll-bar-toolkit-horizontal-scroll): When determining the
7216         paragraph direction, use the buffer of the window designated in
7217         the event.
7219 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
7221         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7222         context of unified diff.
7224 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
7226         Add dependencies to fix loaddefs race during parallel builds.
7227         Without this, for example, 'make -j bootstrap' can fail and report
7228         "Opening input file: no such file or directory,
7229         .../lisp/calendar/diary-loaddefs.el ... recipe for target
7230         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7231         got confused because diary-loaddefs.el was being built in parallel.
7232         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7233         Depend on $(CAL_DIR)/cal-loaddefs.el.
7234         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7236 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
7238         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7239         portion-whole for scrolling right-to-left text.
7241 2014-08-15  Leo Liu  <sdl.web@gmail.com>
7243         * speedbar.el (speedbar-generic-list-tag-p): Allow special
7244         elements from imenu.
7246 2014-08-15  Glenn Morris  <rgm@gnu.org>
7248         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7250 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
7252         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7253         Add Guile regexpses.
7255 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
7257         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
7258         add Guile debugger support for GUD.
7260 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7262         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7263         (mouse-sel--ignore): New function.
7264         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7265         (mouse-sel-original-interprogram-cut-function)
7266         (mouse-sel-original-interprogram-paste-function): Remove.
7268 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
7270         * vc/vc-git.el (vc-git-resolve-when-done): New function.
7271         Call "git add" when there are no longer conflict markers.
7273 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7275         * vc/vc-git.el (vc-git-find-file-hook): New function.
7276         Adds support for calling smerge (and resolve) on a conflicted file.
7277         (vc-git-conflicted-files): New function.
7278         Useful in itself and a step towards better smerge support.
7280 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7282         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7283         to the first part if they're the same as the selection.
7285 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7287         * image-mode.el (image-transform-reset): New command and menu item.
7288         (image-mode-map): Rearrange the menu items to put presumably more
7289         obscure items at the end.
7291 2014-08-12  Juri Linkov  <juri@jurta.org>
7293         * vc/vc-annotate.el (vc-annotate-background-mode):
7294         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
7296 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7298         * files.el (out-of-memory-warning-percentage): Turn it off by default.
7300 2014-08-11  Sam Steingold  <sds@gnu.org>
7302         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7303         the presence of known validators (tidy, (o)nsgmls).
7305 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
7307         Newsticker: introduce `newsticker-treeview-date-format'.  (Bug#17227)
7308         * net/newst-treeview.el (newsticker-treeview-date-format): New.
7309         (newsticker--treeview-list-add-item):
7310         Use `newsticker-treeview-date-format'.
7312 2014-08-11  Glenn Morris  <rgm@gnu.org>
7314         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7315         chose coding system for writing before backing up, since it causes
7316         a more serious problem than the one it solves.  (Closes Bug#18141,
7317         reopens Bug#13522.)
7319 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
7321         * window.el (window-total-size): Make doc-string more self-contained.
7323         * window.el (display-buffer-below-selected): Restore original
7324         behavior if buffer is already displayed in the window below the
7325         selected one (Bug#18181).
7327 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7329         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7330         event (bug#18212).
7332 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
7334         * info.el (info): Doc fix.
7336 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7338         * info.el (Info-mode-map): Override a global down-mouse-2 binding
7339         (bug#18212).
7341 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
7343         * simple.el (default-line-height): A floating-point value of
7344         line-spacing means a fraction of the default frame font's height,
7345         not of the font currently used by the 'default' face.
7346         Truncate the pixel value, like the display engine does.
7347         (window-screen-lines): Use window-inside-pixel-edges for
7348         determining the window height in pixels.  (Bug#18195)
7350 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
7352         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
7354 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
7356         Enumerate evaluated sexp diary entries (Bug#7911).
7357         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7358         (icalendar-export-sexp-enumeration-days): New.
7359         (icalendar-export-region): Now `icalendar--convert-to-ical'
7360         returns a cons cell or a list of cons cells.
7361         (icalendar--convert-to-ical): Take care of
7362         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
7363         (icalendar--convert-ordinary-to-ical)
7364         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7365         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7366         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7367         (icalendar--convert-anniversary-to-ical): Return cons cell.
7368         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7369         entries.  Return (list of) cons cells.
7371 2014-08-09  Juri Linkov  <juri@jurta.org>
7373         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7374         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
7376 2014-08-09  Alan Mackenzie  <acm@muc.de>
7378         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7379         for top-level that can cause unacceptable slow-down in scrolling.
7380         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7381         Antipov from 2013-10-14 in emacs-devel.
7383 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7385         * ibuffer.el (ibuffer-mode-map): Use toggle button for
7386         `ibuffer-auto-mode' menu entry.
7387         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7389 2014-08-08  Matthias Meulien  <orontee@gmail.com>
7391         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7392         (Bug#16394)
7394 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
7396         * window.el (window--min-size-1): Explicitly set WINDOW arg in
7397         calls of window-min-pixel-height and window-min-pixel-width.
7399 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
7401         * progmodes/ada-mode.el:
7402         * net/tramp.el (tramp-handle-file-symlink-p):
7403         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7404         about VMS, which we no longer support.
7405         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7406         and fix a FIXME, using convert-standard-filename in place of
7407         removed ada-convert-file-name.
7409 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
7411         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7413 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
7415         Refer to MS-DOS using the same name everywhere.
7416         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7417         ``msdog'' become ``MS-DOS''.
7419 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
7421         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7422         Use cached "remote-copy-args" value, if available.  (Bug#18199)
7424 2014-08-07  Leo Liu  <sdl.web@gmail.com>
7426         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7427         Revert change on 2014-03-22.
7429 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
7431         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7432         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7433         (Bug#13750).
7436 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7438         * image-mode.el (image-toggle-display-image): Always rescale images
7439         to not be bigger than the current window.
7441 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
7443         * net/eww.el (eww-bookmarks-directory): New variable.
7444         (eww-write-bookmarks): Use it.
7445         (eww-read-bookmarks): Ditto.
7447 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7449         * net/shr.el (shr-copy-url): Also copy the image URL.
7451 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
7453         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7454         also for Tramp working buffers.
7456 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7458         * progmodes/python.el: Fix completions inside (i)pdb.
7459         (python-shell-completion-pdb-string-code): Make obsolete.
7460         (python-shell-completion-get-completions):
7461         Use python-shell-completion-string-code resending setup code
7462         continuously for (i)pdb.
7464 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
7466         * rect.el (rectangle--default-line-number-format): Rename
7467         from misspelled rectange--default-line-number-format (Bug#18045).
7468         All uses changed.
7470 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
7472         Don't mishandle year-9999 dates (Bug#18176).
7473         * calendar/parse-time.el (parse-time-rules):
7474         Allow years up to most-positive-fixnum.
7475         * calendar/time-date.el (date-to-time):
7476         Pass "Specified time is not representable" errors through.
7478 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7480         * progmodes/python.el: Completion code cleanups.
7481         (python-shell-completion-get-completions): Detect and send import
7482         statements directly to completion function.
7483         (python-shell-completion-at-point): Simplify prompt calculation
7484         and import vs input completion logic.
7486 2014-08-02  Alan Mackenzie  <acm@muc.de>
7488         Fix confusion in C++ file caused by comma in "= {1,2},".
7489         Bug #17756.
7490         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7491         for a statement boundary marked by "}", check there's no "="
7492         before the "{".
7493         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7494         non-nil `comma-delim' argument.
7495         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7496         initializer expression more accurately.
7498         Correct loop termination condition in c-syntactic-skip-backward.
7499         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7500         the situation where, after moving back out of a literal,
7501         skip-chars-backward doesn't move further, yet checks have still to
7502         be done.
7504 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
7506         * tutorial.el (tutorial--display-changes): Accept punctuation
7507         characters before the key binding.  (Bug#18146)
7509 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7511         * progmodes/python.el: Shell output capture enhancements.
7512         (python-shell-accept-process-output): New function.
7513         (inferior-python-mode)
7514         (python-shell-send-setup-code): Use it.
7516 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
7518         * calendar/icalendar.el (icalendar--decode-isodatetime):
7519         Use actual current-time-zone when converting to local time.  (Bug#15408)
7521 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
7523         * window.el (window--state-put-2): Handle horizontal scroll
7524         bars, if present.
7526 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7528         * menu-bar.el (menu-bar-update-buffers): Update item list format
7529         in `buffers-menu' to confirm with changes to `get_keyelt'
7530         (r117463).  (Bug#18016)
7532 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7534         * progmodes/python.el (inferior-python-mode): Make input prompts
7535         read-only.
7537 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
7539         * net/tramp-sh.el (tramp-get-remote-python): Also search for
7540         executables named "python2" or "python3".
7541         (tramp-get-remote-uid-with-python): Use parentheses around
7542         arguments to `print' to make it compatible with Python 3.
7543         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
7545 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
7547         * window.el (window--pixel-to-total): Use FRAME's root window, not
7548         that of the selected frame.  (Bug#18112, Bug#16674)
7550 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
7552         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7553         (Bug#18117)
7555 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7557         * progmodes/python.el (inferior-python-mode): Doc fix.
7559 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
7561         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7562         not a character, ignore it instead of raising an error.
7564         * calendar/todo-mode.el: Fix handling of marked items and make
7565         minor code improvements.
7566         (todo-edit-item): If there are marked items, ensure user can only
7567         invoke editing commands that work with marked items.
7568         (todo-edit-item--text): When there are marked items, make it a
7569         noop if invoked with point not on an item; otherwise, ensure it
7570         applies only to item at point.
7571         (todo-item-undone): If there are marked not-done items, return
7572         point to its original position before signaling user error.
7573         (todo--user-error-if-marked-done-item): New function.
7574         (todo-edit-item--header, todo-edit-item--diary-inclusion)
7575         (todo-item-done): Use it.
7577 2014-07-28  Glenn Morris  <rgm@gnu.org>
7579         * files.el (toggle-read-only): Re-add basic doc-string.
7580         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7582         * progmodes/prolog.el (prolog-mode-keybindings-edit):
7583         Replace missing `switch-to-prolog' with `run-prolog'.
7584         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7586 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
7588         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7589         of file-wide setting when changing category-wide setting.
7591 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
7593         * doc-view.el (doc-view-open-text): Don't require that the
7594         document is saved in a file (e.g., email attachment).
7596 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7598         Parse completion input in a iPython friendly way.  (Bug#18084)
7599         * progmodes/python.el
7600         (python-shell-completion-at-point): Rename from
7601         python-shell-completion-complete-at-point.
7602         (inferior-python-mode): Use it.
7603         (python-completion-at-point): Rename from
7604         python-completion-complete-at-point.  Parse input up to first
7605         backward occurrence of whitespace, open-paren, close-paren or
7606         string delimiter.
7607         (python-mode): Use it.
7609 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7611         * progmodes/python.el
7612         (python-shell-with-shell-buffer): New macro.
7613         (python-shell-font-lock-get-or-create-buffer)
7614         (python-shell-font-lock-kill-buffer)
7615         (python-shell-font-lock-with-font-lock-buffer)
7616         (python-shell-font-lock-cleanup-buffer)
7617         (python-shell-font-lock-toggle): Use it.
7618         (python-shell-font-lock-turn-on)
7619         (python-shell-font-lock-turn-off): Use it.  Make command.
7621 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7623         Grab all Python process output before inferior-python-mode hooks.
7624         * progmodes/python.el (inferior-python-mode):
7625         Call accept-process-output and sit-for to ensure all output for process
7626         has been received before running hooks.
7627         (python-shell-internal-get-or-create-process):
7628         Cleanup accept-process-output and sit-for calls.
7630 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7632         More robust shell startup and code setup.
7633         * progmodes/python.el (python-shell-make-comint):
7634         Remove accept-process-output call.
7635         (python-shell-get-buffer): Return current buffer if major-mode is
7636         inferior-python-mode.
7637         (python-shell-get-or-create-process): Use it.
7638         (python-shell-send-setup-code): Send all setup code in one string,
7639         output success message and accept-process-output.
7641 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
7643         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
7644         Add rudimentary support for bidirectional text.
7646 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
7648         * frame.el (frame-notice-user-settings): Rewrite using
7649         frame-initial-frame-tool-bar-height.
7650         * menu-bar.el (menu-bar-horizontal-scroll-bar)
7651         (menu-bar-no-horizontal-scroll-bar): New functions.
7652         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
7653         scroll bars.
7654         * scroll-bar.el (scroll-bar-lines)
7655         (set-horizontal-scroll-bar-mode)
7656         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
7657         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
7658         (scroll-bar-toolkit-horizontal-scroll): New functions.
7659         (horizontal-scroll-bar-mode)
7660         (previous-horizontal-scroll-bar-mode)
7661         (horizontal-scroll-bar-mode-explicit): New variables.
7662         (horizontal-scroll-bar-mode): New option.
7663         (toggle-horizontal-scroll-bar): Do something.
7664         (top-level): Bind horizontal-scroll-bar mouse-1.
7665         * startup.el (tool-bar-originally-present): Remove variable.
7666         (command-line): Don't set tool-bar-originally-present.
7667         * window.el (window-min-height): Update doc-string.
7668         (window--dump-frame): Dump horizontal scroll bar values.
7669         (window--min-size-1): Handle minibuffer window separately.
7670         Count in margins and horizontal scroll bar.  Return safe value
7671         iff IGNORE equals 'safe.
7672         (frame-windows-min-size): New function (used by frame resizing
7673         routines).
7674         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
7675         scroll bars.
7676         (window--sanitize-window-sizes): New function.
7677         (window-split-min-size): Remove.
7678         (split-window): Count divider-width.  Don't use
7679         `window-split-min-size' any more.  Reword error messages.
7680         Sanitize windows sizes after splitting.
7682 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
7684         Use `defvar-local' more.
7685         * progmodes/hideshow.el
7686         (hs-c-start-regexp, hs-block-start-regexp)
7687         (hs-block-start-mdata-select, hs-block-end-regexp)
7688         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
7689         remove corresponding `make-variable-buffer-local' top-level calls.
7691 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7693         Cleanup error signals.  (Bug#18067)
7694         * progmodes/python.el
7695         (python-indent-shift-left): Use user-error instead.
7696         (python-shell-prompt-detect): Use lwarn with python group.
7697         (python-completion-complete-at-point)
7698         (python-eldoc--get-doc-at-point): Don't signal error.
7700 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7702         Support for packages in Python shell.  (Bug#13570)
7703         * progmodes/python.el (python-shell--package-depth): New var.
7704         (python-shell-package-enable): New command.
7705         (python-util-list-directories, python-util-list-files)
7706         (python-util-list-packages): New functions.
7708 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7710         Faster comint output.  (Bug#16875)
7711         * progmodes/python.el:
7712         (python-comint-output-filter-function): Make obsolete.
7713         (python-comint-postoutput-scroll-to-bottom): New function.
7714         (inferior-python-mode): Set comint-output-filter-functions to a
7715         minimum.
7717 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7719         * progmodes/python.el (python-shell-font-lock-post-command-hook):
7720         Safeguard current point and undo history.
7722 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7724         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
7725         * progmodes/python.el:
7726         (python-shell-prompt-input-regexps): Add iPython block prompt.
7727         (python-shell-output-syntax-table): Delete var.
7728         (python-shell-font-lock-with-font-lock-buffer): New macro.
7729         (python-shell-font-lock-get-or-create-buffer)
7730         (python-shell-font-lock-kill-buffer)
7731         (python-shell-font-lock-cleanup-buffer)
7732         (python-shell-font-lock-post-command-hook)
7733         (python-shell-font-lock-turn-off): New functions.
7734         (python-shell-font-lock-turn-on): New function.
7735         (inferior-python-mode): Use it.
7736         (python-shell-font-lock-toggle): New command.
7737         (python-shell-font-lock-enable): Rename from
7738         python-shell-enable-font-lock.
7739         (run-python-internal): Use it.
7740         (python-shell-font-lock-comint-output-filter-function): New function.
7741         (python-shell-comint-end-of-output-p): New function.
7742         (python-shell-output-filter): Use it.
7743         (python-util-comint-last-prompt): New function.
7744         (python-util-text-properties-replace-name): New function.
7746 2014-07-25  Glenn Morris  <rgm@gnu.org>
7748         * vc/ediff-init.el (ediff-toggle-read-only-function):
7749         * vc/ediff-util.el (ediff-toggle-read-only):
7750         Replace obsolete toggle-read-only with read-only-mode.
7752 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
7754         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
7755         with `save-match-data'.  (Bug#18095)
7757 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7759         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
7760         order to ensure that row and col are lexically bound inside the
7761         evaluated sexp.
7763 2014-07-21  Glenn Morris  <rgm@gnu.org>
7765         * progmodes/hideif.el (hide-ifdef-mode-submap):
7766         Also substitute read-only-mode.
7767         * bindings.el (mode-line-toggle-read-only):
7768         * bs.el (bs-toggle-readonly):
7769         * buff-menu.el (Buffer-menu-toggle-read-only):
7770         * dired.el (dired-toggle-read-only):
7771         * files.el (view-read-only, find-file-read-only)
7772         (find-file-read-only-other-window)
7773         (find-file-read-only-other-frame):
7774         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
7775         Doc fixes re toggle-read-only.
7777 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7779         * progmodes/python.el: Add comment about pipe buffering and
7780         solutions for missing/delayed output in inferior Python shells.
7781         (Bug#17304)
7783         * progmodes/python.el (python-mode): Don't set
7784         mode-require-final-newline.  (Bug#17990)
7786         Make python.el work with IPython automatically.  (Bug#15510)
7787         * progmodes/python.el:
7788         (python-shell-completion-setup-code): New value supporting iPython.
7789         (python-shell-completion-string-code): New value supporting iPython.
7790         (python-shell-completion-get-completions): Use them.
7791         (python-shell-completion-module-string-code): Make obsolete.
7792         (python-shell-prompt-input-regexps)
7793         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
7794         (python-shell-output-filter): Fix comment typo.
7796         Fix Python shell prompts detection for remote hosts.
7797         * progmodes/python.el (python-shell-prompt-detect):
7798         Replace call-process with process-file and make it more robust.
7800         Autodetect Python shell prompts.  (Bug#17370)
7801         * progmodes/python.el:
7802         (python-shell-interpreter-interactive-arg)
7803         (python-shell-prompt-detect-enabled)
7804         (python-shell-prompt-detect-failure-warning)
7805         (python-shell-prompt-input-regexps)
7806         (python-shell-prompt-output-regexps): New vars.
7807         (python-shell-prompt-calculated-input-regexp)
7808         (python-shell-prompt-calculated-output-regexp): New vars.
7809         (python-shell-get-process-name)
7810         (python-shell-internal-get-process-name)
7811         (python-shell-output-filter)
7812         (python-shell-completion-get-completions): Use them.
7813         (python-shell-prompt-detect)
7814         (python-shell-prompt-validate-regexps): New functions.
7815         (python-shell-prompt-set-calculated-regexps): New function.
7816         (inferior-python-mode): Use it.  Also honor overriden
7817         python-shell-interpreter and python-shell-interpreter-args.
7818         (python-shell-make-comint): Honor overriden
7819         python-shell-interpreter and python-shell-interpreter-args.
7820         (python-shell-get-or-create-process): Make it testable by allowing
7821         to call run-python non-interactively.
7822         (python-util-valid-regexp-p): New function.
7823         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
7824         (python-shell-prompt-output-regexp)
7825         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
7827 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7829         * emacs-lisp/smie.el (smie-config--guess-1): Split from
7830         smie-config--guess.
7831         (smie-config--guess): Use it.
7833         * emacs-lisp/edebug.el: Use nadvice.
7834         (edebug-original-read): Remove.
7835         (edebug--read): Rename from edebug-read and add `orig' arg.
7836         (edebug-uninstall-read-eval-functions)
7837         (edebug-install-read-eval-functions): Use nadvice.
7838         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
7839         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
7840         (edebug-read-string, edebug-read-function): Use just `read'.
7841         (edebug-original-debug-on-entry): Remove.
7842         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
7843         `orig' arg.
7844         (debug-on-entry): Override with nadvice.
7846         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
7847         it also makes sense to bind it to a non-mouse event.
7849         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
7851 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7853         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
7854         (bug#18015).
7856         * rect.el (rectangle--string-preview): Don't assume there
7857         a non-nil default (bug#17984).
7859 2014-07-16  Glenn Morris  <rgm@gnu.org>
7861         * desktop.el (after-init-hook): Disable startup frame restoration
7862         in non-graphical situations.  (Bug#17693)
7864         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
7865         if it was "empty", or used for a different set of files.  (Bug#17884)
7867 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
7869         * bindings.el (mode-line-remote): If default-directory is not a
7870         string, don't call file-remote-p on it; instead state in the
7871         help-echo that it is nil.  (Bug#17986)
7873 2014-07-14  Daniel Colascione  <dancol@dancol.org>
7875         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
7876         to `macroexpand-all'
7878         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
7879         Use `macroexpand-all' instead of `cl-macroexpand-all'.
7881 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
7883         Fix bug: C-x v v discarded existing log message (Bug#17884).
7884         * vc/vc-dispatcher.el (vc-log-edit):
7885         Don't clobber an already-existing log message.
7887 2014-07-12  Glenn Morris  <rgm@gnu.org>
7889         * vc/log-edit.el (log-edit-changelog-entries):
7890         Check for a visited-but-never-saved ChangeLog.
7892 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7894         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
7895         a non-existing file (bug#17970).
7897         * faces.el (face-name): Undo last change.
7898         (x-resolve-font-name): Don't call face-name (bug#17956).
7900 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7902         Fix dedenters and electric colon handling.  (Bug#15163)
7903         * progmodes/python.el
7904         (python-rx-constituents): Add dedenter and block-ender.
7905         (python-indent-dedenters, python-indent-block-enders): Delete.
7906         (python-indent-context): Return new case for dedenter-statement.
7907         (python-indent-calculate-indentation): Handle new case.
7908         (python-indent-calculate-levels): Fix levels calculation for
7909         dedenter statements.
7910         (python-indent-post-self-insert-function): Fix colon handling.
7911         (python-info-dedenter-opening-block-message): New function.
7912         (python-indent-line): Use it.
7913         (python-info-closing-block)
7914         (python-info-closing-block-message): Remove.
7915         (python-info-dedenter-opening-block-position)
7916         (python-info-dedenter-opening-block-positions)
7917         (python-info-dedenter-statement-p): New functions.
7919 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
7921         * files.el (out-of-memory-warning-percentage): New defcustom.
7922         (warn-maybe-out-of-memory): Use it.
7924 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
7926         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
7927         when calling `read-string'.  (Bug#17839)
7929 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
7931         * files.el (warn-maybe-out-of-memory): Fix the wording of the
7932         warning.
7934 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
7936         * files.el (warn-maybe-out-of-memory): New function.
7937         (find-file-noselect): Use it.
7939 2014-07-09  Sam Steingold  <sds@gnu.org>
7941         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
7942         `constant' like `bless', `return' &c
7944 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7946         * rect.el (apply-on-rectangle): Check forward-line really moved to the
7947         next line.
7949 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7951         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
7952         the middle of a line (bug#17896).
7954 2014-07-09  Juri Linkov  <juri@jurta.org>
7956         * startup.el (command-line): Append displaying the warning about
7957         the errors in the init file to the end of `after-init-hook'.
7958         (Bug#17927)
7960         * faces.el (face-name): Return input arg `face' as-is
7961         when it's not a symbol.
7962         (x-resolve-font-name): Don't check if the face is a symbol.
7963         (Bug#17956)
7965         * facemenu.el (list-colors-print): In help-echo format use %.2f
7966         instead of %d because now HSV values are floating-point components
7967         between 0.0 and 1.0.
7969 2014-07-09  Glenn Morris  <rgm@gnu.org>
7971         * emulation/cua-rect.el (cua--activate-rectangle):
7972         Avoid setting cua--rectangle to nil.  (Bug#17877)
7974 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
7976         * calendar/todo-mode.el: Fix wrong-type-argument error when
7977         marking multiple consecutive items.
7978         (todo-toggle-mark-item): Don't try to mark the empty lines at the
7979         end of the todo and done items sections.  Note in doc string that
7980         items marked by passing a numeric prefix argument can include the
7981         last todo and first done items.
7982         (todo-mark-category): Don't try to mark the empty line between the
7983         todo and done items sections.
7985 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7987         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
7988         proper Lisp quoting (bug#17934).
7990         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
7991         require-final-newline since prog-mode already took care of it (bug#17947).
7993 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
7995         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
7996         refer to the Todo mode Info manual.  Update the comment on
7997         requiring cl-lib.
7998         (todo-find-filtered-items-file): Add todo-prefix overlays.
7999         (todo-filter-items): Reorder a let-bound variable to avoid a
8000         wrong-type-argument error on canceling the file choice dialog.
8002 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8004         * progmodes/octave.el (inferior-octave-mode):
8005         Set comint-input-ring-size to a number (bug#17912).
8007 2014-07-09  Juri Linkov  <juri@jurta.org>
8009         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8010         and `isearch-mode' associated with nil.  (Bug#17849)
8012 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8014         * linum.el (linum--face-height): New function (bug#17813).
8015         (linum-update-window): Use it to adjust margin to linum's width.
8017         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8018         * eshell/em-smart.el (eshell-smart-scroll-window):
8019         Use with-selected-window.
8021         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8022         Remove also pointless window&mark manipulation.
8024         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8025         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8026         (perl-continuation-line-p): Don't skip over anything else than labels.
8027         Return the previous char.
8028         (perl-calculate-indent): Use syntax-ppss instead of parse-start
8029         and update callers accordingly.  For continuation lines, check the
8030         the case of array hashes.
8031         (perl-backward-to-noncomment): Make it non-interactive.
8032         (perl-backward-to-start-of-continued-exp): Rewrite.
8034 2014-07-08  Sam Steingold  <sds@gnu.org>
8036         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8037         New user commands.
8039 2014-07-08  Juri Linkov  <juri@jurta.org>
8041         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8042         (vc-annotate-color-map): Use less saturated colors (20%) for
8043         background-mode.
8044         (vc-annotate-very-old-color): Add default value for background-mode.
8045         (vc-annotate-background): Set default value to nil since now text on
8046         the default backgrounds should be legible in light and dark modes.
8047         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
8048         (Bug#17808)
8050 2014-07-08  Juri Linkov  <juri@jurta.org>
8052         * simple.el (transpose-chars): Don't move point into read-only area.
8053         (Bug#17829)
8055 2014-07-08  Juri Linkov  <juri@jurta.org>
8057         * window.el (with-displayed-buffer-window): New macro.
8058         (with-temp-buffer-window, with-current-buffer-window):
8059         Use `macroexp-let2' to evaluate and bind variables
8060         in the same order as macro arguments.
8061         (display-buffer--action-function-custom-type):
8062         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8064         * minibuffer.el (minibuffer-completion-help): Replace
8065         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8066         with actions that display *Completions* at-bottom when called
8067         from the minibuffer, or below-selected in a normal buffer.
8068         Associate `window-height' with `fit-window-to-buffer'.
8069         Let-bind `pop-up-windows' to nil.
8071         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8072         instead of `with-current-buffer-window'.  (Bug#17809)
8074 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
8076         * progmodes/hideif.el (hide-ifdef-env): Change to global.
8077         (hide-ifdef-env-backup): New variable.
8078         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8079         New customizable variables.
8080         (hif-clear-all-ifdef-defined): New defun.
8081         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8082         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8083         (hif-tokenize): Fix for MS-DOS/Win EOL style.
8084         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8085         Fix bug to hide the correct #elif region(s).
8086         (hif-range-elif): New defun.
8087         (hif-recurse-level): New var.
8088         (hif-evaluate-region, hif-evaluate-macro): New defun.
8089         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8090         fully hidden.
8091         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8092         Better interaction.
8094 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
8096         * net/dbus.el (dbus-peer-handler): New defun.
8097         (dbus-register-service): Register it.  (Bug#17858)
8098         (dbus-managed-objects-handler): Fix docstring.
8100 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>
8102         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8103         (narrow-to-defun): New arg include-comments, defaulting to it
8104         (bug#16328).
8106 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8108         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8109         different calling convention to rectangle--unhighlight-for-redisplay.
8111 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
8113         * net/tramp.el (tramp-call-process): Handle error strings.
8115         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8117         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8118         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8120         * net/trampver.el: Update release number.
8122 2014-07-03  Juri Linkov  <juri@jurta.org>
8124         * desktop.el (desktop-save): Rename arg `auto-save' to
8125         `only-if-changed'.  Doc fix.  (Bug#17873)
8127 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8129         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8130         Use insert-for-yank (bug#17271).
8132 2014-07-03  Leo Liu  <sdl.web@gmail.com>
8134         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8135         Support lexical-binding.
8137 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8139         * vc/log-edit.el (log-edit-goto-eoh): New function.
8140         (log-edit--match-first-line): Use it (bug#17861).
8142 2014-07-03  Glenn Morris  <rgm@gnu.org>
8144         * vc/log-edit.el (log-edit-hook): Add missing :version.
8146 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8148         * progmodes/python.el (python-indent-post-self-insert-function):
8149         Enhancements to electric indentation behavior inside
8150         parens.  (Bug#17658)
8152 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8154         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8155         buffer-invisibility-spec (bug#17867).
8157 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
8159         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8160         pass "-a".
8162 2014-07-03  Glenn Morris  <rgm@gnu.org>
8164         * cus-edit.el (help):
8165         * finder.el (finder-known-keywords):
8166         * help.el (help-for-help-internal):
8167         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8168         (ediff-redraw-registry-buffer):
8169         * vc/ediff-ptch.el (ediff-patch-file-internal):
8170         Doc fixes re "online" help.  (Bug#17803)
8172         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8173         (idlwave-mode): Doc URL update.
8175 2014-07-01  Juri Linkov  <juri@jurta.org>
8177         * man.el: Display man pages immediately and use process-filter
8178         to format them asynchronously.
8179         (Man-width): Doc fix.
8180         (man): Doc fix.
8181         (Man-start-calling): Use `with-selected-window' to get
8182         `frame-width' and `window-width'.
8183         (Man-getpage-in-background): Call `Man-notify-when-ready'
8184         immediately after creating a new buffer.  Call `Man-mode' and set
8185         `mode-line-process' in the created buffer.  Set process-filter to
8186         `Man-bgproc-filter' in start-process branch.  In call-process branch
8187         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8188         Use `Man-start-calling' inside `with-current-buffer'.
8189         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
8190         (Man-cleanup-manpage): Don't print messages.
8191         (Man-bgproc-filter): New function.
8192         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8193         user moved it during asynchronous formatting.  Move calls of
8194         `Man-fontify-manpage' and `Man-cleanup-manpage' to
8195         `Man-bgproc-filter'.  Move the call of `Man-mode' to
8196         `Man-getpage-in-background'.  Use `quit-restore-window'
8197         instead of `kill-buffer'.  Use `message' instead of `error'
8198         because errors are caught by process sentinel.
8199         (Man-mode): Move calls of `Man-build-page-list',
8200         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8201         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
8203         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8204         for the message about the man page cleaned up.
8206 2014-07-01  Mario Lang  <mlang@delysid.org>
8208         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8209         cosutomization option `gnutls-verify-error'.
8211 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8213         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8214         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8216         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8217         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8218         is suspended (bug#17857).
8220 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
8222         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8223         Prefer utf-8 coding.  (Bug#17859)
8225 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8227         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8228         for `reverse'.
8230 2014-06-30  Glenn Morris  <rgm@gnu.org>
8232         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8233         (autoload-ensure-default-file): Maybe make existing output writable.
8234         * Makefile.in (AUTOGEN_VCS): Remove.
8235         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8237 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8239         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8241 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8243         New if-let, when-let, thread-first and thread-last macros.
8245         * emacs-lisp/subr-x.el
8246         (internal--listify, internal--check-binding)
8247         (internal--build-binding-value-form, internal--build-binding)
8248         (internal--build-bindings): New functions.
8249         (internal--thread-argument, thread-first, thread-last)
8250         (if-let, when-let): New macros.
8252 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
8254         * net/rcirc.el (rcirc-buffer-process): Restore previous
8255         behaviour.  (Bug#17772)
8257 2014-06-29  Alan Mackenzie  <acm@muc.de>
8259         Don't call c-parse-state when c++-template-syntax-table is active.
8260         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8261         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8262         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8264 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
8266         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8267         account for file-wide setting of todo-top-priorities-overrides.
8268         Make code a bit cleaner.
8270 2014-06-28  Glenn Morris  <rgm@gnu.org>
8272         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
8274 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
8276         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8277         category-wide setting of todo-top-priorities-overrides, check for
8278         a file-wide setting and fontify accordingly.
8280 2014-06-28  Glenn Morris  <rgm@gnu.org>
8282         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
8284 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8286         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
8288 2014-06-28  K. Handa  <handa@gnu.org>
8290         Fix Bug#17739.
8292         * composite.el: Setup composition-function-table for dotted circle.
8293         (compose-gstring-for-dotted-circle): New function.
8295         * international/characters.el: Add category "^" to all
8296         non-spacing characters.
8298 2014-06-28  Glenn Morris  <rgm@gnu.org>
8300         * Makefile.in (doit): Remove force rule.
8301         (custom-deps, finder-data, autoloads, update-subdirs)
8302         (compile-one-process): PHONY targets do not need force rules.
8304         * Makefile.in (compile-main, compile, compile-always):
8305         No need to explicitly pass variables to ourself in recursive calls.
8307 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8309         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8311 2014-06-26  Glenn Morris  <rgm@gnu.org>
8313         * Makefile.in (update-authors): Update for moved authors.el.
8315 2014-06-26  Leo Liu  <sdl.web@gmail.com>
8317         * skeleton.el (skeleton-end-hook): Default to nil and move the
8318         work to skeleton-insert.  (Bug#17850)
8320 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
8322         * calc/calc-alg.el (math-beforep):
8323         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8324         Simplify because string-lessp can accept symbols as args.
8326 2014-06-26  Daiki Ueno  <ueno@gnu.org>
8328         * emacs-lisp/package.el (package--check-signature):
8329         If package-check-signature is allow-unsigned, don't signal error when
8330         we can't verify signature because of missing public key
8331         (bug#17625).
8333 2014-06-26  Glenn Morris  <rgm@gnu.org>
8335         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8336         Remove outdated declaration.
8338         * emacs-lisp/authors.el (authors-valid-file-names)
8339         (authors-renamed-files-alist): Additions.
8341 2014-06-26  Leo Liu  <sdl.web@gmail.com>
8343         * textmodes/picture.el (picture-set-tab-stops):
8344         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8345         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8347         * progmodes/asm-mode.el (asm-calculate-indentation):
8348         Use indent-next-tab-stop.
8350         * indent.el (indent-accumulate-tab-stops): New function.
8352 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8354         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8355         (package-desc-status): Obey it.
8357 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
8359         * calendar/todo-mode.el: Fix two bugs.
8360         (todo-insert-item--basic): If user cancels item insertion to
8361         another category before setting priority, show original category
8362         whether it is in the same or a different file.
8363         (todo-set-item-priority): After selecting category, instead of
8364         moving point to top, which extends an active region, restore it.
8366 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8368         * help-fns.el (describe-function-1): Check file-name is a string before
8369         calling help-fns--autoloaded-p (bug#17564).
8371 2014-06-26  Juri Linkov  <juri@jurta.org>
8373         * desktop.el (desktop-auto-save-enable)
8374         (desktop-auto-save-disable): New functions.
8375         (desktop-save-mode, desktop-auto-save-timeout): Use them.
8376         (desktop-read): Disable the autosave before loading the desktop,
8377         and enable afterwards.  (Bug#17351)
8379 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8381         Fix some indentation problem with \; and pipes (bug#17842).
8382         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8383         (sh-smie--default-forward-token, sh-smie--default-backward-token):
8384         New functions.
8385         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8386         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8387         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8389 2014-06-26  Glenn Morris  <rgm@gnu.org>
8391         * emacs-lisp/find-func.el (find-function-C-source-directory):
8392         Use file-accessible-directory-p.
8394         * ps-samp.el: Make it slightly less awful.
8395         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8396         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8397         Only set local values.
8398         (ps-article-subject, ps-article-author): Use standard functions
8399         like mail-fetch-field.
8400         (ps-info-file, ps-info-node): Use match-string.
8401         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8402         (ps-samp-ps-setup): ... new function.
8404         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8405         Optimize away code unneeded on any modern Emacs.
8407         * emacs-lisp/authors.el: Move to ../admin.
8409         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8411 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
8413         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8414         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8415         performance enhancements.
8416         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
8417         expansion.
8418         (hif-factor, hif-string-concatenation, intern-safe): Support string
8419         concatenation and argumented macro expansion.
8420         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8421         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8422         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8423         (hif-canonicalize-tokens, hif-place-macro-invocation)
8424         (hif-parse-macro-arglist): Mostly new functions for supporting
8425         argumented macro expansion.
8426         (hif-string-concatenation, hif-stringify, hif-token-concat)
8427         (hif-token-stringification, hif-token-concatenation):
8428         Stringification and concatenation.
8429         (hif-find-next-relevant): Fix comments.
8430         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8431         some cases involving #elif.
8432         (hif-find-define, hif-add-new-defines): New functions for automatically
8433         scanning of defined symbols.
8434         (hide-ifdef-guts): Fix for defined symbol auto scanning.
8435         (hide-ifdef-undef): Fix behavior to match CPP.
8437 2014-06-25  Glenn Morris  <rgm@gnu.org>
8439         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8440         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8441         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8442         files.  They are not relevant to the original issue (bug#1004),
8443         and cause unnecessary recompilation (bug#2151).
8445 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8447         * play/landmark.el: Use lexical-binding and avoid `intangible'.
8448         (landmark--last-pos): New var.
8449         (landmark--intangible-chars): New const.
8450         (landmark--intangible): New function.
8451         (landmark-mode, landmark-move): Use it.
8452         (landmark-mode): Remove properties.
8453         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8454         (landmark-cross-qtuple):
8455         Don't worry about `intangible' any more.
8456         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8457         (landmark-init-display): Don't set `intangible' and `point-entered'.
8458         (square): Remove.  Inline it instead.
8459         (landmark--distance): Rename from `distance'.
8460         (landmark-calc-distance-of-robot-from): Rename from
8461         calc-distance-of-robot-from.
8462         (landmark-calc-smell-internal): Rename from calc-smell-internal.
8464 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
8466         * files.el (dir-locals-find-file, file-relative-name):
8467         * info.el (Info-complete-menu-item):
8468         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8469         to compare-strings to avoid out-of-range errors.
8470         * subr.el (string-prefix-p): Adjust to match strict range
8471         checking in compare-strings.
8473 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
8475         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8476         for comment lines non-greedy and stopping at newlines to fix stack
8477         overflows with large files.
8479 2014-06-24  Eli Barzilay  <eli@barzilay.org>
8481         * calculator.el (calculator-last-input): Drop 'ascii-character property
8482         lookup.
8484 2014-06-24  Leo Liu  <sdl.web@gmail.com>
8486         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8487         tab-stop-list to nil.  (Bug#16381)
8489         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8490         (indent-rigidly-left-to-tab-stop)
8491         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8492         (move-to-tab-stop): Change callers.
8494 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
8496         * skeleton.el (skeleton-insert): Yet another fix of the doc string
8497         wrt behavior of \n as the first/last element of a skeleton.
8499 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
8501         * net/tramp-adb.el (tramp-adb-handle-process-file):
8502         * net/tramp-sh.el (tramp-sh-handle-process-file):
8503         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8504         the output buffer when DISPLAY is non-nil.  (Bug#17815)
8506 2014-06-24  Glenn Morris  <rgm@gnu.org>
8508         * play/landmark.el (landmark-move-down, landmark-move-up):
8509         Fix 2007-10-20 change - preserve horizontal position.
8511 2014-06-23  Sam Steingold  <sds@gnu.org>
8513         * simple.el (kill-append): Remove undo boundary depending on ...
8514         (kill-append-merge-undo): New user option.
8516 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8518         * simple.el (handle-shift-selection, exchange-point-and-mark)
8519         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8520         (transient-mark-mode): Use&set the global value.
8521         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8522         * emulation/edt.el (edt-emulation-off): Save&restore the global
8523         transient-mark-mode setting.
8524         * obsolete/pc-select.el (pc-selection-mode): Use the
8525         transient-mark-mode function.
8527 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
8529         * international/fontset.el (script-representative-chars):
8530         Add representative characters for scripts added in Unicode 7.0.
8531         (otf-script-alist): Synchronize with the latest registry of OTF
8532         script tags.
8534         * international/characters.el (char-script-table): Update for
8535         scripts added and codepoint ranges changed in Unicode 7.0.
8537 2014-06-23  Eli Barzilay  <eli@barzilay.org>
8539         * calculator.el (calculator-standard-displayer): Fix bug in use of
8540         `calculator-groupize-number'.
8541         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8542         `eval' code, so it works in v24.3.1 too.
8543         (calculator-last-input): Comment to clarify purpose.
8545 2014-06-22  Mario Lang  <mlang@delysid.org>
8547         * textmodes/rst.el (rst-comment-region): From from -> from.
8549         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8551 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
8553         * electric.el (electric-layout-post-self-insert-function):
8554         * emacs-lisp/ert.el (ert--insert-infos):
8555         * obsolete/vi.el (vi-set-mark):
8556         * term.el (term-handle-scroll):
8557         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8558         * wid-edit.el (widget-editable-list-value-create):
8559         Prefer point-marker to copy-marker of point.
8561 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8563         Fix completion retrieval parsing (bug#17209).
8564         * progmodes/python.el (python-mode):
8565         (python-util-strip-string): New function.
8566         (python-shell-completion-get-completions): Use it.
8568 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
8570         * skeleton.el (skeleton-insert): Fix last change.
8572 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8574         Enhancements for outline integration (bug#17796).
8575         * progmodes/python.el (python-mode): Properly set
8576         outline-heading-end-regexp so that comments after colons for
8577         defuns are supported.
8579 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
8581         * skeleton.el (skeleton-insert): Doc fix.
8583 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8585         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8586         (smie-config-guess): Use smie-config-local so the rules are obeyed
8587         (bug#17818).
8589         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8590         since it's already done inside the loop (bug#17819).
8592 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
8594         * mouse.el (mouse-drag-line): Re-remove code initially removed
8595         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8596         (Bug#17819).
8598 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8600         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8601         align with the surrounding parent (bug#17721).
8603 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
8605         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
8606         locally to nil.
8607         (texinfo-insert-block, texinfo-insert-@end)
8608         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
8609         local setting of skeleton-end-newline by adding an explicit \n to
8610         the skeletons where appropriate.  (Bug#17801)
8612 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8614         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
8615         (smie-indent--hanging-p): Use it.
8616         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
8618 2014-06-21  Leo Liu  <sdl.web@gmail.com>
8620         * simple.el (read-quoted-char): Don't let help chars pop up help
8621         buffer.  (Bug#16617)
8623 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8625         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
8626         for | (bug#17621).
8628         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
8629         Drop unknown events instead of burping.
8631 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
8633         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
8634         and later.  (Bug#17790)
8636 2014-06-21  Juri Linkov  <juri@jurta.org>
8638         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
8639         to `soft'.  (Bug#17554)
8641 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8643         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
8644         (bug#17737).
8646 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
8648         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
8649         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
8651 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
8653         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
8654         `unread-command-events'.
8656 2014-06-19  William Xu  <william.xwl@gmail.com>
8658         * progmodes/hideif.el (hif-string-to-number): Don't return float for
8659         hex integer constants (bug#17807).
8661 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8663         * international/mule-util.el (truncate-string-ellipsis): New var.
8664         (truncate-string-to-width): Use it.
8666 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
8668         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
8669         (lisp-string-in-doc-position-p): New function, extracted from
8670         lisp-font-lock-syntactic-face-function.
8671         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
8673 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
8675         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
8677 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8679         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
8680         (bubbles--game-over): Don't add `intangible' properties since they
8681         didn't work anyway.
8683 2014-06-18  Juri Linkov  <juri@jurta.org>
8685         * vc/ediff-init.el (ediff-current-diff-Ancestor)
8686         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
8687         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
8688         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
8689         Add `min-colors 88' version with removed black/white foregrounds.
8690         (Bug#10181)
8692 2014-06-18  Juri Linkov  <juri@jurta.org>
8694         * vc/diff-mode.el (diff-changed): Empty face definition to use
8695         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
8696         (diff-context): Use darker color on light background and
8697         lighter color on dark background.
8699 2014-06-18  Juri Linkov  <juri@jurta.org>
8701         * vc/diff-mode.el (diff-refine-changed): Rename from
8702         `diff-refine-change' for consistency with `diff-changed'.
8703         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
8705         * vc/smerge-mode.el (smerge-refined-changed): Rename from
8706         `smerge-refined-change'.
8707         (smerge-refined-change): Add obsolete face alias.
8709 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8711         * rect.el (rectangle-preview): New custom.
8712         (rectangle): New group.
8713         (rectangle--pos-cols): Add `window' argument.
8714         (rectangle--string-preview-state, rectangle--string-preview-window):
8715         New vars.
8716         (rectangle--string-flush-preview, rectangle--string-erase-preview)
8717         (rectangle--space-to, rectangle--string-preview): New functions.
8718         (string-rectangle): Use them.
8719         (rectangle--inhibit-region-highlight): New var.
8720         (rectangle--highlight-for-redisplay): Obey it.  Make sure
8721         `apply-on-region' uses the point-crutches of the right window.
8722         Use :align-to rather than multiple spaces.
8724 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
8726         * ruler-mode.el (ruler-mode-window-col)
8727         (ruler-mode-mouse-set-left-margin)
8728         (ruler-mode-mouse-set-right-margin): Fix calculation of column
8729         from mouse position (Bug#17768).
8731 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
8733         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
8734         without varname or rhs causes crash.
8735         (dun-ftp): Fix bug where blank ftp password is allowed, making it
8736         impossible to win endgame.
8737         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
8738         rlogin is anymore.
8739         (dun-help): Bump version number; update contact info.
8741 2014-06-15  Eli Barzilay  <eli@barzilay.org>
8743         * calculator.el (calculator-prompt, calculator-remove-zeros)
8744         (calculator-mode-hook, calculator-operators, calculator-stack)
8745         (calculator-mode): Tweak docstring.
8746         (calculator-user-operators): Tweak docstring, fix a bug in the last
8747         example.
8748         (calculator-displayer): `std' case has an optional boolean.
8749         (calculator-displayers): Use the new boolean to group in decimal mode.
8750         (calculator-mode-map, calculator, calculator-message)
8751         (calculator-op-arity, calculator-add-operators)
8752         (calculator-string-to-number, calculator-displayer-prev)
8753         (calculator-displayer-next, calculator-remove-zeros)
8754         (calculator-eng-display, calculator-number-to-string)
8755         (calculator-update-display, calculator-last-input)
8756         (calculator-clear-fragile, calculator-digit, calculator-decimal)
8757         (calculator-exp, calculator-saved-move, calculator-clear)
8758         (calculator-copy, calculator-put-value, calculator-help)
8759         (calculator-expt, calculator-truncate): Minor code improvements.
8760         (calculator-need-3-lines): New function pulling out code from
8761         `calculator'.
8762         (calculator-get-display): Rename from `calculator-get-prompt', and
8763         improved.
8764         (calculator-push-curnum): Rename from `calculator-curnum-value', and
8765         extended for all uses of it.  All callers changed.
8766         (calculator-groupize-number): New utility for splitting a number into
8767         groups.
8768         (calculator-standard-displayer): Improve code, new optional argument to
8769         use comma-split groups, make second argument optional too to use with
8770         'left/'right inputs.  All callers changed.
8771         (calculator-reduce-stack-once): New utility, doing the meat of what
8772         `calculator-reduce-stack' used to do, much improved (mostly using
8773         `pcase' for conciseness and clarity).
8774         (calculator-reduce-stack): Now doing just the reduction loop using
8775         `calculator-reduce-stack-once'.
8776         (calculator-funcall): Improve code, make it work in v24.3.1 too.
8777         (calculator-last-input): Improve code, remove some old cruft.
8778         (calculator-quit): Kill `calculator-buffer' in electric mode too.
8779         (calculator-integer-p): Remove.
8780         (calculator-fact): Improve code, make it work on non-integer values
8781         too (using truncated numbers).
8783 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
8785         Sync with Tramp 2.2.10.
8787         * net/tramp.el (tramp-methods): Tweak docstring.
8788         (tramp-handle-file-accessible-directory-p): Check for
8789         `file-readable-p' instead of `file-executable-p'.
8790         (tramp-check-cached-permissions):
8791         Use `tramp-compat-file-attributes'.
8792         (tramp-call-process): Add new argument VEC.  Adapt callees in all
8793         tramp*.el files.
8795         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
8796         (tramp-adb-maybe-open-connection): Don't set
8797         `tramp-current-*' variables.
8799         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
8800         file properties of temporary buffers.
8802         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
8804         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
8805         (tramp-gvfs-handle-delete-file): Flush file
8806         properties, not directory properties.
8807         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
8808         reading "unix::mode".
8809         (tramp-gvfs-handle-file-name-all-completions):
8810         Use "-h" option for "gvfs-ls".
8811         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
8812         (tramp-gvfs-send-command): Simplify traces.
8814         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
8815         (vc-git-program, vc-hg-program): Declare.
8816         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
8817         (tramp-methods) <nc>: Add new method.
8818         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
8819         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
8820         `tramp-login-args'.
8821         (tramp-default-user-alist): Add "nc".
8822         (top): Remove completion function for "sftp".  Add completion
8823         functions for "nc" and "psftp".
8824         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
8825         Implement support for "nc" method.
8826         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
8827         (tramp-remote-coding-commands, tramp-call-local-coding-command):
8828         Tweak docstring.
8829         (tramp-sh-handle-write-region): Tweak error message.
8830         (tramp-sh-handle-vc-registered): Remove backends when the remote
8831         binary does not exist.
8832         (tramp-find-inline-encoding): Do not raise an error.
8833         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
8834         the "nc" case.  Quote result also locally.
8836         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8837         (tramp-smb-handle-set-file-acl): Use `start-process'.
8838         (tramp-smb-handle-insert-directory): Use progress reporter.
8839         (tramp-smb-handle-rename-file): Flush also file properties of
8840         FILENAME.
8842         * net/trampver.el: Update release number.
8844 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8846         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
8847         add-to-list.
8848         (ses-localvars): Remove ses--local-printer-list, unused.
8849         (ses--metaprogramming): New macro.  Use it to defvar variables.
8850         (ses-set-localvars): Simplify.
8851         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
8852         property-list into an alist.
8853         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8854         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
8855         Remove; use defstruct accessors/setters instead.
8856         (ses-cell-formula-aset, ses-cell-printer-aset)
8857         (ses-cell-references-aset): Remove, use setf instead.
8858         (ses--alist-get): New function.
8859         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
8860         Use an alist instead of a plist and don't do move-to-front since the
8861         list is always short.
8862         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
8863         (ses-cell-property-set-fun, ses-cell-property-set)
8864         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
8865         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
8866         (ses--letref): New macro.
8867         (ses-cell-property-pop): Rewrite.
8868         (ses--cell): Rename from ses-cell and make it into a function.
8869         Make `formula' fallback on `value' if nil.
8870         (ses--local-printer): Rename from ses-local-printer and make it into
8871         a function.
8872         (ses-set-cell): Turn it into a macro so finding the accessor from the
8873         field name is done at compile time.
8874         (ses-repair-cell-reference-all): Test presence of `sym' rather than
8875         `ref' before adding `sym' to :ses-repair-reference.
8876         (ses-calculate-cell): Use ses--letref rather than
8877         ses-cell-property-get-handle.
8878         (ses-write-cells): Use a single prin1-to-string.
8879         (ses-setter-with-undo): New function.
8880         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
8881         (ses-unset-with-undo): Remove.
8882         (ses-load): Prefer apply' over `eval'.
8883         (ses-read-printer, ses-set-column-width): Use standard "(default
8884         foo)" format.
8886 2014-06-15  Glenn Morris  <rgm@gnu.org>
8888         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
8890         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
8891         Replace delete-duplicates and mapcan by cl- versions throughout.
8892         And cl-macroexpand-all by macroexpand-all.
8893         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
8895 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
8897         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
8899 2014-06-15  Juri Linkov  <juri@jurta.org>
8901         * bindings.el: Put `ascii-character' property on keypad keys
8902         mapped to characters.  (Bug#17759)
8904 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8906         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
8907         bumping forward into a closing paren (bug#17761).
8909         * term/xterm.el (xterm--version-handler): Work around for OSX
8910         Terminal.app (bug#17607).
8912 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
8914         * play/dunnet.el (dun-describe-room, dun-mode):
8915         If a lamp is in the room, you won't be eaten by a grue.
8917 2014-06-13  Glenn Morris  <rgm@gnu.org>
8919         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
8920         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
8921         (compile-always): GNU make automatically passes
8922         command-line arguments to sub-makes.
8924         * calendar/calendar.el (calendar-generate-window):
8925         Remove pointless call to font-lock-fontify-buffer.
8927 2014-06-13  Matthias Meulien  <orontee@gmail.com>
8929         * simple.el (completion-list-mode-map): Navigate with tab and backtab
8930         (bug#17767).
8932 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8934         * simple.el (set-mark-command): Simplify a bit.
8936 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
8938         * help.el (help--key-binding-keymap): New function.
8939         (help--binding-locus): New function.
8940         (describe-key): Mention the keymap in which the binding was
8941         found.  (bug#13948)
8943 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8945         * hippie-exp.el (he--all-buffers): New function.
8946         (try-expand-line-all-buffers, try-expand-list-all-buffers)
8947         (try-expand-dabbrev-all-buffers): Use it.
8949 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
8951         * hippie-exp.el (try-expand-line-all-buffers)
8952         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
8953         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
8954         original buffer, in case they're buffer-local.
8956 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8958         * ses.el (ses-initial-global-parameters-re): New defconst, a
8959         specific regexp is needed now that ses.el can handle both
8960         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
8961         local printers.
8962         (ses-localvars): Add local variables needed for local printer handling.
8963         (ses-set-localvars): Handle hashmap initialisation.
8964         (ses-paramlines-plist): Add param-line for number of local printers.
8965         (ses-paramfmt-plist): New defconst, needed for code factorization
8966         between functions `ses-set-parameter' and
8967         `ses-file-format-extend-paramter-list'
8968         (ses-make-local-printer-info): New defsubst.
8969         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8970         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
8971         (ses-cell-printer-aset): New defmacro.
8972         (ses-local-printer-compile): New defun.
8973         (ses-local-printer): New defmacro.
8974         (ses-printer-validate, ses-call-printer): Add support for local
8975         printer functions.
8976         (ses-file-format-extend-paramter-list): New defun.
8977         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
8978         factorization.
8979         (ses-load): Add support for local printer functions.
8980         (ses-read-printer): Update docstring and add support for local printer
8981         functions.
8982         (ses-refresh-local-printer, ses-define-local-printer): New defun.
8983         (ses-safe-printer): Add support for local printer functions.
8985 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
8987         * ffap.el (ffap-lax-url): New var (bug#17723).
8988         (ffap-url-at-point): Use it.
8989         (ffap-file-at-point): Avoid returning just "/".
8991 2014-06-12  Matthias Meulien  <orontee@gmail.com>
8993         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
8994         (python-mode-map): Bind it.
8996         * progmodes/python.el (class skeleton): Don't erase last char of class
8997         name (bug#17683).
8999 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
9001         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9003 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
9005         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9006         (bug#17745).
9008 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9010         * international/mule-cmds.el: Use lexical-binding.
9011         (ucs-names): Simplify.
9013 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
9015         * progmodes/python.el (run-python): Use read-shell-command.
9017 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9019         * rect.el: Make it possible to move bounds past EOL or into TABs.
9020         (operate-on-rectangle): Use apply-on-rectangle.
9021         (rectangle--mark-crutches): New var.
9022         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9023         (rectangle--crutches, rectangle--reset-crutches): New functions.
9024         (apply-on-rectangle): Obey crutches.  Avoid setq.
9025         Fix missing final iteration if end is at EOB&BOL.
9026         (rectangle-mark-mode-map): Add remap bindings for
9027         exchange-point-and-mark and char/line movements.
9028         (rectangle--*-char): New function.
9029         (rectangle-exchange-point-and-mark, rectangle-right-char)
9030         (rectangle-left-char, rectangle-forward-char)
9031         (rectangle-backward-char, rectangle-next-line)
9032         (rectangle-previous-line): New commands.
9033         (rectangle--place-cursor): New function.
9034         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
9036 2014-06-08  Glenn Morris  <rgm@gnu.org>
9038         * startup.el (initial-buffer-choice): Doc fix.
9039         Reset :version (adding an option does not merit a :version bump).
9041         * bookmark.el (bookmark-load):
9042         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9044 2014-06-08  Juri Linkov  <juri@jurta.org>
9046         * desktop.el: Activate auto-saving on window configuration changes.
9047         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9048         `desktop-auto-save-set-timer' to/from
9049         `window-configuration-change-hook'.
9050         (desktop-auto-save-set-timer): Change REPEAT arg of
9051         `run-with-idle-timer' from t to nil.
9052         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9054 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
9056         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9057         vc-hg-command (bug#17570).
9059 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9061         * international/mule-cmds.el (ucs-names): Add special entry for BEL
9062         (bug#17702).
9064 2014-06-08  Glenn Morris  <rgm@gnu.org>
9066         * startup.el (window-setup-hook): Doc fix.
9068         * emacs-lisp/package.el (package-check-signature)
9069         (package-unsigned-archives): Doc fixes.
9071 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
9073         * window.el (display-buffer-use-some-window): Don't make window
9074         used smaller than it was before (Bug#17671).
9076 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
9078         * menu-bar.el (menu-bar-open): Fix last change: use the PC
9079         'redisplay' instead of '(sit-for 0)'.
9081 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
9083         * net/tramp.el (tramp-ssh-controlmaster-options):
9084         Improve search regexp.  (Bug#17653)
9086 2014-06-08  Glenn Morris  <rgm@gnu.org>
9088         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9090 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
9092         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9094 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
9096         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9097         (bug#17586).
9099         * vc/vc-hg.el (vc-hg-log-graph): New var.
9100         (vc-hg-print-log): Use it.
9101         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9102         graph output (bug#17515).
9104 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9106         * mouse.el (mouse-posn-property): Ignore buffer position info when the
9107         even happened elsewhere.
9109 2014-06-06  Mario Lang  <mlang@delysid.org>
9111         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9112         `recenter' if `current-buffer' is equal to `window-buffer'.
9114 2014-06-05  Leo Liu  <sdl.web@gmail.com>
9116         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9118 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
9120         * textmodes/tildify.el (tildify-foreach-region-outside-env):
9121         New function which calls a callback on portions of the buffer that are
9122         outside of ignored environments.
9123         (tildify-build-regexp): Remove function since it is now
9124         incorporated in `tildify-foreach-region-outside-env' where it is
9125         optimized and simplified by the use of `mapconcat'.
9126         (tildify-tildify): Return number of substitutions made so that…
9127         (tildify-count): …can be removed.
9128         (tildify-find-env): Accept a new PAIRS argument which was
9129         previously looked up in `tildify-ignored-environments-alist' each
9130         time the function was called.  With this change, the lookup is
9131         performed only once in `tildify-foreach-region-outside-env'.
9132         (tildify-region): Greatly simplify the function since now most of
9133         the work is done by `tildify-foreach-region-outside-env'.
9134         (tildify-mode-alist): Simplify slightly by avoiding if and setq
9135         and instead using or.
9137         * textmodes/tildify.el (tildify-ignored-environments-alist):
9138         Optimize environments regexes
9140         Each time beginning of an environment to ignore is found,
9141         `tildify-find-env' needs to identify regexp for the ending
9142         of the environment.  This is done by trying all the opening
9143         regexes on matched text in a loop, so to speed that up, this
9144         loop should have fewer things to match, which can be done by
9145         using alternatives in the opening regexes.
9147         Coincidentally, this should make matching of the opening
9148         regexp faster as well thanks to the use of `regexp-opt' and
9149         having common prefix pulled from many regexes.
9151         * textmodes/tildify.el (tildify-string-alist)
9152         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9153         of supported modes since `xml-mode' is no longer a thing but just
9154         an alias to the former.  Also include comments and insides of tags
9155         in `tildify-ignored-environments-alist' for XML modes.  Finally,
9156         since XML does not define “&nbsp;”[1], use a numeric reference for
9157         a no-break space (namely “&#160;”)
9159         [1] XML specification defines only a handful of predefined entities.
9160             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9161             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
9162             >, &, ' and " respectively).  This is in contrast to HTML and even
9163             XHTML which defined a whole bunch of entities including “&nbsp;”.
9165         * textmodes/tildify.el (tildify-pattern-alist)
9166         (tildify-string-alist, tildify-ignored-environments-alist):
9167         Improve defcustom's types by adding more tags explaining what each
9168         value means and replace “sexp” used in
9169         `tildify-ignored-environments-alist' with a full type declaration.
9171         * textmodes/tildify.el (tildify-find-env): Fix matched group
9172         indexes in end-regex building
9174         When looking for a start of an ignore-environment, the regex is built
9175         by concatenating regexes of all the environments configured in
9176         `tildify-ignored-environments-alist'.  So for example, the following
9177         list could be used to match TeX's \verb and \verb* commands:
9179             (("\\\\verb\\(.\\)" . (1))
9180              ("\\\\verb\\*\\(.\\)" . (1)))
9182         This would result in the following regex being used to find the start
9183         of any of the variants of the \verb command:
9185             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9187         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9188         won't match anything, and thus (match-string 1) will be nil, which
9189         will cause building of the end-matching regex to fail.
9191         Fix this by using capture groups from the time when the opening
9192         regexes are matched individually.
9194         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9195         in `tildify-find-env'
9197         The `tildify-ignored-environments-alist' allows the end-regex to
9198         be provided not as a static string but mix of strings and indexes
9199         of groups matched the begin-regex.  For example, the “\verb!…!”
9200         TeX-command (where “!” is an arbitrary character) is handled
9201         using:
9203             ("\\\\verb\\*?\\(.\\)" . (1))
9205         In the same way, the following should be supported as well:
9207             ("open-\\(.\\)" . ("end-" 1))
9209         However the tildify-find-env function fails at
9211             (concat result
9212                     (if (stringp (setq aux (car expression)))
9213                          expression  ; BUG: expression is a list
9214                        (regexp-quote (match-string aux))))
9216         where the string part is handled incorrectly.
9218         The most trivial fix would be to replace `expression' in the
9219         true-part of the if-statement with `aux', but instead, this commit
9220         optimizes `tildify-find-env' by changing it to use `mapconcat'
9221         rather than open-coded while-loop.
9223 2014-06-05  Mario Lang  <mlang@delysid.org>
9225         * woman.el (woman-mapcan): Remove.
9226         (woman-parse-colon-path): Use cl-mapcan instead.
9228 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9230         * register.el: Add link to Emacs manual in Commentary.
9232 2014-06-02  Sam Steingold  <sds@gnu.org>
9234         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9235         (popup-menu): ...here.
9236         (menu-bar-open): Use it to avoid an error when `lookup-key'
9237         returns a number.
9239 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
9241         * net/tramp.el (tramp-call-process): Add traces.
9242         (tramp-handle-unhandled-file-name-directory): Return "/".
9244 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
9246         Sync with upstream verilog-mode revision 3cd8144.
9247         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9248         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9249         (verilog-type-font-keywords): Add nor.
9250         (verilog-batch-execute-func): Force reading of Local Variables.
9251         Fix printing "no changes to be saved" with verilog-batch.
9252         (verilog-auto-arg-ports): Doc fix.
9253         Add verilog-auto-arg-format to support newlines in AUTOARG.
9254         (verilog-auto-arg): Doc fix.
9256 2014-06-02  Glenn Morris  <rgm@gnu.org>
9258         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9259         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9260         * emulation/ws-mode.el: Move to obsolete/.
9261         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9263 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
9265         * simple.el (keyboard-quit): Force update of mode lines, to remove
9266         the "Def" indicator, if we were defining a macro.  (Bug#17615)
9268 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9270         * minibuffer.el (minibuffer-force-complete-and-exit):
9271         Obey minibuffer-default (bug#17545).
9273         * progmodes/js.el (js-indent-line): Don't mix columns and chars
9274         (bug#17619).
9276         * subr.el (set-transient-map): Don't wait for some "nested"
9277         transient-map to finish if we're only supposed to be active for
9278         the next command (bug#17642).
9280 2014-06-02  Leo Liu  <sdl.web@gmail.com>
9282         * emacs-lisp/gv.el (window-buffer, window-display-table)
9283         (window-dedicated-p, window-hscroll, window-point, window-start):
9284         Fix gv-expander.  (Bug#17630)
9286 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9288         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9289         clicks (bug#17633).
9291         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9292         for the single comma, since ", " is *very* common in normal French text
9293         (bug#17643).
9295 2014-06-02  Glenn Morris  <rgm@gnu.org>
9297         * emacs-lisp/package.el (package-check-signature)
9298         (package-unsigned-archives): Fix :version.
9300 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9302         * subr.el (sit-for): Don't run input-methods (bug#15614).
9304 2014-06-02  Glenn Morris  <rgm@gnu.org>
9306         * cus-start.el: Fix some :version numbers.
9308 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9310         * simple.el (deactivate-mark): Set mark-active to nil even if
9311         deactivation is done via setting transient-mark-mode to nil,
9312         since one is buffer-local and the other is global.
9314         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9315         there can't be more than 2 arguments (bug#17584).
9317 2014-06-02  Glenn Morris  <rgm@gnu.org>
9319         * simple.el (filter-buffer-substring-functions)
9320         (filter-buffer-substring-function, buffer-substring-filters)
9321         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9323         * minibuffer.el (completion-in-region-functions, completion-in-region)
9324         (completion--in-region): Doc fixes.
9326         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9327         (expand-abbrev, abbrev--default-expand): Doc fixes.
9329 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
9331         Include sources used to create macuvs.h.
9332         * international/README: Refer to the Unicode Terms of Use rather
9333         than copying it bodily here, as that simplifies maintenance.
9335 2014-06-01  Glenn Morris  <rgm@gnu.org>
9337         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
9339 2014-05-31  Glenn Morris  <rgm@gnu.org>
9341         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
9343 2014-05-30  Glenn Morris  <rgm@gnu.org>
9345         * loadup.el: Treat `command-line-args' more flexibly.
9347 2014-05-30  Alan Mackenzie  <acm@muc.de>
9349         Guard (looking-at "\\s!") from XEmacs.
9350         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9352 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
9354         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9355         The argument COUNT is now optional, to be more backward-compatible.
9356         Doc fix.  (Bug#17560)
9358 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
9360         * whitespace.el (whitespace-report-region):
9361         Simplify documentation.
9362         (whitespace-report-region): Allow report-if-bogus to take the
9363         value `never', for non-interactive use.
9364         (whitespace-report): Refer to whitespace-report-region's
9365         documentation.
9367 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9369         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
9370         Side benefit: it works without jit-lock.
9371         (whitespace-point--used): New buffer-local var.
9372         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
9373         (whitespace-color-off): Use font-lock-flush.
9374         (whitespace-point--used, whitespace-point--flush-used): New functions.
9375         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9376         (whitespace-empty-at-eob-regexp): Use them.
9377         (whitespace-post-command-hook): Rewrite.
9379         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9380         (font-lock-fontify-buffer): Mark interactive-only.
9381         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9382         Make buffer-local.
9383         (font-lock-specified-p): Remove redundant boundp check.
9384         (font-lock-flush-function, font-lock-ensure-function): New vars.
9385         (font-lock-turn-on-thing-lock): Set them.
9386         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9387         (font-lock-after-change-function): Make `old-len' optional.
9388         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9389         Call font-lock-flush, just in case.
9390         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9391         recent Emacsen.
9392         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9393         (vera-mode-map, vera-mode-menu): Remove bindings to it.
9394         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9395         and with-syntax-table.
9396         * textmodes/conf-mode.el (conf-quote-normal):
9397         * progmodes/sh-script.el (sh-set-shell):
9398         * progmodes/prog-mode.el (prettify-symbols-mode):
9399         * progmodes/f90.el (f90-font-lock-n):
9400         * progmodes/cwarn.el (cwarn-mode):
9401         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9402         * progmodes/compile.el (compilation-setup, compilation--unsetup):
9403         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9404         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9405         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9406         font-lock-fontify-buffer-function and
9407         font-lock-unfontify-buffer-function.
9408         (rmail-unfontify-buffer-function, rmail-fontify-message):
9409         Use with-silent-modifications.
9410         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9411         and font-lock-ensure.
9412         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9414 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
9416         * emacs-lisp/package.el (package-generate-autoloads):
9417         Inhibit backup files.
9419 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9421         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9422         (bug#17608).
9424 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
9426         * textmodes/tildify.el (tildify-buffer, tildify-region):
9427         Add dont-ask option.
9429 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9431         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
9432         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9434         * subr.el (internal--funcall-interactively): New.
9435         (internal--call-interactively): Remove.
9436         (called-interactively-p): Detect funcall-interactively instead of
9437         call-interactively.
9438         * simple.el (repeat-complex-command): Use funcall-interactively.
9439         (repeat-complex-command--called-interactively-skip): Remove.
9441 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9443         * register.el (register-read-with-preview): Don't burp on
9444         frame switches (e.g. due to the frame we just popped).
9446         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9447         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9449 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
9451         * cus-face.el (custom-face-attributes): Add :distant-foreground.
9453 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
9455         * window.el (window--dump-frame): Remove interactive specification.
9457 2014-05-26  Glenn Morris  <rgm@gnu.org>
9459         * hippie-exp.el (he-line-search-regexp):
9460         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
9462 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
9464         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9465         to avoid errors when trying to create or visit a file foo.todo
9466         located outside to todo-directory, and to allow having such files
9467         without them being tied to Todo mode (bug#17482).
9468         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9469         (todo-archive-done-item, todo-find-filtered-items-file)
9470         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9471         (todo-category-completions, todo-read-category): When visiting a
9472         Todo file, make sure we're in the right mode and the buffer local
9473         variables are set.
9474         (todo-make-categories-list, todo-reset-nondiary-marker)
9475         (todo-reset-done-string, todo-reset-comment-string):
9476         After processing all Todo files, kill the buffers of those files that
9477         weren't being visited before the processing.
9478         (todo-display-as-todo-file, todo-add-to-buffer-list)
9479         (todo-visit-files-commands): Comment out.
9480         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9481         (auto-mode-alist): Remove add-to-list calls making Todo file
9482         extensions unrestrictedly tied to Todo modes.
9484 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9486         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9487         (advice-function-member-p): Tell it to check both names and functions
9488         (bug#17531).
9489         (advice--add-function): Adjust call accordingly.
9491 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
9493         * calendar/todo-mode.el: Miscellaneous bug fixes.
9494         (todo-delete-file): When deleting an archive but not its todo
9495         file, make sure to update the todo file's category sexp.
9496         (todo-move-category): Keep the moved category's name unless the
9497         file moved to already has a category with that name.  If the
9498         numerically last category of the source file was moved, make the
9499         first category current to avoid selecting a nonexisting category.
9500         (todo-merge-category): Fix implementation to make merging to a
9501         category in another file work as documented.  Eliminate now
9502         insufficient and unnecessary renaming of archive category, correct
9503         document string accordingly, and clarify it.  If the numerically
9504         last category of the source file was merged, make the first
9505         category current to avoid selecting a nonexisting category.
9506         (todo-archive-done-item): When there are marked items and point
9507         happens to be on an unmarked item, ignore the latter.  Don't leave
9508         point below last item after archiving marked items.
9509         (todo-unarchive-items): Fix logic to ensure unarchiving an item
9510         from an archive with only one category deletes the archive only
9511         when the category is empty after unarchiving.  Make sure the todo
9512         file's category sexp is updated.
9513         (todo-read-file-name): Allow an existing file name even when it is
9514         not required (todo-move-category needs this to work as documented).
9515         (todo-add-file): Call todo-validate-name to reject the name of an
9516         existing todo file (needed due to fix in todo-read-file-name).
9517         (todo-reset-nondiary-marker): Also reset in filtered items files.
9518         (todo-reset-done-string, todo-reset-comment-string): Also reset in
9519         regexp filtered items files.
9520         (todo-reset-highlight-item): Also reset in filtered items files.
9521         Fix incorrect variable reference in document string.
9523 2014-05-26  Glenn Morris  <rgm@gnu.org>
9525         * window.el (window--dump-frame): Avoid error in --without-x builds.
9527 2014-05-26  Glenn Morris  <rgm@gnu.org>
9529         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9531 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
9533         * frame.el (set-frame-font): Doc fix.
9535         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
9537 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
9539         * emacs-lisp/package.el (package--download-one-archive):
9540         Use `write-region' instead of `save-buffer' to avoid running various
9541         hooks.  (Bug#17155)
9542         (describe-package-1): Same.  Insert newline at the end of the
9543         buffer if appropriate.
9545 2014-05-26  Juri Linkov  <juri@jurta.org>
9547         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9548         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9549         Add more modifiers: meta, control, shift, hyper, super, alt.
9550         (Bug#17439)
9552         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9553         to allow changing its value with `set-variable'.
9555 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9557         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9558         #; comments.
9559         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9560         New functions.
9561         (scheme-mode-variables): Set syntax-propertize-function instead of
9562         font-lock-syntactic-face-function.
9563         (scheme-font-lock-syntactic-face-function): Delete.
9565         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9567         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9568         (bug#17392).
9570 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
9572         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9573         for a temporary file name.
9575 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
9577         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
9579 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
9581         * net/dbus.el (dbus-init-bus, dbus-call-method)
9582         (dbus-call-method-asynchronously, dbus-send-signal)
9583         (dbus-method-return-internal, dbus-method-error-internal):
9584         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
9586 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
9588         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9589         methods which do not have a doc string.  (Bug#17490)
9591 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
9593         * textmodes/reftex-ref.el (reftex-format-special): Make it work
9594         also for AMS Math's \eqref macro.
9596 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
9598         Arrange to never byte-compile the generated -pkg.el file.
9600         * emacs-lisp/package.el (package-generate-description-file):
9601         Output first-line comment to set buffer-local var `no-byte-compile'.
9602         Suggested by Dmitry Gutov:
9603         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
9605 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
9607         Fix bug: Properly quote args to generated -pkg.el `define-package'.
9609         * emacs-lisp/package.el (package-generate-description-file):
9610         Inline `package--alist-to-plist'; rewrite to selectively
9611         quote alist values that are not self-quoting.
9612         (package--alist-to-plist): Delete func.
9614 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
9616         * term/xterm.el (xterm-function-map): Add mapping for shifted
9617         keypad keys.
9619 2014-05-24  Daniel Colascione  <dancol@dancol.org>
9621         * progmodes/subword.el (subword-find-word-boundary): Move point to
9622         correct spot before search.  (Bug#17580)
9624         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
9625         breaking the build.
9627 2014-05-24  Leo Liu  <sdl.web@gmail.com>
9629         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
9631 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9633         * minibuffer.el (completion--sreverse): Remove.
9634         (completion--common-suffix): Use `reverse' instead.
9635         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
9637 2014-05-22  Glenn Morris  <rgm@gnu.org>
9639         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
9641 2014-05-21  Daniel Colascione  <dancol@dancol.org>
9643         * files.el (interpreter-mode-alist): Add mksh.
9645         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
9646         derivative.
9647         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
9648         mksh. Improve custom spec; allow regular expressions.
9649         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
9650         (sh-after-hack-local-variables): New function.
9651         (sh-mode): Use it; respect file-local `sh-shell' variable.  (Bug#17333)
9652         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
9653         the normalization.
9654         (sh-canonicalize-shell): Rewrite to support regexes.
9656 2014-05-21  Leo Liu  <sdl.web@gmail.com>
9658         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
9660 2014-05-19  Leo Liu  <sdl.web@gmail.com>
9662         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
9664 2014-05-18  Glenn Morris  <rgm@gnu.org>
9666         * loadup.el:
9667         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
9669 2014-05-14  Sam Steingold  <sds@gnu.org>
9671         * progmodes/python.el (python-shell-get-or-create-process):
9672         Do not bind `current-prefix-arg' so that C-c C-z does not talk
9673         back unless requested.
9675 2014-05-14  Glenn Morris  <rgm@gnu.org>
9677         * subr.el (with-file-modes): New macro.
9678         * printing.el (pr-save-file-modes): Make obsolete.
9679         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
9680         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
9681         Add with-file-modes.
9682         * doc-view.el (doc-view-make-safe-dir):
9683         * epg.el (epg--start):
9684         * files.el (locate-user-emacs-file, make-temp-file)
9685         (backup-buffer-copy, move-file-to-trash):
9686         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
9687         * eshell/esh-util.el (eshell-with-private-file-modes)
9688         (eshell-make-private-directory):
9689         * net/browse-url.el (browse-url-mosaic):
9690         * obsolete/mailpost.el (post-mail-send-it):
9691         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
9692         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
9693         Use with-file-modes.
9695         * vc/emerge.el (emerge-make-temp-file): Simplify.
9697 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
9698             Stefan Monnier  <monnier@iro.umontreal.ca>
9700         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
9701         suffix (bug#15419).
9703 2014-05-14  Glenn Morris  <rgm@gnu.org>
9705         * vc/emerge.el (emerge-temp-file-prefix):
9706         Make pointless option obsolete.
9707         (emerge-temp-file-mode): Make non-functional option obsolete.
9709 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
9711         * net/browse-url.el (browse-url):
9712         Use `unhandled-file-name-directory' when setting `default-directory',
9713         in order to circumvent stalled remote connections.  (Bug#17425)
9715 2014-05-14  Glenn Morris  <rgm@gnu.org>
9717         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
9718         Optimize on Emacs, which has the relevant functions for ages.
9720 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9722         * simple.el (undo-make-selective-list): Obey undo-no-redo.
9724 2014-05-12  Sam Steingold  <sds@gnu.org>
9726         * calendar/time-date.el (seconds-to-string): New function to
9727         pretty print time delay in seconds.
9729 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9731         * mpc.el (mpc-format): Trim Date to the year.
9732         (mpc-songs-hashcons): Shorten the Date field.
9734         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
9735         into autoloading just because of a silly indirection.
9737 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
9739         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
9741 2014-05-12  Glenn Morris  <rgm@gnu.org>
9743         * emacs-lisp/find-gc.el: Move to ../admin.
9745         * printing.el (pr-version):
9746         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
9748         * net/browse-url.el (browse-url-mosaic):
9749         Create /tmp/Mosaic.PID as a private file.
9751 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9753         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
9754         (advice--member-p): If name is given, only compare the name.
9755         (advice--remove-function): Don't stop at the first match.
9756         (advice--normalize-place): New function.
9757         (add-function, remove-function): Use it.
9758         (advice--add-function): Pass the name, if any, to
9759         advice--remove-function.
9761 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
9763         * electric.el (electric-indent-post-self-insert-function): Don't use
9764         `pos' after modifying the buffer (bug#17449).
9766 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
9768         * calendar/todo-mode.el (todo-insert-item-from-calendar):
9769         Correct argument list to conform to todo-insert-item--basic.
9771 2014-05-12  Glenn Morris  <rgm@gnu.org>
9773         * files.el (cd-absolute): Test if directory is accessible
9774         rather than executable.  (Bug#17330)
9776         * progmodes/compile.el (recompile):
9777         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
9779         * net/browse-url.el (browse-url-mosaic):
9780         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
9781         This is CVE-2014-3423.
9783 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9785         * mouse.el: Use the normal toplevel loop while dragging.
9786         (mouse-set-point): Handle multi-clicks.
9787         (mouse-set-region): Handle multi-clicks for drags.
9788         (mouse-drag-region): Update call accordingly.
9789         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
9790         Use the normal event loop instead of a local while/read-event loop.
9791         (global-map): Remove redundant bindings for double/triple-mouse-1.
9792         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
9793         Generate synthetic down events when the protocol only sends up events.
9794         (xterm-mouse-last): Remove.
9795         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
9796         terminal parameter instead.
9797         (xterm-mouse--set-click-count): New function.
9798         (xterm-mouse-event): Detect/generate double/triple clicks.
9799         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
9801         * info.el (Info-quoted): New face.
9802         (Info-mode-font-lock-keywords): New var.
9803         (Info-mode): Use it.
9805         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
9806         are a hindrance for C-x C-e.
9808 2014-05-11  Leo Liu  <sdl.web@gmail.com>
9810         * net/rcirc.el (rcirc-sentinel): Fix last change.
9812 2014-05-08  Sam Steingold  <sds@gnu.org>
9814         * net/rcirc.el (rcirc-reconnect-delay): New user option.
9815         (rcirc-sentinel): Auto-reconnect to the server if
9816         `rcirc-reconnect-delay' is non-0 (but not more often than its
9817         value in case the host is off-line).
9819 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
9821         * progmodes/grep.el (lgrep): Fix a typo in last commit.
9823 2014-05-09  Glenn Morris  <rgm@gnu.org>
9825         * files.el (file-expand-wildcards):
9826         * man.el (Man-support-local-filenames):
9827         * printing.el (pr-i-directory, pr-interface-directory):
9828         * progmodes/grep.el (lgrep, rgrep):
9829         * textmodes/ispell.el (ispell-call-process)
9830         (ispell-call-process-region, ispell-start-process)
9831         (ispell-init-process): Use file-accessible-directory-p.
9833 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9835         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
9836         (xterm-mouse--read-event-sequence-1000): Return nil if something
9837         looks fishy.
9838         (xterm-mouse-event): Propagate it.
9839         (xterm-mouse-translate-1): Handle it.
9841 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
9843         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
9844         four slots of the parameter list are filled, make sure to pass it
9845         to the argument list of todo-insert-item--basic.
9847 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9849         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
9850         Add optional `seen' argument to detect and break infinite loops.
9852 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
9854         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
9855         (trace-unsafe, trace-use-tree): Make parentheses style be
9856         according to Emacs style.
9858 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
9860         * net/tramp-sh.el (tramp-remote-process-environment):
9861         Remove HISTFILE and HISTSIZE; it's too late to set them here.
9862         Add :version entry.
9863         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
9864         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
9865         extra "PSx=..." commands.
9866         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
9867         (Bug#17295)
9869         (tramp-uudecode): Replace the hard-coded temporary file name by a
9870         format specifier.
9871         (tramp-remote-coding-commands): Enhance docstring.
9872         (tramp-find-inline-encoding): Replace "%t" by a temporary file
9873         name.  (Bug#17415)
9874         This is CVE-2014-3424.
9876 2014-05-08  Glenn Morris  <rgm@gnu.org>
9878         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
9879         (find-gc-source-files): Update some names.
9880         (trace-call-tree): Simplify and update.
9881         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
9882         This is CVE-2014-3422.
9884 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9886         * minibuffer.el (completion--try-word-completion): Revert fix for
9887         Bug#15980 (bug#17375).
9889         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
9890         Always store button numbers in the same way in xterm-mouse-last;
9891         Don't burp is xterm-mouse-last is not set as expected.
9892         Never return negative indices.
9894 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
9896         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9897         Backtrack one char if the global/char-literal var matcher hits
9898         inside a string.  The next char could be the beginning of an
9899         expression expansion.
9901 2014-05-08  Glenn Morris  <rgm@gnu.org>
9903         * help-fns.el (describe-function-1): Test for an autoload before a
9904         macro, since `macrop' works on autoloads.  (Bug#17410)
9906 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9908         * electric.el (electric-indent-functions-without-reindent): Add yaml.
9910         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
9911         Make sure the new point we return is within the new string (bug#17239).
9913 2014-05-05  Daniel Colascione  <dancol@dancol.org>
9915         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9916         Port `gnu' pattern to rx.
9918 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
9920         Remove unneeded prompt when closing a buffer with active
9921         emacsclient ("Buffer ... still has clients"), #16548.
9922         * server.el (server-start): Remove the only call to:
9923         (server-kill-buffer-query-function): Remove.
9925 2014-05-04  Leo Liu  <sdl.web@gmail.com>
9927         * calendar/diary-lib.el (calendar-chinese-month-name-array):
9928         Defvar to pacify compiler.
9930 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
9932         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
9934 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9936         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9937         Use nil rather than `default' for the "default" appearance (bug#17388).
9938         * vc/ediff-util.el (ediff-inferior-compare-regions)
9939         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
9940         a misleading `default' value when it's really a boolean.
9941         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
9942         overlay is not visible.
9944 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
9946         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
9947         (todo-menu): Uncomment and update.
9949 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
9951         * calendar/todo-mode.el: Reimplement item editing to have the same
9952         basic user interface as item insertion, and make small UI and
9953         larger internal improvements to the latter.
9954         (todo-insert-item): Add reference to the Todo mode user manual to
9955         the documentation string.
9956         (todo-insert-item--basic): Rename from todo-basic-insert-item and
9957         adjust all callers.  Change signature to combine diary and
9958         nonmarking arguments.  Incorporate functionality of deleted item
9959         copying command and add error checking.  Remove detailed
9960         descriptions of the arguments from the documentation string, since
9961         this is treated in the Todo mode user manual.
9962         (todo-copy-item, todo-edit-multiline-item)
9963         (todo-edit-done-item-comment, todo-edit-item-header)
9964         (todo-edit-item-time, todo-edit-item-date-from-calendar)
9965         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
9966         (todo-edit-item-date-year, todo-edit-item-date-month)
9967         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
9968         Remove.
9969         (todo-edit-item): Reimplement as wrapper command for
9970         todo-edit-item--next-key and make it distinguish done and not done
9971         todo items.
9972         (todo-edit-item--text): New function, replacing old command
9973         todo-edit-item and incorporating deleted commands
9974         todo-edit-multiline-item and todo-edit-done-item-comment.
9975         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
9976         Use only numeric value of prefix argument.  Remove detailed
9977         descriptions of the arguments from the documentation string, since
9978         this is treated in the Todo mode user manual.
9979         (todo-edit-item--diary-inclusion): New function, replacing old
9980         command todo-edit-item-diary-inclusion and incorporating and fixing
9981         functionality of deleted command todo-edit-item-diary-nonmarking,
9982         making sure to remove todo-nondiary-marker when adding
9983         diary-nonmarking-symbol.
9984         (todo-edit-category-diary-inclusion): Make sure to delete
9985         diary-nonmarking-symbol when adding todo-nondiary-marker.
9986         (todo-edit-category-diary-nonmarking): Fix indentation.
9987         (todo-insert-item--parameters): Group diary and nonmarking
9988         parameters together.
9989         (todo-insert-item--apply-args): Adjust to signature of
9990         todo-insert-item--basic and incorporate copy parameter.
9991         Make small code improvements.
9992         (todo-insert-item--next-param): Improve prompt and adjust it to
9993         new parameter grouping.  Remove obsolete code.
9994         (todo-edit-item--param-key-alist)
9995         (todo-edit-item--date-param-key-alist)
9996         (todo-edit-done-item--param-key-alist): New defconsts.
9997         (todo-edit-item--prompt): New variable.
9998         (todo-edit-item--next-key): New function.
9999         (todo-key-bindings-t): Bind "e" to todo-edit-item.
10000         Remove bindings of deleted commands.
10002 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10004         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10006 2014-05-04  Glenn Morris  <rgm@gnu.org>
10008         * allout-widgets.el (allout-widgets-tally)
10009         (allout-decorate-item-guides):
10010         * menu-bar.el (menu-bar-positive-p):
10011         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10012         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10013         * progmodes/js.el (js--inside-param-list-p)
10014         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10015         * progmodes/prolog.el (region-exists-p):
10016         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10017         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10018         Doc fixes (replace `iff').
10020 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10022         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10024 2014-05-04  Leo Liu  <sdl.web@gmail.com>
10026         Support Chinese diary entries in calendar and diary.  (Bug#17393)
10027         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10028         (calendar-chinese-from-absolute-for-diary)
10029         (calendar-chinese-to-absolute-for-diary)
10030         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10031         (diary-chinese-list-entries): New functions to list and mark
10032         Chinese diary entries in the calendar window.
10033         (diary-chinese-anniversary)
10034         (diary-chinese-insert-anniversary-entry)
10035         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10036         (diary-chinese-insert-yearly-entry): New commands to insert
10037         Chinese diary entries.
10039         * calendar/diary-lib.el (diary-font-lock-keywords):
10040         Support font-locking Chinese dates.
10042         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10043         inserting Chinese diary entries.
10045         * calendar/calendar.el (diary-chinese-entry-symbol):
10046         New customizable variable.
10047         (calendar-mode-map): Add bindings for inserting Chinese diary
10048         entries.
10050 2014-05-03  Juri Linkov  <juri@jurta.org>
10052         * dired.el (dired-check-switches, dired-switches-recursive-p):
10053         New functions.  (Bug#17218)
10054         (dired-switches-escape-p, dired-move-to-end-of-filename):
10055         Use `dired-check-switches'.
10056         (dired-insert-old-subdirs, dired-build-subdir-alist)
10057         (dired-sort-R-check): Use `dired-switches-recursive-p'.
10059 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
10061         * simple.el (undo-make-selective-list): New algorithm fixes
10062         incorrectness of position adjustments when undoing in region.
10063         (Bug#17235)
10064         (undo-elt-crosses-region): Make obsolete.
10065         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10066         New functions to adjust positions using undo-deltas.
10068 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10070         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10071         the last consecutive closing paren (bug#17345).
10073 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
10075         * dired.el (dired-mode): make terminology for eXpunge command
10076         consistent.  (Bug#17276)
10078 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
10080         * dired.el (dired-initial-position-hook, dired-initial-position):
10081         Doc string fixes.
10083 2014-04-30  Glenn Morris  <rgm@gnu.org>
10085         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
10087 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
10089         * faces.el (face-spec-recalc): Apply X resources only after the
10090         defface spec has been applied. Thus, X resources are no longer
10091         overriden by the defface spec which also fixes issues on win32 where
10092         the toolbar coloring was wrong because it is set through X resources
10093         and was (wrongfully) overriden.  (Bug#16694)
10095 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10097         * textmodes/rst.el (electric-pair-pairs): Declare.
10098         (rst-mode): Set it (bug#17131).
10100 2014-04-30  Juri Linkov  <juri@jurta.org>
10102         * desktop.el (desktop-value-to-string): Let-bind `print-length'
10103         and `print-level' to nil.  (Bug#17351)
10105 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10107         * battery.el (battery-update): Handle the case where battery
10108         status is "N/A" (bug#17319).
10110 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10112         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
10113         to syntax-propertize.
10114         (ps-mode-auto-indent): Mark as obsolete.
10115         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10116         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10117         word regexp operators.
10118         (ps-mode-map): Move initialization into declaration.  Remove binding
10119         for TAB, RET, >, ], and }.
10120         (ps-mode-syntax-table): Move initialization into declaration.
10121         Don't give word syntax to non-word chars.
10122         (ps-run-mode-map): Move initialization into declaration.
10123         (ps-mode-menu-main): Remove auto-indent entry.
10124         (ps-mode-smie-rules): New function.
10125         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10126         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10127         (ps-mode--string-syntax-table): New const.
10128         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10129         New functions.
10130         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10131         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10133 2014-04-27  Daniel Colascione  <dancol@dancol.org>
10135         * term/xterm.el (xterm-paste): Use large finite timeout when
10136         reading event to avoid putting keys in this-command-keys.
10138 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10140         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10141         (perl-syntax-propertize-function): Use it.  Extend handling of
10142         here-docs to the unquoted case.
10144 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
10146         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10147         Use equal-including-properties to compare help-echo strings (bug#17331).
10149 2014-04-25  Leo Liu  <sdl.web@gmail.com>
10151         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10152         Fix syntax for @.  (Bug#17325)
10154 2014-04-25  Daniel Colascione  <dancol@dancol.org>
10156         * emacs-lisp/cl.el (gv): Require gv early to break eager
10157         macro-expansion cycles.
10159 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10161         * simple.el (region-active-p): Check there's a mark (bug#17324).
10163         * simple.el (completion-list-mode-map): Use choose-completion for the
10164         mouse binding as well (bug#17302).
10165         (completion-list-mode, completion-setup-function): Adjust docstring and
10166         echo area message accordingly.
10167         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10168         calling convention of choose-completion.
10169         * comint.el (comint-dynamic-list-completions):
10170         * term.el (term-dynamic-list-completions): Accept choose-completion.
10172         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10173         &, |, +, - and * can't be a division (bug#17317).
10175         * term/xterm.el (xterm--version-handler): Don't use modern xterm
10176         features on gnome-terminal (bug#16988).
10178 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
10180         Improve Scheme font-locking for (define ((foo ...) ...) ...).
10182         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10183         the declared object, ignore zero or more parens, not zero or one.
10185 2014-04-24  Leo Liu  <sdl.web@gmail.com>
10187         * progmodes/xscheme.el (xscheme-expressions-ring)
10188         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10189         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10190         (xscheme-allow-output-p, xscheme-prompt)
10191         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10193         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10194         Comment out unused functions.
10196 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10198         * info.el: Use lexical-binding and cl-lib.
10199         Use defvar-local and setq-local instead of make-local-variable.
10200         (Info-apropos-matches): Avoid add-to-list.
10201         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10203 2014-04-24  Daniel Colascione  <dancol@dancol.org>
10205         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10207 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10209         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10211 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
10213         * dired.el (dired-insert-set-properties): Do not consider
10214         subdirectory headings and empty lines to be information that
10215         `dired-hide-details-mode' should hide.  (Bug#17228)
10217 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10219         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10220         Remove test messages.
10221         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10222         and `target' twice.
10224 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10226         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10227         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10229         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10231 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10233         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10234         Set "IFS=" when using read builtin, in order to preserve spaces in
10235         the file name.  Add test messages for hunting a bug on hydra.
10236         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
10238 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10240         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10241         Don't prettify a word within a symbol.
10243 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
10245         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10246         possible.
10248 2014-04-22  Daniel Colascione  <dancol@dancol.org>
10250         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10251         use defun to define `function-put'.
10253 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10255         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10256         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10257         (lisp-mode-variables): Set font-lock-extra-managed-props.
10259         * emacs-lisp/byte-run.el (function-put): New function.
10260         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
10261         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10262         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10263         Use them.
10265 2014-04-22  Daniel Colascione  <dancol@dancol.org>
10267         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10268         Add `full-p' parameter; when nil, call `macroexpand' instead of
10269         `macroexpand-all'.
10271         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10272         Improve docstrings.
10274         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10275         Use lambda function values, not quoted lambdas.
10276         (byte-compile-recurse-toplevel): Remove extraneous &optional.
10278         * emacs-lisp/cl-macs.el
10279         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10280         (cl-struct-slot-value): Conditionally use aref or nth so that the
10281         compiler produces optimal code.
10283 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10285         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10286         (inline): Don't inline cl--set-elt.
10287         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10288         Define as inlinable instead.
10289         (cl-struct-set-slot-value): Remove.
10291         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10292         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10293         Use setf instead.
10295 2014-04-21  Daniel Colascione  <dancol@dancol.org>
10297         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10298         last two parameters after all.
10299         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10300         (cl--compiler-macro-assoc,cl-struct-slot-value)
10301         (cl-struct-set-slot-value): Stop using them.
10303 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10305         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10306         entry in image-mode-winprops-alist.
10308 2014-04-21  Daniel Colascione  <dancol@dancol.org>
10310         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10311         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10312         (byte-compile-toplevel-file-form): Use it.
10314         * emacs-lisp/cl-macs.el:
10315         (cl--loop-let): Properly destructure `while' clauses.
10317 2014-04-20  Daniel Colascione  <dancol@dancol.org>
10319         * vc/vc.el (vc-root-dir): New public autoloaded function for
10320         generically finding the current VC root.
10321         * vc/vc-hooks.el (vc-not-supported): New error.
10322         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10324 2014-04-20  Daniel Colascione  <dancol@dancol.org>
10326         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10327         argument.
10328         (cl--const-expr-val): cl--const-expr-val should macroexpand its
10329         argument in case we're inside a symbol-macrolet.
10330         (cl--do-arglist, cl--compiler-macro-typep)
10331         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10332         environment to `cl--const-expr-val'.
10333         (cl-struct-sequence-type,cl-struct-slot-info)
10334         (cl-struct-slot-offset, cl-struct-slot-value)
10335         (cl-struct-set-slot-value): New functions.
10337 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10339         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10340         assignments such as "case=hello" (bug#17297).
10342 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
10344         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10345         Do not autoload.
10346         (tramp-file-name-handler, tramp-completion-file-name-handler):
10347         Revert patch from 2014-04-10, it isn't necessary anymore.
10348         (tramp-autoload-file-name-handler)
10349         (tramp-register-autoload-file-name-handlers): New defuns.
10350         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10351         (tramp-register-file-name-handlers): Remove also
10352         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10353         Do not autoload its invocation, but eval it after loading of 'tramp.
10355         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10357         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10359 2014-04-17  Daniel Colascione  <dancol@dancol.org>
10361         Add support for bracketed paste mode; add infrastructure for
10362         managing terminal mode enabling and disabling automatically.
10364         * xt-mouse.el:
10365         (xterm-mouse-mode): Simplify.
10366         (xterm-mouse-tracking-enable-sequence)
10367         (xterm-mouse-tracking-disable-sequence): New constants.
10368         (turn-on-xterm-mouse-tracking-on-terminal)
10369         (turn-off-xterm-mouse-tracking-on-terminal):
10370         Use tty-mode-set-strings and tty-mode-reset-strings terminal
10371         parameters instead of random hooks.
10372         (turn-on-xterm-mouse-tracking)
10373         (turn-off-xterm-mouse-tracking): Delete.
10375         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10376         (xterm-paste-ending-sequence): New constant.
10377         (xterm-paste): New command used for bracketed paste support.
10379         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10380         (terminal-init-xterm-bracketed-paste-mode): New function.
10381         (terminal-init-xterm): Call it.
10382         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10383         and tty-mode-reset-strings instead of random hooks.
10384         (xterm-turn-on-modify-other-keys)
10385         (xterm-turn-off-modify-other-keys)
10386         (xterm-remove-modify-other-keys): Delete obsolete functions.
10388         * term/screen.el: Rewrite to just use the xterm code.
10389         Add copyright notice.  Mention tmux.
10391 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
10393         * image-mode.el (image-mode-window-put): Also update the property of
10394         the "default window".
10395         * doc-view.el (doc-view-new-window-function): If no window
10396         exists, move to the last known page.
10398 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10400         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10401         here-documents (bug#17262).
10403 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
10405         * term/pc-win.el (x-list-fonts, x-get-selection-value):
10406         Provide doc strings, as required by snarf-documentation.
10408 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10410         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10411         arg of overlays-at.  Use `invisible-p'.
10413         * obsolete/lucid.el (extent-at):
10414         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10415         overlays-at.
10416         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10418 2014-04-16  João Távora  <joaotavora@gmail.com>
10420         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10421         links.  (Bug#17217).
10423 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10425         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10426         Use mapc to loop over a vector.  (Bug#17257).
10428 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
10430         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10431         patch, there are new problems with file names containing spaces.
10432         Get rid of backticks.  (Bug#17238)
10434 2014-04-16  João Távora  <joaotavora@gmail.com>
10436         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10437         possible bug.
10439 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
10441         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10442         (blink-cursor-mode): Mention customization variables and the
10443         effect of 'blink-cursor-blinks'.
10445 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
10447         * simple.el (undo): Prevent insertion of identity mapping into
10448         undo-equiv-table so as undo-only does not inf loop in the presence
10449         of consecutive nils in undo list.
10451 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
10453         * faces.el (make-face): Deprecate optional argument as it is no
10454         longer needed/used since the conditional X resources handling
10455         has been pushed down to make-face-x-resource-internal itself.
10456         (make-empty-face): Don't pass optional argument to make-face.
10458 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
10460         * savehist.el (savehist-save): Remove workaround for a read-passwd
10461         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
10462         noticing that the shim was still present.
10464 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10466         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10468 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
10470         * faces.el (face-set-after-frame-default): Remove unused local variable.
10472 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10474         * progmodes/grep.el: Use lexical-binding.
10475         (grep-expand-template): Pass explicit lexical env to `eval'.
10476         (zrgrep): Let-bind grep-find-template explicitly.
10478         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10479         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10481 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
10483         * international/characters.el <standard-case-table>: Add entries
10484         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
10485         Set category of Coptic characters be 'g' (Greek).
10487 2014-04-12  Leo Liu  <sdl.web@gmail.com>
10489         * progmodes/octave.el (completion-table-with-cache):
10490         Define if not available.
10491         (octave-goto-function-definition, octave-sync-function-file-names)
10492         (octave-find-definition-default-filename):
10493         Backquote upattern for compatibility.
10495 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
10497         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10498         name twice due to backticks.  (Bug#17238)
10500 2014-04-12  Glenn Morris  <rgm@gnu.org>
10502         * term/w32-win.el (x-win-suspend-error):
10503         * term/x-win.el (x-win-suspend-error): Sync docs.
10505 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
10507         * faces.el (make-face): Remove deprecated optional argument.
10508         The conditional application of X resources is handled directly by
10509         make-face-x-resource-internal since Emacs 24.4.
10510         (make-empty-face): Don't pass optional argument to make-face.
10512 2014-04-11  Glenn Morris  <rgm@gnu.org>
10514         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
10516 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10518         Ediff's overlay priorities cause more trouble than they solve.
10519         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10520         (ediff-highest-priority): Remove function (bug#17234).
10521         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10522         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10523         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10524         overlay priorities.
10526 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
10528         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10529         entry; use symbol boundaries to avoid mis-matches.
10531 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
10533         * net/tramp.el (tramp-file-name-handler)
10534         (tramp-completion-file-name-handler): Avoid recursive loading.
10536         * net/tramp-sh.el (tramp-make-copy-program-file-name):
10537         Quote result also locally.
10539 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10541         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10542         Remove left-over code.
10544         * newcomment.el (comment-indent-new-line): Sink code where it's used.
10545         Reuse the previous comment's indentation unconditionally if it's on its
10546         own line.
10548 2014-04-09  Daniel Colascione  <dancol@dancol.org>
10550         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10551         `no-syntax-crossing' arguments.  Forward to `up-list'.
10552         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10553         Implement logic for escaping from strings.  Use narrowing to deal
10554         with corner cases.
10556 2014-04-09  Leo Liu  <sdl.web@gmail.com>
10558         * net/rcirc.el (rcirc-connection-info): New variable.
10559         (rcirc-connect): Use it to store connection info.
10560         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10561         for killed process.
10562         (rcirc-cmd-reconnect): New command.  (Bug#17045)
10563         (rcirc-mode, set-rcirc-encode-coding-system)
10564         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10566 2014-04-09  Daniel Colascione  <dancol@dancol.org>
10568         * emacs-lisp/cl-indent.el: Add comment claiming
10569         facility is also good for elisp.
10570         (lisp-indent-find-method): New function.
10571         (common-lisp-indent-function): Recognize cl-loop.
10572         (common-lisp-indent-function-1): Recognize cl constructs; use
10573         `lisp-indent-find-method' instead of `get' directly.
10574         (if): Use else-body style for elisp.
10576 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
10578         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10579         Module methods.  (Bug#17216)
10581 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10583         * help.el (describe-bindings): Fix buffer handling (bug#17210).
10584         (describe-bindings-internal): Mark obsolete.
10586 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10588         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10589         buffer-file-name, and buffer-file-truename any more.
10591 2014-04-08  Leo Liu  <sdl.web@gmail.com>
10593         Use lexical-binding and require cl-lib.
10594         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10595         (rcirc-handler-generic, rcirc-fill-paragraph)
10596         (rcirc-format-response-string, rcirc-target-buffer)
10597         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10598         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10599         (rcirc-ctcp-sender-PING, rcirc-browse-url)
10600         (rcirc-markup-timestamp, rcirc-markup-attributes)
10601         (rcirc-markup-my-nick, rcirc-markup-urls)
10602         (rcirc-markup-bright-nicks, rcirc-markup-fill)
10603         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10604         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
10605         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
10606         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
10607         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
10608         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
10609         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
10610         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
10611         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
10612         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
10613         use cl-lib.
10615 2014-04-07  João Távora  <joaotavora@gmail.com>
10617         * elec-pair.el (electric-pair--syntax-ppss):
10618         When inside comments parse from comment beginning.
10619         (electric-pair--balance-info): Fix typo in comment.
10620         (electric-pair--in-unterminated-string-p): Delete.
10621         (electric-pair--unbalanced-strings-p): New function.
10622         (electric-pair-string-bound-function): New var.
10623         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10624         according to `electric-pair--in-unterminated-string-p'
10626         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10627         Inhibit quote pairing if point-max is inside an unterminated string.
10628         (electric-pair--looking-at-unterminated-string-p): Delete.
10629         (electric-pair--in-unterminated-string-p): New function.
10631 2014-04-07  Glenn Morris  <rgm@gnu.org>
10633         * shell.el (shell-directory-tracker):
10634         Go back to just ignoring failures.  (Bug#17159)
10636 2014-04-07  João Távora  <joaotavora@gmail.com>
10638         Fix `electric-pair-delete-adjacent-pairs' in modes binding
10639         backspace.  (Bug#16981)
10640         * elec-pair.el (electric-pair-backward-delete-char): Delete.
10641         (electric-pair-backward-delete-char-untabify): Delete.
10642         (electric-pair-mode-map): Bind backspace to a menu item filtering
10643         a new `electric-pair-delete-pair' command.
10644         (electric-pair-delete-pair): New command.
10646         * progmodes/python.el (python-electric-pair-string-delimiter):
10647         Fix triple-quoting electricity.  (Bug#17192)
10649         * elec-pair.el (electric-pair-post-self-insert-function):
10650         Don't skip whitespace when `electric-pair-text-pairs' and
10651         `electric-pair-pairs' were used. syntax to
10652         electric-pair--skip-whitespace.  (Bug#17183)
10654 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
10656         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
10657         "<F>".  (Bug#17199)
10659 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10661         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
10662         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
10664 2014-04-07  Glenn Morris  <rgm@gnu.org>
10666         * help.el (view-lossage): Doc tweak.
10668 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
10670         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
10671         only when inhibit-x-resources is nil, and do that earlier in the
10672         function.  Doc fix.  (Bug#16694)
10673         (face-spec-choose): Accept additional optional argument, whose
10674         value is returned if no matching attributes are found.
10675         (face-spec-recalc): Use the new optional argument when calling
10676         face-spec-choose.  (Bug#16378)
10677         (make-face-x-resource-internal): Do nothing when
10678         inhibit-x-resources is non-nil.  Don't touch the default face if
10679         reversed video is given--as was done in previous versions of Emacs.
10680         (face-set-after-frame-default): Don't call
10681         make-face-x-resource-internal here.  (Bug#16434)
10683 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
10685         * doc-view.el (doc-view-bookmark-jump):
10686         Use `bookmark-after-jump-hook' to jump to the right page after the
10687         buffer is shown in a window.  (bug#16090)
10689 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
10691         * international/characters.el (mirroring): Fix last change:
10692         instead of loading uni-mirrored.el explicitly, do that implicitly
10693         by creating the 'mirroring' uniprop table.  This avoids announcing
10694         the loading of uni-mirrored.el.
10696 2014-04-07  Glenn Morris  <rgm@gnu.org>
10698         * files.el (buffer-stale--default-function)
10699         (buffer-stale-function, revert-buffer--default):
10700         * autorevert.el (auto-revert-buffers): Doc tweaks.
10702 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
10704         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
10706 2014-04-07  Glenn Morris  <rgm@gnu.org>
10708         * files.el (make-backup-file-name-function)
10709         (make-backup-file-name, make-backup-file-name--default-function)
10710         (make-backup-file-name-1, find-backup-file-name)
10711         (revert-buffer-function, revert-buffer-insert-file-contents-function)
10712         (buffer-stale--default-function, buffer-stale-function)
10713         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
10714         (revert-buffer, revert-buffer--default)
10715         (revert-buffer-insert-file-contents--default-function):
10716         Doc fixes related to defaults no longer being nil.
10717         (make-backup-file-name-function): Bump :version.
10718         Restore nil as a valid but deprecated custom type.
10720 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10722         * progmodes/perl-mode.el (perl-syntax-propertize-function):
10723         Handle $' used as a variable (bug#17174).
10725         * progmodes/perl-mode.el (perl-indent-new-calculate):
10726         Handle forward-sexp failure (bug#16985).
10727         (perl-syntax-propertize-function): Add "foreach" and "for" statement
10728         modifiers introducing expressions (bug#17116).
10730 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10732         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
10734 2014-04-05  Leo Liu  <sdl.web@gmail.com>
10736         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10737         Add define-compilation-mode.
10739 2014-04-04  João Távora  <joaotavora@gmail.com>
10741         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
10742         parse from comment beginning.
10743         (electric-pair--balance-info): Fix typo in comment.
10744         (electric-pair--in-unterminated-string-p): Delete.
10745         (electric-pair--unbalanced-strings-p): New function.
10746         (electric-pair-string-bound-function): New var.
10747         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
10748         according to `electric-pair--in-unterminated-string-p'.
10750 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10752         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
10753         Move declaration before first use.
10754         (reftex-move-to-next-arg): Silence compiler warning.
10756 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
10758         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
10759         Use `window-total-width' instead of `window-width'.
10761 2014-04-03  Daniel Colascione  <dancol@dancol.org>
10763         * subr.el (set-transient-map): Remove rms's workaround entirely;
10764         use new `suspicious-object' subr to mark our lambda for closer
10765         scrutiny during gc.
10767 2014-04-02  Richard Stallman  <rms@gnu.org>
10769         * subr.el (set-transient-map): Comment out previous change.
10771 2014-04-02  Glenn Morris  <rgm@gnu.org>
10773         * menu-bar.el (menu-bar-file-menu):
10774         * vc/ediff.el (ediff-current-file):
10775         Update for revert-buffer-function no longer being nil by default.
10777         * simple.el (command-execute): Respect nil disabled-command-function.
10779 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10781         * simple.el (command-execute): Do not execute the command when it
10782         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
10784 2014-04-02  Juri Linkov  <juri@jurta.org>
10786         * dired-aux.el (dired-compress-file): Don't use string-match-p
10787         because its match data is used afterwards.
10789 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10791         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
10792         0 like nil.
10794 2014-04-02  João Távora  <joaotavora@gmail.com>
10796         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10797         Inhibit quote pairing if point-max is inside an unterminated string.
10798         (electric-pair--looking-at-unterminated-string-p):
10799         Delete.
10800         (electric-pair--in-unterminated-string-p): New function.
10802 2014-04-01  Daniel Colascione  <dancol@dancol.org>
10804         * minibuffer.el (minibuffer-complete): Prevent assertion failure
10805         when trying to complete the prompt.
10807 2014-03-31  Leo Liu  <sdl.web@gmail.com>
10809         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10810         Refactor out eldoc-documentation-function-default.
10811         (eldoc-documentation-function-default): New function.
10812         (eldoc-documentation-function): Change value.
10814 2014-03-31  Glenn Morris  <rgm@gnu.org>
10816         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
10818         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
10819         (vhdl-compose-components-package, vhdl-compose-configuration):
10820         Abbreviate default-directory (missing from some previous upstream sync).
10822 2014-03-31  Reto Zimmermann  <reto@gnu.org>
10824         Sync with upstream vhdl mode v3.35.2.
10825         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10826         (top-level): No longer require assoc.
10827         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
10828         New functions.  Use throughout to replace aget etc.
10829         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
10830         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
10831         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
10832         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
10833         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
10834         except `vhdl-compiler'.
10835         (vhdl-error-regexp-add-emacs): Remove all other compilers,
10836         when appropriate.
10838 2014-03-31  Glenn Morris  <rgm@gnu.org>
10840         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
10841         Revert 2014-03-26 merge goof; go back to using defalias.
10843 2014-03-30  Daniel Colascione  <dancol@dancol.org>
10845         * comint.el (comint-send-input):
10846         Deactivate completion-in-region-mode before we send comint input.
10847         (Bug#17139).
10849         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
10850         on keyboard-quit.
10852 2014-03-29  Glenn Morris  <rgm@gnu.org>
10854         * textmodes/reftex.el: Manage most autoloads automatically.
10855         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
10856         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
10857         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
10858         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
10859         * textmodes/reftex-toc.el: Set generated-autoload-file,
10860         and add autoload cookies for reftex.el.
10861         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
10863 2014-03-28  Glenn Morris  <rgm@gnu.org>
10865         * cus-start.el (report-emacs-bug-address): Set custom properties.
10866         * mail/emacsbug.el (report-emacs-bug-address):
10867         Variable is now defined in emacs.c.
10869         * mail/emacsbug.el (report-emacs-bug):
10870         Include system-configuration-features.
10872 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
10874         * simple.el (cycle-spacing): Never delete spaces on first run by
10875         default, but do so in a new 'fast mode and if there are already
10876         N spaces (the previous behavior).
10877         Compare N with its value in previous invocation so that changing
10878         prefix argument restarts `cycle-spacing' sequence.
10879         The idea is that with this change, binding M-SPC to
10880         `cycle-spacing' should not introduce any changes in behavior of
10881         the binding so long as users do not type M-SPC twice in a raw with
10882         the same prefix argument or lack thereof.
10884 2014-03-28  Glenn Morris  <rgm@gnu.org>
10886         * faces.el (term-file-aliases): New variable.
10887         (tty-run-terminal-initialization): Respect term-file-aliases.
10888         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
10889         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
10890         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
10892 2014-03-27  Glenn Morris  <rgm@gnu.org>
10894         * startup.el (inhibit-startup-hooks): Doc tweak.
10895         (normal-top-level): Simplify running of hooks.
10896         For window-setup-hook, respect inhibit-startup-hooks.
10897         (command-line-1): Don't set window-setup-hook to nil.
10899         Allow selective autoloading from obsolete/ directory.
10900         * Makefile.in (obsolete-autoloads): New rule.
10901         (autoloads): Run obsolete-autoloads.
10902         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
10903         * simple.el (iswitchb-mode): Remove hand-written autoloads.
10905 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
10907         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10908         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
10910         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10911         Don't propertize `?' or `!' as symbol constituent when after
10912         colon.  (Bug#17097)
10914 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
10916         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
10917         which is no longer needed and causes trouble in GTK builds (bug#17046).
10919         * emacs-lisp/package-x.el (package--archive-contents-from-url):
10920         Use url-insert-file-contents; package-handle-response no longer exists.
10922 2014-03-26  Daniel Colascione  <dancol@dancol.org>
10924         * simple.el (process-menu-mode-map): New variable.
10925         (process-menu-delete-process): New command.
10927 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
10929         * emacs-lisp/package.el: Fix bug#16733 (again).
10930         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
10931         (url-http-target-url): Remove unused declarations.
10932         (package-handle-response): Remove.
10933         (package--with-work-buffer): Use url-insert-file-contents and simplify.
10934         (package--download-one-archive): Use current-buffer instead of
10935         dynamic binding of `buffer'.
10936         (describe-package-1): Do not decode readme-string.
10938 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
10940         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
10942         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
10943         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
10944         `remote-file-name-inhibit-cache' to nil in the second pass.
10945         (tramp-find-executable): Do not call "which" on SunOS.
10946         (tramp-send-command-and-check): Fix docstring.
10947         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
10948         check whether source directory has set the sticky bit.
10950 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
10952         * simple.el (primitive-undo): Only process marker adjustments
10953         validated against their corresponding (TEXT . POS).  Issue warning
10954         for lone marker adjustments in undo history.  (Bug#16818)
10955         (undo-make-selective-list): Add marker adjustments to selective
10956         undo list based on whether their corresponding (TEXT . POS) is in
10957         the region.  Remove variable adjusted-markers, which was unused
10958         and only non nil during undo-make-selective-list.
10959         (undo-elt-in-region): Return nil when passed a marker adjustment
10960         and explain in function doc.
10962 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
10964         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
10966 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
10968         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
10969         Match special global variables without curlies, too.
10970         (ruby-font-lock-keywords): Simplify the matcher for special global
10971         variables.  Don't require a non-word character after the variable.
10972         (Bug#17057)
10974 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10976         * simple.el (redisplay-highlight-region-function): Increase priority of
10977         overlay to make sure boundaries are visible (bug#15899).
10979 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
10981         * frameset.el (frameset--initial-params): Fix typo in parameter name.
10982         (frameset-restore): Compare display strings with equal.
10984         * frame.el (make-frame): Don't quote display name in error message,
10985         it is already a string.
10987 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10989         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
10990         the password.
10992 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
10994         * emacs-lisp/package.el (package--add-to-archive-contents):
10995         Include already installed and built-in packages in
10996         `package-archive-contents'.
10997         (package-install): Don't include already installed packages in the
10998         options during interactive invocation.  (Bug#16762)
10999         (package-show-package-list): If the buffer is already displayed in
11000         another window, switch to that window.
11002 2014-03-26  Reto Zimmermann  <reto@gnu.org>
11004         Sync with upstream vhdl mode v3.35.1.
11005         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11006         (vhdl-compiler-alist): Doc fix.
11007         (vhdl-goto-line): Remove.
11008         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11009         (vhdl-mode) <paragraph-start>: Fix value.
11010         (vhdl-fix-statement-region): Not `for' in wait-statement.
11011         (vhdl-beautify-region): Also (un)tabify.
11012         (vhdl-get-visible-signals):
11013         Scan declarative part of generate statements.
11014         (vhdl-template-record): Fix indentation for record type declaration.
11015         (vhdl-expand-abbrev, vhdl-expand-paren):
11016         Revert to using fset again rather than defalias.
11017         (vhdl-scan-directory-contents): Tweak.
11018         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11019         (vhdl-compose-components-package):
11020         Replace vhdl-goto-line with forward-line.
11021         (top-level): Tweak speedbar frame selection.
11022         (vhdl-generate-makefile-1): Support for compilers with no
11023         unit-to-file name mapping (create directory with dummy files).
11025 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
11027         Sync with upstream verilog-mode revision 702457d.
11028         * progmodes/verilog-mode.el (verilog-mode-version): Update.
11029         (create-lockfiles): Declare.
11030         (verilog-read-decls): Fix module header imports, bug709.
11031         Reported by Victor Lau.
11032         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
11033         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11034         interface-only modules, bug721.  Reported by Dean Hoyt.
11036 2014-03-26  Glenn Morris  <rgm@gnu.org>
11038         * obsolete/gulp.el: Move here from emacs-lisp/.
11040         * files.el (lock-buffer, unlock-buffer, file-locked-p):
11041         Remove fallback aliases, since they are always defined now.
11043 2014-03-24  Daniel Colascione  <dancol@dancol.org>
11045         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11046         instead of cl-loop search function.
11048 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
11050         * calendar/parse-time.el (parse-time-iso8601-regexp)
11051         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11052         it more generally.
11054 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
11056         * net/dns.el (network-interface-list): Define for XEmacs.
11058 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
11060         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11061         the network interfaces changed.
11062         (dns-query): Use it to flush the data.
11064 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
11066         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11068 2014-03-23  Daniel Colascione  <dancol@dancol.org>
11070         Change subword-mode to use `find-word-boundary-function-table' and
11071         replace `capitalized-words-mode'.  Also, convert to lexical binding.
11072         * progmodes/cap-words.el: Delete now-obsolete file.
11073         * progmodes/subword.el: Reimplement using
11074         `find-word-boundary-function-table'.
11075         (subword-mode-map): Hollow out.
11076         (capitalized-words-mode): Define as obsolete alias for
11077         `subword-mode'.
11078         (subword-mode, superword-mode): Tweak documentation to reflect new
11079         implementation; call `subword-setup-buffer'.
11080         (subword-forward, subword-capitalize): Add underscore to indicate
11081         unused variable.
11082         (subword-find-word-boundary-function-table): New constant.
11083         (subword-empty-char-table): New constant.
11084         (subword-setup-buffer): New function.
11085         (subword-find-word-boundary): New function.
11087 2014-03-23  Daniel Colascione  <dancol@dancol.org>
11089         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11090         list to look for keyword arguments instead of `memq', fixing
11091         (Bug#3647) --- unfortunately, only for freshly-compiled code.
11092         Please make bootstrap.
11094 2014-03-22  Glenn Morris  <rgm@gnu.org>
11096         * dired.el (dired-read-regexp): Make obsolete.
11097         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11098         (dired-flag-files-regexp):
11099         * dired-aux.el (dired-mark-read-regexp):
11100         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11102         * startup.el (fancy-startup-text):
11103         * help.el (describe-gnu-project): Visit online info about GNU project.
11105         * help-fns.el (help-fns--interactive-only): New function.
11106         (help-fns-describe-function-functions): Add the above function.
11107         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11108         (next-line, previous-line): Remove hand-written interactive-only
11109         information from doc strings, it is auto-generated now.
11110         * bookmark.el (bookmark-write):
11111         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11112         (epa-mail-import-keys): Mark interactive-only,
11113         and remove hand-written interactive-only information from doc strings.
11114         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11115         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11116         * files.el (not-modified):
11117         * simple.el (mark-whole-buffer): Mark interactive-only.
11119         * emacs-lisp/byte-run.el (defun-declarations-alist):
11120         Add interactive-only.  Doc tweak.
11121         (macro-declarations-alist): Doc tweak.
11122         * subr.el (declare): Doc tweak (add xref to manual).
11123         * comint.el (comint-run):
11124         * files.el (insert-file-literally, insert-file):
11125         * replace.el (replace-string, replace-regexp):
11126         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11127         (delete-forward-char, goto-line, insert-buffer, next-line)
11128         (previous-line): Set interactive-only via declare.
11130 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
11132         * emacs-lisp/package.el (package-desc): Use the contents of the
11133         quoted form, not its cdr.  (Bug#16873)
11135 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
11137         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11138         benefit of doc.c; change parameter profile to match the X function.
11140 2014-03-22  Leo Liu  <sdl.web@gmail.com>
11142         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11143         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
11145 2014-03-21  Richard Stallman  <rms@gnu.org>
11147         * battery.el (battery-linux-sysfs): Search for each field
11148         from the beginning of the buffer.
11150         * subr.el (set-transient-map): Clear out function and value
11151         of the temporary symbol when we're done with it.
11153         * mail/rmailsum.el (rmail-summary-delete-forward):
11154         Optimize case of reaching end and handling count.
11155         (rmail-summary-mark-deleted): Optimize when N is current msg.
11156         Don't create new summary line.
11157         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11158         (rmail-summary-undelete-many): Rewrite for speed.
11159         (rmail-summary-msg-number): New function.
11161         * mail/rmail.el (rmail-delete-message): Update summary.
11162         (rmail-undelete-previous-message): Handle repeat count arg.
11163         (rmail-delete-backward, rmail-delete-forward): Likewise.
11165 2014-03-21  Daniel Colascione  <dancol@dancol.org>
11167         * mail/emacsbug.el (report-emacs-bug): Include memory usage
11168         information in bug reports.
11170 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
11172         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11173         and `tramp-copy-env'.
11175         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11176         (tramp-maybe-open-connection): Handle `tramp-login-env'.
11178 2014-03-21  Glenn Morris  <rgm@gnu.org>
11180         * electric.el (electric-indent-post-self-insert-function): Add doc.
11182 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
11184         * emacs-lisp/package.el (package-compute-transaction):
11185         Use `version-list-<=' to compare the requirement version against
11186         the version of package already to be installed.  Update the error
11187         message.  (Bug#16826)
11189         * progmodes/ruby-mode.el (ruby-smie-rules):
11190         Add indentation rule for ` @ '.  (Bug#17050)
11192 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
11194         * align.el (align-regexp): Remove superfluous backslash.
11196         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11197         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11198         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11199         Fix docstring typos.
11200         (ffap-next): Use C-u in docstring.
11201         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11202         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11203         Remove superfluous backslashes.
11204         (ffap-string-at-point): Reflow docstring.
11206         * server.el (server-host): Reflow docstring.
11207         (server-unload-function): Fix docstring typo.
11208         (server-eval-at): Remove superfluous backslash.
11210         * skeleton.el (skeleton-insert): Remove superfluous backslash.
11211         (skeleton-insert): Doc fix.
11212         (skeleton-insert): Reflow docstring.
11214         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11215         (tty-color-approximate, tty-color-by-index, tty-color-values)
11216         (tty-color-desc): Remove superfluous backslashes.
11218 2014-03-21  Glenn Morris  <rgm@gnu.org>
11220         * cus-start.el (history-length): Bump :version.
11222         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11223         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11224         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11225         Don't set `make-backup-files'.
11227         * info.el (info--prettify-description): New function,
11228         to give info-finder descriptions consistent case, punctuation.
11229         (Info-finder-find-node): Use it.  Sort packages.
11230         Refer to "description" rather than "commentary".
11232 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
11234         * frameset.el (frameset--print-register): New function.
11235         (frameset-to-register): Use it.
11237 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
11239         * progmodes/hideif.el (hif-string-to-number): New function.
11240         (hif-tokenize): Use it to understand non-decimal floats.
11242         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11244         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
11246 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11248         * electric.el (electric-newline-and-maybe-indent): New command.
11249         Bind it globally to C-j.
11250         (electric-indent-mode): Don't mess with the global map any more.
11251         Don't drop the post-self-insert-hook is some buffer is still using it
11252         (bug#16770).
11254         * bindings.el (global-map): Remove C-j binding.
11256         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11257         the docstring of functions advised before dumping (bug#16993).
11259 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
11261         * ps-print.el (ps-generate-postscript-with-faces):
11262         Explicitly deactivate the mark (bug#16866).
11263         * simple.el (deactivate-mark): Update region highlight.
11265 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
11267         * emacs-lisp/package.el (describe-package-1):
11268         Decode commentary (bug#16733).
11270 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
11272         * custom.el (defcustom): Doc fix: recommend avoiding destructive
11273         modification of the value argument of :set (bug#16755).
11275 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11277         * simple.el (newline-and-indent): Do autofill (bug#17031).
11279 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
11281         * newcomment.el (comment-normalize-vars): Only add escaping check
11282         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
11283         (comment-beginning): Use `narrow-to-region' instead of moving back
11284         one character.
11285         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11286         (comment-start-skip): Update the docstring.
11288 2014-03-18  Richard Stallman  <rms@gnu.org>
11290         * dired.el (dired-display-file): Force use of other window.
11292 2014-03-18  Daniel Colascione  <dancol@dancol.org>
11294         * startup.el (tty-handle-args): Remove debug message from 2007.
11296 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11298         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11299         (advice--make-interactive-form): Use it to avoid (auto)loading function.
11300         (advice--make-1, advice-add, advice-remove):
11301         Remove braindead :advice-pending hack.
11303 2014-03-17  Glenn Morris  <rgm@gnu.org>
11305         * calendar/calendar.el (calendar-generate-month): Apply weekend
11306         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
11308 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
11310         * net/tramp.el (tramp-action-out-of-band): Read pending output.
11311         (tramp-call-process): Trace also DESTINATION.
11313         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11314         Quote file names when they are local.  Remove superfluous trace.
11316 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
11318         * newcomment.el (comment-beginning): If `comment-start-skip'
11319         doesn't match, move back one char and try again.  (Bug#16971)
11321         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11322         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11323         Set `comment-start-skip' to a simpler value that doesn't try to
11324         check if the semicolon is escaped (this is handled by
11325         `syntax-ppss' now).  (Bug#16971)
11327         * progmodes/scheme.el (scheme-mode-variables): Same.
11329 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
11331         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11332         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11333         current (Bug#16816, Bug#17007).
11334         (with-current-buffer-window): New macro doing the same as
11335         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11336         * help.el (help-print-return-message): Warn in doc-string to not
11337         use this in `with-help-window'.
11338         (describe-bindings-internal): Call `describe-buffer-bindings'
11339         from within help buffer.  See Juanma's scenario in (Bug#16816).
11340         (with-help-window): Update doc-string.
11341         * dired.el (dired-mark-pop-up):
11342         * files.el (save-buffers-kill-emacs):
11343         * register.el (register-preview): Use `with-current-buffer-window'
11344         instead of `with-temp-buffer-window'.
11346 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
11348         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11349         Implement inserting into current buffer, documented in their docstrings.
11350         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11351         (rst-section-tree-point, rst-forward-section, rst-indent)
11352         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11353         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11354         (rst-font-lock-handle-adornment-pre-match-form)
11355         (rst-repeat-last-character): Reflow docstrings.
11356         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11357         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11358         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11359         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11360         Fix docstring typos.
11361         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11362         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11363         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11365 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
11367         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11368         for compatibility with other ports.
11369         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
11370         from the -xrm command line argument, but in the Nextstep port its value
11371         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11373         * progmodes/python.el (defconst, python-syntax-count-quotes)
11374         (python-indent-region, python-indent-shift-right)
11375         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11376         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11377         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11378         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11379         (inferior-python-mode, python-shell-make-comint, run-python-internal)
11380         (python-shell-buffer-substring, python-shell-send-buffer)
11381         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11382         (python-completion-complete-at-point, python-fill-docstring-style)
11383         (python-eldoc-function, python-imenu-format-item-label)
11384         (python-imenu-format-parent-item-label)
11385         (python-imenu-format-parent-item-jump-label)
11386         (python-imenu--build-tree, python-imenu-create-index)
11387         (python-imenu-create-flat-index): Fix docstring typos.
11388         (python-indent-context, python-shell-prompt-regexp, run-python):
11389         Remove superfluous backslashes.
11390         (python-indent-line, python-nav-beginning-of-defun)
11391         (python-shell-get-buffer, python-shell-get-process)
11392         (python-info-current-defun, python-info-current-line-comment-p)
11393         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11394         (python-indent-post-self-insert-function, python-shell-send-file)
11395         (python-shell-completion-get-completions)
11396         (python-shell-completion-complete-or-indent)
11397         (python-eldoc--get-doc-at-point): Reflow docstrings.
11399 2014-03-14  Glenn Morris  <rgm@gnu.org>
11401         * emacs-lisp/package.el (package-menu-mode-map):
11402         Replace use of obsolete function alias.  Tweak menu item text.
11404         * info.el (Info-finder-find-node):
11405         Ignore the `emacs' metapackage.  (Bug#10813)
11407         * finder.el (finder-list-matches): Include unversioned packages
11408         in the result of a keyword search.
11410         * finder.el (finder--builtins-descriptions): New constant.
11411         (finder-compile-keywords): Use finder--builtins-descriptions.
11413 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
11415         * simple.el (blink-matching-paren): Describe the new value,
11416         `jump', enabling the old behavior.
11417         (blink-matching-open): Use that value.  (Bug#17008)
11419 2014-03-14  Glenn Morris  <rgm@gnu.org>
11421         * finder.el (finder-no-scan-regexp): Add leim-list.
11422         (finder-compile-keywords):
11423         Don't skip files with same basename.  (Bug#14010)
11424         * Makefile.in (setwins_finder): New, excluding leim.
11425         (finder-data): Use setwins_finder.
11427         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11428         (help-function-arglist, help-make-usage): Move from here...
11429         * help.el (help-split-fundoc, help-add-fundoc-usage)
11430         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
11431         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11433 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
11435         * net/socks.el (socks, socks-override-functions)
11436         (socks-find-services-entry):
11437         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11438         (hif-find-ifdef-block):
11439         * progmodes/modula2.el (m2-indent): Fix docstring typos.
11441         * net/tls.el (tls-program): Reflow docstring.
11443         * progmodes/pascal.el (pascal-mode-abbrev-table)
11444         (pascal-imenu-generic-expression, pascal-auto-endcomments)
11445         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11446         (pascal-outline-mode): Fix docstring typos.
11447         (pascal-mode): Let define-derived-mode document mode hook.
11448         (pascal-uncomment-area): Reflow.
11449         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11451         * progmodes/opascal.el (opascal-compound-block-indent)
11452         (opascal-case-label-indent): Fix docstring typos.
11453         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11455 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
11457         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11458         Fontify multiple adjacent negation chars.  (Bug#17004)
11460 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
11462         * emacs-lisp/package.el (package--prepare-dependencies):
11463         Accept requirements without explicit version (bug#14941).
11465 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
11467         * register.el (register-separator, copy-to-register): Doc fixes.
11468         (register-preview-default): Remove unnecessary call to concat.
11470         * frameset.el (frameset-restore): When checking for a visible frame,
11471         use the action map instead of calling visible-frame-list.
11473 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
11475         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11477 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
11479         * window.el (fit-frame-to-buffer): Get maximum width from
11480         display's width instead of height.
11482 2014-03-12  Glenn Morris  <rgm@gnu.org>
11484         * desktop.el (desktop-restore-frames)
11485         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11486         (desktop-restore-reuses-frames): Doc tweaks.
11488         * electric.el (electric-indent-mode): Doc fix.
11490 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
11492         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11493         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11494         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11495         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11496         (cvs-dired-use-hook): Fix docstring typos.
11497         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11498         Doc fixes.
11500         * vc/pcvs-defs.el (cvs-auto-remove-handled)
11501         (cvs-auto-remove-directories, cvs-default-ignore-marks)
11502         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11503         (cvs-execute-single-dir): Fix docstring typos.
11505         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11506         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11508         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11510         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11511         Fix docstring typos.
11513 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
11515         * frameset.el (frameset--jump-to-register): Add autoload; it could be
11516         called from jump-to-register after unloading the frameset package.
11518 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11520         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11521         (bug#16975).  Deactivate the mark before setting it to nil.
11522         (activate-mark): Do nothing if region is already active.
11524 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
11526         * frameset.el (frameset--target-display): Remove definition; declare.
11527         (frameset-save, frameset-restore): Let-bind frameset--target-display.
11529 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11531         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11532         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11533         when the advice is pending.
11534         (advice-remove): Remove this marker when not needed any more.
11536 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
11538         * frameset.el: Separate options for reusing frames and cleaning up.
11539         (frameset--reuse-list): Remove definition; declare.
11540         (frameset--action-map): Declare.
11541         (frameset--find-frame-if): Doc fix.
11542         (frameset--restore-frame): Cache frame action.
11543         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11544         how to clean up the frame list after restoring.  Remove cleaning
11545         options from REUSE-FRAMES.  Change all keyword values to symbols.
11546         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11548         * desktop.el (desktop-restore-forces-onscreen)
11549         (desktop-restore-reuses-frames): Use non-keyword values.
11550         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11552 2014-03-10  Glenn Morris  <rgm@gnu.org>
11554         * files.el (find-file): Doc fix: update info node name.
11556         * emacs-lisp/advice.el (ad-add-advice, defadvice):
11557         Doc fix: remove references to deleted info nodes.
11559 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
11561         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11562         Do not add nil to the environment, when there's no remote `locale'.
11563         (tramp-find-inline-encoding): Check, that the remote host has
11564         installed perl, before sending scripts.
11566 2014-03-10  Leo Liu  <sdl.web@gmail.com>
11568         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11569         Clear eldoc-last-message.  (Bug#16920)
11571 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11573         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11574         (bug#14430).
11576 2014-03-09  Juri Linkov  <juri@jurta.org>
11578         * ansi-color.el (ansi-color-names-vector): Copy default colors
11579         from `xterm-standard-colors' that look well on the default white
11580         background (and also on the black background) to avoid illegible
11581         color combinations like yellow-on-white and white-on-white.
11582         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11584 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
11586         * frameset.el (frameset-restore): When no frame is visible, do not
11587         generate a list of frames, just make visible the selected one.
11589 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
11591         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11592         it only contains the repository root.  (Bug#16897)
11594 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
11596         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11597         only when `remote-file-name-inhibit-cache' is nil.
11598         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
11600 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
11602         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11603         Fix doc-strings.
11604         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
11605         fit-frame-to-buffer variable.  Fix doc-string.
11606         (fit-window-to-buffer): Set ONLY argument in call of
11607         fit-frame-to-buffer.  Fix doc-string.
11609 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
11611         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
11612         (tramp-action-password): Clear password cache if needed.
11613         (tramp-read-passwd): Do not clear password cache.
11615         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
11616         cache unless it is the first password request.
11618 2014-03-06  Glenn Morris  <rgm@gnu.org>
11620         * simple.el (newline): Doc tweak.
11622         * emacs-lisp/shadow.el (load-path-shadows-find):
11623         Ignore dir-locals.  (Bug#12357)
11625 2014-03-05  Glenn Morris  <rgm@gnu.org>
11627         * files.el (interpreter-mode-alist):
11628         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
11630 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
11632         * frameset.el (frameset--initial-params): Filter out null entries.
11634 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
11636         * window.el (window-min-height, window-min-width):
11637         Rewrite doc-strings.
11638         (window-body-size): Add PIXELWISE argument to make it consistent
11639         with its callees.
11641 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
11643         * finder.el (finder-mode-map, finder-mode-syntax-table):
11644         Revert part of 2014-02-28 change.
11646 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
11648         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
11649         (eww-setup-buffer): Clear next/prev/etc more reliably.
11650         (eww-textarea-map): [tab] doesn't work on tty.
11651         Reported by Mario Lang.
11653         * net/shr.el (shr-map): Ditto.
11655 2014-03-04  Glenn Morris  <rgm@gnu.org>
11657         * minibuffer.el (completion-hilit-commonality):
11658         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
11660 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
11662         * hilit-chg.el (hilit-chg-unload-function): New function.
11663         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
11664         (hilit-chg-map-changes): Prefer cardinal number to digit.
11665         (hilit-chg-display-changes): Reflow docstring.
11666         (highlight-changes-rotate-faces): Remove superfluous backslash.
11668 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
11670         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
11671         `tramp-send-command-and-check'.
11673 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
11675         * hexl.el (hexl-address-region, hexl-ascii-region)
11676         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
11677         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
11678         (hexl-forward-word, hexl-previous-line, hexl-next-line):
11679         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
11680         (hexl-mode): Doc fix.
11681         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
11682         (hexl-mode-ruler): Fix typos in docstrings.
11684         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
11685         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
11686         Remove superfluous backslashes.
11687         (strokes-last-stroke, strokes-global-map, strokes-mode):
11688         Reflow docstrings.
11689         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
11690         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
11691         (strokes-distance-squared, strokes-global-set-stroke)
11692         (strokes-global-set-stroke-string): Doc fixes.
11693         (strokes-help): Fix typos; reflow docstring.
11695 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
11697         * window.el (window-in-direction): Fix doc-string.
11699 2014-03-04  Glenn Morris  <rgm@gnu.org>
11701         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
11702         Explicit error if no grammar.
11703         (smie-config-save): Doc fix.  Fix quote typo.
11705 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11707         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
11708         electric-indent-mode-hook if we obey electric-indent-mode.
11709         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
11710         decide whether we obey electric-indent-mode.
11711         (c-change-set-fl-decl-start, c-extend-after-change-region):
11712         Silence warnings.
11713         (c-electric-indent-mode-hook): Assume we do want to obey
11714         electric-indent-mode.
11716         * electric.el (electric-indent-mode-has-been-called): Remove.
11717         (electric-indent-mode): Fix accordingly.
11719         * files.el (hack-local-variables): Mention file name in warning.
11721         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
11723 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
11725         * bindings.el: Add comment describing why C-d binds to `delete-char'.
11726         * simple.el (delete-forward-char): Mark as interactive-only.
11728 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
11730         * icomplete.el (icomplete-completions):
11731         Follow-up to 2014-03-01 change.
11733         * icomplete.el: Miscellaneous doc fixes.
11734         Use Icomplete everywhere instead of icomplete for consistency.
11735         (icomplete-max-delay-chars): Fix typo.
11736         (icomplete-mode): Use \[].
11737         (icomplete-tidy, icomplete-exhibit): Reflow.
11738         (icomplete-minibuffer-setup-hook, icomplete-completions):
11739         Remove superfluous backlashes.
11741         * ido.el: Miscellaneous doc fixes.
11742         Use Ido everywhere instead of ido or `ido' for consistency.
11743         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
11744         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
11745         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
11746         (ido-separator): Extract obsolescence info from docstring and declare
11747         with make-obsolete-variable.
11748         (ido-minibuffer-setup-hook): Simplify example.
11749         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
11750         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
11751         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
11752         (ido-everywhere): Reflow docstring.
11753         (ido-toggle-vc): Doc fix.
11754         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
11755         of long list of keybindings.
11757 2014-03-03  Glenn Morris  <rgm@gnu.org>
11759         * frame.el (display-pixel-height, display-pixel-width)
11760         (display-mm-dimensions-alist, display-mm-height)
11761         (display-mm-width): Doc tweaks.
11763 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
11765         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
11766         case of undo in region.
11768 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
11770         * window.el (fit-window-to-buffer): Fix argument in window-size
11771         call when window is horizontally combined.
11773 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
11775         * icomplete.el (icomplete-completions): Use string-width.
11776         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11778 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
11780         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11781         Highlight regexp options.  (Bug#16914)
11783 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
11785         * window.el (window--max-delta-1): Round down when calculating
11786         how many lines/columns we can get from a window.
11788 2014-03-01  Glenn Morris  <rgm@gnu.org>
11790         * isearch.el (search-invisible): Doc fix.
11792         * minibuffer.el (completion-hilit-commonality):
11793         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
11794         * comint.el (comint-dynamic-list-completions): Doc fix.
11795         * comint.el (comint-dynamic-list-completions):
11796         * filecache.el (file-cache-minibuffer-complete):
11797         * tempo.el (tempo-display-completions):
11798         * eshell/em-hist.el (eshell-list-history):
11799         Replace use of obsolete argument of display-completion-list.
11801 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
11803         * icomplete.el (icomplete-completions):
11804         Revert back to using "..." when ?… cannot be displayed.
11806 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
11808         * finder.el (finder-unload-function): New function.
11810 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
11812         * dframe.el (dframe-detach):
11813         * find-dired.el (find-dired, find-name-dired):
11814         * finder.el (finder-mode-map, finder-mode-syntax-table)
11815         (finder-headmark, finder-select, finder-mouse-select):
11816         Fix docstring typos.
11818 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
11820         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
11821         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
11822         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11823         Fix doc-string based on a suggestion by Nicolas Richard
11824         <theonewiththeevillook@yahoo.fr>.
11825         * help.el (with-help-window): Fix doc-string.
11827 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
11829         * net/shr.el (shr-image-animate): New option.
11830         (shr-put-image): Respect shr-image-animate.
11832 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
11834         * net/tramp-adb.el (tramp-adb-parse-device-names):
11835         Use `accept-process-output'.
11836         (tramp-adb-handle-file-truename): Cache the localname only.
11837         (tramp-adb-handle-make-directory)
11838         (tramp-adb-handle-delete-directory): Flush file properties correctly.
11839         (tramp-adb-handle-set-file-modes): Do not raise an error when file
11840         modes cannot be changed.
11842         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
11843         file properties of symlinks.
11845 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
11847         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
11848         required/optional fields to match development biblatex.  (Bug#16781)
11850 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
11852         * saveplace.el (toggle-save-place):
11853         Fix argument handling.  (Bug#16673)
11855 2014-02-28  Glenn Morris  <rgm@gnu.org>
11857         * minibuffer.el (completions-first-difference)
11858         (completions-common-part, completion-hilit-commonality): Doc fixes.
11860 2014-02-28  Karl Berry  <karl@gnu.org>
11862         * info.el (Info-mode-map): Add H for describe-mode,
11863         to synchronize with standalone Info.
11865 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
11867         * progmodes/sql.el (sql-interactive-mode):
11868         Avoid setting global comint-input-ring-separator.  (Bug#16814)
11870 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
11872         * net/dbus.el (dbus--init-bus): Declare function.
11873         (dbus-path-local, dbus-interface-local): New defconst.
11874         (dbus-init-bus): Use them.
11875         (dbus-return-values-table): Extend doc.
11876         (dbus-handle-bus-disconnect): Extend error message.
11878 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
11880         * subr.el (y-or-n-p): Fix double space issue in message.
11882 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
11884         * net/tramp.el (tramp-call-process): Improve trace message.
11885         (tramp-handle-insert-file-contents): Trace error case.
11887         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11888         <insert-directory>: Use `tramp-handle-insert-directory'.
11889         (tramp-adb-handle-insert-directory): Remove function.
11890         (tramp-adb-send-command-and-check): New defun, replacing
11891         `tramp-adb-command-exit-status'.  Change all callees.
11892         (tramp-adb-handle-file-attributes)
11893         (tramp-adb-handle-directory-files-and-attributes): Use it.
11894         (tramp-adb-ls-output-name-less-p):
11895         Use `directory-listing-before-filename-regexp'.
11896         (tramp-adb-handle-delete-directory): Flush also file properties of
11897         the truename of directory.
11898         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
11899         (tramp-adb-handle-file-local-copy): Make the local copy readable.
11900         (tramp-adb-handle-write-region): Implement APPEND.
11901         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
11902         properties correctly.
11903         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
11904         variables.  Check for connected devices only when needed.
11906 2014-02-27  Glenn Morris  <rgm@gnu.org>
11908         * minibuffer.el (completion-table-dynamic)
11909         (completion-table-with-cache): Doc fixes.
11911         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
11912         (completing-read-multiple): Doc fixes.
11914 2014-02-27  Daniel Colascione  <dancol@dancol.org>
11916         * minibuffer.el (completion--nth-completion): Fix indentation.
11918         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
11919         explicit tramp path is empty.
11921 2014-02-27  Glenn Morris  <rgm@gnu.org>
11923         * emacs-lisp/crm.el (completing-read-multiple):
11924         Empower help-enable-auto-load.
11926 2014-02-26  Glenn Morris  <rgm@gnu.org>
11928         * startup.el (command-line): Don't init the tty in daemon mode.
11930         Avoid calling tty-setup-hook twice, eg if a term file
11931         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
11932         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
11933         (tty-create-frame-with-faces): Use it.
11934         * startup.el (command-line): Pass run-hook argument
11935         to tty-run-terminal-initialization.
11937         * dired.el (dired-restore-desktop-buffer): Demote errors;
11938         eg in case a glob match fails.  (Bug#16884)
11940 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
11942         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
11943         error from `read-from-string'.  (Bug#16850)
11945         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
11946         result of `completing-read' in the interactive form.  (Bug#16854)
11948 2014-02-25  Glenn Morris  <rgm@gnu.org>
11950         * image.el (image-animate, image-animate-timeout):
11951         Stop animating images in dead buffers.  (Bug#16878)
11953         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
11955         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
11956         Doc fixes.
11957         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
11958         * term/sun.el (sun-raw-prefix-hooks):
11959         Use tty-setup-hook instead of term-setup-hook.
11960         (terminal-init-sun): Construct message from bytecomp plist.
11961         * term/wyse50.el (enable-arrow-keys): Doc fix.
11963 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
11965         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
11966         Fix docstring typos.
11968 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
11970         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
11972 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
11974         * minibuffer.el (completion--try-word-completion):
11975         Fix error when completing M-x commands (bug#16808).
11977 2014-02-24  Leo Liu  <sdl.web@gmail.com>
11979         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
11981 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
11983         * apropos.el (apropos-print): Avoid formatting error when
11984         apropos-do-all and apropos-compact-layout are both t.
11986 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
11988         * apropos.el (apropos-property, apropos-all-words-regexp)
11989         (apropos-true-hit, apropos-variable, apropos-print):
11990         Fix docstring typos, and remove obsolete comment.
11992 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
11994         * net/tramp-sh.el (tramp-sh-handle-file-truename):
11995         Preserve trailing "/".  (Bug#16851)
11997 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
11999         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12000         after `=>' (bug#16811).
12001         (ruby-smie-rules): Handle the inconsistent second element of the
12002         list returned by `smie-indent--parent'.
12003         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12004         method call.
12006 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
12008         * elec-pair.el (electric-pair-text-syntax-table)
12009         (electric-pair-syntax-info, electric-pair--syntax-ppss)
12010         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12011         (electric-pair--looking-at-unterminated-string-p): Doc fix.
12012         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
12014 2014-02-22  Glenn Morris  <rgm@gnu.org>
12016         * imenu.el (imenu--generic-function): Doc fix.
12018         * register.el (frame-configuration-to-register): Make obsolete.
12020 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
12022         * desktop.el (desktop-save-buffer-p): Do not fail when
12023         desktop-files-not-to-save is nil.  Return t for true result
12024         as the doc says.
12026 2014-02-22  Daniel Colascione  <dancol@dancol.org>
12028         * net/secrets.el (secrets-create-item, secrets-search-items):
12029         Check that attribute values are strings, avoiding the construction
12030         of invalid dbus messages.
12032 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12034         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12035         defun-declarations-alist.
12037 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12039         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12040         (bug#16829).
12042 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12044         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12045         (whitespace-newline, whitespace-trailing, whitespace-line)
12046         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12047         (whitespace-space-after-tab): Fix typo in docstrings.
12049 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
12051         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12053         * electric.el (electric-indent-functions-without-reindent):
12054         Add `yaml-indent-line'.
12056 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12058         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12059         It has done nothing for years; should be removed after the release.
12061         * simple.el (choose-completion): Fix docstring typo.
12062         (read-quoted-char-radix): Remove unneeded * in docstring.
12063         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12064         Don't escape parentheses unnecessarily in docstrings.
12066 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
12068         Fix handling of window-min-height/-width (Bug#16738).
12069         * window.el (window--dump-window, window--dump-frame):
12070         New functions.
12071         (window--min-size-1): Account for window dividers.
12072         When window-resize-pixelwise is nil, delay rounding till after the
12073         sum of the window components has been calculated.
12074         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12075         nil make sure at least one text line and two text columns remain
12076         fully visible.
12077         (window-resize): Signal an error when window-resize-apply fails.
12078         (window--resize-child-windows): Fix calculation of by how many
12079         pixels a window can still be shrunk via window-new-normal.
12080         (adjust-window-trailing-edge): Call window--resizable with
12081         correct TRAIL argument.
12083         (with-temp-buffer-window): Don't evaluate BODY within
12084         with-current-buffer (Bug#16816).
12086 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
12088         * net/tramp.el (tramp-check-cached-permissions):
12089         Call `file-attributes' with `suffix' being a symbol but a string.
12091 2014-02-21  Daniel Colascione  <dancol@dancol.org>
12093         * net/dbus.el (dbus-init-bus-1): Declare new subr.
12094         (dbus-init-bus): New function: call into dbus-init-bus-1
12095         and installs a handler for the disconnect signal.
12096         (dbus-call-method): Rewrite to look for result in cons.
12097         (dbus-call-method-handler): Store result in cons.
12098         (dbus-check-event): Recognize events with nil sender as valid.
12099         (dbus-handle-bus-disconnect): New function.  React to bus
12100         disconnection signal by synthesizing dbus error for each
12101         pending synchronous or asynchronous call.
12102         (dbus-notice-synchronous-call-errors): New function.
12103         (dbus-handle-event): Raise errors directly only when `dbus-debug'
12104         is true, not all the time.
12106 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
12108         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12109         Remove obsolescence declarations, these variables do not exist anymore.
12111         * savehist.el (savehist-save-minibuffer-history)
12112         (savehist-additional-variables, savehist-file, savehist-mode-hook)
12113         (savehist-save-hook, savehist-coding-system, savehist-loaded)
12114         (savehist-load, savehist-install, savehist-autosave): Fix typos;
12115         mostly, refer to "Savehist mode" when talking about the mode,
12116         and not the function.
12118         * saveplace.el (save-place): Remove redundant info in docstring.
12119         (save-place-forget-unreadable-files, toggle-save-place)
12120         (save-place-forget-unreadable-files, save-place-dired-hook):
12121         Fix typos and remove unneeded backslashes.
12123 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
12125         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12126         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12128         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12129         <insert-directory>: Use `tramp-handle-insert-directory'.
12130         (tramp-gvfs-handle-insert-directory): Remove function.
12132         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12133         Call `tramp-handle-insert-directory'.
12135 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
12137         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12138         before the start of buffer/region (bug#16799).
12140 2014-02-20  Glenn Morris  <rgm@gnu.org>
12142         * isearch.el (search-invisible): Doc fix.
12144 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
12146         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12147         (bug#16657).
12149 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
12151         * frameset.el (frameset-restore): Delay removing an old frame's
12152         duplicate id until the new frame has been correctly created.
12154 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
12156         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12157         (tramp-check-cached-permissions): Call `file-attributes' if the
12158         cache is empty.
12160         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12161         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12163         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12164         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12165         (tramp-gvfs-maybe-open-connection): Set always connection
12166         properties, even if target is mounted already.
12168         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12169         Set tramp-autoload cookie.
12170         (tramp-get-remote-touch): New defun.
12171         (tramp-sh-handle-set-file-times): Use it.
12172         (tramp-sh-handle-directory-files-and-attributes):
12173         Use `tramp-handle-directory-files-and-attributes' if neither stat
12174         nor perl are available on the remote host.
12176         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12177         "/".  Write long listing only when "l" belongs to the switches.
12179         * net/trampver.el: Update release number.
12181 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
12183         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12185 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
12187         * window.el (window-state-put): Allow WINDOW to refer to an
12188         internal window (Bug#16793).
12190 2014-02-19  Glenn Morris  <rgm@gnu.org>
12192         * textmodes/remember.el: Move provide statement to end.
12193         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12194         (remember-notes): Doc fixes.
12196 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12198         * delsel.el (delete-char): Restore incorrectly erased property
12199         (bug#16795).
12201 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
12203         * frameset.el (frameset--restore-frame): When a frame is being reused
12204         and its root window is not alive, delete all the frame's windows before
12205         restoring the window state.  This works around the issue in bug#16793.
12207 2014-02-18  Glenn Morris  <rgm@gnu.org>
12209         * textmodes/remember.el (remember-data-directory)
12210         (remember-directory-file-name-format, remember-store-in-files)
12211         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12212         (remember-notes-save-and-bury-buffer)
12213         (remember-notes--kill-buffer-query): Doc fixes.
12215         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12217 2014-02-17  Alan Mackenzie  <acm@muc.de>
12219         Connect electric-indent-mode up with CC Mode.  Bug #15478.
12220         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12221         to electric-indent-{,local-}-mode.
12222         (c-basic-common-init): Set electric-indent-inhibit.
12223         Initialise c-electric-flag from electric-indent-mode.
12224         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12225         New hook functions which propagate electric-indent-mode to CC mode.
12227         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12228         hit, toggle electric-indent-local-mode.
12230         * electric.el (electric-indent-mode-has-been-called):
12231         New variable.
12233 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
12235         * frameset.el (frameset-cfg-id): New function.
12236         (frameset--reuse-frame, frameset-restore): Use it.
12237         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12239 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12241         * ido.el (ido-file-internal): Remove unused var `d'.
12242         Use \` for to match BoS.  Fit within 80n columns.
12244 2014-02-17  Daniel Colascione  <dancol@dancol.org>
12246         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12247         dbus-call-method check for completion using a busy-wait loop with
12248         gradual backoff.
12250 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
12252         Sync with Tramp 2.2.9.
12254         * net/trampver.el: Update release number.
12256 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
12258         * ido.el (ido-file-internal): Don't add the name of an existing
12259         directory twice.  (Bug#16747)
12261 2014-02-16  Glenn Morris  <rgm@gnu.org>
12263         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12264         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
12266 2014-02-15  Michael R. Mauger  <michael@mauger.com>
12268         * progmodes/sql.el: Version 3.4
12269         (sql-oracle-options): New default value ("-L").
12270         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12271         (sql-placeholders-filter): Correct placeholder pattern.
12272         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
12273         (sql-login-delay): New variable.
12274         (sql-product-interactive): Use it.
12276 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
12278         * frameset.el (frameset--jump-to-register): Check that buffer is live
12279         (bug#16749).
12281 2014-02-15  Glenn Morris  <rgm@gnu.org>
12283         * info.el (info-initialize): Revert 2014-01-10 change.
12285 2014-02-14  Glenn Morris  <rgm@gnu.org>
12287         * replace.el (map-query-replace-regexp)
12288         (read-regexp-defaults-function, read-regexp): Doc fixes.
12290         * dired.el (dired-read-regexp):
12291         * faces.el (list-faces-display):
12292         * misearch.el (multi-isearch-read-matching-buffers)
12293         (multi-isearch-read-matching-files):
12294         * play/cookie1.el (cookie-apropos):
12295         * progmodes/grep.el (grep-read-regexp): Doc fixes.
12297         * textmodes/remember.el (remember): Use frameset-to-register
12298         rather than frame-configuration-to-register.
12300 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
12302         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12303         incorrect keybinding.
12305 2014-02-13  Daniel Colascione  <dancol@dancol.org>
12307         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12308         when adding overlays so that line numbers from compiler match line
12309         numbers we use.
12311 2014-02-13  Glenn Morris  <rgm@gnu.org>
12313         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
12315         * jit-lock.el (jit-lock-mode): Doc fix.
12317 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
12319         * apropos.el (apropos-read-pattern): When the user passes an empty
12320         string, give a more helpful error message than "Wrong type
12321         argument: stringp, nil".
12323 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12325         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12327 2014-02-13  Glenn Morris  <rgm@gnu.org>
12329         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12331 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12333         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12334         shift-select commands.
12336 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
12338         * progmodes/js.el (js-indent-line): Don't widen.
12339         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12341 2014-02-12  Glenn Morris  <rgm@gnu.org>
12343         * icomplete.el (icomplete): Add info-link to defgroup.
12344         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12345         (icomplete-minibuffer-map, icomplete-mode)
12346         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12348         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12349         (package-menu-filter): Rename from package-menu-filter-interactive.
12350         Doc fix.
12352 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
12354         * frameset.el (frameset--jump-to-register): Select the required
12355         window and buffer before restoring position (bug#16696).
12357 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
12359         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12361 2014-02-10  Glenn Morris  <rgm@gnu.org>
12363         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
12365 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
12367         * w32-common-fns.el (x-get-selection): Doc fix.
12368         * select.el (x-get-selection): Doc fix.  (Bug#15109)
12370         * face-remap.el (face-remap-add-relative)
12371         (face-remap-remove-relative, face-remap-reset-base)
12372         (face-remap-set-base): Call force-mode-line-update to redisplay
12373         the current buffer due to potential change in faces.  (Bug#16709)
12375 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
12377         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12378         script more robustly.
12380 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
12382         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12384         * simple.el (choose-completion): Doc fix (bug#14160).
12386         * subr.el (event-start): Say what a nil EVENT value means.
12388         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12389         (bug#14197).
12391         * progmodes/grep.el (find-program): Doc fix (bug#14289).
12393         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12395         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12397         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12398         predicate function (bug#15455).
12400 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
12402         * ielm.el (inferior-emacs-lisp-mode): Instead of
12403         `comment-use-global-state', set `comment-use-syntax'.
12405 2014-02-10  Glenn Morris  <rgm@gnu.org>
12407         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12409 2014-02-09  Alan Mackenzie  <acm@muc.de>
12411         Fix c-invalidate-state-cache on narrowed buffers.
12412         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12413         Widen when setting and clearing the CPP delimiter properties.
12415 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
12417         * help.el (describe-bindings): Doc fix (bug#9888).
12419         * files.el (save-buffer): Use ARG as the parameter name for
12420         consistency (bug#10346).
12421         (save-buffer): Clarify the 0 argument (bug#10346).
12423         * cus-edit.el (customize-apropos): Fix error string.
12424         (custom-buffer-create): Doc fix (bug#11122).
12425         (custom-sort-items): Doc fix (bug#11121).
12427         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12429         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12430         (icomplete-simple-completing-p): Mention the previous variable.
12432         * font-lock.el (font-lock-value-in-major-mode): Clarify the
12433         meaning of the parameter (bug#12282).
12435         * files.el (find-file-noselect): Clarify prompt when changing
12436         readedness (bug#13261).
12437         (locate-file): Suffixes aren't returned, so don't say that they
12438         are (bug#12674).
12439         (backup-inhibited): Doc clarification (bug#12525).
12441         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12442         before we actually start to delete things (bug#16331).
12444         * subr.el (event-start): Doc fix (bug#14228).
12445         (event-end): Ditto.
12447 2014-02-09  Glenn Morris  <rgm@gnu.org>
12449         * emacs-lisp/warnings.el (lwarn):
12450         Empower help-enable-auto-load.  (Bug#15940)
12452 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
12454         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12455         (Bug#16690)
12457 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
12459         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12460         Insert output at end of buffer.  (Bug#16120)
12462 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
12464         * simple.el (choose-completion-string-functions): Document new
12465         calling convention (bug#14153).
12466         (execute-extended-command): Clarify doc string (bug#13373).
12468         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12470         * find-dired.el (find-name-dired): Doc fix (bug#14290).
12471         (find-grep-dired): Doc fix (bug#14288).
12473 2014-02-08  Juri Linkov  <juri@jurta.org>
12475         * isearch.el (isearch-quote-char): Check character validity
12476         like in `quoted-insert' (bug#16677).
12478 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
12480         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12482         * isearch.el (isearch-hide-immediately): Doc clarification
12483         (bug#14723).
12485         * simple.el (line-move): Document utility function used many
12486         places in the Emacs sources (bug#14843).
12488         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12489         (dired-prev-marked-file): Doc fix (bug#14855).
12490         (dired-up-directory): Doc fix (bug#14848).
12492         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12494         * files.el (file-relative-name): Doc fix (bug#15159).
12496         * fringe.el (fringe-styles): Doc fix (bug#15239).
12498         * isearch.el (isearch-filter-predicate): Documentation typo fix
12499         (bug#15474).
12501         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12503         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12505         * replace.el (replace-match-maybe-edit): Doc clarification
12506         (bug#15632).
12508         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12510         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12512 2014-02-08  Glenn Morris  <rgm@gnu.org>
12514         * help-fns.el (describe-variable):
12515         Check {file,dir}-local-variables-alist, and buffer-file-name,
12516         in the correct buffer.
12518 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
12520         * help-fns.el (describe-variable): Fix the case where
12521         a value is directory-local with no dir-locals file.  (Bug#16635)
12523 2014-02-08  Glenn Morris  <rgm@gnu.org>
12525         * abbrev.el (edit-abbrevs-mode):
12526         Derive from fundamental-mode.  (Bug#16682)
12528 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
12530         * simple.el (quoted-insert): Check character validity (bug#16677).
12532 2014-02-07  Juri Linkov  <juri@jurta.org>
12534         * desktop.el (desktop-read): Claim the lock when the owner is not
12535         the current process.  (Bug#16157)
12537 2014-02-07  Juri Linkov  <juri@jurta.org>
12539         * desktop.el (desktop-buffers-not-to-save): Change default from nil
12540         to "\\` ".  (Bug#16651)
12542 2014-02-07  Juri Linkov  <juri@jurta.org>
12544         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12545         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12546         (desktop-auto-save-cancel-timer): New function with some code from
12547         `desktop-auto-save-set-timer'.
12548         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12549         Instead of setting `desktop-save-mode' to nil, call
12550         `desktop-save-mode' with arg 0.  (Bug#16630)
12552 2014-02-07  Glenn Morris  <rgm@gnu.org>
12554         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12555         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12556         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12558         * obsolete/iswitchb.el: Move to obsolete/.
12559         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12560         since obsolete/ is not scanned for autoloads.
12561         * emacs-lisp/authors.el (authors-valid-file-names):
12562         Add iswitchb.el.
12564         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12565         Disable now non-functional find-file-hook.
12567 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
12569         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12570         instead of ";" in order to avoid additional prompts.  Let heredoc
12571         scripts read from tty.  (Bug#16582)
12572         (tramp-send-command): No special handling of heredocs, it isn't
12573         necessary anymore.
12575 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12577         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12578         with a space (bug#16664).  Limit the symbols considered to the ones
12579         that are bound or fbound (bug#16646).
12581 2014-02-06  Glenn Morris  <rgm@gnu.org>
12583         * epa.el (epa-mail-aliases): Doc fix.
12585 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
12587         * emacs-lisp/lisp.el (lisp-completion-at-point):
12588         Use `completion-table-merge' instead of `completion-table-in-turn'
12589         (bug#16604).
12591         * minibuffer.el (completion-table-merge): New function.
12593 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
12595         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12596         (tramp-sh-handle-set-file-acl)
12597         (tramp-sh-handle-start-file-process)
12598         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12599         (tramp-find-executable, tramp-send-command): Use it.
12601 2014-02-05  Glenn Morris  <rgm@gnu.org>
12603         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
12605 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12607         * progmodes/python.el (python-shell-send-string)
12608         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
12610 2014-02-04  Anders Lindgren  <andlind@gmail.com>
12612         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
12613         the names (bug#16620).
12615 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
12617         * faces.el (window-divider): New default value.  Rewrite doc-string.
12618         (window-divider-first-pixel, window-divider-last-pixel): New faces.
12620 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
12622         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
12623         `protected' and `public' can also be called without arguments.
12625 2014-02-03  Glenn Morris  <rgm@gnu.org>
12627         * register.el (window-configuration-to-register)
12628         (frame-configuration-to-register): Unadvertise unused argument.
12629         * frameset.el (frameset-to-register): Remove unused argument.
12631         * frameset.el (frameset-to-register):
12632         * kmacro.el (kmacro-to-register):
12633         * register.el (increment-register):
12634         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
12635         (calc-append-to-register, calc-prepend-to-register):
12636         * play/gametree.el (gametree-layout-to-register)
12637         (gametree-apply-register-layout):
12638         * textmodes/picture.el (picture-clear-rectangle-to-register)
12639         (picture-yank-rectangle-from-register):
12640         * vc/emerge.el (emerge-combine-versions-register):
12641         Use register-read-with-preview to read registers.
12643 2014-02-03  João Távora  <joaotavora@gmail.com>
12645         * elec-pair.el (electric-pair-backward-delete-char): Don't error
12646         when at beginning of (possibly narrowed) buffer.
12648 2014-02-02  Daniel Colascione  <dancol@dancol.org>
12650         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
12651         Also try to display local help from just before point.
12653 2014-02-02  Alan Mackenzie  <acm@muc.de>
12655         c-parse-state.  Don't "append-lower-brace-pair" in certain
12656         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
12657         recognised as a comment.
12659         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
12660         as well as normal comment starter.
12661         (c-parse-state-get-strategy): Extra return possibility
12662         'back-and-forward.
12663         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
12664         return value list to indicate replacement of a brace-pair cons
12665         with its car.
12666         (c-parse-state-1): With 'back-and-forward, only call
12667         c-append-lower-brace-pair-to state-cache when cons-separated.
12669 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
12671         * term/ns-win.el (ns-suspend-error): New function.
12672         (ns-initialize-window-system): Add ns-suspend-error to
12673         suspend-hook (Bug#16612).
12675 2014-02-02  Daniel Colascione  <dancol@dancol.org>
12677         * progmodes/cc-defs.el (c-find-assignment-for-mode):
12678         Make loading cc-mode silent.
12680 2014-02-02  Daniel Colascione  <dancol@dancol.org>
12682         * comint.el (comint-prompt-read-only): Change doc to suggest
12683         remap keybinding.
12685 2014-02-02  Glenn Morris  <rgm@gnu.org>
12687         * register.el (register-read-with-preview, point-to-register)
12688         (window-configuration-to-register, frame-configuration-to-register)
12689         (jump-to-register, number-to-register, view-register, insert-register)
12690         (copy-to-register, append-to-register, prepend-to-register)
12691         (copy-rectangle-to-register): Doc fixes.
12693 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12695         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
12696         * emacs-lisp/find-func.el (find-function-C-source): Idem.
12697         * emacs-lisp/nadvice.el (advice--cd*r): New function.
12698         * help-fns.el (describe-function-1): Use it.
12700 2014-02-02  Glenn Morris  <rgm@gnu.org>
12702         * register.el (register-preview-default): New function,
12703         split from register-preview.
12704         (register-preview-function): Rename from register-preview-functions,
12705         make it not a hook.
12706         (register-preview): Use register-preview-function.
12707         (register-read-with-preview): Error on non-character event.  (Bug#16595)
12709 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
12711         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
12712         `:' before binary operators (bug#16609).  Don't check for `:'
12713         before `[' and `(', or their syntax status.  A percent literal
12714         can't end with either.
12715         (ruby-font-lock-keywords): For built-ins that require arguments,
12716         check that they're followed by something that looks like argument
12717         (bug#16610).
12719 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
12721         * subr.el (butlast): Document what an omitted N means (bug#13437).
12722         (nbutlast): Ditto.
12724 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
12726         * net/shr.el (shr-generic): Make into a defsubst to make the stack
12727         depth shallower (bug#16587).
12728         (shr-tag-svg): Respect `shr-inhibit-images'.
12729         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
12731 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
12733         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
12734         (ruby-smie-grammar): Make "." right-associative.  Make its priority
12735         lower than the ternary and all binary operators.
12736         (ruby-smie-rules): Indent "(" relative to the first non-"."
12737         parent, or the first "." parent at indentation.
12738         Use `ruby-align-chained-calls' for indentation of "." tokens.
12739         (Bug#16593)
12741 2014-01-31  Juri Linkov  <juri@jurta.org>
12743         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
12744         from `make-hash-table'.
12746         * textmodes/ispell.el (ispell-init-process): Change message format
12747         to be consistent with other messages.
12749 2014-01-31  Glenn Morris  <rgm@gnu.org>
12751         * delsel.el (delete-selection-mode): Doc fix.
12753         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
12754         (trace-function-background): Doc fixes.
12756         * ido.el (ido-use-virtual-buffers): Doc fix.
12757         Reset :version, since the default value has not changed.
12759         * register.el (register-preview-delay, register-read-with-preview):
12760         Doc fixes.
12762         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
12763         do not mess with mail-buffer position (fixes 2009-11-03 change).
12764         * progmodes/cc-mode.el (c-submit-bug-report):
12765         Check auto-fill-mode is bound.  (Bug#16592)
12767 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
12769         * startup.el (fancy-splash-image-file): New function,
12770         split from fancy-splash-head.
12771         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
12772         so that we are both using the same image.  (Bug#16574)
12774 2014-01-30  Glenn Morris  <rgm@gnu.org>
12776         * simple.el (eval-expression): Doc fix.
12778         * hexl.el (hexl-mode-hook):
12779         * ielm.el (ielm-mode-hook):
12780         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
12781         (lisp-interaction-mode-hook):
12782         * progmodes/cfengine.el (cfengine3-documentation-function):
12783         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
12785 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12787         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
12788         is a symbol (bug#16584).
12790 2014-01-30  Glenn Morris  <rgm@gnu.org>
12792         * help.el (help-for-help-internal): Add "P" to text.
12794 2014-01-29  Glenn Morris  <rgm@gnu.org>
12796         * simple.el (just-one-space, cycle-spacing): Doc fixes.
12798 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
12800         * window.el (fit-frame-to-buffer): Fix calculations for margins and
12801         height constraints.
12803 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
12805         * progmodes/hideif.el: Extend to full CPP expression syntax.
12806         (hif-token-alist): Add missing tokens.
12807         (hif-token-regexp): Add support for float/octal/hex immediates.
12808         (hif-string-literal-regexp): New const.
12809         (hif-tokenize): Recognize strings and float/octal/hex immediates.
12810         (hif-exprlist): New function.
12811         (hif-parse-if-exp): Use it.
12812         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
12813         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
12814         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
12815         (hif-logxor, hif-comma): New functions.
12817 2014-01-28  Glenn Morris  <rgm@gnu.org>
12819         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
12821         * indent.el (tab-stop-list): Doc fix.  Add :version.
12823         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
12824         (cvs-append-to-ignore): Add compatibility alias.
12826 2014-01-27  Glenn Morris  <rgm@gnu.org>
12828         * dired.el (dired-hide-details-mode): Don't autoload it,
12829         since it cannot be used outside Dired buffers anyway.
12831         * emulation/cua-base.el (cua-mode): Doc fix.
12833         * dired.el (dired-hide-details-hide-symlink-targets)
12834         (dired-hide-details-hide-information-lines)
12835         (dired-hide-details-mode): Doc fixes.
12837         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
12838         * strokes.el (strokes-file): Doc fix.  Bump :version.
12839         (strokes-help): Doc fix.
12840         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
12841         * emulation/viper.el (viper): Doc fix for custom group.
12842         (top-level): Remove oh-so-no-longer-relevant text about vip.
12843         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
12845         * ido.el (ido-save-directory-list-file):
12846         * saveplace.el (save-place-file):
12847         * calendar/timeclock.el (timeclock-file):
12848         * net/quickurl.el (quickurl-url-file):
12849         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12850         * progmodes/idlwave.el (idlwave-config-directory):
12851         * textmodes/remember.el (remember-data-file):
12852         Bump :version.
12854 2014-01-26  Glenn Morris  <rgm@gnu.org>
12856         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
12857         Doc fix.  Make obsolete.
12858         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
12860         * sort.el (delete-duplicate-lines): Doc fix.
12862 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12864         * progmodes/ada-mode.el (ada):
12865         * woman.el (woman): Link to info manual and Commentary section.
12867         * progmodes/flymake.el (flymake):
12868         * nxml/nxml-mode.el (nxml):
12869         * net/eww.el (eww):
12870         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
12871         * htmlfontify.el (htmlfontify):
12872         * ses.el (ses):
12873         * epa.el (epa):
12874         * ido.el (ido): Link to info manual.
12876 2014-01-25  Leo Liu  <sdl.web@gmail.com>
12878         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
12880 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
12882         * net/shr.el (shr-tag-img): Prefer the title over the alt text
12883         (bug#16537).
12885 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
12887         * net/eww.el (eww-download-callback):
12888         Fix reference to eww-download-directory.
12890         * emacs-lisp/bytecomp.el (byte-compile-file):
12891         Remove unused local variable `file-name'.
12893 2014-01-24  Glenn Morris  <rgm@gnu.org>
12895         * woman.el (woman-default-faces, woman-monochrome-faces):
12896         Fix obsolescence specification.
12898         * subr.el (with-demoted-errors): Doc fix.
12900 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12902         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
12903         (cl--macroexp-fboundp): New function.
12904         (cl--make-type-test): Use it.
12906 2014-01-23  Glenn Morris  <rgm@gnu.org>
12908         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
12909         * simple.el (eval-expression): Doc fixes.
12911 2014-01-22  Glenn Morris  <rgm@gnu.org>
12913         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
12915 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12917         * emacs-lisp/package.el: Write files silently.
12918         (package-autoload-ensure-default-file, package--write-file-no-coding)
12919         (package-generate-description-file, package--download-one-archive)
12920         (package-install-from-archive): Tell `write-region' to stay quiet.
12921         (package-menu-mode, package-menu--print-info): Omit the Archive column
12922         if there's only one archive.
12923         (package-all-keywords, package--has-keyword-p): Remove dead code.
12925 2014-01-22  Glenn Morris  <rgm@gnu.org>
12927         * version.el (emacs-bzr-version-bzr): Fix typo.
12929         * version.el (emacs-repository-get-version):
12930         Check either .bzr or .git, but not both.
12931         Make the git case actually use the DIR argument, and return nil
12932         rather than the empty string.
12933         Avoid error if .git exists but the git executable is not found.
12935 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
12937         Fixes in window size functions around Bug#16430 and Bug#16470.
12938         * window.el (window-total-size, window-size): New argument ROUND.
12939         (window--min-delta-1, window-min-delta, window--max-delta-1):
12940         Be more conservative when calculating the numbers of lines or
12941         columns a window can shrink (Bug#16430).
12942         (fit-window-to-buffer): Simplify code.
12943         * term.el (term-window-width): Call window-body-width again.
12945 2014-01-22  Glenn Morris  <rgm@gnu.org>
12947         * image.el (image-format-suffixes): Doc fix.
12949         * international/quail.el (quail-define-package): Doc fix.
12951         * emacs-lisp/authors.el (authors-valid-file-names)
12952         (authors-renamed-files-alist): Additions.
12954         * vc/vc-git.el (vc-git-print-log): Remove --follow;
12955         reverts 2014-01-09 change.  (Bug#16422)
12957         * calc/calc-embed.el (thing-at-point-looking-at):
12958         * emacs-lisp/map-ynp.el (x-popup-dialog):
12959         * obsolete/lmenu.el (x-popup-dialog):
12960         * emacs-lisp/package.el (url-recreate-url):
12961         * mail/mailclient.el (clipboard-kill-ring-save):
12962         * subr.el (x-popup-dialog): Update declaration.
12963         * mail/rmail.el (rmail-mime-message-p):
12964         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
12966 2014-01-21  Daniel Colascione  <dancol@dancol.org>
12968         * progmodes/sh-script.el (sh--inside-noncommand-expression):
12969         Correctly detect when we're inside an arithmetic expansion form
12970         containing nested parenthesis.
12971         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
12972         to detect cases where we shouldn't expand "<<" to a heredoc
12973         skeleton.
12975 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12977         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
12978         (eldoc--message-command-p): New function.
12979         (eldoc-display-message-p): Use it.
12980         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
12981         message is not automatically erased for us.
12982         (eldoc-print-current-symbol-info): Erase previous message, if any.
12984 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
12986         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
12987         specify it's an interactive function.
12989         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
12990         Fix regex used for scanning for citation keys which failed for
12991         citations with optional arguments.
12993 2014-01-21  Leo Liu  <sdl.web@gmail.com>
12995         * simple.el (read--expression): Don't enable eldoc-mode.
12997 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12999         * simple.el (move-beginning-of-line): Make sure we don't move forward
13000         (bug#16497).
13002 2014-01-20  Juri Linkov  <juri@jurta.org>
13004         * saveplace.el (toggle-save-place, save-place-to-alist)
13005         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13006         'dired-mode) before checking for dired-directory.  (Bug#16477)
13008 2014-01-20  Juri Linkov  <juri@jurta.org>
13010         * indent.el (indent-line-to): Use backward-to-indentation
13011         instead of back-to-indentation.  (Bug#16461)
13013 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
13015         Revert some of the CANNOT_DUMP fix (Bug#16494).
13016         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13017         but fixing this can wait until after the next release.
13018         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13020 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
13022         * eshell/esh-mode.el (eshell-password-prompt-regexp):
13023         Use `password-word-equivalents'.
13024         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13025         to t.  (Bug#5664, Bug#13124)
13027 2014-01-19  Alan Mackenzie  <acm@muc.de>
13029         Bind open-paren-in-column-0-is-defun-start to nil at some entry
13030         points.
13031         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13032         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13033         * progmodes/cc-mode.el (c-before-change, c-after-change)
13034         (c-font-lock-fontify-region): Bind it here.
13036 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
13038         * term.el (term-window-width): Call window-text-width instead of
13039         window-width (Bug#16470).
13041 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
13043         * simple.el (password-word-equivalents): Remove duplicates.
13044         Sort, to make this easier next time.
13045         Downcase.  Omit ": " after "jelszó".
13047 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
13049         * term/common-win.el (saved-region-selection): Defvar it.
13050         (x-select-text): Set saved-region-selection (Bug#16382).
13052 2014-01-18  Glenn Morris  <rgm@gnu.org>
13054         * emacs-lisp/authors.el (authors-aliases)
13055         (authors-renamed-files-alist): Add some entries.
13057 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
13059         * net/tramp.el (tramp-password-prompt-regexp):
13060         Use `password-word-equivalents' if available.
13061         (tramp-action-password, tramp-process-one-action)
13062         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
13064 2014-01-17  Chong Yidong  <cyd@gnu.org>
13066         * simple.el (password-word-equivalents): New defcustom.
13067         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
13068         to 24.4.
13069         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13070         to t.  (Bug#13124)
13072 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
13074         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13075         (ruby-align-to-stmt-keywords): Change the default value.
13076         Use `ruby-alignable-keywords' to generate the possible customization
13077         choices.
13078         (ruby-smie-rules): Instead of using a hardcoded list of alignable
13079         keywords, check against the value of `ruby-alignable-keywords'
13080         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13082 2014-01-17  Glenn Morris  <rgm@gnu.org>
13084         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13086         Make M-x authors return zero *Authors Errors* from current logs.
13087         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13088         (authors-ignored-files): Add some entries, remove others.
13089         (authors-ambiguous-files, authors-valid-file-names):
13090         Add some entries.
13091         (authors-renamed-files-alist): Add, remove, and adjust entries.
13092         (authors-renamed-files-regexps): Add some entries.
13093         Remove some very broad ones.  Make some entries `lax'.
13094         (authors-lax-changelogs): New constant.
13095         (authors-disambiguate-file-name): Treat top-level specially.
13096         (authors-lax-changelog-p): New function.
13097         (authors-canonical-file-name): Check file as written against
13098         authors-valid-file-names.  Do not special-case etc/.
13099         Handle `lax' logs and authors-renamed-files-regexps elements.
13101 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
13103         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13104         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
13105         callers.
13107 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13109         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13110         Assume we're already in the proper buffer.
13111         Inspired by Anders Lindgren <andlind@gmail.com>.
13112         (follow-post-command-hook): Call it from the right buffer.
13113         (follow-comint-scroll-to-bottom): Adjust call.
13114         (follow-all-followers): Use get-buffer-window-list.
13116 2014-01-15  Daniel Colascione  <dancol@dancol.org>
13118         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13119         `buffer-file-name' in interactive-form so that we don't leave
13120         pathless file names in `file-name-history'.
13122 2014-01-15  Juri Linkov  <juri@jurta.org>
13124         * indent.el (indent-rigidly): Set deactivate-mark to nil
13125         in transient indentation mode.  (Bug#16438)
13127 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
13129         * emacs-lisp/package.el (package-desc-keywords): New function
13130         (Bug#16222).
13131         (describe-package-1, package-all-keywords)
13132         (package--has-keyword-p): Use it.
13134 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
13136         * simple.el (define-alternatives): When creating the
13137         COMMAND-alternatives variable, assign COMMAND as its definition
13138         name so that `describe-variable' can relocate it.
13140 2014-01-14  Matthew Leach  <matthew@mattleach.net>
13142         * font-lock.el (font-lock-keywords): Fix typo in docstring
13143         (bug#16307).
13145 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13147         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13148         line instead of wrongly reset `add-coment' (bug#13577).
13150 2014-01-14  Daiki Ueno  <ueno@gnu.org>
13152         * epa-file.el (epa-file-write-region): Encode the region according
13153         to `buffer-file-format'.  Problem reported at:
13154         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13156 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13158         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13159         so it applies in the right buffer (bug#16410).
13161 2014-01-13  Daniel Colascione  <dancol@dancol.org>
13163         * textmodes/rst.el (rst-define-key): Provide deprecated
13164         keybindings through named functions instead of anonymous ones so
13165         that "??" doesn't appear in describe-mode output.
13167 2014-01-13  Bastien Guerry  <bzg@gnu.org>
13169         * simple.el (define-alternatives): Call the selected command
13170         interactively.  When setting `COMMAND--implementation' for the
13171         first time, tell the user how to chose another implementation.
13172         Enhance the docstring.
13174 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13176         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13177         (log-edit--match-first-line): New function.
13178         (log-edit-font-lock-keywords): Use it.
13179         (log-edit-mode): Make jit-lock-defer-multiline work.
13181 2014-01-13  Bastien Guerry  <bzg@gnu.org>
13183         * rect.el (rectangle-mark-mode): When the region is not active,
13184         display a message saying that the mark as been set and that
13185         rectangle mode is in use.
13186         (rectangle--highlight-for-redisplay): Only put an overlay with a
13187         visible vertical bar when (display-graphic-p) is non-nil.
13188         This partially fixes Bug#16403.
13190 2014-01-13  Juri Linkov  <juri@jurta.org>
13192         * info.el (Info-find-file): Go to DIR before displaying the error
13193         about a nonexistent file if no previous Info file is visited.
13194         Use `user-error' instead of `error' for "Info file %s does not exist".
13195         (Info-find-node-2): In case of a nonexistent node in unwind forms
13196         go to the Top node if there is no previous node to revert to.
13197         (Bug#16405)
13199 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
13201         fit-frame/window-to-buffer code fixes including one for Bug#14096.
13202         * window.el (fit-frame-to-buffer): Fix doc-string.
13203         Respect window-min-height/-width.  Fit pixelwise when
13204         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
13205         when avoiding that frame goes partially off-screen.
13206         (fit-window-to-buffer): Respect window-min-height/-width
13207         (Bug#14096).
13209 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13211         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13212         after an empty line.
13214 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13216         * net/shr.el (shr-render-region): Autoload.
13218 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
13220         * net/eww.el (eww-download-directory): Rename from
13221         `eww-download-path' (Bug#16419).
13223 2014-01-12  Leo Liu  <sdl.web@gmail.com>
13225         * dired-x.el (dired-mode-map): Fix last change.
13227         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13229 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
13231         Spelling fixes.
13232         * emacs-lisp/generic.el (generic--normalize-comments):
13233         Rename from generic--normalise-comments.  All uses changed.
13234         * play/bubbles.el (bubbles--neighborhood-score)
13235         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13236         (bubbles--neighborhood-available)
13237         (bubbles--update-neighborhood-score):
13238         Rename from names with 'neighbourhood'.  All uses changed.
13240 2014-01-12  Leo Liu  <sdl.web@gmail.com>
13242         Re-implement the feature of showing eldoc info after editing.
13243         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13244         (eldoc-edit-message-commands): New function.
13245         (eldoc-print-after-edit): New variable.
13246         (eldoc-pre-command-refresh-echo-area): Emit message only by
13247         eldoc-message-commands.
13248         (eldoc-mode): Restrict eldoc-message-commands to editing commands
13249         if eldoc-print-after-edit is set.  (Bug#16346)
13250         * simple.el (read--expression): Enable eldoc-mode.
13251         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13253 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
13254             Eric S. Raymond  <esr@thyrsus.com>
13256         * version.el (emacs-repository-get-version): Enhance so the
13257         function works correctly in either a Bazaar or Git repo.
13259 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
13261         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13262         Goes with removal of the joke manpages from /etc.
13264 2014-01-10  Kenichi Handa  <handa@gnu.org>
13266         * mail/rmail.el (rmail-get-coding-system):
13267         Check rmail-get-coding-function before "funcall"ing it.
13269 2014-01-10  Glenn Morris  <rgm@gnu.org>
13271         * emacs-lisp/authors.el (authors-fixed-entries):
13272         Update for files that no longer exist.
13274 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
13276         * version.el (emacs-bzr-get-version): Restore compatibilty with
13277         24.3 (Tested).
13279 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
13281         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13282         and Podfile.
13284 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
13286         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13288 2014-01-10  Chong Yidong  <cyd@gnu.org>
13290         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13292 2014-01-10  Anders Lindgren  <andlind@gmail.com>
13294         * follow.el (follow-cache-command-list): Include right-char and
13295         left-char.
13297 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
13299         Spelling fixes.
13300         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13301         * woman.el (woman-mark-horizontal-position):
13302         Rename from woman-mark-horizonal-position.  Use changed.
13304 2014-01-10  Glenn Morris  <rgm@gnu.org>
13306         * info.el (info-initialize): If running uninstalled, ensure our
13307         own info files are always found first, even if INFOPATH is set.
13309         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13311 2014-01-09  David Engster  <deng@randomsample.de>
13313         * emacs-lisp/eieio-custom.el:
13314         * emacs-lisp/eieio-opt.el: Set generated autoload file to
13315         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13316         * emacs-lisp/eieio.el: Regenerate autoloads.
13318 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
13320         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13321         following renames.  (Bug#8756)
13323 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13325         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13326         (bug#16382).
13327         (activate-mark): Add `no-tmm' argument.
13328         (set-mark, push-mark-command): Use it instead of running
13329         activate-mark-hook by hand.
13331 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
13333         In preparation for the move to git, sanitize out some
13334         Bazaar-specific names.
13336         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13338         * version.el (emacs-bzr-version): Name changed to
13339         emacs-repository-version.  Obsolete-variable alias made.
13340         * loadup.el: Follow through on this name change.
13341         * mail/emacsbug.el (report-emacs-bug): Factor out any
13342         assumption about the version control system in use.
13344 2014-01-08  David Engster  <deng@randomsample.de>
13346         * help-fns.el (help-fns-describe-function-functions):
13347         New variable to call functions for augmenting help buffers.
13348         (describe-function-1): Remove explicit calls to
13349         `help-fns--compiler-macro', `help-fns--parent-mode' and
13350         `help-fns--obsolete'.  Put them in above new variable instead, and
13351         call them through `run-hook-with-args'.
13352         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13353         `eieio-describe-class'.  Not meant for interactive use anymore,
13354         but to augment existing help buffers.  Remove optional second
13355         argument.  Create proper button for file location.
13356         Rewrite function to use `insert' instead of `princ' and `prin1' where
13357         possible.
13358         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13359         (eieio-method-def, eieio-class-def): Move further up.
13360         (describe-method, describe-generic, eieio-describe-method):
13361         Remove aliases.
13362         (eieio-help-constructor, eieio-help-generic): Rename from
13363         `eieio-describe-constructor' and `eieio-describe-generic', resp.
13364         Rewrite to use `insert' in the current buffer and use proper help
13365         buttons.
13366         (eieio-help-find-method-definition)
13367         (eieio-help-find-class-definition): Also accept symbols as
13368         arguments.
13369         (eieio-help-mode-augmentation-maybee): Remove.
13370         (eieio-describe-class-sb): Use `describe-function'.
13371         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13372         Add `eieio-help-generic' and `eieio-help-constructor'.
13374 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
13376         Spelling fixes.
13377         * language/china-util.el (hz-ascii-designation):
13378         Rename from hz-ascii-designnation.
13379         (hz-ascii-designation): Rename from hz-ascii-designnation.
13380         All uses changed.
13382 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13384         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13385         package-alist.
13387 2014-01-08  Bastien Guerry  <bzg@gnu.org>
13389         * emacs-lisp/package.el (package-delete):
13390         Correctly delete the package from package-alist.
13392 2014-01-08  Daiki Ueno  <ueno@gnu.org>
13394         * emacs-lisp/package.el (url-recreate-url): Declare.
13395         (url-http-target-url): Declare.
13396         (package-handle-response): Include requested URL in the error message.
13397         (package--check-signature): Don't re-signal errors from
13398         package--with-work-buffer.  Suggested by Stefan Monnier.
13400 2014-01-07  Bastien Guerry  <bzg@gnu.org>
13402         * minibuffer.el (completion--try-word-completion): When both a
13403         hyphen and a space are possible candidates for the character
13404         following a word, display both candidates.  (Bug#15980)
13406 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
13408         * window.el (balance-windows-2): While rounding don't give a
13409         window more than the remainder.  Bug#16351, bug#16383.
13411 2014-01-07  Glenn Morris  <rgm@gnu.org>
13413         * menu-bar.el (menu-bar-help-extra-packages): Remove.
13414         (menu-bar-help-menu): Use view-external-packages instead.
13416 2014-01-07  Bastien Guerry  <bzg@gnu.org>
13418         * emacs-lisp/package.el (package-delete): Also delete the package
13419         name from `package-alist', not its description only.
13421 2014-01-07  Glenn Morris  <rgm@gnu.org>
13423         * help.el (view-external-packages):
13424         * menu-bar.el (menu-bar-help-extra-packages):
13425         Visit efaq.info rather than etc/MORE.STUFF.
13427 2014-01-07  Juri Linkov  <juri@jurta.org>
13429         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13430         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
13432         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13433         that shadows RET.  (Bug#16342)
13435 2014-01-07  Chong Yidong  <cyd@gnu.org>
13437         * isearch.el (isearch-yank-char, isearch-yank-word)
13438         (isearch-yank-line): Doc fix.
13440 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13442         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13443         * emacs-lisp/elint.el (elint-find-builtins):
13444         * emacs-lisp/eldoc.el (eldoc-symbol-function):
13445         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13446         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13447         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13448         * apropos.el (apropos-safe-documentation):
13449         * subr.el (symbol-file): Remove redundant fboundp.
13450         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13452 2014-01-06  Bastien Guerry  <bzg@gnu.org>
13454         * hl-line.el (global-hl-line-overlay): Make a local variable.
13455         (global-hl-line-overlays): New variable to store all overlays.
13456         (global-hl-line-mode): Don't delete overlays from the current
13457         buffer when `global-hl-line-sticky-flag' is non-nil.
13458         (global-hl-line-highlight): Add new overlays to
13459         `global-hl-line-overlays'.
13460         (global-hl-line-unhighlight-all): New function to delete all
13461         overlays when turning off `global-hl-line-mode'.
13462         This fixes Bug#16183.
13464 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13466         * subr.el (set-transient-map): Fix nested case and docstring.
13468 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
13470         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13471         `Texinfo' entry.
13473 2014-01-06  Daniel Colascione  <dancol@dancol.org>
13475         Fix defun navigation in vc log view.
13477         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13478         like `beginning-of-defun'.
13479         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13480         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
13481         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13482         (log-view-extract-comment): Call `log-view-current-entry' directly
13483         instead of relying on broken `log-view-beginning-of-defun' behavior.
13485 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
13487         Spelling fixes.
13488         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13489         * emacs-lisp/debug.el (cancel-debug-on-entry):
13490         * epg.el (epg-error-to-string):
13491         * files.el (recover-file):
13492         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13493         * mail/emacsbug.el (report-emacs-bug-hook):
13494         * mail/sendmail.el (mail-recover):
13495         * ses.el (ses-yank-resize):
13496         * term/ns-win.el (ns-print-buffer):
13497         Spelling fixes in diagnostics, mostly for "canceled" with one L.
13498         * epg.el (epg-key-capability-alist): Rename from misspelled version.
13499         All uses changed.
13500         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13502 2014-01-06  Leo Liu  <sdl.web@gmail.com>
13504         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13505         to avoid shadowing global key.  (Bug#16354)
13507 2014-01-06  Daniel Colascione  <dancol@dancol.org>
13509         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13510         rst-mode.
13512 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
13514         * window.el (balance-windows): Add mising t to fix Bug#16351.
13516 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13518         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13519         (bug#16285).
13520         (shr-insert): If we have a word that's longer than `shr-width',
13521         break after it anyway.  Otherwise we'll do no breaking once we get
13522         such a long word.
13524 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
13526         * net/eww.el (eww): Support single/double quote for search.
13527         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13528         (eww-history-quit): Delete and use quit-window.
13529         (eww-history-kill): Delete, because it doesn't work well and
13530         not necessary.
13531         (eww-history-mode-map): Delete some keys and add easy-menu.
13533 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
13535         Fix misspelling of 'chinese' in rx (Bug#16237).
13536         * emacs-lisp/rx.el (rx-categories): Correct spelling of
13537         chinese-two-byte.
13539         Change subword regexps back to vars (Bug#16296).
13540         * progmodes/subword.el (subword-forward-regexp)
13541         (subword-backward-regexp): Change these back to variables.
13543 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13545         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13546         syntax-begin-function (bug#16247).
13548 2014-01-03  Chong Yidong  <cyd@gnu.org>
13550         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13551         (advice--docstring): Delete variable.
13552         (advice--make-1): Leave the docstring empty.
13553         (advice-add): Use function-documentation for advised docstring.
13555         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13556         Ignore function-documentation property when getting documentation.
13557         (ad-activate-advised-definition): Use function-documentation
13558         generate the docstring.
13559         (ad-make-advised-definition): Don't call
13560         ad-make-advised-definition-docstring.
13561         (ad-make-advised-definition-docstring, ad-advised-definition-p):
13562         Delete functions.
13564         * progmodes/sql.el (sql-help): Use function-documentation instead
13565         of dynamic-docstring-function property.  No need to autoload now.
13566         (sql--help-docstring): New variable.
13567         (sql--make-help-docstring): Use it.
13569 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13571         * ielm.el (ielm-tab): Retarget.
13572         (ielm-map): Use ielm-tab for tab.
13573         (ielm-complete-filename): Use comint-filename-completion.
13574         (ielm-complete-symbol): Remove.
13575         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13576         remove ielm-tab from completion-at-point-functions (bug#16224).
13578         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13579         Beware signals raised by predicates (bug#16201).
13581 2014-01-02  Richard Stallman  <rms@gnu.org>
13583         * dired-aux.el (dired-do-print): Handle printer-name.
13585         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13586         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13587         (rmail-epa-decrypt): Turn off mime processing.
13589         * mail/rmail.el (rmail-make-in-reply-to-field):
13590         Add parens in message-id.
13592         * mail/rmail.el (rmail-get-coding-function): Variable.
13593         (rmail-get-coding-system): Use it.
13595 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
13597         * international/mule-conf.el: Unify the charset indian-is13194.
13598         (indian-is13194): Specify unify-map.
13600 2013-12-31  Leo Liu  <sdl.web@gmail.com>
13602         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
13604 2013-12-30  Daniel Colascione  <dancol@dancol.org>
13606         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13607         of printing a useless when we resume from sleep.
13609         * progmodes/sh-script.el
13610         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
13611         in indentation code.  (Bug#16233)
13613 2013-12-28  João Távora  <joaotavora@gmail.com>
13615         * elec-pair.el (electric-pair-post-self-insert-function):
13616         Don't open extra newlines at beginning of buffer.  (Bug#16272)
13618 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
13620         * frame.el (window-system-for-display): Don't allow to create a
13621         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
13623 2013-12-28  Glenn Morris  <rgm@gnu.org>
13625         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
13626         Update callers.
13628         * apropos.el (apropos-match-face):
13629         * calculator.el (calculator-displayer):
13630         * dabbrev.el (dabbrev-search-these-buffers-only):
13631         * face-remap.el (buffer-face-mode-face):
13632         * simple.el (yank-handled-properties):
13633         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
13634         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
13635         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
13636         (hashcash-double-spend-database):
13637         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
13638         (ruby-deep-indent-paren-style):
13639         * textmodes/flyspell.el (flyspell-auto-correct-binding):
13640         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
13641         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
13642         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
13643         Specify custom types.
13645         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
13646         * bookmark.el (bookmark-bmenu-use-header-line):
13647         * doc-view.el (doc-view-scale-internally):
13648         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
13649         * register.el (register-preview-delay):
13650         * net/shr.el (shr-bullet):
13651         * progmodes/cfengine.el (cfengine-cf-promises)
13652         (cfengine-parameters-indent):
13653         * progmodes/octave.el (inferior-octave-error-regexp-alist):
13654         * textmodes/reftex-vars.el (reftex-label-regexps):
13655         * vc/log-edit.el (log-edit-setup-add-author): Add version.
13657         * net/tls.el (tls-certtool-program): Fix default value.
13659         * desktop.el (desktop-restore-in-current-display):
13660         * newcomment.el (comment-empty-lines):
13661         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
13662         (idlwave-pad-keyword):
13663         * progmodes/tcl.el (tcl-tab-always-indent):
13664         * textmodes/reftex-vars.el (reftex-index-default-tag):
13665         * elec-pair.el (electric-pair-skip-whitespace):
13666         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
13668         * emacs-lisp/authors.el (authors-ignored-files)
13669         (authors-valid-file-names, authors-renamed-files-alist): Additions.
13671 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
13673         * shell.el (shell-dynamic-complete-command): Doc fix.
13674         (shell--command-completion-data): Shell completion now matches
13675         executable filenames from the current buffer's directory, on
13676         systems in which this behavior is the default (windows-nt, ms-dos).
13678 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13680         * net/shr.el (shr-insert): Don't infloop if the width is zero.
13682 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13684         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
13685         (bug#16251).
13687         * electric.el: Move all electric-pair-* to elec-pair.el.
13688         * elec-pair.el: New file, split from electric.el.
13690 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
13692         * net/shr.el (shr-find-fill-point): Don't try to fill if the
13693         indentation level is larger than the width, because that will
13694         infloop.
13695         (shr-insert): Fill repeatedly long texts, so that Japanese is
13696         formatted correctly (bug#16263).
13697         (shr-find-fill-point): Off by one error in comparison with the
13698         indentation.
13700 2013-12-26  João Távora  <joaotavora@gmail.com>
13702         * electric.el (electric-pair-mode): More flexible engine for skip-
13703         and inhibit predicates, new options for pairing-related functionality.
13704         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
13705         if that keeps or improves their balance in buffers.
13706         (electric-pair-delete-adjacent-pairs): Delete the pair when
13707         backspacing over adjacent matched delimiters.
13708         (electric-pair-open-extra-newline): Open extra newline when
13709         inserting newlines between adjacent matched delimiters.
13710         (electric--sort-post-self-insertion-hook):
13711         Sort post-self-insert-hook according to priority values when
13712         minor-modes are activated.
13713         * simple.el (newline-and-indent): Call newline with interactive
13714         set to t.
13715         (blink-paren-post-self-insert-function): Set priority to 100.
13716         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13717         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
13718         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
13719         electric-pair-open-newline-between-pairs to nil.
13721 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13723         * progmodes/python.el: Use lexical-binding.
13724         (python-nav-beginning-of-defun): Stop searching ASAP.
13726 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
13728         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
13729         Fix interactive spec.  Doc fix.  (Bug#15754)
13731 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
13733         * emacs-lisp/byte-run.el (eval-when-compile):
13734         * progmodes/cc-defs.el (cc-eval-when-compile):
13735         Fix edebug spec (bug#16184).
13737 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
13739         * net/shr.el (shr-visit-file): Remove debugging function.
13740         (shr-insert): Don't infloop if we can't find a good place to break
13741         the line (bug#16256).
13743 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13745         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
13746         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
13747         python-nav-lisp-forward-sexp-safe.
13748         (python-nav--forward-sexp): New argument SAFE allows switching
13749         forward sexp movement behavior for parens.
13750         (python-nav-forward-sexp): Throw errors on unterminated parens
13751         (Bug#16191).
13752         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
13753         (python-nav-backward-sexp-safe): New functions.
13754         (python-shell-buffer-substring):
13755         Use `python-nav-forward-sexp-safe'.
13757 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
13759         * net/shr.el (shr-find-fill-point): Don't break lines before a
13760         quotation mark.
13761         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
13762         (shr-find-fill-point): Remove the special checks for the quotation
13763         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
13765 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
13767         * net/eww.el (eww-form-textarea): Use a different face for
13768         textareas than text input since they have different keymaps
13769         (bug#16142).
13771 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13773         * progmodes/python.el (python-nav-beginning-of-statement):
13774         Speed up (Bug#15295).
13776 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
13778         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
13779         the window configuration.
13781 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
13783         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
13784         we run on MS-Windows or MS-DOS.
13786 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
13788         * window.el (balance-windows-area): Call window-size instead of
13789         window-height and window-width.  Bug#16241.
13791 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
13793         * net/eww.el (eww-bookmark-quit): Remove.
13794         (eww-bookmark-browse): Restore the window configuration when you
13795         choose a bookmark (bug#16144).
13797 2013-12-24  Daniel Colascione  <dancol@dancol.org>
13799         * icomplete.el: Remove redundant :group arguments to `defcustom'
13800         throughout.
13801         (icomplete-show-matches-on-no-input): New customizable variable.
13802         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13803         we have something to show.
13804         (icomplete-exhibit): Compute completions even if we have no user input.
13806 2013-12-23  Daniel Colascione  <dancol@dancol.org>
13808         * icomplete.el: Move `provide' to end of file.
13810 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
13812         * net/gnutls.el (gnutls-verify-error): Add version tag.
13814 2013-12-23  Chong Yidong  <cyd@gnu.org>
13816         * subr.el (set-transient-map): Rename from
13817         set-temporary-overlay-map.  Doc fix.
13819         * face-remap.el (text-scale-adjust):
13820         * indent.el (indent-rigidly):
13821         * kmacro.el (kmacro-call-macro):
13822         * minibuffer.el (minibuffer-force-complete):
13823         * repeat.el (repeat):
13824         * simple.el (universal-argument--mode):
13825         * calendar/todo-mode.el (todo-insert-item--next-param):
13826         * progmodes/f90.el (f90-abbrev-start): Callers changed.
13828         * indent.el (indent-rigidly): Use substitute-command-keys.
13830 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
13832         * net/eww.el (eww-tag-select): Add text-property to jump to next
13833         select field.
13834         (eww): Add non-supported ftp error.
13836 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
13838         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
13839         comments.  Handle electric indent after typing `?' and `!'.
13841 2013-12-22  Chong Yidong  <cyd@gnu.org>
13843         * faces.el (face-spec-recalc): If the theme specs are not
13844         applicable to a frame, fall back on the defface spec.
13845         This prevents themes from obliterating faces on low-color terminals.
13847 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
13849         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13850         after `{'.  We need it after block openers, and it doesn't seem
13851         to hurt after hash openers.
13853 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
13855         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
13856         extracted from `ruby-smie-rules'.
13857         (ruby--electric-indent-chars): New variable.
13858         (ruby--electric-indent-p): New function.
13859         (ruby-mode): Use `electric-indent-functions' instead of
13860         `electric-indent-chars'.
13862 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
13864         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13865         docstring.
13866         (ruby-smie-rules): Indent plus one level after `=>'.
13868 2013-12-21  Richard Stallman  <rms@gnu.org>
13870         * simple.el (newline): Doc fix.
13872 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
13874         * net/eww.el (eww-list-histories, eww-list-histories)
13875         (eww-history-browse, eww-history-quit, eww-history-kill)
13876         (eww-history-mode-map, eww-history-mode): New command and
13877         functions to list browser histories.
13878         (eww-form-text): Support text form with disabled
13879         and readonly attributes.
13880         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
13882 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13884         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13885         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
13886         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
13887         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
13888         Use `user-error'.
13889         (eww-bookmark-mode-map): Add menu.
13890         (eww-render, eww-mode): Use `setq-local'.
13891         (eww-tool-bar-map): New variable.
13892         (eww-mode): Set `tool-bar-map'.
13893         (eww-view-source): Check for `html-mode' with `fboundp'.
13895 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13897         * net/shr.el (shr--extract-best-source): Don't bug out on audio
13898         elements with text inside.  Also remove debugging.
13900 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
13902         * cus-start.el (all): Add ns-use-srgb-colorspace.
13904 2013-12-21  Chong Yidong  <cyd@gnu.org>
13906         * custom.el (custom-theme-recalc-face): Do nothing if the face is
13907         undefined.  Thus, theme settings for undefined faces do not take
13908         effect until the faces are defined with defface, the same as with
13909         theme variables.
13911         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
13912         (face-spec-reset-face): Don't assign extra properties in temacs.
13913         (face-spec-recalc): Apply X resources too.
13915 2013-12-21  Chong Yidong  <cyd@gnu.org>
13917         * faces.el (face-spec-set):
13918         * cus-face.el (custom-theme-set-faces, custom-set-faces):
13919         * custom.el (defface): Doc fixes (Bug#16203).
13921         * indent.el (indent-rigidly-map): Add docstring, and move commands
13922         into named functions.
13923         (indent-rigidly-left, indent-rigidly-right)
13924         (indent-rigidly-left-to-tab-stop)
13925         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
13926         indentation direction based on bidi direction, and accumulate
13927         sequential commands in a single undo boundary.
13928         (indent-rigidly--pop-undo): New utility function.
13930 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
13932         * faces.el (read-face-name): Require crm.el when using crm-separator.
13934 2013-12-20  Daniel Colascione  <dancol@dancol.org>
13936         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
13937         so that we don't reflow comments into the shebang line.
13939 2013-12-20  Juri Linkov  <juri@jurta.org>
13941         * saveplace.el (save-place-to-alist): Add `dired-filename' as
13942         a position when `dired-directory' is non-nil.  Check integer
13943         positions with `integerp'.
13944         (toggle-save-place, save-places-to-alist): Add check for
13945         `dired-directory'.
13946         (save-place-find-file-hook): Check integer positions with
13947         `integerp'.
13948         (save-place-dired-hook): Use `dired-goto-file' when
13949         `dired-filename' is found in the assoc list.  Check integer
13950         positions with `integerp'.
13951         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
13953         * dired.el (dired-initial-position-hook): Rename back from
13954         `dired-initial-point-hook'.
13955         (dired-initial-position): Rename `dired-initial-point-hook' to
13956         `dired-initial-position-hook'.
13957         (dired-file-name-at-point): Doc fix.  (Bug#15329)
13959 2013-12-20  Juri Linkov  <juri@jurta.org>
13961         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
13962         (read-regexp-suggestions): New function.
13963         (read-regexp): Use `read-regexp-defaults-function' to get default values.
13964         Use `read-regexp-suggestions'.  Add non-empty default to history
13965         for empty input.
13966         (occur-read-regexp-defaults-function): Remove function.
13967         (occur-read-primary-args): Use `regexp-history-last' instead of
13968         `occur-read-regexp-defaults-function'.
13970         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13971         (hi-lock-line-face-buffer, hi-lock-face-buffer)
13972         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
13973         `hi-lock-read-regexp-defaults-function'.  Doc fix.
13974         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
13975         with `find-tag-default-as-symbol-regexp'.  Doc fix.
13976         (hi-lock-read-regexp-defaults): Remove function.
13977         (hi-lock-regexp-okay): Add check for null.
13979         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
13980         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
13982         * subr.el (find-tag-default-as-symbol-regexp): New function.
13983         (find-tag-default-as-regexp): Move symbol regexp formatting to
13984         `find-tag-default-as-symbol-regexp'.
13986 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
13988         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
13989         (Bug#14179)
13991 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
13993         * calendar/todo-mode.el: New implementation of item insertion
13994         commands and key bindings.
13995         (todo-key-prompt): New face.
13996         (todo-insert-item): New command.
13997         (todo-insert-item--parameters): New defconst, replacing defvar
13998         todo-insertion-commands-args-genlist.
13999         (todo-insert-item--param-key-alist): New defconst, replacing
14000         defvar todo-insertion-commands-arg-key-list.
14001         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14002         (todo-insert-item--argsleft, todo-insert-item--apply-args)
14003         (todo-insert-item--next-param): New functions.
14004         (todo-insert-item--args, todo-insert-item--argleft)
14005         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14006         New variables.
14007         (todo-key-bindings-t): Change binding of "i" from
14008         todo-insertion-map to todo-insert-item.
14009         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14010         (todo-insertion-command-name, todo-insertion-commands-names)
14011         (todo-define-insertion-command, todo-insertion-commands)
14012         (todo-insertion-key-bindings, todo-insertion-map): Remove.
14014 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
14016         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14017         (todo-toggle-item-highlighting): Use eval-and-compile instead of
14018         eval-when-compile.
14019         (todo-move-category): Allow choosing a non-existing todo file to
14020         move the category to, and create that file.
14021         (todo-default-priority): New user option.
14022         (todo-set-item-priority): Use it.
14023         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14024         (desktop-restore-file-buffer): Declare.
14025         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14026         (todo-modes-set-2): Locally set desktop-save-buffer to
14027         todo-desktop-save-buffer.
14028         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14029         (auto-mode-alist): Add autoload cookie.
14031 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
14033         * emacs-lisp/subr-x.el: Renamed from helpers.el.
14034         helpers.el was a poor choice of name.
14035         (string-remove-prefix): New function.
14036         (string-remove-suffix): New function.
14038 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
14040         Fix assignment for new window total sizes.
14041         * window.el (window--pixel-to-size): Remove function.
14042         (window--pixel-to-total-1, window--pixel-to-total):
14043         Fix calculation of new total sizes.
14045 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
14047         * comint.el (comint-output-filter): Fix rear-nonsticky property
14048         placement (Bug#16010).
14050 2013-12-20  Chong Yidong  <cyd@gnu.org>
14052         * faces.el (read-color): Minor fix for completion function.
14054 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
14056         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14057         New option.  (Bug#16182)
14058         (ruby-smie--indent-to-stmt-p): Use it.
14059         (ruby-smie-rules): Revert the logic in the handling of `when'.
14060         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14061         (ruby-deep-arglist, ruby-deep-indent-paren)
14062         (ruby-deep-indent-paren-style): Update docstrings to note that the
14063         vars don't have any effect with SMIE.
14065 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
14067         * calc/calc.el (calc-enter, calc-pop): Use the variable
14068         `calc-context-sensitive-enter'.
14070 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14072         * net/shr.el (shr-insert): Protect against infloops in degenerate
14073         tables.
14075 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14077         * progmodes/octave.el (octave): Add link to manual and octave
14078         homepage.
14079         (octave-mode-menu): Link to octave-mode manual.
14081 2013-12-20  Leo Liu  <sdl.web@gmail.com>
14083         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14084         insertion using skeleton-end-newline.  (Bug#16138)
14086 2013-12-20  Juri Linkov  <juri@jurta.org>
14088         * replace.el (occur-engine): Use `add-face-text-property'
14089         to add the face property to matches and titles.  (Bug#14645)
14091         * hi-lock.el (hi-green): Use lighter color "light green" closer to
14092         the palette of other hi-lock colors.
14093         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14095 2013-12-19  Juri Linkov  <juri@jurta.org>
14097         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14098         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
14099         (minibuffer-history-symbol): Move variable declaration closer to
14100         its usage.
14102         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14103         (Bug#14785)
14105 2013-12-19  Juri Linkov  <juri@jurta.org>
14107         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14108         New function.
14109         (log-edit-hook): Add it to :options.  (Bug#16170)
14111 2013-12-19  Juri Linkov  <juri@jurta.org>
14113         * simple.el (eval-expression-print-format): Don't check for
14114         command names and the last command.  Always display additional
14115         formats of the integer result in the echo area, and insert them
14116         to the current buffer only with a zero prefix arg.
14117         Display character when char-displayable-p is non-nil.
14118         (eval-expression): With a zero prefix arg, set `print-length' and
14119         `print-level' to nil, and insert the integer values from
14120         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
14122         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14123         `eval-last-sexp-arg-internal'.  Doc fix.
14124         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14125         `eval-last-sexp-print-value'.  Doc fix.
14126         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14127         Set `print-length' and `print-level' to nil when arg is zero.
14128         (eval-last-sexp): Doc fix.
14129         (eval-defun-2): Print the integer values from
14130         `eval-expression-print-format' at the end.
14132         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14133         values from `eval-expression-print-format' at the end.
14135         * ielm.el (ielm-eval-input): Print the integer
14136         values from `eval-expression-print-format' at the end.
14138 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
14140         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14141         2013-12-11T19:01:44Z!tzz@lifelogs.com.
14143 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14145         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
14146         (hl-line-highlight, global-hl-line-highlight): Use it.
14147         (hl-line-overlay): Use defvar-local.
14149 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
14151         * term/ns-win.el: Require dnd.
14152         (global-map): Remove drag items.
14153         (ns-insert-text, ns-set-foreground-at-mouse)
14154         (ns-set-background-at-mouse):
14155         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14156         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14157         New functions.
14159 2013-12-19  Glenn Morris  <rgm@gnu.org>
14161         * emacs-lisp/ert.el (ert-select-tests):
14162         Fix string/symbol mixup.  (Bug#16121)
14164 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
14166         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14167         keywords to their parent.
14169 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
14171         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14172         first arg to be a string (fixed dead code), or an operator symbol.
14173         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14174         operator symbols.
14175         (ruby-smie-rules): Remove parent token check in the `.' clause, it
14176         did nothing.  Don't respond to `(:after ".")', it will be called
14177         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
14178         change anything.  Only return indentation for binary operators
14179         when they are hanging.  De-dent opening paren when its parent is
14180         `.', otherwise it looks bad when the dot is not at bol or eol
14181         (bug#16182).
14183 2013-12-19  Juri Linkov  <juri@jurta.org>
14185         * replace.el (query-replace-read-args): Split a non-negative arg
14186         and a negative arg into separate elements.
14187         (query-replace, query-replace-regexp, replace-string)
14188         (replace-regexp): Add arg `backward'.  Doc fix.
14189         (replace-match-maybe-edit): When new arg `backward' is non-nil,
14190         move point to the beginning of the match.
14191         (replace-search, replace-highlight): Use new arg `backward'
14192         to set the value of `isearch-forward'.
14193         (perform-replace): Add arg `backward' and use it to perform
14194         replacement backward.  (Bug#14979)
14196         * isearch.el (isearch-query-replace): Use a negative prefix arg
14197         to call `perform-replace' with a non-nil arg `backward'.
14199 2013-12-18  Juri Linkov  <juri@jurta.org>
14201         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14202         to the default list.  Move `log-edit-show-files' to the end.
14203         Add more available functions to options.
14204         (log-edit): Move default specific settings to
14205         `log-edit-insert-message-template'.  Don't move point.
14206         (log-edit-insert-message-template): New function.
14207         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14208         (Bug#16170)
14210 2013-12-18  Juri Linkov  <juri@jurta.org>
14212         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14213         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
14215 2013-12-18  Leo Liu  <sdl.web@gmail.com>
14217         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14218         (Bug#16186)
14220 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
14222         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14223         formats for displaying file sizes when the -s switch is given.
14224         Instead, compute a separate format for displaying the size in
14225         blocks, which is displayed in addition to the "regular" size.
14226         When -h is given in addition to -s, produce size in blocks in
14227         human-readable form as well.  (Bug#16179)
14229 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
14231         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14232         Reference tables with ~\ref{...} instead of only \ref{...}.
14234 2013-12-18  Chong Yidong  <cyd@gnu.org>
14236         * cus-edit.el (custom-magic-alist): Fix "themed" description
14237         (Bug#14348).
14239         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14240         is non-nil, do not create a new entry in the symbol's theme-value
14241         or theme-face property; update theme-settings only (Bug#14664).
14242         (custom-available-themes): Doc fix.
14244         * cus-theme.el (custom-new-theme-mode-map): Add bindings
14245         (Bug#15674).
14247         * replace.el (occur-engine): Avoid infloop (Bug#7593).
14249 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
14251         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14252         (Bug#13914).
14254 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14256         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14258 2013-12-18  Glenn Morris  <rgm@gnu.org>
14260         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14261         * cus-start.el (load-prefer-newer): New option.
14263 2013-12-18  Le Wang  <l26wang@gmail.com>
14265         * comint.el (comint-previous-matching-input-from-input):
14266         Retain point (Bug#13404).
14268 2013-12-18  Chong Yidong  <cyd@gnu.org>
14270         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14272 2013-12-18  Glenn Morris  <rgm@gnu.org>
14274         * mail/emacsbug.el (report-emacs-bug):
14275         Only mention enable-multibyte-characters if non-standard.
14277 2013-12-17  Juri Linkov  <juri@jurta.org>
14279         * arc-mode.el (archive-extract-by-file): Check if directory exists
14280         before deletion to not show irrelevant errors if it doesn't exist.
14282 2013-12-17  Juri Linkov  <juri@jurta.org>
14284         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14285         (Bug#14751)
14287         * net/eww.el (browse-web): Add alias to `eww'.
14288         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14289         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
14291         * net/browse-url.el (browse-url-browser-function): Move `eww'
14292         closer to similar functions.
14294         * startup.el (fancy-startup-screen, fancy-about-screen):
14295         Set browse-url-browser-function to eww-browse-url locally.
14296         (Bug#14751)
14298 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14300         * window.el (window--pixel-to-total): Remove unused `mini' var.
14301         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14302         (split-window): Remove unused `new' var.
14303         (window--display-buffer): Remove unused `frame' and `delta' vars.
14304         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14305         and display-width'.
14307 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
14309         * dired.el (dired-mark-pop-up):
14310         * register.el (register-preview): Don't bind
14311         split-height-threshold here since it's now done in
14312         display-buffer-below-selected.
14314 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
14316         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14317         xterm-rgb-convert-to-16bit.
14318         (rxvt-register-default-colors): Standardize with
14319         xterm-register-default-colors (Bug#14078).
14321 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
14323         * simple.el (kill-region): Pass mark first, then point, so that
14324         kill-append works right (Bug#12819).
14325         (copy-region-as-kill, kill-ring-save): Likewise.
14327 2013-12-17  Leo Liu  <sdl.web@gmail.com>
14329         * net/rcirc.el (rcirc-add-face):
14330         * eshell/em-prompt.el (eshell-emit-prompt):
14331         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14332         (Bug#16167)
14334 2013-12-17  Chong Yidong  <cyd@gnu.org>
14336         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14337         Suggested by Xue Fuqiao.
14339 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
14341         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14343 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14345         * net/shr.el (shr-insert-document): Remove unused var
14346         `shr-preliminary-table-render'.
14347         (shr-rescale-image): Remove unused arg `force'.
14348         (shr-put-image): Update calls accordingly.
14349         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14351 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
14353         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14354         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14355         :close-all, to see which indentation method to use (Bug#16116).
14356         (smie-rules-function): Document the method :close-all.
14358 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14360         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14362         * net/eww.el (eww-display-html): If we can't find the anchor we're
14363         looking for, then go to point-min.
14365 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
14367         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14368         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14369         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14370         Expand dir too, in case it's relative.
14372 2013-12-16  Juri Linkov  <juri@jurta.org>
14374         * desktop.el (desktop-auto-save-timeout): Change default to
14375         `auto-save-timeout'.  Doc fix.
14376         (desktop-save): Skip the timestamp in desktop-saved-frameset
14377         when checking for auto-save changes.
14378         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14379         `desktop-auto-save' is called repeatedly by the idle timer.
14380         (desktop-auto-save-set-timer): Replace `run-with-timer' with
14381         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
14382         (Bug#15331)
14384 2013-12-16  Juri Linkov  <juri@jurta.org>
14386         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14387         (Bug#16035)
14388         (isearch-pre-command-hook): Check `this-command' for symbolp.
14390 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14392         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14394 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
14396         * progmodes/cfengine.el (cfengine3--current-word): Remove.
14397         (cfengine3--current-function): Bring in the current-function
14398         functionality from `cfengine3--current-word'.
14399         (cfengine3-completion-function): Bring in the
14400         bounds-of-current-word functionality from
14401         `cfengine3--current-word'.
14403 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
14405         * window.el (display-buffer-below-selected):
14406         Bind split-height-threshold to 0 as suggested by Juri Linkov.
14408 2013-12-16  Leo Liu  <sdl.web@gmail.com>
14410         * progmodes/compile.el (compile-goto-error): Do not push-mark.
14411         Remove NOMSG arg and all uses changed.
14413 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14415         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14416         (cua--deactivate-rectangle): Don't deactivate the mark.
14417         (cua-set-rectangle-mark): Don't set mark-active since
14418         cua--activate-rectangle already does it for us.
14419         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14420         non-rectangular region.
14422         * emulation/cua-base.el (cua-repeat-replace-region):
14423         Use with-current-buffer.
14425         * net/gnutls.el: Use cl-lib.
14426         (gnutls-negotiate): `mapcan' -> cl-mapcan.
14428 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
14430         * emacs-lisp/package.el (package-built-in-p): Support both
14431         built-in and the package.el converted package descriptions.
14432         (package-show-package-list): Allow keywords.
14433         (package-keyword-button-action): Use it instead of
14434         `finder-list-matches'.
14435         (package-menu-filter-interactive): Interactive filtering (by
14436         keyword) function.
14437         (package-menu--generate): Support keywords and change keymappings
14438         and headers when they are given.
14439         (package--has-keyword-p): Helper function.
14440         (package-menu--refresh): Use it.
14441         (package--mapc): Helper function.
14442         (package-all-keywords): Use it.
14443         (package-menu-mode-map): Set up menu items and keybindings to
14444         provide a filtering UI.
14446 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
14448         * net/gnutls.el (gnutls-verify-error): New defcustom to control
14449         the behavior when a certificate fails validation.  Defaults to
14450         old behavior: never abort, just warn.
14451         (gnutls-negotiate): Use it.
14453 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
14455         * window.el (display-buffer-below-selected): Never split window
14456         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
14458 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
14460         * emacs-lisp/package.el (package--prepare-dependencies): New function.
14461         (package-buffer-info): Use it (bug#15108).
14463 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14465         * icomplete.el (icomplete-completions): Make sure the prefix is already
14466         displayed elsewhere before hiding it (bug#16219).
14468 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
14470         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14471         open-paren tokens when preceded by a open-paren, too.
14472         (ruby-smie-rules): Handle virtual indentation after open-paren
14473         tokens specially.  If there is code between it and eol, return the
14474         column where is starts (Bug#16118).
14476 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
14478         * progmodes/cfengine.el: Fix `add-hook' doc.
14479         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14480         (cfengine3--current-word): Fix parameters.
14481         (cfengine3-make-syntax-cache): Simplify further.
14482         (cfengine3-completion-function, cfengine3--current-function):
14483         Use `assq' for symbols.
14484         (cfengine3--current-function): Fix `cfengine3--current-word' call.
14486 2013-12-13  Glenn Morris  <rgm@gnu.org>
14488         * loadup.el (load-path): Warn if site-load or site-init changes it.
14489         No more need to reset it when bootstrapping.
14491 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
14493         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14494         locations for cf-promises.
14495         (cfengine-mode-syntax-functions-regex): New caching variable.
14496         (cfengine3-fallback-syntax): Fallback syntax for cases where
14497         cf-promises doesn't run.
14498         (cfengine3--current-word): Reimplement using
14499         `cfengine-mode-syntax-functions-regex'.
14500         (cfengine3-completion-function, cfengine3--current-function):
14501         Use `cfengine3-make-syntax-cache' directly.
14502         (cfengine3-clear-syntax-cache): New function.
14503         (cfengine3-make-syntax-cache): Simplify and create
14504         `cfengine-mode-syntax-functions-regex' on demand.
14505         (cfengine3-format-function-docstring): Don't call
14506         `cfengine3-make-syntax-cache' explicitly.
14508 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
14510         Fix windmove-find-other-window broken after pixelwise resizing
14511         (Bug#16017).
14512         * windmove.el (windmove-other-window-loc): Revert change from
14513         2013-12-04.
14514         (windmove-find-other-window): Call window-in-direction.
14515         * window.el (window-in-direction): New arguments SIGN, WRAP and
14516         MINI to emulate original windmove-find-other-window behavior.
14518 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
14520         * simple.el (blink-matching--overlay): New variable.
14521         (blink-matching-open): Instead of moving point, highlight the
14522         matching paren with an overlay
14523         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14525         * faces.el (paren-showing-faces, show-paren-match)
14526         (show-paren-mismatch): Move from paren.el.
14528 2013-12-13  Leo Liu  <sdl.web@gmail.com>
14530         * indent.el (indent-region): Disable progress reporter in
14531         minibuffer.  (Bug#16108)
14533         * bindings.el (visual-order-cursor-movement): Fix version.
14535 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14537         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14538         Also match after beginning of line.
14539         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14540         files.  Thanks to Russell Sim.  (Bug#15378)
14542 2013-12-13  Juri Linkov  <juri@jurta.org>
14544         * simple.el <Keypad support>: Remove key bindings duplicated
14545         with bindings.el.  (Bug#14397)
14547 2013-12-13  Juri Linkov  <juri@jurta.org>
14549         * comint.el (comint-mode-map): Replace `delete-char' with
14550         `delete-forward-char'.  (Bug#16109)
14552 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14554         * progmodes/python.el (python-indent-calculate-indentation):
14555         Fix de-denters cornercase.  (Bug#15731)
14557 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14559         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14560         (advice--make): Pay attention to `depth'.
14561         (advice--make-1): Don't autoload commands eagerly.
14562         * emacs-lisp/elp.el (elp-instrument-function):
14563         * emacs-lisp/trace.el (trace-function-internal):
14564         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14566         * iswitchb.el (iswitchb-mode): Don't belittle ido.
14568 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
14570         * term/w32-win.el (w32-handle-dropped-file):
14571         * startup.el (normal-top-level):
14572         * net/browse-url.el (browse-url-file-url):
14573         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14574         decode file names using 'utf-8' rather than
14575         file-name-coding-system.
14577 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14579         * progmodes/python.el (python-indent-context)
14580         (python-indent-calculate-indentation): Fix auto-identation
14581         behavior for comment blocks.  (Bug#15916)
14583 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
14585         * progmodes/python.el (python-indent-calculate-indentation):
14586         When determining indentation, don't treat "return", "pass", etc., as
14587         operators when they are just string constituents.  (Bug#15812)
14589 2013-12-12  Juri Linkov  <juri@jurta.org>
14591         * uniquify.el (uniquify-buffer-name-style): Change default to
14592         `post-forward-angle-brackets'.
14594         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14595         `uniquify'.  Change default to `post-forward-angle-brackets'.
14597 2013-12-11  Glenn Morris  <rgm@gnu.org>
14599         * emacs-lisp/package.el (finder-list-matches):
14600         Autoload rather than falsely declaring.
14602 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
14604         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
14605         (eww-mode-map): Use them.
14607 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
14609         * window.el (display-buffer-in-side-window): Fix doc-string
14610         (Bug#16115).
14612 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
14614         * vc/vc-git.el: Silence byte-compiler warnings.
14615         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
14616         (log-edit-set-header): Declare.
14618 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
14620         * Makefile.in (custom-deps, finder-data): Run output file names
14621         through unmsys--file-name.  (Bug#16099)
14623 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14625         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
14626         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
14628         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
14629         instead of deleting the selection "by hand" (bug#16098).
14630         Rely on insert-for-yank to yank rectangles.
14631         (cua-highlight-region-shift-only): Mark obsolete.
14632         (cua-mode): Don't enable/disable transient-mark-mode,
14633         shift-select-mode (cua-mode works both with and without them), and
14634         pc-selection-mode (obsolete).
14635         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
14636         (cua--deactivate-rectangle): Deactivate it.
14638         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
14639         (delete-selection-helper): Make sure yank starts at the top of the
14640         deleted region.
14641         (minibuffer-keyboard-quit): Use region-active-p.
14643         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
14645         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
14646         to `delete' (bug#16109).
14648 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14650         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
14651         info manual and show keybindings and set `:group' keyword.
14653 2013-12-11  Juri Linkov  <juri@jurta.org>
14655         * delsel.el (delete-active-region): Let-bind `this-command'
14656         to prevent `kill-region' from changing its original value.
14657         (delete-selection-helper): Handle `overwrite-mode' for the type
14658         `kill' exactly the same way as for the type `t'.
14659         (insert-char, quoted-insert, reindent-then-newline-and-indent):
14660         Support more commands.  (Bug#13312)
14662 2013-12-11  Juri Linkov  <juri@jurta.org>
14664         * bindings.el: Map kp keys to non-kp keys systematically
14665         with basic modifiers control, meta and shift.  (Bug#14397)
14667 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
14669         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
14670         "Close browser" menu items.  Fix wrong function of "List
14671         bookmarks".
14673 2013-12-11  Juri Linkov  <juri@jurta.org>
14675         * misearch.el (multi-isearch-buffers): Set the value of
14676         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
14677         arg of isearch-forward to t.
14678         (multi-isearch-buffers-regexp): Set the value of
14679         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
14680         arg of isearch-forward-regexp to t.
14681         (multi-isearch-files): Set the value of
14682         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
14683         arg of isearch-forward to t.
14684         (multi-isearch-files-regexp): Set the value of
14685         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
14686         arg of isearch-forward-regexp to t.  (Bug#16035)
14688         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
14689         arg of isearch-forward to t.
14690         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
14691         arg of isearch-forward-regexp to t.
14692         (dired-isearch-filter-filenames): Remove unnecessary check for
14693         `dired-isearch-filenames'.
14695         * comint.el (comint-history-isearch-backward):
14696         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
14697         (comint-history-isearch-backward-regexp):
14698         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
14700 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
14702         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
14703         unmsys--file-name.  (Bug#16099)
14705 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
14707         * emacs-lisp/package.el (package-keyword-button-action):
14708         Remove finder.el require dependency.
14710 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
14712         * emacs-lisp/package.el: Require finder.el.
14713         (describe-package-1): Add keyword buttons.
14714         (package-make-button): New convenience function.
14715         (package-keyword-button-action): Keyword button action using
14716         `finder-list-matches'.
14718 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
14720         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
14721         last commit.
14723 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
14725         * autorevert.el (auto-revert-notify-add-watch): Do not handle
14726         symlinked files.
14728 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
14730         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14731         after the end of a percent literal.
14733 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
14735         * progmodes/ruby-mode.el (ruby-forward-string): Document.
14736         Handle caret-delimited strings (Bug#16079).
14738 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
14740         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
14741         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
14742         `ruby-parse-partial' (Bug#16078).
14744 2013-12-09  Leo Liu  <sdl.web@gmail.com>
14746         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
14748 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
14750         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
14751         (js-switch-indent-offset): New option.
14752         (js--proper-indentation): Use it.  And handle the case when
14753         "default" is actually a key in an object literal.
14754         (js--same-line): New function.
14755         (js--multi-line-declaration-indentation): Use it.
14756         (js--indent-in-array-comp, js--array-comp-indentation):
14757         New functions.
14758         (js--proper-indentation): Use them, to handle array comprehension
14759         continuations.
14761 2013-12-08  Leo Liu  <sdl.web@gmail.com>
14763         * progmodes/flymake.el (flymake-highlight-line): Re-write.
14764         (flymake-make-overlay): Remove arg MOUSE-FACE.
14765         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
14767 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14769         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
14770         New function.
14771         (redisplay-highlight-region-function): Use it.
14773         * emulation/cua-base.el (cua--explicit-region-start)
14774         (cua--last-region-shifted): Remove.
14775         (cua--deactivate): Use deactivate-mark.
14776         (cua--pre-command-handler-1): Don't handle shift-selection.
14777         (cua--post-command-handler-1): Don't change transient-mark-mode.
14778         (cua--select-keymaps): Use region-active-p rather than
14779         cua--explicit-region-start or cua--last-region-shifted.
14780         (cua-mode): Enable shift-select-mode.
14782 2013-12-08  Leo Liu  <sdl.web@gmail.com>
14784         * progmodes/flymake.el (flymake-popup-current-error-menu):
14785         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
14786         (flymake-posn-at-point-as-event, flymake-popup-menu)
14787         (flymake-make-emacs-menu): Remove.  (Bug#16077)
14789 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14791         * rect.el (rectangle-mark-mode): Activate mark even if
14792         transient-mark-mode is off (bug#16066).
14793         (rectangle--highlight-for-redisplay): Fix boundary condition when point
14794         is > mark and at bolp.
14796         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
14797         (region-extract-function): Use it.
14798         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
14799         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
14800         Delete functions.
14801         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
14802         kill-ring-save, kill-region, delete-char, delete-forward-char.
14803         Ignore self-insert-iso.
14805         * emulation/cua-gmrk.el (cua--init-global-mark):
14806         Ignore `self-insert-iso'.
14808         * emulation/cua-base.el (cua--prefix-copy-handler)
14809         (cua--prefix-cut-handler): Rely on region-extract-function rather than
14810         checking cua--rectangle.
14811         (cua-delete-region): Use region-extract-function.
14812         (cua-replace-region): Delete function.
14813         (cua-copy-region, cua-cut-region): Obey region-extract-function.
14814         (cua--pre-command-handler-1): Don't do the delete-selection thing.
14815         (cua--self-insert-char-p): Ignore `self-insert-iso'.
14816         (cua--init-keymaps): Don't remap delete-selection commands.
14817         (cua-mode): Use delete-selection-mode instead of rolling our own
14818         (bug#16085).
14820         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
14821         Obey region-extract-function.
14823         Make registers and delete-selection-mode work on rectangles.
14824         * register.el (describe-register-1): Don't modify the register's value.
14825         (copy-to-register): Obey region-extract-function.
14826         * delsel.el (delete-active-region): Obey region-extract-function.
14828 2013-12-08  Leo Liu  <sdl.web@gmail.com>
14830         * progmodes/flymake.el (flymake, flymake-error-bitmap)
14831         (flymake-warning-bitmap, flymake-fringe-indicator-position)
14832         (flymake-compilation-prevents-syntax-check)
14833         (flymake-start-syntax-check-on-newline)
14834         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
14835         (flymake-start-syntax-check-on-find-file, flymake-log-level)
14836         (flymake-xml-program, flymake-master-file-dirs)
14837         (flymake-master-file-count-limit)
14838         (flymake-allowed-file-name-masks): Relocate.
14839         (flymake-makehash, flymake-float-time)
14840         (flymake-replace-regexp-in-string, flymake-split-string)
14841         (flymake-get-temp-dir): Remove.
14842         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
14843         (flymake-current-row, flymake-selected-frame)
14844         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
14845         related functions.  (Bug#16077)
14847 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
14849         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
14851 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
14853         * help-fns.el (describe-function-1): Use new advice-* functions
14854         rather than old ad-* functions.  Fix function type description and
14855         source links for advised functions and subrs.
14857 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14859         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
14861 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
14863         * progmodes/compile.el (compilation-start):
14864         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
14866         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
14867         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
14869 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
14871         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14872         Touch up the last change.
14874 2013-12-06  Leo Liu  <sdl.web@gmail.com>
14876         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
14877         (inferior-octave-startup): Always use "octave> " for prompt.
14878         (octave-goto-function-definition)
14879         (octave-sync-function-file-names)
14880         (octave-find-definition-default-filename): Remove redundant backquotes.
14882 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
14884         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
14885         syntax for `?'.
14886         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14887         where appropriate already.
14888         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
14889         end of method names (Bug#15874).
14891 2013-12-06  Juri Linkov  <juri@jurta.org>
14893         * isearch.el (isearch--saved-overriding-local-map):
14894         New internal variable.
14895         (isearch-mode): Set it to the initial value of
14896         `overriding-terminal-local-map'.
14897         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
14898         with `isearch--saved-overriding-local-map'.  (Bug#16035)
14900 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
14902         * progmodes/octave.el (inferior-octave-completion-table):
14903         Turn back into function, use `completion-table-with-cache'
14904         (Bug#11906).  Update all references.
14906         * minibuffer.el (completion-table-with-cache): New function.
14908 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
14910         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
14912 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
14914         * net/eww.el (eww-current-source): New variable to store page
14915         source.
14916         (eww-display-html, eww-mode, eww-save-history)
14917         (eww-restore-history): Use it.
14918         (eww-view-source): New command to view page source.
14919         Opportunistically uses `html-mode' to highlight the buffer.
14920         (eww-mode-map): Install it.
14922 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
14924         * net/dbus.el (dbus-unregister-service)
14925         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
14926         Fix docstring.
14927         (dbus-unregister-service): Skip :serial entries in
14928         `dbus-registered-objects-table'.
14929         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
14931 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
14933         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
14934         around keywords with extra `split-string' argument.
14936 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
14938         * windmove.el (windmove-other-window-loc): Handle navigation
14939         between windows (excluding the minibuffer window - Bug#16017).
14941 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
14943         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
14944         in D-Bus type syntax.
14945         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
14946         preserve unibyte strings.  (Bug#16048)
14948 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14950         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
14951         Call force-mode-line-update is the proper buffer (bug#16042).
14953 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
14955         * vc/log-edit.el (log-edit-add-new-comment): Rename to
14956         `log-edit-remember-comment', make argument optional.  Adjust all
14957         callers.
14958         (log-edit-mode): Add `log-edit-remember-comment' to
14959         `kill-buffer-hook' locally.
14960         (log-edit-kill-buffer): Don't remember comment explicitly since
14961         the buffer is killed anyway.
14963 2013-12-04  Juri Linkov  <juri@jurta.org>
14965         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
14966         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
14968 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
14970         * notifications.el (notifications-close-notification): Call the
14971         D-Bus method with ID being a `:uint32'.  (Bug#16030)
14973 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
14975         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
14977 2013-12-03  Juri Linkov  <juri@jurta.org>
14979         * progmodes/compile.el (compilation-start): Rename window alist
14980         entry `no-display-ok' to `allow-no-window'.
14982         * simple.el (shell-command): Add window alist entry
14983         `allow-no-window' to `display-buffer'.
14984         (async-shell-command): Doc fix.
14986         * window.el (display-buffer-no-window): New action function.
14987         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
14989 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
14991         * vc/log-edit.el (log-edit-set-header): Extract from
14992         `log-edit-toggle-header'.
14993         (log-edit-extract-headers): Separate the summary, when extracted
14994         from header, from the rest of the message with an empty line.
14996         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
14997         line, if present, to the Summary header.
14999 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15001         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15002         in current-buffer (bug#16029).
15004 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
15006         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15007         (debugger-mode-map): Bind it.
15008         (debugger--backtrace-base): New function.
15009         (debugger-eval-expression): Use it.
15010         (debugger-frame-number): Skip local vars when present.
15011         (debugger--locals-visible-p, debugger--insert-locals)
15012         (debugger--show-locals, debugger--hide-locals): New functions.
15014 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
15016         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15017         "LC_ALL".
15018         (tramp-get-remote-locale): New defun.
15019         (tramp-open-connection-setup-interactive-shell): Use it.
15021 2013-12-02  Leo Liu  <sdl.web@gmail.com>
15023         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
15025         * progmodes/sh-script.el (sh-shell-process):
15026         * progmodes/octave.el (inferior-octave-process-live-p):
15027         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15028         (gdb-inferior-io-sentinel):
15029         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15031 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15033         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15034         `save-selected-window' to `log-edit-hide-buf'.  This makes
15035         `log-edit-show-files' idempotent.
15036         (log-edit-show-files): Mark the new window as dedicated.
15038 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
15040         * vc/log-edit.el (log-edit-mode-map): Add binding for
15041         `log-edit-kill-biffer'.
15042         (log-edit-hide-buf): Add a FIXME comment.
15043         (log-edit-add-new-comment): New function, extracted from
15044         `log-edit-done'.
15045         (log-edit-done, log-edit-add-to-changelog): Use it.
15046         (log-edit-kill-buffer): New command.
15048 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15050         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15051         instead of killing the buffer.
15053 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15055         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15057 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15059         * net/eww.el (eww-form-checkbox-selected-symbol)
15060         (eww-form-checkbox-symbol): New customizable variable.
15061         (eww-form-checkbox, eww-toggle-checkbox):
15062         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15064         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15065         (shr--get-media-pref, shr--extract-best-source): New function.
15066         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15067         no :src tag was specified.
15069         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15070         (eww-render): Handle `eww-use-external-browser-for-content-type'.
15071         Use \\` to match beginning of string instead of ^.
15072         (eww-browse-with-external-browser): Provide optional URL parameter.
15073         (eww-render): Set `eww-current-title' back to "".
15075         * net/shr.el (shr-tag-video): Display content for video if no
15076         poster is available.
15077         (shr-tag-audio): Add support for <audio> tag.
15079         * net/eww.el (eww-text-input-types): New const.
15080         (eww-process-text-input): Treat input types in
15081         `eww-text-input-types' as text.
15083         * net/shr.el (shr-tag-table): Fix comment typo.
15085 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15087         * net/eww.el (eww-follow-link): New command to avoid reloading
15088         pages when we follow #target links (bug#15243).
15089         (eww-quit): Special mode buffers shouldn't query before exiting.
15091 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
15093         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15094         forms.
15096 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15098         * net/eww.el (eww-restore-history): Update the window title after
15099         moving in the history.
15100         (eww-current-dom): New variable used to save the current DOM.
15102 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
15104         * vc/log-edit.el (log-edit-mode-map): Add binding for
15105         `log-edit-beginning-of-line'.
15106         (log-edit-setup-add-author): New user option.
15107         (log-edit-beginning-of-line): New command.
15108         (log-edit): Move major mode call above the contents setup so that
15109         the local variable values are already applied.
15110         (log-edit): Only insert "Author: " when
15111         `log-edit-setup-add-author' is non-nil.
15112         (log-edit): When SETUP is non-nil, position point after ": "
15113         instead of point-min.
15115 2013-12-01  Glenn Morris  <rgm@gnu.org>
15117         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15119 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
15121         * startup.el (fancy-splash-frame): On MS-Windows, trigger
15122         redisplay to make sure the initial frame gets a chance to become
15123         visible.  (Bug#16014)
15125 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
15127         Support resizing frames and windows pixelwise.
15128         * cus-start.el (frame-resize-pixelwise)
15129         (window-resize-pixelwise): New entries.
15130         * emacs-lisp/debug.el (debug): Use window-total-height instead
15131         of window-total-size.
15132         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15133         * help.el (describe-bindings-internal): Use help-buffer as
15134         argument for with-help-window.
15135         (temp-buffer-max-width): New option.
15136         (resize-temp-buffer-window, help-window-setup)
15137         (with-help-window): Rewrite.
15138         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
15139         dragging dividers.
15140         * window.el (frame-char-size, window-min-pixel-height)
15141         (window-safe-min-pixel-height, window-safe-min-pixel-width)
15142         (window-min-pixel-width, window-safe-min-pixel-size)
15143         (window-combination-p, window-safe-min-size)
15144         (window-resizable-p, window--size-to-pixel)
15145         (window--pixel-to-size, window--resize-apply-p): New functions.
15146         (window-safe-min-height): Fix doc-string.
15147         (window-size, window-min-size, window--min-size-1)
15148         (window-sizable, window-sizable-p, window--min-delta-1)
15149         (window-min-delta, window--max-delta-1, window-max-delta)
15150         (window--resizable, window--resizable-p, window-resizable)
15151         (window-full-height-p, window-full-width-p, window-at-side-p)
15152         (window--in-direction-2, window-in-direction)
15153         (window--resize-reset-1, window--resize-mini-window)
15154         (window-resize, window-resize-no-error)
15155         (window--resize-child-windows-normal)
15156         (window--resize-child-windows, window--resize-siblings)
15157         (window--resize-this-window, window--resize-root-window)
15158         (window--resize-root-window-vertically)
15159         (adjust-window-trailing-edge, enlarge-window, shrink-window)
15160         (maximize-window, minimize-window, delete-window)
15161         (quit-restore-window, window-split-min-size, split-window)
15162         (balance-windows-2, balance-windows)
15163         (balance-windows-area-adjust, balance-windows-area)
15164         (window--state-get-1, window-state-get, window--state-put-1)
15165         (window--state-put-2, window-state-put)
15166         (display-buffer-record-window, window--display-buffer):
15167         Make functions handle pixelwise sizing of windows.
15168         (display-buffer--action-function-custom-type)
15169         (display-buffer-fallback-action):
15170         Add display-buffer-in-previous-window.
15171         (display-buffer-use-some-window): Resize window to height it had
15172         before.
15173         (fit-window-to-buffer-horizontally): New option.
15174         (fit-frame-to-buffer): Describe new values.
15175         (fit-frame-to-buffer-bottom-margin): Replace with
15176         fit-frame-to-buffer-margins.
15177         (window--sanitize-margin): New function.
15178         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15179         using window-text-pixel-size.
15181 2013-11-30  Glenn Morris  <rgm@gnu.org>
15183         * emacs-lisp/bytecomp.el (byte-compile-form):
15184         Make the `interactive-only' warning like the `obsolete' one.
15185         * comint.el (comint-run):
15186         * files.el (insert-file-literally, insert-file):
15187         * replace.el (replace-string, replace-regexp):
15188         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15189         (goto-line, insert-buffer, next-line, previous-line):
15190         Tweak `interactive-only' spec.
15192         Stop keeping (most) generated cedet grammar files in the repository.
15193         * Makefile.in (semantic): New.
15194         (compile-main): Depend on semantic.
15196 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15198         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15199         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15201         * uniquify.el (uniquify-buffer-name-style): Change default.
15203         * loadup.el: Preload "uniquify".
15205         * time.el (display-time-update): Update all mode lines (bug#15999).
15207         * electric.el (electric-indent-mode): Enable by default.
15208         * loadup.el: Preload "electric".
15210 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
15212         * emacs-lisp/helpers.el (string-empty-p): New function.
15213         (string-blank-p): New function.
15215 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
15217         * imenu.el (imenu--index-alist): Add missing dot to the docstring
15218         (Bug#14029).
15220 2013-11-29  Andreas Politz  <politza@fh-trier.de>
15221         * imenu.el (imenu--subalist-p): Don't error on non-conses and
15222         allow non-lambda lists as functions.
15223         (imenu--in-alist): Don't recurse into non-subalists.
15224         (imenu): Don't pass function itself as an argument (Bug#14029).
15226 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15228         * progmodes/python.el (python-mode-map): Remove binding for ":".
15229         (python-indent-electric-colon): Remove command.
15230         (python-indent-post-self-insert-function): Integrate the previous code
15231         of python-indent-electric-colon.  Make it conditional on
15232         electric-indent-mode.
15233         (python-mode): Add ?: to electric-indent-chars.
15234         Move python-indent-post-self-insert-function to the end of
15235         post-self-insert-hook.
15237 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15239         * doc-view.el (doc-view-goto-page): Update mode-line.
15241         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15243 2013-11-27  Glenn Morris  <rgm@gnu.org>
15245         * international/charprop.el, international/uni-bidi.el:
15246         * international/uni-category.el, international/uni-combining.el:
15247         * international/uni-comment.el, international/uni-decimal.el:
15248         * international/uni-decomposition.el, international/uni-digit.el:
15249         * international/uni-lowercase.el, international/uni-mirrored.el:
15250         * international/uni-name.el, international/uni-numeric.el:
15251         * international/uni-old-name.el, international/uni-titlecase.el:
15252         * international/uni-uppercase.el:
15253         Remove generated files from VCS repository.
15255 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
15257         * filenotify.el (file-notify-add-watch): Don't special-case
15258         w32notify when computing the directory to watch.
15260 2013-11-27  Glenn Morris  <rgm@gnu.org>
15262         Make bootstrap without generated uni-*.el files possible again.
15263         * loadup.el: Update command-line-args checking for unidata-gen.
15264         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15265         * composite.el, international/characters.el:
15266         Handle unicode tables being undefined.
15268         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15269         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15270         (compile-main): Depend on leim rule.
15271         (leim): New rule.
15272         * loadup.el: Move leim-list.el to leim/ subdirectory.
15273         * startup.el (normal-top-level): No more leim directory.
15274         * international/ja-dic-cnv.el (skkdic-convert):
15275         Disable version-control and autoloads in output files.
15276         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15277         Disable version-control and autoloads in output files.
15278         * leim/quail: Move here from ../leim.
15279         * leim/quail/hangul.el (hangul-input-method-activate):
15280         Add autoload cookie.
15281         (generated-autoload-load-name): Set file-local value.
15282         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15283         (generated-autoload-load-name): Set file-local value.
15285 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
15287         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15288         (eww-add-bookmark): Ask confirmation when add to bookmarks.
15289         (eww-quit): Ask confirmation before quitting eww.
15291 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
15293         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15294         reading output from Diff on MS-Windows and MS-DOS.
15296 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
15298         * emacs-lisp/helpers.el (string-reverse): New function.
15300 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
15302         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15303         names on MS Windows, like "/[::1]:".
15305         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15306         SWITCHES.
15308 2013-11-26  Glenn Morris  <rgm@gnu.org>
15310         * progmodes/python.el (python-indent-guess-indent-offset):
15311         Avoid corner-case error.  (Bug#15975)
15313         Preload leim-list.el.  (Bug#4789)
15314         * loadup.el: Load leim-list.el when found.
15315         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15317 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
15319         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15321         * emacs-lisp/helpers.el (string-join): New function.
15323 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
15325         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15326         Mark as obsolete and replace it with a symbol property.
15327         (byte-compile-form): Use new 'interactive-only property.
15328         * comint.el, files.el, replace.el, simple.el:
15329         Apply new 'interactive-only properly.
15331 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
15333         * window.el (display-buffer-at-bottom): Make sure that
15334         split-window-sensibly creates the new window on bottom
15335         (Bug#15961).
15337 2013-11-23  David Kastrup  <dak@gnu.org>
15339         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15340         on the conflict markers when available.
15341         (smerge--get-marker): New function.
15342         (smerge-end-re, smerge-base-re): Add subgroup.
15344 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15346         * frame.el (handle-focus-in, handle-focus-out): Add missing
15347         interactive spec.
15349 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
15351         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15352         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15354 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15356         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
15357         (gomoku--last-pos): New var.
15358         (gomoku--intangible-chars): New const.
15359         (gomoku--intangible): New function.
15360         (gomoku-mode): Use it.  Derive from special-mode.
15361         (gomoku-move-up): Adjust line count.
15362         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15363         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15364         Simplify accordingly.
15366         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15367         Remove blink-cursor code.
15368         (blink-cursor-timer-function, blink-cursor-suspend):
15369         Don't special-case GUIs.
15370         (blink-cursor-mode): Use focus-in/out-hook.
15372 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
15374         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15375         work when annotation is invisible (Bug#13886).
15377 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
15379         * json.el (json-alist-p): Only return non-nil if the alist has
15380         simple keys (Bug#13518).
15382 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
15384         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15385         when control-statement is the first statement in a buffer (Bug#15956).
15387 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
15389         * imenu.el (imenu-generic-skip-comments-and-strings):
15390         New option (Bug#15560).
15391         (imenu--generic-function): Use it.
15393 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
15395         * minibuffer.el (completion--in-region-1): Scroll the correct window.
15396         (Bug#13898)
15398 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
15400         * emacs-lisp/helpers.el: Add some string helpers.
15401         (string-trim-left): Removes leading whitespace.
15402         (string-trim-right): Removes trailing whitespace.
15403         (string-trim): Removes leading and trailing whitespace.
15405         * subr.el (string-suffix-p): New function.
15407 2013-11-23  Glenn Morris  <rgm@gnu.org>
15409         * progmodes/python.el (python-shell-send-file):
15410         Add option to delete file when done.  (Bug#15647)
15411         (python-shell-send-string, python-shell-send-region): Use it.
15413 2013-11-23  Ivan Shmakov  <ivan@siamics.net>
15415         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15416         to set buffer-read-only to t, never to nil.  (Bug#15938)
15418         * textmodes/tex-mode.el (latex-noindent-environments):
15419         Add safe-local-variable property.  (Bug#15936)
15421 2013-11-23  Glenn Morris  <rgm@gnu.org>
15423         * textmodes/enriched.el (enriched-mode): Doc fix.
15424         * emacs-lisp/authors.el (authors-renamed-files-alist):
15425         Add enriched.doc -> enriched.txt.
15427         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15429 2013-11-22  Leo Liu  <sdl.web@gmail.com>
15431         * progmodes/octave.el (inferior-octave-startup): Spit out error
15432         message.
15434 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
15436         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15437         Improve docstring.
15438         Add :version.
15439         (ruby-encoding-magic-comment-style): Add :version.
15441 2013-11-22  Leo Liu  <sdl.web@gmail.com>
15443         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15444         (Bug#15076)
15445         (octave-help-mode): Adapt to change to help-mode-finish to use
15446         derived-mode-p on 2013-09-17.
15447         (inferior-octave-prompt): Also match octave-gui.
15448         (octave-kill-process): Don't ask twice.  (Bug#10564)
15450 2013-11-22  Leo Liu  <sdl.web@gmail.com>
15452         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15453         (inferior-octave-startup, inferior-octave-check-process)
15454         (inferior-octave-track-window-width-change)
15455         (octave-completion-at-point, octave-eldoc-function): Use it.
15456         (octave-kill-process): Provide confirmation.  (Bug#10564)
15458 2013-11-21  Leo Liu  <sdl.web@gmail.com>
15460         * progmodes/octave.el (octave-mode, inferior-octave-mode):
15461         Fix obsolete variable comment-use-global-state.
15463 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15465         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15466         Add `octave-source-file'.
15467         (octave-source-file): New function.  (Bug#15935)
15469 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
15471         * net/eww.el (eww-local-regex): New variable.
15472         (eww): Use it to detect localhost and similar.
15474 2013-11-21  Leo Liu  <sdl.web@gmail.com>
15476         Add completion for command `ag'.
15477         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15478         (pcomplete/ag): New function.
15479         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
15481 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15483         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15484         (bug#14646).
15485         (make-obsolete): Remove interactive spec.
15487 2013-11-21  Glenn Morris  <rgm@gnu.org>
15489         * startup.el (command-line-1): Use path-separator with -L.
15491 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
15493         * emacs-lisp/package.el (describe-package-1): Add package archive
15494         to shown fields.
15496 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
15498         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15499         Change default to "# encoding: %s" to differentiate it from the
15500         default Ruby encoding comment template.
15502 2013-11-20  Era Eriksson  <era+emacsbugs@iki.fi>
15504         * ses.el (ses-mode): Doc fix.  (Bug#14748)
15506 2013-11-20  Leo Liu  <sdl.web@gmail.com>
15508         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
15510 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
15512         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15513         when rebase or bisect are in progress.
15515 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
15517         * filenotify.el (file-notify-add-watch): Doc fix.
15519 2013-11-19  Leo Liu  <sdl.web@gmail.com>
15521         * obsolete/rcompile.el: Mark obsolete.
15523         * progmodes/compile.el (compilation-start)
15524         (compilation-goto-locus, compilation-find-file):
15525         Pass no-display-ok and handle nil value from display-buffer.
15526         (Bug#13594)
15528         * window.el (display-buffer-alist, display-buffer): Document the
15529         new parameter no-display-ok.  Return either a window or nil
15530         but never a non-window value.
15532 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15534         * electric.el (electric-indent-mode-map): Remove.
15535         (electric-indent-mode): Change the global-map instead (bug#15915).
15537         * textmodes/text-mode.el (paragraph-indent-minor-mode):
15538         Use add-function.
15540 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15542         * emacs-lisp/nadvice.el (remove-function): Align with
15543         add-function's behavior.
15545         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15546         (gdb--string-regexp): New constant.
15547         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15548         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15549         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15550         submatch 1.
15551         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15552         Adjust use accordingly.
15553         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15555 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
15557         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15558         interpolation curlies (Bug#15914).
15560 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
15562         * calc/calc.el (calc-context-sensitive-enter): New variable.
15563         (calc-enter): Use `calc-context-sensitive-enter'.
15565 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
15567         * progmodes/cfengine.el: Version bump.
15568         (cfengine-cf-promises): New defcustom to locate cf-promises.
15569         (cfengine3-vartypes): Add new "data" type.
15570         (cfengine3--current-word): New function to get current name-like
15571         word or its bounds.
15572         (cfengine3--current-function): New function to look up a CFEngine
15573         function's definition.
15574         (cfengine3-format-function-docstring): New function.
15575         (cfengine3-make-syntax-cache): New function.
15576         (cfengine3-documentation-function): New function: ElDoc glue.
15577         (cfengine3-completion-function): New function: completion glue.
15578         (cfengine3-mode): Set `compile-command',
15579         `eldoc-documentation-function', and add to
15580         `completion-at-point-functions'.
15582 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
15584         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15585         `tramp-current-connection'.
15587 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
15589         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15590         nil/self/true/false with "end of symbol".
15592 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
15594         * subr.el (version-regexp-alist): Fix a typo.
15596 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
15598         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15599         "en_US.utf8" and "LC_CTYPE" to "".
15600         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15601         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15603 2013-11-15  Leo Liu  <sdl.web@gmail.com>
15605         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
15607 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15609         * progmodes/gud.el (ctl-x-map):
15610         Remove C-x SPC binding.  (Bug#12342)
15611         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
15613 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
15615         * subr.el (version-regexp-alist):
15616         Recognize hg, svn and darcs versions as snapshot versions.
15618         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
15619         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
15620         (ruby--encoding-comment-required-p): Extract from
15621         `ruby-mode-set-encoding'.
15622         (ruby-mode-set-encoding): Add the ability to always insert an
15623         utf-8 encoding comment.  Fix and simplify coding comment update
15624         logic.
15626 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
15628         * net/tramp-gvfs.el (top): Run init code only when
15629         `tramp-gvfs-enabled' is not nil.
15630         (tramp-gvfs-enabled): Check also :system bus.
15632 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15634         Sync with upstream verilog-mode revision 78e66ba.
15635         * progmodes/verilog-mode.el (verilog-end-of-defun)
15636         (verilog-type-completion, verilog-get-list): Remove unused funcs.
15637         (verilog-get-end-of-defun): Remove unused argument.
15638         (verilog-comment-depth): Remove unused local `e'.
15639         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
15640         Don't pass arg to verilog-get-end-of-defun.
15642 2013-11-14  Glenn Morris  <rgm@gnu.org>
15644         * obsolete/assoc.el (aget): Prefix dynamic variable.
15646         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
15648 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15650         * widget.el, hfy-cmap.el: Remove bogus package version number.
15652 2013-11-13  Glenn Morris  <rgm@gnu.org>
15654         * replace.el (replace-eval-replacement):
15655         Try to give more helpful error message.  (Bug#15836)
15657         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15658         (archive-7z-update): Avoid custom type mismatches.
15660         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
15662 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
15664         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
15665         address can be empty.
15667         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
15668         Accept nil SWITCHES.
15669         (tramp-gvfs-handle-write-region): Implement APPEND.
15671 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
15673         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
15674         binary "|" operator and closing block args delimiter.
15675         Remove FIXME comment referring to Ruby 1.8-only syntax.
15676         (ruby-smie--implicit-semi-p): Not after "|" operator.
15677         (ruby-smie--closing-pipe-p): New function.
15678         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
15679         (ruby-smie-rules): Indent after "|".
15681 2013-11-12  Glenn Morris  <rgm@gnu.org>
15683         * ps-print.el (ps-face-attribute-list):
15684         Handle anonymous faces.  (Bug#15827)
15686 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
15688         * window.el (display-buffer-other-frame): Fix doc-string.
15689         (Bug#15868)
15691 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15693         * subr.el (force-mode-line-update): Delete, move to buffer.c.
15695 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
15697         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
15698         (tramp-sh-handle-file-local-copy): Don't write a message when
15699         saving temporary files.
15701         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
15702         both directories are remote.
15703         (tramp-smb-handle-directory-files): Do not return double entries.
15704         Do not expand full file names.
15705         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
15706         (tramp-smb-handle-write-region): Implement APPEND.
15707         (tramp-smb-get-stat-capability): Fix a stupid bug.
15709 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15711         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
15713 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
15715         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
15716         throwing error over malformed let/let* (bug#15814).
15718 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15720         * iswitchb.el (iswitchb-mode): Mark obsolete.
15722 2013-11-11  Glenn Morris  <rgm@gnu.org>
15724         * international/uni-bidi.el, international/uni-category.el:
15725         * international/uni-name.el, international/uni-numeric.el:
15726         Regenerate for Unicode 6.3.0.
15728 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
15730         * net/tramp.el (tramp-methods):
15731         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
15732         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
15734 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
15736         * progmodes/sh-script.el (sh-font-lock-keywords-var):
15737         Force highlighting text after Summary keyword in doc face for rpm.
15739 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
15741         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
15742         available and the word has no wildcards, append one to the grep pattern.
15743         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
15744         (ispell-complete-word): Call `ispell-lookup-words' with the value
15745         independent of `ispell-look-p'.
15747 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
15749         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
15750         Not after "||".
15751         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
15752         their parent.
15754 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15756         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
15757         (ruby-font-lock-keywords): Use backquote.
15759 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
15761         * progmodes/ruby-mode.el (ruby-smie--forward-token)
15762         (ruby-smie--backward-token): Only consider full-string matches.
15764 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
15766         * faces.el (describe-face): Add distant-foreground.
15768 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
15770         * progmodes/ruby-mode.el: Improve encoding comment handling.
15771         (ruby-encoding-magic-comment-style): New option.
15772         (ruby-custom-encoding-magic-comment-template): New option.
15773         (ruby--insert-coding-comment, ruby--detect-encoding):
15774         New functions extracted from `ruby-mode-set-encoding'.
15775         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
15776         to control the style of the auto-inserted encoding comment.
15778 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
15780         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
15781         Use `smie-backward-sexp' with token argument.
15783 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
15785         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15786         Remove instrumentation code.
15788 2013-11-08  Glenn Morris  <rgm@gnu.org>
15790         * progmodes/autoconf.el (autoconf-mode):
15791         Tweak comment-start-skip.  (Bug#15822)
15793 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15795         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
15796         at bobp (bug#15826).
15797         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
15799 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
15801         * man.el (Man-start-calling): New macro, extracted from
15802         Man-getpage-in-background.
15803         (Man-getpage-in-background): Use it.
15804         (Man-update-manpage): New command.
15805         (Man-mode-map): Bind it.
15807 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
15809         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
15810         of "and", "or", "&&" and "||".
15811         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
15812         argument.  Prohibit opening curly brace because it could only be a
15813         block opener in that position.
15814         (ruby-smie--forward-token, ruby-smie--backward-token):
15815         Separate "|" from "&" or "*" going after it.  That can happen in block
15816         arguments.
15817         (ruby-smie--indent-to-stmt): New function, seeks the end of
15818         previous statement or beginning of buffer.
15819         (ruby-smie-rules): Use it.
15820         (ruby-smie-rules): Check if there's a ":" before a curly block
15821         opener candidate; if there is, it's a hash.
15823 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15825         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
15826         (cl--block-wrapper): Fix last accidental change.
15828 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
15830         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15831         Instrument, in order to hunt failure on hydra.
15833 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
15835         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
15836         malformed bindings form (bug#15814).
15838 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
15840         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
15841         "." compared to " @ ".  This incidentally fixes some indentation
15842         examples with "do".
15843         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
15844         (ruby-smie-grammar): New tokens: "and" and "or".
15845         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
15846         Exclude "and" and "or".  Remove "do" in order to work around token
15847         priorities.
15848         (ruby-smie-rules): Add all infix tokens.  Handle the case of
15849         beginning-of-buffer.
15851 2013-11-06  Glenn Morris  <rgm@gnu.org>
15853         * Makefile.in (setwins_almost, setwins_for_subdirs):
15854         Avoid accidental matches.
15856 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15858         * menu-bar.el (popup-menu): Use key-binding.
15860 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
15862         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
15863         menus, support also the menus produced by minor modes.
15864         (Bug#15817)
15866 2013-11-06  Leo Liu  <sdl.web@gmail.com>
15868         * thingatpt.el (thing-at-point-looking-at): Add optional arg
15869         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
15871 2013-11-06  Glenn Morris  <rgm@gnu.org>
15873         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
15874         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
15875         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
15877 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15879         * electric.el (electric-indent-just-newline): New command.
15880         (electric-indent-mode-map): New keymap.
15881         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
15882         Re-add :group which weren't redundant.
15884         * electric.el (electric-indent-local-mode): New minor mode.
15885         (electric-indent-functions-without-reindent): New var.
15886         (electric-indent-post-self-insert-function): Use it.
15887         * emacs-lisp/gv.el (buffer-local-value): Add setter.
15889 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
15891         * international/quail.el (quail-help): Be more explicit about the
15892         meaning of the labels shown on the keys.  (Bug#15800)
15894         * startup.el (normal-top-level): Load the subdirs.el files before
15895         setting the locale environment.  (Bug#15805)
15897 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15899         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
15900         via arguments so as to get the right ones (bug#15418).
15902         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
15904 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
15906         Fix problems found while writing a test suite.
15908         * net/tramp-compat.el (tramp-compat-load): New defun.
15909         * net/tramp.el (tramp-handle-load): Use it.
15911         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
15912         "(numberp ok-if-already-exists)" correctly.
15914 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
15916         * international/characters.el (glyphless-char-display-control):
15917         Add usage note.
15919 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
15921         * progmodes/python.el (python-mode):
15922         * progmodes/scheme.el (scheme-mode):
15923         * progmodes/prolog.el (prolog-mode):
15924         * progmodes/ruby-mode.el (ruby-mode):
15925         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
15926         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
15928 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15930         * rect.el (rectangle--highlight-for-redisplay):
15931         * emacs-lisp/smie.el (smie--next-indent-change):
15932         Use buffer-chars-modified-tick.
15934         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
15936         * electric.el (electric-indent-post-self-insert-function):
15937         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
15939 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
15941         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
15943 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
15945         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
15946         (bug#15786).
15948 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15950         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
15952         * progmodes/python.el: Fix up last change.
15953         (python-shell--save-temp-file): New function.
15954         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
15955         `string' comes from the current buffer.
15956         (python-shell-send-string-no-output): Remove `msg' arg.
15957         (python--use-fake-loc): New var.
15958         (python-shell-buffer-substring): Obey it.  Try to compensate for the
15959         extra coding line added by python-shell--save-temp-file.
15960         (python-shell-send-region): Use python-shell--save-temp-file and
15961         python-shell-send-file directly.  Add `nomain' argument.
15962         (python-shell-send-buffer): Use python-shell-send-region.
15963         (python-electric-pair-string-delimiter): New function.
15964         (python-mode): Use it.
15966 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
15968         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
15969         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
15970         environment and decoding all of the default-directory's to here
15971         from command-line.
15972         (command-line): Decode also argv[0].
15974         * loadup.el: Error out if default-directory is a multibyte string
15975         when we are dumping.
15977         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
15979 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
15981         * emacs-lisp/package.el (package-menu-mode)
15982         (package-menu--print-info, package-menu--archive-predicate):
15983         Add Archive column to package list.
15985 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
15987         Fix problems found while writing a test suite.
15989         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
15990         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
15991         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
15992         to nil when running original file name handler.  Otherwise,
15993         there are problems with constructs like "$$FOO".
15995         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
15996         for `localname'.
15998 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
16000         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16002         * subr.el (version<, version<=, version=):
16003         Update docstrings with information for snapshot versions.
16005         * helpers.el: New library for misc helper functions.
16006         (hash-table-keys): New function returning a list of hash keys.
16007         (hash-table-values): New function returning a list of hash values.
16009 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
16011         * progmodes/ruby-mode.el (ruby-smie--forward-token)
16012         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16014 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
16016         * textmodes/fill.el (fill-single-char-nobreak-p): New function
16017         checking whether point is after a 1-letter word.
16019 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16021         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16022         Don't infloop when expanding region over `multiline' syntax-type that
16023         begins a line (bug#15778).
16025 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16027         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16028         Make it into a proper minor mode.
16029         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16030         (rectangle-mark-mode-map): New keymap.
16031         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16033 2013-11-04  Glenn Morris  <rgm@gnu.org>
16035         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16037 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16039         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16040         (ruby-smie-rules): Use smie-rule-parent instead.
16042         * emacs-lisp/smie.el (smie-rule-parent): Always call
16043         smie-indent-virtual rather than only for hanging tokens.
16044         (smie--next-indent-change): New helper command.
16046 2013-11-03  Glenn Morris  <rgm@gnu.org>
16048         * Makefile.in (abs_srcdir): Remove.
16049         (emacs): Unset EMACSLOADPATH.
16051 2013-11-02  Glenn Morris  <rgm@gnu.org>
16053         * Makefile.in (EMACS): Use a relative filename.
16054         (abs_top_builddir): Remove.
16055         (custom-deps, finder-data, autoloads): Use --chdir.
16057         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16059         Use relative filenames in TAGS files.
16060         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16061         (lisptagsfiles4, TAGS): Use relative file names.
16062         (TAGS-LISP): Remove.
16063         (maintainer-clean): No more TAGS-LISP file.
16065         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16066         (lisptagsfiles4): Use absolute filenames again.
16067         (TAGS, TAGS-LISP): Not everything needs to run in one line.
16068         Remove all *loaddefs files, not just the first.  Remove esh-groups.
16069         (maintainer-clean): Delete TAGS, TAGS-LISP.
16071 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16073         * emacs-lisp/package.el (package-version-join):
16074         Recognize snapshot versions.
16076 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16078         * subr.el (version-regexp-alist): Add support for snapshot versions.
16080 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
16082         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16083         New function, replacement for `smie-rule-parent' for when we want to
16084         skip over our direct parent if it's an assignment token..
16085         (ruby-smie-rules): Use it.
16087 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
16089         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16090         unconditionally.  Remove now unnecessary forward declarations.
16091         Remove XEmacs-specific setup.
16092         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16093         (ruby-font-lock-syntactic-keywords)
16094         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16095         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16096         (ruby-here-doc-end-syntax): Remove.
16097         (ruby-mode): Don't check whether `syntax-propertize-rules' is
16098         defined as function.
16100 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
16102         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16104 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
16106         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16107         table and abbrev table, `define-derived-mode' does that for us
16108         anyway.
16110 2013-11-01  Glenn Morris  <rgm@gnu.org>
16112         * Makefile.in: Remove manual mh-e dependencies (writing .elc
16113         files is atomic for some time, so no parallel compilation issues).
16115 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
16117         * faces.el (face-x-resources): Add :distant-foreground.
16118         (region): Use :distant-foreground for gtk and ns.
16120 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
16122         Allow multiple bibliographies when BibLaTeX is used rather than
16123         BibTeX.
16124         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16125         (reftex-locate-bibliography-files): Us it.
16127 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
16129         * image.el (image-type-header-regexps): Fix the 'pbm' part to
16130         allow comments in pbm files.
16132         * term/w32-win.el (dynamic-library-alist): Support newer versions
16133         of libjpeg starting with v7: look only for the DLL from the
16134         version against which Emacs was built.
16135         Support versions of libpng beyond 1.4.x.
16136         Support libtiff v4.x.
16138 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
16140         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16141         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16142         Add property :safe.
16143         (ruby-deep-arglist): Add property :type.
16145 2013-10-31  Glenn Morris  <rgm@gnu.org>
16147         * Makefile.in (custom-deps, finder-data): No need to setq the target
16148         variables, we are in the right directory and the defaults work fine.
16150 2013-10-30  Glenn Morris  <rgm@gnu.org>
16152         * Makefile.in (autoloads): Do not use abs_lisp.
16154         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16155         `newline' does not respect `standard-output', so use `princ'.
16157 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
16159         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
16160         * buff-menu.el (Buffer-menu--unmark): New function.
16161         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16163 2013-10-30  Glenn Morris  <rgm@gnu.org>
16165         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16167         * emacs-lisp/package.el (lm-homepage): Declare.
16169         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16170         Fix doc typos.
16172         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16174         * Makefile.in (finder-data, autoloads, update-subdirs)
16175         (compile-main, compile-clean, compile-always, bootstrap-clean):
16176         Check return value of cd.
16177         (compile-calc): Remove.
16179 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16181         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16183         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16184         (byte-compile-and-folded): New function.
16185         (=, <, >, <=, >=): Use it.
16187         * dos-w32.el (minibuffer-history-case-insensitive-variables)
16188         (path-separator, null-device, buffer-file-coding-system)
16189         (lpr-headers-switches): Check system-type before modifying them.
16190         (find-buffer-file-type-coding-system): Mark obsolete.
16191         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16192         find-file-not-found-set-buffer-file-coding-system.
16193         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16194         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16195         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16196         (w32-direct-print-region-helper, w32-direct-print-region-function)
16197         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16198         * startup.el (normal-top-level-add-subdirs-to-load-path):
16199         * ps-print.el (ps-print-region-function):
16200         * lpr.el (print-region-function): Use new name.
16202         * subr.el (custom-declare-variable-early): Remove function.
16203         (custom-declare-variable-list): Remove var.
16204         (error, user-error): Remove `while' loop.
16205         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16206         (user-emacs-directory-warning, locate-user-emacs-file):
16207         Move to files.el.
16208         * simple.el (read-quoted-char-radix, read-quoted-char):
16209         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16210         Move from subr.el.
16211         * custom.el (custom-declare-variable-list): Don't process
16212         custom-declare-variable-list.
16214         * progmodes/python.el (python-shell-get-buffer): New function.
16215         (python-shell-get-process): Use it.
16216         (python-shell-send-string): Always use utf-8 and add a cookie to tell
16217         Python which encoding was used.  Don't split-string since we only care
16218         about the first line.  Return the temp-file, if applicable.
16219         (python-shell-send-region): Tell compile.el how to turn locations in
16220         the temp-file into locations in the source buffer.
16222 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16224         * subr.el (undefined): Add missing behavior from the C code for
16225         unbound keys.
16227         * rect.el: Use lexical-binding.  Add new rectangular region support.
16228         (rectangle-mark): New command.
16229         (rectangle--region): New var.
16230         (deactivate-mark-hook): Reset rectangle--region.
16231         (rectangle--extract-region, rectangle--insert-for-yank)
16232         (rectangle--highlight-for-redisplay)
16233         (rectangle--unhighlight-for-redisplay): New functions.
16234         (region-extract-function, redisplay-unhighlight-region-function)
16235         (redisplay-highlight-region-function): Use them to handle
16236         rectangular region.
16237         * simple.el (region-extract-function): New var.
16238         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16239         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16240         (kill-region): Replace obsolete `yank-handler' arg with `region'.
16241         (copy-region-as-kill, kill-ring-save): Add `region' argument.
16242         (redisplay-unhighlight-region-function)
16243         (redisplay-highlight-region-function): New vars.
16244         (redisplay--update-region-highlight): New function.
16245         (pre-redisplay-function): Use it.
16246         (exchange-point-and-mark): Don't deactivate the mark before
16247         reactivate-it anyway.
16248         * comint.el (comint-kill-region): Remove yank-handler argument.
16249         * delsel.el (delete-backward-char, backward-delete-char-untabify)
16250         (delete-char): Remove property, since it's now part of their
16251         default behavior.
16252         (self-insert-iso): Remove property since this command doesn't exist.
16254         * emacs-lisp/package.el (package--download-one-archive)
16255         (describe-package-1): Don't query the user about final newline.
16257 2013-10-29  Daniel Colascione  <dancol@dancol.org>
16259         * net/tramp.el (tramp-methods): Document new functionality.
16260         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16261         tramp-hostname-checker if method provides one instead of scanning
16262         argument list for "%h" to decide hostname acceptability.
16264 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
16266         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16267         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16268         Handle COPY-CONTENTS.  (Bug#15737)
16270 2013-10-28  Daiki Ueno  <ueno@gnu.org>
16272         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16273         Document that this option has no effect with GnuPG 2.0 (bug#15552).
16275 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
16277         * image.el (defimage, image-load-path): Doc fixes.
16279 2013-10-27  Alan Mackenzie  <acm@muc.de>
16281         Indent statements in macros following "##" correctly.
16282         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16283         Modify the "#" arm of a cond form to handle "#" and "##" operators.
16285 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
16287         * linum.el (linum-update-window): Fix boundary test (bug#13446).
16289 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
16291         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16292         after `=' is probably a new expression.
16294 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16296         * man.el (man-imenu-title): New option.
16297         (Man-mode-map): Add menu.  (Bug#15722)
16298         (Man-mode): Add imenu to menu.
16300 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
16302         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16303         specific in what the first arg can be: a non-keyword word,
16304         string/regexp/percent literal opener, opening paren, or unary
16305         operator followed directly by word.
16307 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16309         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16310         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16311         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16312         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16313         Remove vars, they do not apply any more.
16314         (prolog-mode-abbrev-table): Remove redundant declaration.
16315         (prolog-upper-case-string, prolog-lower-case-string): Remove.
16316         (prolog-use-smie): Remove.
16317         (prolog-smie-rules): Add indentation rule for the if-then-else layout
16318         supported by prolog-electric-if-then-else-flag.
16319         (prolog-mode-variables, prolog-menu): Use setq-local.
16320         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16321         Remove binding to `Backspace' since this key doesn't exist anyway.
16322         Remove bindings for electric self-inserting keys.
16323         (prog-mode): Assume it's defined.
16324         (prolog-post-self-insert): New function.
16325         (prolog-mode): Use it.
16326         (prolog-indent-line, prolog-indent-level)
16327         (prolog-find-indent-of-matching-paren)
16328         (prolog-indentation-level-of-line, prolog-goto-comment-column)
16329         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16330         (prolog-goto-next-paren, prolog-in-string-or-comment)
16331         (prolog-tokenize, prolog-inside-mline-comment)
16332         (prolog-find-start-of-mline-comment): Remove functions.
16333         (prolog-find-unmatched-paren, prolog-clause-end)
16334         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16335         (prolog-electric--if-then-else): Rename from
16336         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16337         (prolog-tokenize-searchkey): Remove const.
16338         (prolog-clause-info): Use forward-sexp.
16339         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16340         (prolog-electric-if-then-else): Remove commands.
16341         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16342         for use in post-self-insert-hook.
16343         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16344         for use in post-self-insert-hook.
16345         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16346         for use in post-self-insert-hook.
16347         (prolog-electric--underscore): Rename from prolog-electric--underscore;
16348         adapt it for use in post-self-insert-hook.
16350 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
16352         * emacs-lisp/ert.el (ert-run-tests-interactively):
16353         Use `completing-read'.  (Bug#9756)
16355 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
16357         * simple.el (line-move): Call line-move-1 instead of
16358         line-move-visual when the current window hscroll is zero, but
16359         temporary-goal-column indicates we will need to hscroll as result
16360         of the movement.  (Bug#15712)
16362 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
16364         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16365         capitalization.  Use :visible instead of :active.
16366         Fix `ruby-indent-exp' reference.  Add menu items for the generic
16367         commands that are used with SMIE.
16368         (ruby-do-end-to-brace): Insert space after `{'.
16370 2013-10-25  John Anthony  <john@jo.hnanthony.com>
16372         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
16374         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
16376 2013-10-25  Glenn Morris  <rgm@gnu.org>
16378         * vc/vc.el (vc-print-log): Don't use a working revision unless
16379         one was explicitly specified.  (Bug#15322)
16381 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16383         * subr.el (add-to-list): Preserve return value in compiler-macro
16384         (bug#15692).
16386 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16388         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16389         result.  Ask user to retry using '-all' flag.  (Bug#15701)
16391 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16393         * emacs-lisp/smie.el: New smie-config system.
16394         (smie-config): New defcustom.
16395         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16396         (smie-config-guess, smie-config-save): New commands.
16397         (smie-config--mode-local, smie-config--buffer-local)
16398         (smie-config--trace, smie-config--modefuns): New vars.
16399         (smie-config--advice, smie-config--mode-hook)
16400         (smie-config--setter, smie-config-local, smie-config--get-trace)
16401         (smie-config--guess-value, smie-config--guess): New functions.
16402         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16403         text properties.  Treat "string fence" syntax like string syntax.
16405         * progmodes/sh-script.el (sh-use-smie): Change default.
16406         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16407         (sh-var-value): Simplify by CSE.
16408         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16409         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16410         is used.
16411         (sh-guess-basic-offset): Use cl-incf.
16412         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16414 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
16416         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16417         (bug#15699).
16419 2013-10-24  Glenn Morris  <rgm@gnu.org>
16421         * Makefile.in (abs_top_srcdir): Remove.
16422         (update-subdirs): Use relative path to update-subdirs.
16424 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
16426         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16427         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16428         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16429         Call unmsys--file-name before expand-file-name, not after it.
16431 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
16433         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16434         (ert-test-skipped): New error.
16435         (ert-skip, ert-stats-skipped): New defuns.
16436         (ert--skip-unless): New macro.
16437         (ert-test-skipped): New struct.
16438         (ert--run-test-debugger, ert-test-result-type-p)
16439         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16440         (ert--stats-set-test-and-result, ert-char-for-test-result)
16441         (ert-string-for-test-result, ert-run-tests-batch)
16442         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16443         Handle skipped tests.  (Bug#9803)
16445 2013-10-24  Glenn Morris  <rgm@gnu.org>
16447         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16449         * Makefile.in (abs_top_srcdir): New, set by configure.
16450         (update-subdirs): Correct build-aux location.
16452 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
16454         * vc/vc.el (vc-print-root-log): Always set `default-directory'
16455         value, whether we could auto-deduce `backend', or not.
16457         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16458         with parameters" example.  Simplify the "is it block or is it
16459         hash" check, but also make it more thorough.
16461 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
16463         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
16465 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16467         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16468         { if it is hanging.
16470         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16471         :before ";".
16473 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
16475         * progmodes/compile.el (compilation-directory-matcher)
16476         (compilation-page-delimiter):
16477         Support GNU Make-4.0 directory quoting.  (Bug#15678)
16479 2013-10-23  Leo Liu  <sdl.web@gmail.com>
16481         * ido.el (ido-tidy): Handle read-only text.
16483 2013-10-23  Glenn Morris  <rgm@gnu.org>
16485         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16486         (emacs, compile, compile-always):
16487         Quote entities that might contain whitespace.
16488         (custom-deps, finder-data, autoloads): Use abs_lisp.
16489         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16490         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16491         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16493 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
16495         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16496         Use `following-char'.
16498 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16500         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16501         * progmodes/ruby-mode.el (ruby-smie-rules):
16502         Remove corresponding workaround.  Fix indentation rule of ";" so it
16503         also applies when ";" is the parent.
16505 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
16507         * frame.el (display-screens, display-pixel-height)
16508         (display-pixel-width, display-mm-width, display-backing-store)
16509         (display-save-under, display-planes, display-color-cells)
16510         (display-visual-class, display-monitor-attributes-list):
16511         Mention the optional ‘display’ argument in doc strings.
16513 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
16515         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16516         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
16518 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
16520         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16521         TODO.  Add "." after " @ ".
16522         (ruby-smie--at-dot-call): New function.  Checks if point at method
16523         call with explicit target.
16524         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16525         to the method name tokens when it precedes them.
16526         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16527         (ruby-smie-rules): Add rule for indentation before and after "."
16528         token.
16530 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16532         * textmodes/remember.el (remember-diary-extract-entries):
16533         Avoid add-to-list.
16535         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16536         an instruction.
16538 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
16540         * progmodes/ruby-mode.el (ruby-smie-grammar):
16541         Add (almost) all infix operators.
16542         (ruby-smie--implicit-semi-p): Add new operator chars.
16544         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16545         `smie-down-list'.
16546         (ruby-smie--args-separator-p): Check that there's no newline
16547         between method call and its arguments.
16549 2013-10-20  Alan Mackenzie  <acm@muc.de>
16551         Allow comma separated lists after Java "implements".
16553         * progmodes/cc-engine.el (c-backward-over-enum-header):
16554         Parse commas.
16555         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16556         from a "disallowed" list in enum fontification.
16558 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
16560         * startup.el (default-frame-background-mode): Remove unused defvar.
16562         * progmodes/verilog-mode.el (verilog-mode): Don't set
16563         comment-indent-function globally.
16565 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
16567         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16568         Move Info menu item creation to ns-win.el.
16570         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16571         in menu bar.
16573         * menu-bar.el: Move GNUstep specific menus...
16575         * term/ns-win.el (ns-initialize-window-system): ... to here.
16577 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16579         * simple.el (newline): Only run post-self-insert-hook when
16580         called interactively.
16582 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
16584         * icomplete.el (icomplete-with-completion-tables): Add :version.
16586 2013-10-19  Alan Mackenzie  <acm@muc.de>
16588         Fix fontification bugs with constructors and const.
16590         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16591         CASE 2) Remove the check for the absence of a suffix construct
16592         after a function declaration with only types (no identifiers) in
16593         the parentheses.  Also, accept a function declaration with just a
16594         type inside the parentheses, if this type can be positively
16595         recognised as such, or if a prefix keyword like "explicit" nails
16596         down the construct as a declaration.
16598 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
16600         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16601         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
16602         the problem whereby selecting a menu item that leads to a
16603         minibuffer prompt moves the cursor out of the minibuffer window,
16604         making it hard to type at the prompt.  Suggested by Stefan Monnier
16605         <monnier@iro.umontreal.ca>.
16607 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
16609         * menu-bar.el: Don't make Services menu.
16611 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16613         * ffap.el: Handle "/usr/include/c++/<version>" directories.
16614         (ffap-alist): Use ffap-c++-mode for c++-mode.
16615         (ffap-c++-path): New variable.
16616         (ffap-c++-mode): New function.
16618 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
16620         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
16622 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
16624         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
16625         introduced on 2013-09-08, which results in an infinite loop
16626         requesting a password.
16628 2013-10-18  Glenn Morris  <rgm@gnu.org>
16630         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
16632 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
16634         Sync with upstream verilog-mode revision 1a6ecec7.
16635         * progmodes/verilog-mode.el (verilog-mode-version): Update.
16636         (verilog-mode-release-date): Remove.
16637         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
16638         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
16639         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
16640         (verilog-auto-tieoff-ignore-regexp)
16641         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
16642         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
16643         (verilog-signals-with, verilog-dir-cache-preserving)
16644         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
16645         Doc fixes.
16646         (verilog-case-fold): New option, to control case folding in
16647         regexp searches, bug597.
16648         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
16649         (verilog-string-match-fold, verilog-in-paren-count)
16650         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
16651         (verilog-at-close-struct-p): New functions.
16652         (verilog-beg-block-re-ordered, verilog-extended-case-re)
16653         (verilog-forward-sexp, verilog-set-auto-endcomments)
16654         (verilog-leap-to-case-head): Handle "unique0" case.
16655         (verilog-in-constraint-re): New constant.
16656         (verilog-keywords, verilog-type-font-keywords):
16657         Add some SystemVerilog 1800-2012 keywords.
16658         (verilog-label-be): Remove unimplemented argument, bug669.
16659         (verilog-batch-execute-func): When batch expanding clear
16660         create-lockfiles to prevent spurious user locks when a file ends
16661         up not changing.
16662         (verilog-calculate-indent, verilog-calc-1)
16663         (verilog-at-close-constraint-p, verilog-at-constraint-p)
16664         (verilog-do-indent): Fix indentation of nested constraints
16665         and structures.
16666         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
16667         (verilog-auto-inst-param): Use verilog-string-match-fold.
16668         (verilog-read-inst-module-matcher):
16669         Fix AUTOINST on gate primitives with #1.
16670         (verilog-read-decls): Fix double-declaring user-defined typed signals.
16671         Reads all user-defined typed variables.
16672         (verilog-read-defines): Fix reading definitions inside comments, bug647.
16673         (verilog-signals-matching-regexp)
16674         (verilog-signals-not-matching-regexp, verilog-auto):
16675         Respect verilog-case-fold.
16676         (verilog-diff-report): Fix line count.
16677         (verilog-auto-assign-modport): Remove unused local `modi'.
16678         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
16679         better handle multidimensional arrays.
16680         Fix packed array ports misadding bit index in AUTOINST, bug637.
16681         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
16682         to not double-declare existing outputs and inputs, respectively.
16683         (verilog-template-map): Bind U to verilog-sk-uvm-component.
16684         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
16685         (verilog-sk-uvm-component): New skeleton.
16686         (verilog-submit-bug-report): Add verilog-case-fold,
16687         remove verilog-mode-release-date.
16689 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
16691         * subr.el (sit-for): Call (input-pending-p t) so as to behave
16692         as before.
16694 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
16696         * textmodes/remember.el (remember): Set buffer-offer-save in
16697         remember buffers (bug#13566).
16699 2013-10-18  Daniel Colascione  <dancol@dancol.org>
16701         When evaluating forms in ielm, direct standard output to ielm
16702         buffer.  Add new ielm-return-for-effect command.  Remove trailing
16703         whitespace throughout.
16705         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
16706         (ielm-return-for-effect): New command.
16707         (ielm-send-input): Accept optional `for-effect' parameter.
16708         (ielm-eval-input): Accept optional `for-effect' parameter.
16709         Bind `standard-output' to stream we create using
16710         `ielm-standard-output-impl'.  Suppress printing result when
16711         `for-effect'.
16712         (ielm-standard-output-impl): New function.
16713         (inferior-emacs-lisp-mode): Explain new features in documentation.
16715 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
16717         Code cleanup.
16719         * net/tramp.el (tramp-debug-message): Do not check for connection
16720         buffer.
16721         (tramp-message): Use "vector" connection property.
16723         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
16724         (tramp-equal-remote, tramp-eshell-directory-change)
16725         * net/tramp-adb.el (tramp-adb-handle-copy-file)
16726         (tramp-adb-handle-rename-file)
16727         * net/tramp-cmds.el (tramp-list-remote-buffers)
16728         (tramp-cleanup-connection, tramp-cleanup-this-connection)
16729         * net/tramp-compat.el (tramp-compat-process-running-p)
16730         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
16731         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
16732         (tramp-gvfs-handle-rename-file)
16733         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16734         (tramp-set-file-uid-gid)
16735         * net/tramp-smb.el (tramp-smb-handle-copy-file)
16736         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
16737         of `file-remote-p'.
16739         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
16740         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
16741         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
16742         (tramp-gw-open-network-stream): Suppress unrelated traces.
16744         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
16745         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
16746         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16747         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
16748         connection property.
16750         * net/tramp-cache.el (top): Suppress traces when reading
16751         persistency file.
16753         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16754         Refactor common code.  Improve debug message.
16755         (tramp-maybe-open-connection)
16756         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
16757         connection buffer too early.
16759         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
16760         from `tramp-smb-actions-with-acl'.
16761         (tramp-smb-actions-set-acl): New defconst.
16762         (tramp-smb-handle-copy-directory)
16763         (tramp-smb-action-get-acl): New defun, renamed from
16764         `tramp-smb-action-with-acl'.
16765         (tramp-smb-action-set-acl): New defun.
16766         (tramp-smb-handle-set-file-acl): Rewrite.
16768 2013-10-17  Glenn Morris  <rgm@gnu.org>
16770         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
16772 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16774         * skeleton.el (skeleton-newline): Remove.
16775         (skeleton-internal-1): Use (insert "\n") instead.
16777         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
16778         let-bindings.
16780         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
16781         forward-sexp-function while we redo its job (bug#15613).
16783 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
16785         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
16786         represented by lists.
16788 2013-10-16  Glenn Morris  <rgm@gnu.org>
16790         * tmm.el (tmm--history): New dynamic variable.
16791         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
16793 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
16795         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
16796         (tramp-smb-errors): Add error messages.
16797         (tramp-smb-actions-with-acl): New defconst.
16798         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
16799         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
16800         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
16801         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
16802         (tramp-smb-get-stat-capability): Fix tests.
16804 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
16806         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
16807         (bug#15580).
16809 2013-10-16  Glenn Morris  <rgm@gnu.org>
16811         * ansi-color.el (ansi-color-drop-regexp):
16812         Add 1J, 1K, 2K.  (Bug#15617)
16814         * files.el (hack-local-variables--warned-lexical): New.
16815         (hack-local-variables):
16816         Warn about misplaced lexical-binding.  (Bug#15616)
16818         * net/eww.el (eww-render): Always set eww-current-url,
16819         and update header line.  (Bug#15622)
16820         (eww-display-html): ... Rather than just doing it here.
16822 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
16824         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
16825         menu navigations commands.
16827 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
16829         * progmodes/subword.el (subword-capitalize): Be careful when
16830         the search for [[:alpha:]] fails (bug#15580).
16832 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
16834         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
16835         to commands that scroll the menu.
16837 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
16839         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
16840         Handle methods ending with `?' and `!'.
16842 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
16844         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
16845         `japanese-cp932' to `cp932' to fix the problem where saving a
16846         source file written in Shift_JIS twice would end up having
16847         `coding: japanese-cp932' which Ruby could not recognize.
16848         (ruby-mode-set-encoding): Add support for encodings mapped to nil
16849         in `ruby-encoding-map'.
16850         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
16851         doesn't need to be explicitly declared in magic comment.
16852         (ruby-encoding-map): Add type declaration for better customize UI.
16854 2013-10-13  Glenn Morris  <rgm@gnu.org>
16856         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16857         Occur buffers are read-only.  http://bugs.debian.org/720775
16859         * emacs-lisp/authors.el (authors-fixed-entries):
16860         Comment out old alpha stuff.
16862 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
16864         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
16865         to `after-save-hook' instead of `before-save-hook'.
16866         (ruby-mode-set-encoding): Use the value of coding system used to
16867         write the file.  Call `basic-save-buffer-1' after modifying the
16868         buffer.
16870 2013-10-13  Alan Mackenzie  <acm@muc.de>
16872         Fix indentation/fontification of Java enum with
16873         "implements"/generic.
16875         * progmodes/cc-engine.el (c-backward-over-enum-header):
16876         Extracted from the three other places and enhanced to handle generics.
16877         (c-inside-bracelist-p): Uses new function above.
16878         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
16879         function above.
16880         (c-font-lock-enum-tail): Uses new function above.
16882 2013-10-13  Kenichi Handa  <handa@gnu.org>
16884         * international/mule-cmds.el (select-safe-coding-system): Remove a
16885         superfluous condition in chekcing whether a coding system is safe
16886         or not.
16888 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
16890         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
16892 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
16894         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
16896 2013-10-13  Glenn Morris  <rgm@gnu.org>
16898         * menu-bar.el (menu-bar-update-buffers):
16899         Unify Buffers menu prompt string.  (Bug#15576)
16901         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
16903         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
16904         Add some entries.
16905         (authors-fixed-entries): Use accented form of name.
16907 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16909         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
16910         method calls (bug#15594).
16911         (ruby-smie--args-separator-p): New function.
16912         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
16913         recognize paren-free method calls.
16915         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
16916         internals of universal-argument.
16918 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
16920         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
16921         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
16922         dropped menu on second mouse click on the menu bar.
16924 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16926         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
16927         (explicit-shell-file-name): Declare.
16928         (sh--vars-before-point, sh--cmd-completion-table): New functions.
16929         (sh-completion-at-point-function): New function.
16930         (sh-mode): Use it.
16931         (sh-smie--keyword-p): Remove unused argument.
16932         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
16933         vars.
16934         (sh-set-shell): Always setup SMIE, even if we use the
16935         old indentation code.
16937 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
16939         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
16940         cases of ? and =.
16941         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
16942         predicate would return nil are almost non-existent.
16943         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
16945         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
16946         cache also after commands that modify the buffer but don't move
16947         point.
16949 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16951         * env.el (substitute-env-in-file-name): New function.
16952         (substitute-env-vars): Extend the meaning of the optional arg.
16954 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
16956         * term/w32-win.el (dynamic-library-alist): Define separate lists
16957         of GIF DLLs for versions before and after 5.0.0 of giflib.
16958         (Bug#15531)
16960 2013-10-10  João Távora  <joaotavora@gmail.com>
16962         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
16963         not locked, use last revision and current source as
16964         defaults.  (Bug#15569)
16966 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
16968         * menu-bar.el (menu-bar-open): Don't use popup-menu if
16969         menu-bar is hidden.
16971 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
16973         * window.el (pop-to-buffer-same-window): Fix doc-string.
16974         (Bug#15492)
16976 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16978         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
16980 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
16982         * calendar/icalendar.el (icalendar-import-file):
16983         Fix interactive spec.  (Bug#15482)
16985 2013-10-10  Glenn Morris  <rgm@gnu.org>
16987         * desktop.el (desktop-save): Default to saving in .emacs.d,
16988         since PWD is no longer in desktop-path by default.  (Bug#15319)
16990         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
16991         now that text mode has a menu with the same entry.
16992         (menu-bar-text-mode-auto-fill): Remove now unused func.
16993         * textmodes/text-mode.el (text-mode-map):
16994         Use auto-fill help text from menu-bar.el.
16996 2013-10-10  John Anthony  <john@jo.hnanthony.com>
16998         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
17000 2013-10-09  Juri Linkov  <juri@jurta.org>
17002         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17003         instead of this-command-keys.  Add universal-argument-more and
17004         universal-argument-minus to the list of prefix commands.  (Bug#15568)
17006 2013-10-09  Glenn Morris  <rgm@gnu.org>
17008         * vc/vc-svn.el (vc-svn-create-repo):
17009         Expand paths in file://... url.  (Bug#15446)
17011         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17012         Add some entries.
17013         (authors): Remove unused local variables.
17015 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17017         * profiler.el: Create a more coherent calltree from partial backtraces.
17018         (profiler-format): Hide the tail with `invisible' so that C-s can still
17019         find the hidden elements.
17020         (profiler-calltree-depth): Don't recurse so enthusiastically.
17021         (profiler-function-equal): New hash-table-test.
17022         (profiler-calltree-build-unified): New function.
17023         (profiler-calltree-build): Use it.
17024         (profiler-report-make-name-part): Indent the calltree less.
17025         (profiler-report-mode): Add visibility specs for profiler-format.
17026         (profiler-report-expand-entry, profiler-report-toggle-entry):
17027         Expand the whole subtree when provided with a prefix arg.
17029 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
17031         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17032         iuwu-mod token.
17033         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17034         hanging iuwu-mod token.
17035         (ruby-smie--forward-token): Do not include a dot after a token in
17036         that token.
17037         (ruby-smie--backward-token): Likewise.
17039 2013-10-08  Juri Linkov  <juri@jurta.org>
17041         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17042         to isearch-other-control-char.
17043         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17044         and isearch-post-command-hook to post-command-hook.
17045         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17046         and isearch-post-command-hook from post-command-hook.
17047         (isearch-unread-key-sequence)
17048         (isearch-reread-key-sequence-naturally)
17049         (isearch-lookup-scroll-key, isearch-other-control-char)
17050         (isearch-other-meta-char): Remove functions.
17051         (isearch-pre-command-hook, isearch-post-command-hook):
17052         New functions based on isearch-other-meta-char rewritten
17053         relying on the new behavior of overriding-terminal-local-map
17054         that does not replace the local keymaps any more.  (Bug#15200)
17056 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
17058         Support menus on text-mode terminals.
17059         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17060         functionality.
17062         * tooltip.el (tooltip-mode): Don't error out on TTYs.
17064         * menu-bar.el (popup-menu, popup-menu-normalize-position):
17065         Move here from mouse.el.
17066         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17067         and arrow keys.
17068         (tty-menu-navigation-map): New map for TTY menu navigation.
17070         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17072         * frame.el (display-mouse-p): Report text-mode mouse as available
17073         on w32.
17074         (display-popup-menus-p): Report availability if mouse is
17075         available; don't condition on window-system.
17077         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17078         (tty-menu-selected-face): New faces.
17080 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17082         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17083         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17084         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17085         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17086         New constants.
17087         (lisp-mode-variables): New `elisp' argument.
17088         (emacs-lisp-mode): Use it.
17089         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17090         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17092         * indent.el: Use lexical-binding.
17093         (indent-region): Add progress reporter.
17094         (tab-stop-list): Make it implicitly extend to infinity by repeating the
17095         last step.
17096         (indent--next-tab-stop): New function to implement this behavior.
17097         (tab-to-tab-stop, move-to-tab-stop): Use it.
17099 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
17101         * indent.el (indent-rigidly--current-indentation): New function.
17102         (indent-rigidly-map): New var.
17103         (indent-rigidly): Use it to provide interactive mode (bug#8196).
17105 2013-10-08  Bastien Guerry  <bzg@gnu.org>
17107         * register.el (insert-register): Fix 2013-10-07 change.
17109 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17111         * progmodes/perl-mode.el: Use lexical-binding.
17112         Remove redundant :group args.
17113         (perl-nochange): Change default to be closer to other major modes's
17114         standard behavior.
17115         (perl-indent-line): Don't consider text on current line as a
17116         valid beginning of function from which to indent.
17118         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17119         with more than one argument (bug#15538).
17121         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17123         * vc/pcvs.el: Use lexical-binding.
17124         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17125         environment of `eval'.
17126         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17127         than a list of expressions.  Adjust callers.
17128         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17130 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
17132         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17133         case of the dot in a chained method call being on the following line.
17135 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17137         * electric.el (electric-indent-inhibit): New var.
17138         (electric-indent-post-self-insert-function): Use it.
17139         * progmodes/python.el (python-mode): Set it.
17141         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17142         open braces.
17144         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17146         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17147         (css-mode): Use electric-indent-chars.
17149         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17150         (font-lock-beg, font-lock-end): Move before first use.
17151         (nxml-mode): Use syntax-propertize-function.
17152         (nxml-after-change, nxml-after-change1): Adjust accordingly.
17153         (nxml-extend-after-change-region): Remove.
17154         * nxml/xmltok.el: Use lexical-binding.
17155         (xmltok-save): Use `declare'.
17156         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17157         * nxml/nxml-util.el: Use lexical-binding.
17158         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17159         Use `declare'.
17160         * nxml/nxml-ns.el: Use lexical-binding.
17161         (nxml-ns-save): Use `declare'.
17162         (nxml-ns-prefixes-for): Avoid add-to-list.
17163         * nxml/rng-match.el: Use lexical-binding.
17164         (rng--ipattern): Use cl-defstruct.
17165         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17166         (rng-cons-group-after, rng-subst-group-after)
17167         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17168         Use closures instead of `(lambda...).
17170 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
17172         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17173         of BEG and END.
17175         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17176         Use `tramp-handle-insert-file-contents'.
17177         (tramp-gvfs-handle-insert-file-contents): Remove function.
17179         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17180         Use `save-restriction' in order to keep markers.
17182         * net/trampver.el: Update release number.
17184 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17186         * progmodes/compile.el (compilation-parse-errors):
17187         Use compilation--put-prop.
17188         (compilation--ensure-parse): Check compilation-multiline.
17190         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17192         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17193         lexical-binding.
17195         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17197         * progmodes/ruby-mode.el: Fix recently added tests.
17198         (ruby-smie-grammar): Add - and +.
17199         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17200         (ruby-smie--backward-id): New functions.
17201         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17202         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
17203         any more.
17205 2013-10-07  Leo Liu  <sdl.web@gmail.com>
17207         * register.el (register-preview-delay)
17208         (register-preview-functions): New variables.
17209         (register-read-with-preview, register-preview)
17210         (register-describe-oneline): New functions.
17211         (point-to-register, window-configuration-to-register)
17212         (frame-configuration-to-register, jump-to-register)
17213         (number-to-register, view-register, insert-register)
17214         (copy-to-register, append-to-register, prepend-to-register)
17215         (copy-rectangle-to-register): Use register-read-with-preview to
17216         read register.  (Bug#15525)
17218 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
17220         * net/network-stream.el (network-stream-open-starttls): Don't add
17221         --insecure if it's already present, because that gnutls-cli
17222         rejects getting that parameter twice.
17224 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
17226         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17227         keyword, too.
17229 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
17231         * newcomment.el (comment-use-global-state): Change default value
17232         to t, mark obsolete (Bug#15251).
17233         (comment-beginning): In addition to `comment-to-syntax', check the
17234         value of `comment-use-global-state'.
17236 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17238         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17239         (ruby-comment-column): Follow the global default, by default.
17240         (ruby-smie-grammar): Add assignment syntax.
17241         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17242         open-paren, a comma, or a \.
17243         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17244         and line continuations.
17245         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17246         followed by implicit semi-colons.  Add rule for string concatenation
17247         and for indentation at BOB.
17248         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17250         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17251         calling next-sexp, since next-token may have skipped chars which
17252         next-sexp doesn't know should be skipped!
17254 2013-10-05  Leo Liu  <sdl.web@gmail.com>
17256         * progmodes/octave.el (octave-send-region):
17257         Call compilation-forget-errors.
17259 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
17261         * vc/vc-svn.el (vc-svn-find-admin-dir):
17262         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17263         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17264         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17265         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17267 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17269         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17271 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17273         * subr.el (read-passwd): Hide chars even when called within a context
17274         where after-change-functions is disabled (bug#15501).
17275         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17276         until we removed ourself from overriding-terminal-local-map.
17278 2013-10-04  Leo Liu  <sdl.web@gmail.com>
17280         * progmodes/octave.el (inferior-octave-mode):
17281         Call compilation-forget-errors.
17283 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
17285         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17287 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
17289         * net/secrets.el (secrets-create-collection): Add optional
17290         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
17291         dbus-call-method argument.  (Bug#15516)
17293 2013-10-04  Leo Liu  <sdl.web@gmail.com>
17295         * progmodes/octave.el (inferior-octave-error-regexp-alist)
17296         (inferior-octave-compilation-font-lock-keywords): New variables.
17297         (compilation-error-regexp-alist)
17298         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17299         (inferior-octave-mode): Use compilation-shell-minor-mode.
17301 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
17303         * minibuffer.el (completion--replace): Be careful that `end' might be
17304         a marker.
17306 2013-10-03  Daiki Ueno  <ueno@gnu.org>
17308         Add support for package signature checking.
17309         * emacs-lisp/package.el (url-http-file-exists-p)
17310         (epg-make-context, epg-context-set-home-directory)
17311         (epg-verify-string, epg-context-result-for)
17312         (epg-signature-status, epg-signature-to-string)
17313         (epg-check-configuration, epg-configuration)
17314         (epg-import-keys-from-file): Declare.
17315         (package-check-signature): New user option.
17316         (package-unsigned-archives): New user option.
17317         (package-desc): Add `signed' field.
17318         (package-load-descriptor): Set `signed' field if .signed file exists.
17319         (package--archive-file-exists-p): New function.
17320         (package--check-signature): New function.
17321         (package-install-from-archive): Check package signature.
17322         (package--download-one-archive): Check archive signature.
17323         (package-delete): Remove .signed file.
17324         (package-import-keyring): New command.
17325         (package-refresh-contents): Import default keyring.
17326         (package-desc-status): Add "unsigned" status.
17327         (describe-package-1, package-menu--print-info)
17328         (package-menu-mark-delete, package-menu--find-upgrades)
17329         (package-menu--status-predicate): Support "unsigned" status.
17331 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17333         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17334         the new compilation scheme using the new byte-codes.
17336         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17337         (byte-pophandler): New byte codes.
17338         (byte-goto-ops): Adjust accordingly.
17339         (byte-compile--use-old-handlers): New var.
17340         (byte-compile-catch): Use new byte codes depending on
17341         byte-compile--use-old-handlers.
17342         (byte-compile-condition-case--old): Rename from
17343         byte-compile-condition-case.
17344         (byte-compile-condition-case--new): New function.
17345         (byte-compile-condition-case): New function that dispatches depending
17346         on byte-compile--use-old-handlers.
17347         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17348         when we can.
17350         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17351         Optimize under `condition-case' and `catch' if
17352         byte-compile--use-old-handlers is nil.
17353         (disassemble-offset): Handle new bytecodes.
17355 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17357         * subr.el (error): Use `declare'.
17358         (decode-char, encode-char): Use advertised-calling-convention instead
17359         of the docstring to discourage use of the `restriction' arg.
17361 2013-10-03  Daiki Ueno  <ueno@gnu.org>
17363         * epg.el (epg-verify-file): Add a comment saying that it does not
17364         notify verification error as a return value nor a signal.
17365         (epg-verify-string): Ditto.
17367 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
17369         * progmodes/compile.el (compilation-start): Try globbing the arg to
17370         `cd' (bug#15417).
17372 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
17374         Sync with Tramp 2.2.8.
17376         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17377         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17378         * net/trampver.el: Update release number.
17380 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
17382         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17383         and default-process-coding-system for darwin only.
17385 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17387         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17389 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
17391         * vc/vc-git.el (vc-git-grep): Disable pager.
17393 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
17395         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17396         Use :url instead of :homepage, as per
17397         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17399         * newcomment.el (comment-beginning): When `comment-use-syntax' is
17400         non-nil, use `syntax-ppss' (Bug#15251).
17402 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17404         * progmodes/octave.el (inferior-octave-startup-file):
17405         Prefer ~/.emacs.d/init_octave.m.
17407 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
17409         * emacs-lisp/package.el (package-desc-from-define):
17410         Accept additional arguments as plist, convert them to an alist and store
17411         them in the `extras' slot.
17412         (package-generate-description-file): Convert extras alist back to
17413         plist and append to the `define-package' form arguments.
17414         (package--alist-to-plist): New function.
17415         (package--ac-desc): Add `extras' slot.
17416         (package--add-to-archive-contents): Check if the archive-contents
17417         vector is long enough, and if it is, pass its `extras' slot value
17418         to `package-desc-create'.
17419         (package-buffer-info): Call `lm-homepage', pass the returned value
17420         to `package-desc-from-define'.
17421         (describe-package-1): Render the homepage button (Bug#13291).
17423         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17424         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17426 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
17428         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17429         and default-process-coding-system to utf-8-unix (Bug#15402).
17431 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
17433         * subr.el (looking-back): Do not recommend using looking-back.
17435 2013-09-28  Alan Mackenzie  <acm@muc.de>
17437         Fix indentation/fontification of Java enum with "implements".
17439         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17440         regexp which matches "implements", etc., in Java.
17441         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17442         specifier clauses coming after "enum".
17443         * progmodes/cc-fonts.el (c-font-lock-declarations)
17444         (c-font-lock-enum-tail): Check for extra specifier clauses coming
17445         after "enum".
17447 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
17449         * faces.el (region): Change ns_selection_color to
17450         ns_selection_fg_color, add ns_selection_bg_color.
17452 2013-09-28  Leo Liu  <sdl.web@gmail.com>
17454         * progmodes/octave.el (inferior-octave-completion-table)
17455         (inferior-octave-completion-at-point): Minor tweaks.
17457         * textmodes/ispell.el (ispell-lookup-words): Rename from
17458         lookup-words.  (Bug#15460)
17459         (lookup-words): Obsolete.
17460         (ispell-complete-word, ispell-command-loop): All uses changed.
17462 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17464         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17465         (octave-mode-menu): Add octave-send-buffer.
17466         (octave-send-buffer): New function.
17468 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17470         * progmodes/octave.el (octave-mode-map): Add key binding for
17471         octave-lookfor.
17472         (octave-mode-menu): Add octave-lookfor.
17473         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17474         octave-lookfor.
17475         (octave-lookfor): New function.
17477 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17479         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17480         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17481         its convention.
17482         (cl--loop-set-iterator-function): New function.
17483         (cl-loop): Adjust accordingly, so as not to use cl-subst.
17484         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17485         Bind `it' with `let' instead of substituting it with `cl-subst'.
17486         (cl--unused-var-p): New function.
17487         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17488         Eliminate some unused variable warnings (bug#15326).
17490 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
17492         * doc-view.el (doc-view-scale-reset): Rename from
17493         `doc-view-reset-zoom-level'.
17494         (doc-view-scale-adjust): New command.
17495         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17496         `doc-view-scale-adjust'.
17498 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
17500         * doc-view.el (doc-view-reset-zoom-level): New command.
17501         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17502         zoom commands (bug#15466).
17504 2013-09-26  Kenichi Handa  <handa@gnu.org>
17506         * international/quail.el (quail-help): Make it not a command.
17508 2013-09-26  Leo Liu  <sdl.web@gmail.com>
17510         * minibuffer.el (completion-all-sorted-completions): Make args
17511         optional as they are.
17513 2013-09-25  Daniel Colascione  <dancol@dancol.org>
17515         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17516         specs are and that they're not evaluated.
17518 2013-09-24  Sam Steingold  <sds@gnu.org>
17520         * midnight.el (clean-buffer-list-kill-regexps)
17521         (clean-buffer-list-kill-buffer-names): Update for the new Man
17522         buffer naming which includes the object name.
17524 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17526         * eshell/esh-cmd.el (eshell--sep-terms): New var.
17527         (eshell-parse-command, eshell-parse-pipeline): Use it since
17528         eshell-separate-commands requires a dynamic scoped var.
17529         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17531 2013-09-23  Leo Liu  <sdl.web@gmail.com>
17533         * autoinsert.el (auto-insert-alist): Make the value of
17534         lexical-binding match its file setting.
17536 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
17538         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17540         * autoarg.el (autoarg-kp-digit-argument):
17541         * electric.el (Electric-command-loop):
17542         * kmacro.el (kmacro-step-edit-insert):
17543         Do not set universal-argument-num-events.
17545 2013-09-22  Leo Liu  <sdl.web@gmail.com>
17547         * files.el (interpreter-mode-alist): Add octave.
17549 2013-09-21  Alan Mackenzie  <acm@muc.de>
17551         C++: fontify identifier in declaration following "public:" correctly.
17552         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17553         to match "public", etc.
17554         (c-decl-prefix-re): Add ":" into the C++ value.
17555         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17556         bit.  Add a check for a ":" preceded by "public", etc.
17558 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
17560         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17561         recognized by GDB 7.5 and later.
17563 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
17565         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17567 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17569         * subr.el (internal--call-interactively): New const.
17570         (called-interactively-p): Use it (bug#3984).
17572 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
17574         * vc/pcvs.el (cvs-mode-ignore):
17575         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17576         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17578 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17580         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
17581         (eshell-ls-orig-insert-directory): Remove.
17582         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
17583         (eshell-ls-use-in-dired): Use advice-add/remove.
17584         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17585         Add `orig-fun' arg for use in :around advice.
17586         Make it check (redundantly) eshell-ls-use-in-dired.
17588 2013-09-19  Glenn Morris  <rgm@gnu.org>
17590         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17592         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17594         * emacs-lisp/eieio.el (class-parent): Undo previous change.
17596 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
17598         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17599         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17600         (tramp-get-remote-python): New defuns.
17601         (tramp-get-remote-uid-with-perl)
17602         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
17603         contributed by yary <not.com@gmail.com> (tiny change).
17604         (tramp-get-remote-uid-with-python)
17605         (tramp-get-remote-gid-with-python): New defuns.  Python code
17606         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
17607         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
17609 2013-09-19  Glenn Morris  <rgm@gnu.org>
17611         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
17613         * eshell/em-unix.el (eshell-remove-entries):
17614         Rename argument to avoid name-clash with global `top-level'.
17616         * eshell/esh-proc.el (eshell-kill-process-function):
17617         Remove eshell-reset-after-proc from eshell-kill-hook if present.
17618         (eshell-reset-after-proc): Remove unused arg `proc'.
17620         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
17621         (directory-files-and-attributes): Mark unused arg.
17623         * eshell/em-unix.el (eshell-remove-entries):
17624         Remove unused arg `path'.  Update callers.
17626         * eshell/em-hist.el (eshell-hist-parse-arguments):
17627         Remove unused arg `silent'.  Update callers.
17629         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
17630         Fix (f)boundp mix-up.
17632         * eshell/em-smart.el (eshell-smart-scroll-window)
17633         (eshell-disable-after-change):
17634         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
17636 2013-09-18  Alan Mackenzie  <acm@muc.de>
17638         Fix fontification of type when followed by "const".
17639         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
17640         "known" types from fontification.
17642 2013-09-18  Glenn Morris  <rgm@gnu.org>
17644         * emacs-lisp/chart.el (x-display-color-cells): Declare.
17645         (chart-face-list): Drop Emacsen without display-color-p.
17647         * net/eww.el (libxml-parse-html-region): Declare.
17648         (eww-display-html): Explicit error if no libxml2 support.
17650         * doc-view.el (doc-view-mode): Silence --without-x compilation.
17652         * image.el (image-type-from-buffer, image-multi-frame-p):
17653         Remove --without-x warning/error.
17655         * mouse.el (mouse-yank-primary):
17656         * term.el (term-mouse-paste):
17657         Reorder to silence --without-x compilation.
17659         * mpc.el (doc-view-mode): Silence --without-x compilation.
17661         * mail/rmailmm.el (rmail-mime-set-bulk-data):
17662         Silence --without-x compilation.
17664         * progmodes/gud.el (gud-find-file, gud-mode):
17665         Silence --without-x compilation.
17666         (tooltip-mode): Declare.
17668         * wdired.el (dired-backup-overwrite): Remove declaration.
17669         (wdired-mode-map): Add doc string.
17671         * custom.el (x-get-resource): Declare.
17673         * eshell/em-glob.el (ange-cache):
17674         * eshell/em-unix.el (ange-cache): Declare.
17676         * faces.el (x-display-list, x-open-connection, x-get-resource):
17677         Declare.
17679         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
17680         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
17681         Declare.
17683         * frame.el (x-display-grayscale-p, x-display-name): Declare.
17685         * net/gnutls.el (gnutls-log-level): Declare.
17687         * net/shr.el (image-size, image-animate): Declare.
17689         * simple.el (font-info): Declare.
17691         * subr.el (x-popup-dialog): Declare.
17693         * term/common-win.el (x-select-enable-primary)
17694         (x-last-selected-text-primary, x-last-selected-text-clipboard):
17695         Declare.
17697         * term/ns-win.el (x-handle-args): Declare.
17699         * term/x-win.el (x-select-enable-clipboard): Declare.
17701         * term/w32-win.el (create-default-fontset): Declare.
17703         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
17704         Declare.
17706         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
17707         (fit-frame-to-buffer): Explicit error if --without-x.
17708         (mouse-autoselect-window-select): Silence compiler.
17710         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17712         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
17713         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
17714         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
17715         * eshell/esh-util.el (eshell-sublist):
17716         Remove unused local variables.
17718         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
17720         * textmodes/two-column.el: Make 2C-split work for --without-x.
17721         (scroll-bar-columns): Autoload.
17722         (top-level): Require fringe when compiling.
17724 2013-09-18  Leo Liu  <sdl.web@gmail.com>
17726         * subr.el (add-hook): Robustify to handle closure as well.
17728 2013-09-17  Glenn Morris  <rgm@gnu.org>
17730         * simple.el (messages-buffer-mode-map): Unbind "g".
17732 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17734         * help-mode.el (help-mode-finish): Use derived-mode-p.
17735         Remove obsolete highlighting.
17737         * play/life.el (life-mode): Use define-derived-mode.  Derive from
17738         special-mode.
17739         (life): Let-bind inhibit-read-only.
17740         (life-setup): Avoid `setq'.  Use `life-mode'.
17742         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
17743         which should not be needed any more.
17744         (package-menu-refresh, package-menu-describe-package): Use user-error.
17746         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
17747         (eshell-post-rewrite-command-hook): Make obsolete.
17748         (eshell-parse-command): Simplify.
17749         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
17750         (eshell--cmd): Declare.
17751         (eshell-parse-pipeline): Remove unused var `final-p'.
17752         Pass a dynvar to eshell-post-rewrite-command-hook.
17753         Implement the new eshell-post-rewrite-command-function.
17754         (eshell-invoke-directly): Remove unused arg `input'.
17755         * eshell/esh-io.el (eshell-io-initialize):
17756         Use eshell-post-rewrite-command-function (bug#15399).
17757         (eshell--apply-redirections): Rename from eshell-apply-redirections;
17758         adjust to new calling convention.
17759         (eshell-create-handles): Rename args to avoid clashing with dynvar
17760         `standard-output'.
17762 2013-09-17  Glenn Morris  <rgm@gnu.org>
17764         * simple.el (messages-buffer-mode): New major mode.
17765         (messages-buffer): New function.
17766         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
17767         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
17768         (ert-run-test): Use `messages-buffer' function.
17769         (ert--force-message-log-buffer-truncation): Ignore read-only.
17770         * help.el (view-echo-area-messages): Use `messages-buffer' function.
17771         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
17773 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17775         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
17777         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
17779 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17781         * icomplete.el (icomplete-in-buffer): New var.
17782         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
17783         vars and replace them with functions.
17784         (icomplete-minibuffer-setup): Adjust accordingly.
17785         (icomplete--completion-table, icomplete--completion-predicate)
17786         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
17787         New functions.
17788         (icomplete-forward-completions, icomplete-backward-completions)
17789         (icomplete-simple-completing-p, icomplete-exhibit)
17790         (icomplete-completions): Use them.
17791         (icomplete--in-region-buffer): New var.
17792         (icomplete--in-region-setup): New function.
17793         (icomplete-mode): Use it.
17795         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
17796         (bug#15379).
17797         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
17798         return args and options.
17799         (eshell-eval-using-options): Use the new return value of
17800         eshell--do-opts to set the options's vars in their scope.
17801         (eshell--set-option): Rename from eshell-set-option.
17802         Add arg `opt-vals'.
17803         (eshell--process-option): Rename from eshell-process-option.
17804         Add arg `opt-vals'.
17805         (eshell--process-args): Use an `opt-vals' alist to store the options's
17806         values during their processing and return them additionally to the
17807         remaining args.
17809 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
17811         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
17812         continuation character an operator, as far as indentation is
17813         concerned (Bug#15369).
17815 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
17817         * window.el (window--state-put-2): Don't process buffer state
17818         when buffer doesn't exist any more (Bug#15382).
17820 2013-09-15  Glenn Morris  <rgm@gnu.org>
17822         * eshell/em-unix.el (eshell/rm):
17823         Make -f ignore missing files.  (Bug#15373)
17825         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
17826         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
17827         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
17829 2013-09-14  Glenn Morris  <rgm@gnu.org>
17831         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
17833 2013-09-13  Glenn Morris  <rgm@gnu.org>
17835         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
17836         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
17838 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
17840         * frame.el (x-focus-frame): Mark as declared in frame.c.
17842 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17844         * ls-lisp.el: Use advice-add.
17845         (original-insert-directory): Remove.
17846         (ls-lisp--insert-directory): Rename from insert-directory; add
17847         `orig-fun' argument.
17848         (insert-directory): Advise.
17850 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
17852         * term.el (term-emulate-terminal): Decode the command string
17853         before passing it to term-command-hook.  (Bug#15337)
17855 2013-09-13  Glenn Morris  <rgm@gnu.org>
17857         * eshell/esh-util.el (ange-cache): Move declaration earlier.
17859         * eshell/esh-ext.el (eshell-search-path): Declare.
17861         * eshell/em-prompt.el (eshell/pwd): Autoload it.
17862         Otherwise an error occurs if eshell-dirs module not loaded.
17864         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
17866 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
17868         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
17869         `tramp-check-proper-host'.  Check for a valid method name.
17871         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17872         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17873         * net/tramp-sh.el (tramp-maybe-open-connection):
17874         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
17876         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
17877         also for hash values.
17879 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17881         * term/ns-win.el (parameters): Don't declare as dynamic.
17882         (before-make-frame-hook): Don't add ineffective function.
17884         * eshell/*.el: Use lexical-binding (bug#15231).
17886 2013-09-12  Kenichi Handa  <handa@gnu.org>
17888         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
17890 2013-09-12  Glenn Morris  <rgm@gnu.org>
17892         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
17893         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
17895         * subr.el (do-after-load-evaluation): Also give compiler warnings
17896         when obsolete files are used (except by obsolete files).
17898         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
17899         in the status output, assume `filename' is the first.  (Bug#15322)
17901         * vc/vc.el (vc-deduce-fileset): Doc fix.
17903         * calc/calc-help.el (Info-goto-node):
17904         * progmodes/cperl-mode.el (Info-find-node):
17905         * vc/ediff.el (Info-goto-node): Update declarations.
17907         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
17909         * vc/vc-bzr.el (vc-compilation-mode): Declare.
17910         (vc-bzr-pull): Require vc-dispatcher.
17911         * vc/vc-git.el (vc-compilation-mode): Declare.
17912         (vc-git-pull): Require vc-dispatcher.
17914         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
17916         * progmodes/octave.el (help-button-action): Declare.
17918         * shell.el (shell-directory-tracker): Output error as a message
17919         rather than just returning it as a string.
17920         (shell-process-pushd): Remove useless use of message.
17922         * dframe.el (dframe-timer-fn):
17923         * files.el (dir-locals-read-from-file):
17924         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
17925         (mpc-format):
17926         * reveal.el (reveal-post-command):
17927         * saveplace.el (load-save-place-alist-from-file):
17928         * shell.el (shell-resync-dirs):
17929         * w32-common-fns.el (x-get-selection-value):
17930         * emacs-lisp/copyright.el (copyright-find-copyright):
17931         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
17932         * emulation/tpu-edt.el (tpu-copy-keyfile):
17933         * play/bubbles.el (bubbles--mark-neighbourhood):
17934         * progmodes/executable.el
17935         (executable-make-buffer-file-executable-if-script-p):
17936         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
17938 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17940         Cleanup Eshell to rely less on dynamic scoping.
17941         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
17942         last-value, and ext-command here.  Bind `args' closer to `body'.
17943         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
17944         (eshell--args): Declare new dynamic var.
17945         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
17946         last-value, and ext-command.  Pass `args' to `body'.
17947         (eshell-process-args): Bind eshell--args.
17948         (eshell-set-option): Use eshell--args.
17949         * eshell/eshell.el (eshell): Use derived-mode-p.
17950         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
17951         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
17952         (eshell-glob-function): Declare.
17953         * eshell/esh-util.el: Require cl-lib.
17954         (eshell-read-hosts-file): Avoid add-to-list.
17955         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
17956         `err'.
17957         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
17958         Declare.
17959         (eshell/diff): Remove unused var `err'.
17960         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
17961         `killflag'.
17962         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
17963         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
17964         first use.
17965         * eshell/em-glob.el (eshell-glob-matches, message-shown):
17966         Move declaration before first use.
17967         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
17968         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
17969         rely on cl-return.
17971 2013-09-12  Glenn Morris  <rgm@gnu.org>
17973         * term/ns-win.el (global-map): Remove binding for ispell-next,
17974         deleted 1999-05-29.  (Bug#15357)
17976 2013-09-11  Glenn Morris  <rgm@gnu.org>
17978         * echistory.el (electric-command-history): Remove call to deleted func.
17980         * play/landmark.el (landmark-mode): Fix typos.
17982         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
17983         Check cvs-sort-ignore-file is bound.
17985         * savehist.el: No need for cl when compiling on Emacs.
17987 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17989         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
17990         (bug#15338).
17991         (eshell-self-insert-command, eshell-send-invisible):
17992         Remove unused argument.
17993         (eshell-handle-control-codes): Remove unused var `orig'.
17994         Avoid delete-backward-char.
17996         * files.el (set-auto-mode): Simplify a bit further.
17998 2013-09-11  Glenn Morris  <rgm@gnu.org>
18000         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18001         (set-auto-mode): Don't regexp-quote elements.
18002         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18003         * progmodes/cc-mode.el (interpreter-mode-alist):
18004         * progmodes/ruby-mode.el (interpreter-mode-alist):
18005         Revert previous change.
18007 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18009         * play/snake.el (snake-mode):
18010         * play/mpuz.el (mpuz-mode):
18011         * play/landmark.el (lm-mode):
18012         * play/blackbox.el (blackbox-mode):
18013         * play/5x5.el (5x5-mode):
18014         * obsolete/options.el (Edit-options-mode):
18015         * net/quickurl.el (quickurl-list-mode):
18016         * net/newst-treeview.el (newsticker-treeview-mode):
18017         * mail/rmailsum.el (rmail-summary-mode):
18018         * mail/mspools.el (mspools-mode):
18019         * locate.el (locate-mode):
18020         * ibuffer.el (ibuffer-mode):
18021         * emulation/ws-mode.el (wordstar-mode):
18022         * emacs-lisp/debug.el (debugger-mode):
18023         * array.el (array-mode):
18024         * net/eudc.el (eudc-mode): Use define-derived-mode.
18025         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18026         Move initialization into declaration.
18027         (mairix-searches-mode): Use define-derived-mode.
18028         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18029         (eudc-edit-hotlist): Use dolist.
18030         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18031         (Man-mode): Use define-derived-mode.
18032         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18033         (Info-edit-mode): Use define-derived-mode.
18034         (Info-cease-edit): Use Info-mode.
18035         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18036         into declaration.
18037         (eshell-mode): Use define-derived-mode.
18038         * chistory.el (command-history-mode-map): Rename from
18039         command-history-map.
18040         (command-history-mode): Use define-derived-mode.
18041         (Command-history-setup): Remove function.
18042         * calc/calc.el (calc-trail-mode-map): New var.
18043         (calc-trail-mode): Use define-derived-mode.
18044         (calc-trail-buffer): Set calc-main-buffer manually.
18045         * bookmark.el (bookmark-insert-annotation): New function.
18046         (bookmark-edit-annotation): Use it.
18047         (bookmark-edit-annotation-mode): Make it a proper major mode.
18048         (bookmark-send-edited-annotation): Use derived-mode-p.
18049         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18050         closer to its ideal place.  Use \' to match EOS.
18052         * profiler.el (profiler-calltree-find): Use function-equal.
18054 2013-09-10  Glenn Morris  <rgm@gnu.org>
18056         * files.el (interpreter-mode-alist): Convert to regexps.
18057         (set-auto-mode): Adapt for this.  (Bug#15306)
18058         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18059         Comment out unused variable.
18060         * progmodes/cc-mode.el (interpreter-mode-alist):
18061         * progmodes/python.el (interpreter-mode-alist):
18062         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18063         * progmodes/sh-script.el (sh-set-shell):
18064         No longer use interpreter-mode-alist to get list of shells.
18066         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18068 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18070         * simple.el: Use set-temporary-overlay-map for universal-argument.
18071         (universal-argument-map): Don't use default-bindings (bug#15317).
18072         Bind switch-frame explicitly.  Replace universal-argument-minus with
18073         a conditional binding.
18074         (universal-argument-num-events, saved-overriding-map): Remove.
18075         (restore-overriding-map): Remove.
18076         (universal-argument--mode): Rename from save&set-overriding-map,
18077         and rewrite.
18078         (universal-argument, universal-argument-more, negative-argument)
18079         (digit-argument): Adjust accordingly.
18080         (universal-argument-minus): Remove.
18081         (universal-argument-other-key): Remove.
18083         * subr.el (with-demoted-errors): Add `format' argument.
18085 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
18087         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
18088         `tramp-cleanup-connection'.
18090         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18091         parameters KEEP-DEBUG and KEEP-PASSWORD.
18093         * net/tramp.el (tramp-file-name-handler):
18094         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18095         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18096         (tramp-maybe-open-connection):
18097         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18098         Use `tramp-cleanup-connection'.
18100         * net/tramp-sh.el (tramp-maybe-open-connection):
18101         Catch 'uname-changed inside the progress reporter.
18103 2013-09-10  Glenn Morris  <rgm@gnu.org>
18105         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
18107         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18108         returns "alternate access method" in mode (eg "-rw-r--r--.").
18110 2013-09-08  Glenn Morris  <rgm@gnu.org>
18112         * saveplace.el (load-save-place-alist-from-file):
18113         Demote errors.  (Bug#15305)
18115 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
18117         Improve compatibility with older Emacsen, and XEmacs.
18119         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18120         only if it is bound.  It isn't for XEmacs.
18121         (with-tramp-progress-reporter): Do not let-bind `result'.
18122         This yields to scoping errors in XEmacs.
18123         (tramp-handle-make-auto-save-file-name): New function, moved from
18124         tramp-sh.el.
18126         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18127         for `make-auto-save-file-name'.
18128         (tramp-adb--gnu-switches-to-ash):
18129         Use `tramp-compat-replace-regexp-in-string'.
18131         * net/tramp-cache.el (tramp-cache-print): Call
18132         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
18134         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18135         bound.  It isn't for XEmacs.
18137         * net/tramp-compat.el (tramp-compat-copy-file):
18138         Catch `wrong-number-of-arguments' error.
18139         (tramp-compat-replace-regexp-in-string): New defun.
18141         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18142         for `make-auto-save-file-name'.
18143         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18144         `copy-file'.
18145         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18146         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18147         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18149         * net/tramp-gw.el (tramp-gw-open-network-stream):
18150         Use `tramp-compat-replace-regexp-in-string'.
18152         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18153         Call `tramp-handle-make-auto-save-file-name'.
18154         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18155         (tramp-sh-file-gvfs-monitor-dir-process-filter)
18156         (tramp-sh-file-inotifywait-process-filter):
18157         Use `tramp-compat-replace-regexp-in-string'.
18158         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18160         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18161         for `make-auto-save-file-name'.
18162         (tramp-smb-handle-copy-directory):
18163         Call `tramp-compat-replace-regexp-in-string'.
18164         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18165         (tramp-smb-handle-copy-file): Improve error message.
18166         (tramp-smb-handle-rename-file): Rename directly only in case
18167         `newname' does not exist yet.  This is a restriction of smbclient.
18168         (tramp-smb-maybe-open-connection): Rerun the function only when
18169         `auth-sources' is non-nil.
18171 2013-09-08  Kenichi Handa  <handa@gnu.org>
18173         * international/characters.el: Set category "^" (Combining) for
18174         more characters.
18176 2013-09-07  Alan Mackenzie  <acm@muc.de>
18178         Correctly fontify Java class constructors.
18179         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18180         in Java Mode.
18181         (c-recognize-typeless-decls): Set the Java value to t.
18182         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18183         While handling a "(", add a check for, effectively, Java, and handle a
18184         "typeless" declaration there.
18186 2013-09-07  Roland Winkler  <winkler@gnu.org>
18188         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18189         field subtitle for entry type book.
18191 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18193         * minibuffer.el: Make minibuffer-complete call completion-in-region
18194         rather than other way around.
18195         (completion--some, completion-pcm--find-all-completions):
18196         Don't delay signals when debugging.
18197         (minibuffer-completion-contents): Beware fields within the
18198         minibuffer contents.
18199         (completion-all-sorted-completions): Use defvar-local.
18200         (completion--do-completion, completion--cache-all-sorted-completions)
18201         (completion-all-sorted-completions, minibuffer-force-complete):
18202         Add args `beg' and `end'.
18203         (completion--in-region-1): New fun, extracted from minibuffer-complete.
18204         (minibuffer-complete): Use completion-in-region.
18205         (completion-complete-and-exit): New fun, extracted from
18206         minibuffer-complete-and-exit.
18207         (minibuffer-complete-and-exit): Use it.
18208         (completion--complete-and-exit): Rename from
18209         minibuffer--complete-and-exit.
18210         (completion-in-region--single-word): New function, extracted from
18211         minibuffer-complete-word.
18212         (minibuffer-complete-word): Use it.
18213         (display-completion-list): Make `common-substring' argument obsolete.
18214         (completion--in-region): Call completion--in-region-1 instead of
18215         minibuffer-complete.
18216         (completion-help-at-point): Pass boundaries to
18217         minibuffer-completion-help as args rather than via an overlay.
18218         (completion-pcm--string->pattern): Use `any-delim'.
18219         (completion-pcm--optimize-pattern): New function.
18220         (completion-pcm--pattern->regex): Handle `any-delim'.
18221         * icomplete.el (icomplete-forward-completions)
18222         (icomplete-backward-completions, icomplete-completions):
18223         Adjust calls to completion-all-sorted-completions and
18224         completion--cache-all-sorted-completions.
18225         (icomplete-with-completion-tables): Default to t.
18226         * emacs-lisp/crm.el (crm--current-element): Rename from
18227         crm--select-current-element.  Don't put an overlay but return the
18228         boundaries instead.
18229         (crm--completion-command): Take two new args to bind to the boundaries.
18230         (crm-completion-help): Adjust accordingly.
18231         (crm-complete): Use completion-in-region.
18232         (crm-complete-word): Use completion-in-region--single-word.
18233         (crm-complete-and-exit): Use completion-complete-and-exit.
18235 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18237         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18238         than dynamically.
18240 2013-09-06  Juri Linkov  <juri@jurta.org>
18242         * info.el (Info-display-images-node): When image file doesn't exist
18243         display text version of the image if it's provided in the Info file.
18244         Otherwise, display the location of missing image from SRC attribute.
18245         Add help-echo text property from ALT attribute.  (Bug#15279)
18247 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18249         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18250         (edit-abbrevs-mode): Use define-derived-mode.
18252         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18253         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18254         that it's defined.
18255         (epa-key-list-mode, epa-key-mode, epa-info-mode):
18256         Use define-derived-mode.
18258         * epg.el (epg-start-encrypt): Minor CSE simplification.
18260 2013-09-06  William Xu  <william.xwl@gmail.com>
18262         * arc-mode.el: Add support for 7za (bug#15264).
18263         (archive-7z-program): New var.
18264         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18265         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18266         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18268 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
18270         Remove URL syntax.
18272         * net/tramp.el (tramp-syntax, tramp-prefix-format)
18273         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18274         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18275         (tramp-postfix-host-format, tramp-file-name-regexp)
18276         (tramp-completion-file-name-regexp)
18277         (tramp-completion-dissect-file-name)
18278         (tramp-handle-substitute-in-file-name): Remove 'url case.
18279         (tramp-file-name-regexp-url)
18280         (tramp-completion-file-name-regexp-url): Remove constants.
18282 2013-09-06  Glenn Morris  <rgm@gnu.org>
18284         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
18286 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
18288         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18289         keywords" below "here-doc beginnings" (Bug#15270).
18291 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18293         * subr.el (pop): Use `car-safe'.
18294         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18295         to detect unused `pop' return value.
18297         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18298         var `block-regexp'.
18299         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18300         (python-fill-string): Remove unused var `marker'.
18301         (python-skeleton-add-menu-items): Remove unused var `items'.
18303         * international/mule-cmds.el: Require CL.
18304         (find-coding-systems-for-charsets): Avoid add-to-list.
18305         (sanitize-coding-system-list): New function, extracted from
18306         select-safe-coding-system-interactively.
18307         (select-safe-coding-system-interactively): Use it.
18308         (read-input-method-name): Accept symbols for `default'.
18310         * emacs-lisp/advice.el (defadvice): Add indent rule.
18312 2013-09-05  Daniel Hackney  <dan@haxney.org>
18314         * dired-x.el:
18315         * net/ange-ftp.el:
18316         * net/browse-url.el:
18317         * net/dbus.el:
18318         * net/eudc.el:
18319         * net/eudcb-ldap.el:
18320         * net/eww.el:
18321         * net/imap.el:
18322         * printing.el:
18323         * vc/ediff-diff.el:
18324         * vc/ediff-init.el:
18325         * vc/ediff-merg.el:
18326         * vc/ediff-mult.el:
18327         * vc/ediff-util.el:
18328         * vc/ediff-wind.el:
18329         * vc/ediff.el:
18330         * vc/emerge.el:
18331         * vc/pcvs.el:
18332         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18333         byte compiler.  Remove some unused let-bound variables.
18335 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18337         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18338         a "ref-cell", since it gets better optimized (bug#14883).
18340 2013-09-05  Glenn Morris  <rgm@gnu.org>
18342         * progmodes/cc-awk.el (c-forward-sws): Declare.
18344 2013-09-04  Glenn Morris  <rgm@gnu.org>
18346         * generic-x.el [rul-generic-mode]: Require cc-mode.
18347         (c++-mode-syntax-table): Declare.
18348         (rul-generic-mode-syntax-table): Init in the defvar.
18350 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18352         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18353         (vc-do-command, vc-set-async-update):
18354         * vc/vc-mtn.el (vc-mtn-dir-status):
18355         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18356         (vc-hg-pull, vc-hg-merge-branch):
18357         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18358         (vc-git-merge-branch):
18359         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18360         (vc-cvs-dir-status-files):
18361         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18362         (vc-bzr-dir-status-files):
18363         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18364         * vc/vc-annotate.el: Use lexical-binding.
18365         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18366         (vc-sentinel-movepoint): Declare.
18367         (vc-annotate): Don't use `goto-line'.
18368         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18369         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18370         (vc-sentinel-movepoint): Declare.
18371         * vc/vc-svn.el: Use lexical-binding.
18372         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18373         * vc/vc-sccs.el:
18374         * vc/vc-rcs.el: Use lexical-binding.
18376         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18377         `deleted'.  Don't drop errors silently.
18379         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18381 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
18383         * vc/vc.el (vc-ignore): Rewrite.
18384         (vc-default-ignore): New function.
18385         (vc-default-ignore-completion-table): Use find-ignore-file.
18387         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18388         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18389         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18390         Remove.  Most code moved to vc.el.
18392 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18394         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18395         * net/tramp-smb.el (tramp-smb-get-file-entries):
18396         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18397         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18399         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18400         Update call to it.
18401         (eww-change-select): Remove unused var `properties'.
18402         (eww-make-unique-file-name): Remove unused var `base'.
18404         * finder.el (finder-compile-keywords): Don't mess with windows.
18406         * calculator.el (calculator-funcall): Fix typo in last change.
18408         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18410         * emacs-lisp/package.el (package-activate-1): Don't let a missing
18411         <pkg>-autoloads.el file stop us.
18413         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18414         warnings, and factor out common code.
18416 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
18418         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18419         two-character operators and whether the character preceding them
18420         changes their meaning (Bug#15208).
18422 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18424         Format code sent to Python shell for robustness.
18425         * progmodes/python.el (python-shell-buffer-substring):
18426         New function.
18427         (python-shell-send-region, python-shell-send-buffer): Use it.
18429 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
18431         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18432         * net/tramp.el (tramp-user-error): ... here.
18433         (tramp-find-method, tramp-check-proper-host)
18434         (tramp-dissect-file-name, tramp-debug-message)
18435         (tramp-handle-shell-command):
18436         * net/tramp-adb.el (tramp-adb-handle-shell-command):
18437         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18439         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18441 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
18443         * avoid.el (mouse-avoidance-point-position)
18444         (mouse-avoidance-too-close-p): Handle case where posn-at-point
18445         returns nil.
18447 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18449         * progmodes/python.el (python-shell-completion-get-completions):
18450         Drop use of deleted `comint-last-prompt-overlay'.
18451         (python-nav-if-name-main): New command.
18453 2013-09-01  Glenn Morris  <rgm@gnu.org>
18455         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18456         Avoid leading space in $wins.  Otherwise the sed command used by
18457         eg compile-main ends up containing "/*.el".  (Bug#15170)
18459         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
18461 2013-08-30  Glenn Morris  <rgm@gnu.org>
18463         * emacs-lisp/bytecomp.el (byte-recompile-directory):
18464         Fix is-this-a-directory logic.  (Bug#15220)
18466 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18468         * textmodes/css-mode.el: Use SMIE.
18469         (css-smie-grammar): New var.
18470         (css-smie--forward-token, css-smie--backward-token)
18471         (css-smie-rules): New functions.
18472         (css-mode): Use them.
18473         (css-navigation-syntax-table): Remove var.
18474         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18475         (css-indent-calculate, css-indent-line): Remove functions.
18477         Misc changes to reduce use of `(lambda...); and other cleanups.
18478         * cus-edit.el: Use lexical-binding.
18479         (customize-push-and-save, customize-apropos)
18480         (custom-buffer-create-internal): Use closures.
18481         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18482         * progmodes/ada-xref.el: Use setq.
18483         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18484         * dframe.el: Use lexical-binding.
18485         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
18486         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18487         * descr-text.el: Use lexical-binding.
18488         (describe-text-widget, describe-text-sexp, describe-property-list):
18489         Use closures.
18490         * comint.el (comint-history-isearch-push-state): Use a closure.
18491         * calculator.el: Use lexical-binding.
18492         (calculator-number-to-string): Make it work with lexical-binding.
18493         (calculator-funcall): Same and use cl-letf.
18495         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18496         (lisp--company-doc-string, lisp--company-location): New functions.
18497         (lisp-completion-at-point): Use them to improve Company support.
18499         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18500         params of lambda expressions.
18501         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18502         (ruby-smie--opening-pipe-p): New function.
18503         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18504         symbols and matched |...| for formal params.
18505         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18506         from being treated as hanging.  Handle "rescue".
18508 2013-08-29  Glenn Morris  <rgm@gnu.org>
18510         * progmodes/cc-engine.el (c-pull-open-brace):
18511         Move definition before use.
18513 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18515         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18516         are immutable.  Don't use `unsafe' any more.
18517         (cl--defsubst-expand): Don't substitute at the same time as keeping
18518         a residual unused let-binding.  Don't use `unsafe' any more.
18520 2013-08-29  Glenn Morris  <rgm@gnu.org>
18522         * calendar/cal-china.el (calendar-chinese-year-cache):
18523         Recenter on 2015.
18525         * nxml/nxml-util.el (nxml-debug-clear-inside):
18526         Use cl-loop rather than loop.
18528         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18530         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18532 2013-08-28  Glenn Morris  <rgm@gnu.org>
18534         * progmodes/antlr-mode.el: No need to require cc-mode twice.
18536         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18538         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18540 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18542         * simple.el (repeat-complex-command--called-interactively-skip):
18543         New function.
18544         (repeat-complex-command): Use it (bug#14136).
18546         * progmodes/cc-mode.el: Minor cleanup of var declarations.
18547         (c-define-abbrev-table): Add `doc' argument.
18548         (c-mode-abbrev-table, c++-mode-abbrev-table)
18549         (objc-mode-abbrev-table, java-mode-abbrev-table)
18550         (idl-mode-abbrev-table, pike-mode-abbrev-table)
18551         (awk-mode-abbrev-table): Use it.
18552         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18553         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18554         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18555         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18556         Move initialization into the declaration; and remove any
18557         autoload cookie.
18559         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18560         and dynamic let binding.
18562         * vc/smerge-mode.el: Remove redundant :group args.
18564         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18565         to load-path.
18567 2013-08-28  Juri Linkov  <juri@jurta.org>
18569         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18570         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18571         (isearch-other-meta-char): Handle an undefined shifted printing
18572         character by downshifting it.  (Bug#15200)
18574 2013-08-28  Juri Linkov  <juri@jurta.org>
18576         * isearch.el (isearch-search): Change regexp error message for
18577         non-regexp searches.  (Bug#15166)
18579 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
18581         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18582         for portability to hosts where /bin/sh has problems.
18584 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18586         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18588 2013-08-27  Juri Linkov  <juri@jurta.org>
18590         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18591         in the keyboard macro.  (Bug#15126)
18593 2013-08-27  Juri Linkov  <juri@jurta.org>
18595         * isearch.el (isearch-quote-char): Comment out converting unibyte
18596         to multibyte, thus syncing with its `quoted-insert' counterpart.
18597         (Bug#15166)
18599 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
18601         * window.el (display-buffer-use-some-window): Add missing
18602         argument in call of get-largest-window (Bug#15185).
18603         Reported by Stephen Leake.
18605 2013-08-27  Glenn Morris  <rgm@gnu.org>
18607         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
18609 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18611         * progmodes/python.el (python-font-lock-keywords): Don't return nil
18612         from a matcher-function unless there's no more matches (bug#15161).
18614 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
18616         * minibuffer.el: Revert change from 2013-08-20.
18618         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
18619         with text property `tramp-default', if appropriate.
18620         (tramp-check-proper-host): New defun.
18621         (tramp-dissect-file-name): Do not check hostname.  Revert change
18622         of 2013-03-18.
18623         (tramp-backtrace): Make VEC-OR-PROC optional.
18625         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18626         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18627         * net/tramp-sh.el (tramp-maybe-open-connection):
18628         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18629         Apply `tramp-check-proper-host'.
18631 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
18633         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
18634         lambda expression in order to have `describe-variable' display it.
18636 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
18638         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
18639         BUF can be optional.  (Bug#15186)
18641 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
18643         * progmodes/flymake.el (flymake-get-real-file-name-function):
18644         Fix broken customization.  (Bug#15184)
18646 2013-08-25  Alan Mackenzie  <acm@muc.de>
18648         Improve indentation of bracelists defined by macros (without "=").
18650         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
18651         expansion begins with "{", regard it as bracelist when it doesn't
18652         contain a ";".
18654         Parse C++ inher-intro when there's a template split over 2 lines.
18656         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
18657         rigorously the search for "class" etc. followed by ":".
18659         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
18660         random languages a regexp which never matches rather than nil.
18662         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
18664         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
18665         (c-awk-regexp-one-line-possibly-open-char-list-re)
18666         (c-awk-one-line-possibly-open-regexp-re)
18667         (c-awk-one-line-non-syn-ws*-re): Remove.
18668         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
18669         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
18670         (c-awk-space*-unclosed-regexp-/-re): New constants.
18671         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
18672         aren't regexp delimiters.
18674         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
18675         handling for a rare situation in AWK Mode involving unterminated
18676         strings/regexps.
18678 2013-08-23  Glenn Morris  <rgm@gnu.org>
18680         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
18682         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
18684         * files.el (create-file-buffer): If the result would begin with
18685         spaces, prepend a "|" instead of removing them.  (Bug#15162)
18687 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18689         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
18690         text-properties (bug#15155).
18692         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
18693         exist any more.
18694         (calc-keypad-redraw): Remove unused var `pad'.
18695         (calc-keypad-press): Remove unused var `menu'.
18697 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
18699         * window.el (display-buffer-pop-up-frame):
18700         Call pop-up-frame-function with BUFFER current so `make-frame' will
18701         use it as the new frame's buffer (Bug#15133).
18703 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18705         * calendar/timeclock.el: Minor cleanups.
18706         (timeclock-ask-before-exiting, timeclock-use-display-time):
18707         Use `symbol'.
18708         (timeclock-modeline-display): Define as alias before the
18709         actual definition.
18710         (timeclock-mode-line-display): Use define-minor-mode.
18711         (timeclock-day-list-template): Make it a function, add an argument.
18712         (timeclock-day-list-required, timeclock-day-list-length)
18713         (timeclock-day-list-debt, timeclock-day-list-span)
18714         (timeclock-day-list-break): Adjust calls accordingly.
18716 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18718         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
18719         Use read--expression so that completion works again.
18721 2013-08-21  Sam Steingold  <sds@gnu.org>
18723         Add rudimentary inferior shell interaction
18724         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
18725         (sh-set-shell): Reset it.
18726         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
18727         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
18729 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18731         * align.el: Use lexical-binding.
18732         (align-region): Simplify accordingly.
18734 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
18736         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
18738         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
18739         `non-essential' up.
18741 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
18743         * net/tramp.el:
18744         * net/tramp-adb.el:
18745         * net/tramp-cmds.el:
18746         * net/tramp-ftp.el:
18747         * net/tramp-gvfs.el:
18748         * net/tramp-gw.el:
18749         * net/tramp-sh.el: Don't wrap external variable declarations by
18750         `eval-when-compile'.
18752 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18754         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
18755         now that Emacs supports ImageMagick animations.
18757 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
18759         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
18760         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
18762 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
18764         * window.el (mouse-autoselect-window-select): Do autoselect when
18765         mouse pointer is on margin.
18767 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
18769         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
18771 2013-08-16  Glenn Morris  <rgm@gnu.org>
18773         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
18774         Handle "Remote Directory" response of some clients.  (Bug#15058)
18776         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
18777         Tweak warning.  (Bug#14926)
18779         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
18780         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
18782         * image-mode.el (image-mode-map): Add menu items to reverse,
18783         increase, decrease, reset animation speed.
18784         (image--set-speed, image-increase-speed, image-decrease-speed)
18785         (image-reverse-speed, image-reset-speed): New functions.
18786         (image-mode-map): Add bindings for speed commands.
18788         * image.el (image-animate-get-speed, image-animate-set-speed):
18789         New functions.
18790         (image-animate-timeout): Respect image :speed property.
18792 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18794         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
18795         previous line (bug#15101).
18796         (debugger-eval-expression, debugger-record-expression):
18797         Use read--expression (bug#15102).
18799 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
18801         Remove byte compiler warnings, visible when compiling with
18802         `byte-compile-force-lexical-warnings' set to t.
18804         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
18805         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
18806         (tramp-handle-unhandled-file-name-directory)
18807         (tramp-handle-file-notify-add-watch, tramp-action-login)
18808         (tramp-action-succeed, tramp-action-permission-denied)
18809         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
18810         arguments with "_".
18812         * net/tramp-adb.el (tramp-adb-parse-device-names)
18813         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
18814         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
18815         (tramp-adb-handle-file-truename): Remove unused arguments.
18817         * net/tramp-cache.el (tramp-flush-directory-property)
18818         (tramp-flush-connection-property, tramp-list-connections)
18819         (tramp-parse-connection-properties): Prefix unused arguments with "_".
18821         * net/tramp-compat.el (tramp-compat-make-temp-file):
18822         Rename FILENAME to F.
18824         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
18825         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
18826         (tramp-zeroconf-parse-workstation-device-names)
18827         (tramp-zeroconf-parse-webdav-device-names)
18828         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
18830         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
18831         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
18833         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
18834         arguments.
18835         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
18836         (tramp-sh-handle-insert-file-contents-literally)
18837         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
18838         with "_".
18839         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
18840         Remove unused variables.
18842         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
18843         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
18844         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
18846         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
18847         Make them a defconst.
18848         (tramp-uuencode-region): Remove unused variable.
18850 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
18852         * frameset.el (frameset--prop-setter): New function.
18853         (frameset-prop): Add gv-setter declaration.
18854         (frameset-filter-minibuffer): Deal with the case that the minibuffer
18855         parameter was already set in FILTERED.  Doc fix.
18856         (frameset--record-minibuffer-relationships): Allow saving a
18857         minibufferless frame without its corresponding minibuffer frame.
18858         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
18859         frame, if the frame id matches.
18860         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
18861         frames before orphaned ones.
18862         (frameset-restore): Warn about orphaned windows, instead of error out.
18864 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
18866         * window.el (window-make-atom): Don't overwrite parameter
18867         already present.
18868         (display-buffer-in-atom-window): Handle special case where we
18869         split an already atomic window.
18870         (window--major-non-side-window, display-buffer-in-side-window)
18871         (window--side-check): Ignore minibuffer window when walking
18872         window tree.
18873         (window-deletable-p): Return 'frame only if no other frame uses
18874         our minibuffer window.
18875         (record-window-buffer): Run buffer-list-update-hook.
18876         (split-window): Make sure window--check-frame won't destroy an
18877         existing atomic window in case the new window gets nested
18878         inside.
18879         (display-buffer-at-bottom): Ignore minibuffer window when
18880         walking window tree.  Don't split a side window.
18881         (pop-to-buffer): Don't set-buffer here, the select-window call
18882         should do that.
18883         (mouse-autoselect-window-select): Autoselect only if we are in the
18884         text portion of the window.
18886 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18888         * net/shr.el (shr-parse-image-data): New function to grab both the
18889         data itself and the Content-Type.
18890         (shr-put-image): Use it.
18892         * net/eww.el (eww-display-image): Ditto.
18894         * image.el (image-content-type-suffixes): New variable.
18896 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
18898         * progmodes/python.el (python-imenu--build-tree)
18899         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
18901 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
18903         * simple.el (backward-word): Mention the optional argument.
18905 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18907         * frameset.el (frameset--make): Rename constructor from make-frameset.
18908         (frameset-p, frameset-valid-p): Don't autoload.
18909         (frameset-valid-p): Use normal accessors.
18911 2013-08-13  Glenn Morris  <rgm@gnu.org>
18913         * progmodes/compile.el (compile-command): Tweak example in doc.
18914         * obsolete/scribe.el (scribe-mode):
18915         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
18917         * mail/feedmail.el (feedmail-confirm-outgoing)
18918         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
18920         * cus-start.el (truncate-partial-width-windows): Fix type.
18922         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
18924         * net/shr.el (shr-table-horizontal-line): Fix custom type.
18926 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18928         * emacs-lisp/timer.el (timer--time-setter): New function.
18929         (timer--time): Use it as gv-setter.
18931         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
18932         setter is not a symbol.
18934 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
18936         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
18937         if sending fails.  This makes debugging easier.
18939 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
18941         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
18942         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
18943         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
18945 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
18947         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
18949 2013-08-12  Glenn Morris  <rgm@gnu.org>
18951         * format.el (format-annotate-function):
18952         Handle read-only text properties in the source.  (Bug#14887)
18954 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18956         * net/eww.el (eww-display-html): Ignore coding system errors.
18957         One web site uses "utf-8lias" as the coding system.
18959 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
18961         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
18963 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
18965         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
18966         (tutorial--detailed-help): Remove unused local variables.
18967         (tutorial--save-tutorial-to): Use ignore-errors.
18968         (help-with-tutorial): Use looking-at-p.
18970         * view.el (view-buffer-other-window, view-buffer-other-frame):
18971         Mark unused arguments.
18973         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
18974         (woman-select-symbol-fonts, woman, woman-find-file)
18975         (woman-insert-file-contents, woman-non-underline-faces):
18976         Use string-match-p.
18977         (woman1-unquote): Move declaration.
18979         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
18980         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
18981         argument.  Remove unused local variable.
18982         (xml-parse-elem-type): Use string-match-p.
18983         (xml-substitute-numeric-entities): Use ignore-errors.
18985         * calculator.el (calculator): Mark unused argument.
18986         (calculator-paste, calculator-quit, calculator-integer-p):
18987         Use ignore-errors.
18988         (calculator-string-to-number, calculator-decimal, calculator-exp)
18989         (calculator-op-or-exp): Use string-match-p.
18991         * dired.el (dired-buffer-more-recently-used-p): Declare.
18992         (dired-insert-set-properties, dired-insert-old-subdirs):
18993         Use ignore-errors.
18995         * dired-aux.el (dired-compress): Use ignore-errors.
18996         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
18997         (dired-do-async-shell-command, dired-do-shell-command)
18998         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
18999         (dired-insert-subdir-validate): Use string-match-p.
19000         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19001         (dired-add-entry): Use string-match-p, looking-at-p.
19002         (dired-insert-subdir-newpos): Remove unused local variable.
19004         * filenotify.el (file-notify-callback): Remove unused local variable.
19006         * filesets.el (filesets-error): Mark unused argument.
19007         (filesets-which-command-p, filesets-filter-dir-names)
19008         (filesets-directory-files, filesets-get-external-viewer)
19009         (filesets-ingroup-get-data): Use string-match-p.
19011         * find-file.el (ff-other-file-name, ff-other-file-name)
19012         (ff-find-the-other-file, ff-cc-hh-converter):
19013         Remove unused local variables.
19014         (ff-get-file-name): Use string-match-p.
19015         (ff-all-dirs-under): Use ignore-errors.
19017         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19018         (follow-select-if-visible): Remove unused local variable.
19020         * forms.el (read-file-filter): Move declaration.
19021         (forms--make-format, forms--make-parser, forms-insert-record):
19022         Quote function with #'.
19023         (forms--update): Use string-match-p.  Quote function with #'.
19025         * help-mode.el (help-dir-local-var-def): Mark unused argument.
19026         (help-make-xrefs): Use looking-at-p.
19027         (help-xref-on-pp): Use looking-at-p, ignore-errors.
19029         * ibuffer.el (ibuffer-ext-visible-p): Declare.
19030         (ibuffer-confirm-operation-on): Use string-match-p.
19032         * msb.el (msb-item-handler, msb-dired-item-handler):
19033         Mark unused arguments.
19035         * ses.el (ses-decode-cell-symbol)
19036         (ses-kill-override): Remove unused local variable.
19037         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19038         (ses-load): Use ignore-errors, looking-at-p.
19039         (ses-jump-safe): Use ignore-errors.
19040         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19042         * tabify.el (untabify, tabify): Mark unused arguments.
19044         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19045         Mark unused argument.
19046         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19047         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19049         * emacs-lisp/timer.el (timer--time): Define setter with
19050         gv-define-setter to avoid deprecation warning.
19052         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19053         (*record-cmpl-statistics-p*): Remove (was commented out).
19054         (cmpl-statistics-block): Remove (body was commented out).
19055         All callers changed.
19056         (add-completions-from-buffer, load-completions-from-file):
19057         Remove unused variables.
19059 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
19061         * filecache.el (file-cache-delete-file-list):
19062         Print message only when told so.
19063         (file-cache-files-matching): Use #' in mapconcat argument.
19065         * ffap.el (ffap-url-at-point): Fix reference to variable
19066         thing-at-point-default-mail-uri-scheme.
19068 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19070         * subr.el (define-error): New function.
19071         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19072         error-file-not-found and define with define-error.
19073         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19074         and define with define-error.
19075         * userlock.el (file-locked, file-supersession):
19076         * simple.el (mark-inactive):
19077         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19078         * progmodes/ada-mode.el (ada-mode-errors):
19079         * play/life.el (life-extinct):
19080         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19081         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19082         * nxml/rng-util.el (rng-error):
19083         * nxml/rng-uri.el (rng-uri-error):
19084         * nxml/rng-match.el (rng-compile-error):
19085         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19086         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19087         * nxml/nxml-rap.el (nxml-scan-error):
19088         * nxml/nxml-outln.el (nxml-outline-error):
19089         * net/soap-client.el (soap-error):
19090         * net/gnutls.el (gnutls-error):
19091         * net/ange-ftp.el (ftp-error):
19092         * mpc.el (mpc-proc-error):
19093         * json.el (json-error, json-readtable-error, json-unknown-keyword)
19094         (json-number-format, json-string-escape, json-string-format)
19095         (json-key-format, json-object-format):
19096         * jka-compr.el (compression-error):
19097         * international/quail.el (quail-error):
19098         * international/kkc.el (kkc-error):
19099         * emacs-lisp/ert.el (ert-test-failed):
19100         * calc/calc.el (calc-error, inexact-result, math-overflow)
19101         (math-underflow):
19102         * bookmark.el (bookmark-error-no-filename):
19103         * epg.el (epg-error): Define with define-error.
19105         * time.el (display-time-event-handler)
19106         (display-time-next-load-average): Don't call sit-for since it seems
19107         unnecessary (bug#15045).
19109         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19110         Use #' instead of ' to quote functions.
19111         (checkdoc-output-mode): Use setq-local.
19112         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19113         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19114         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19115         (checkdoc-ispell, checkdoc-ispell-current-buffer)
19116         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19117         (checkdoc-ispell-message-text, checkdoc-ispell-start)
19118         (checkdoc-ispell-continue, checkdoc-ispell-comments)
19119         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19121         * ido.el (ido-completion-help): Fix up compiler warning.
19123 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
19125         * frameset.el (frameset-p): Add autoload cookie.
19126         (frameset--jump-to-register): New function, based on code moved from
19127         register.el.
19128         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
19130         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19131         (frameset-restore, frameset-save, frameset-session-filter-alist):
19132         Remove declarations.
19133         (register-alist): Doc fix.
19134         (frameset-to-register): Move to frameset.el.
19135         (jump-to-register, describe-register-1): Remove frameset-specific code.
19137 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19139         * allout-widgets.el (allout-widgets-pre-command-business)
19140         (allout-widgets-post-command-business)
19141         (allout-widgets-after-change-handler)
19142         (allout-decorate-item-and-context, allout-set-boundary-marker)
19143         (allout-body-modification-handler)
19144         (allout-graphics-modification-handler): Mark ignored arguments.
19145         (allout-widgets-post-command-business)
19146         (allout-widgets-exposure-change-processor)
19147         (allout-widgets-exposure-undo-processor)
19148         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19149         (allout-parse-item-at-point, allout-decorate-item-guides)
19150         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19151         * allout.el (epa-passphrase-callback-function): Declare.
19152         (allout-overlay-insert-in-front-handler)
19153         (allout-overlay-interior-modification-handler)
19154         (allout-isearch-end-handler, allout-chart-siblings)
19155         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19156         (allout-yank-processing, allout-process-exposed)
19157         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19158         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19159         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19160         (lisp-indent-defform): Mark ignored arguments.
19161         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
19162         (calculate-lisp-indent): Remove unused variables.
19163         * international/characters.el (indian-2-column, arabic-2-column)
19164         (tibetan): Mark ignored arguments.
19165         (use-cjk-char-width-table): Mark ignored arguments.
19166         Remove unused variables.
19167         * international/fontset.el (build-default-fontset-data)
19168         (x-compose-font-name, create-fontset-from-fontset-spec):
19169         Mark ignored arguments.
19170         (fontset-plain-name): Remove unused variables.
19171         * international/mule.el (charset-id, charset-bytes, generic-char-p)
19172         (keyboard-coding-system): Mark ignored arguments.
19173         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
19174         * help.el (resize-temp-buffer-window):
19175         * window.el (display-buffer-in-major-side-window)
19176         (display-buffer-in-side-window, display-buffer-in-previous-window):
19177         Remove unused variables.
19178         * isearch.el (isearch-forward-symbol):
19179         * version.el (emacs-bzr-version-bzr):
19180         * international/mule-cmds.el (current-language-environment):
19181         * term/common-win.el (x-handle-iconic, x-handle-geometry)
19182         (x-handle-display):
19183         * term/pc-win.el (x-list-fonts, x-display-planes)
19184         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19185         (x-server-version, x-display-screens, x-display-mm-height)
19186         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19187         (x-selection-owner-p, x-own-selection-internal)
19188         (x-disown-selection-internal, x-get-selection-internal)
19189         (msdos-initialize-window-system):
19190         * term/tty-colors.el (tty-color-alist, tty-color-clear):
19191         * term/x-win.el (x-handle-no-bitmap-icon):
19192         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19193         (vc-default-find-file-hook, vc-default-extra-menu):
19194         Mark ignored arguments.
19196 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19198         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19199         break-condition in the context of the debugged code (bug#12685).
19201 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
19203         * comint.el:
19204         Do not use an overlay to highlight the last prompt.  (Bug#14744)
19205         (comint-mode): Make comint-last-prompt buffer local.
19206         (comint-last-prompt): New variable.
19207         (comint-last-prompt-overlay): Remove.  Superseded by
19208         comint-last-prompt.
19209         (comint-snapshot-last-prompt, comint-output-filter):
19210         Use comint-last-prompt.
19212 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19214         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
19215         (frameset-save): Check validity of the resulting frameset.
19217 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
19219         * ido.el (ido-record-command): Add doc string.
19221 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19223         * frameset.el (frameset): Do not disable creation of the default
19224         frameset-p predicate.  Doc fix.
19225         (frameset-valid-p): New function, copied from the old predicate-p.
19226         Add additional checks.
19227         (frameset-restore): Check with frameset-valid-p.
19228         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19229         (frameset-name, frameset-description, frameset-properties)
19230         (frameset-states): Add docstring.
19231         (frameset-session-filter-alist, frameset-persistent-filter-alist)
19232         (frameset-filter-alist): Doc fixes.
19234 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19236         * frameset.el (frameset-p, frameset-prop): Doc fixes.
19238 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19240         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19241         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19242         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19243         (byte-compile-normal-call): Remove obsolescence check.
19245 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
19247         * frameset.el (frameset-restore): Doc fix.
19249         * register.el (frameset-frame-id, frameset-frame-with-id)
19250         (frameset-p, frameset-restore, frameset-save): Declare.
19251         (register-alist): Document framesets.
19252         (frameset-session-filter-alist): Declare.
19253         (frameset-to-register): New function.
19254         (jump-to-register): Implement jumping to framesets.  Doc fix.
19255         (describe-register-1): Describe framesets.
19257         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19259 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
19261         * desktop.el (desktop-save-frameset): Use new frameset-save args.
19262         Use lexical-binding.
19264         * frameset.el (frameset): Use type vector, not list (incompatible
19265         change).  Do not declare a new constructor, use the default one.
19266         Upgrade suggested properties `app', `name' and `desc' to slots `app',
19267         `name' and `description', respectively, and add read-only slot
19268         `timestamp'.  Doc fixes.
19269         (frameset-copy, frameset-persistent-filter-alist)
19270         (frameset-filter-alist, frameset-switch-to-gui-p)
19271         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19272         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19273         (frameset-filter-iconified, frameset-keep-original-display-p):
19274         Doc fixes.
19275         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19276         Rename from frameset-filter-(save|restore)-param.  All callers changed.
19277         Doc fix.
19278         (frameset-p): Adapt to change to vector and be more thorough.
19279         Change arg name to OBJECT.  Doc fix.
19280         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
19281         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19282         All callers changed.
19283         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19284         All callers changed.
19285         (frameset--record-minibuffer-relationships): Rename from
19286         frameset--process-minibuffer-frames.  All callers changed.
19287         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19288         Use new default constructor (again).  Doc fix.
19289         (frameset--find-frame-if): Rename from `frameset--find-frame'.
19290         All callers changed.
19291         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19292         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19293         Doc fix.
19294         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19295         PARAMETERS and WINDOW-STATE, respectively.
19296         (frameset-restore): Add new keyword argument PREDICATE.
19297         Reset frameset--target-display to nil.  Doc fix.
19299 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19301         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19302         (bat-mode): Use it.
19303         (bat-mode-syntax-table): Mark \n as end-of-comment.
19304         (bat-font-lock-keywords): Remove comment rule.
19306         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
19307         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
19309         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19310         (byte-compile-callargs-warn): Use `push'.
19311         (byte-compile-arglist-warn): Ignore higher-order "calls".
19312         (byte-compile-file-form-autoload): Use `pcase'.
19313         (byte-compile-function-form): If quoting a symbol, check that it exists.
19315 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
19317         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19318         and add a few popular commands found in batch files.
19319         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19320         (dos-mode): Doc fixes.
19322 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19324         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19325         (dos-mode): Use setq-local.  Add space after "rem".
19326         (dos-mode-syntax-table): Don't use "w" for symbol chars.
19327         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19329 2013-08-07  Arni Magnusson  <arnima@hafro.is>
19331         * progmodes/dos.el: New file.
19332         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19333         dos-mode.
19335 2013-08-06  Glenn Morris  <rgm@gnu.org>
19337         * calendar/calendar.el: Add new faces, and day-header-array.
19338         (calendar-weekday-header, calendar-weekend-header)
19339         (calendar-month-header): New faces.
19340         (calendar-day-header-construct): New function.
19341         (calendar-day-header-width): Also :set calendar-day-header-array.
19342         (calendar-american-month-header, calendar-european-month-header)
19343         (calendar-iso-month-header): Use calendar- faces.
19344         (calendar-generate-month):
19345         Use calendar-day-header-array for day headers; apply faces to them.
19346         (calendar-mode): Check calendar-font-lock-keywords non-nil.
19347         (calendar-abbrev-construct): Add optional maxlen argument.
19348         (calendar-day-name-array): Doc fix.
19349         (calendar-day-name-array, calendar-abbrev-length)
19350         (calendar-day-abbrev-array):
19351         Also :set calendar-day-header-array, and maybe redraw.
19352         (calendar-day-header-array): New option.  (Bug#15007)
19353         (calendar-font-lock-keywords): Set to nil and make obsolete.
19354         (calendar-day-name): Add option to use header array.
19356 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19358         * net/shr.el (shr-render-td): Remove debugging.
19359         (shr-render-td): Make width computation consistent by defaulting
19360         all zero-width columns to 10 characters.  This may not be optimal,
19361         but it's at least consistent.
19362         (shr-make-table-1): Redo last change to fix the real problem in
19363         colspan handling.
19365 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
19367         * files.el (cache-long-line-scans):
19368         Make obsolete alias to `cache-long-scans'.
19370 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
19372         * frameset.el (frameset, frameset-filter-alist)
19373         (frameset-filter-params, frameset-save, frameset--reuse-frame)
19374         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19375         (frameset-compute-pos): Rename from frameset--compute-pos,
19376         and add docstring.
19377         (frameset-move-onscreen): Use frameset-compute-pos.
19378         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19380         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19381         Fix typos in docstrings.
19383 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
19385         * frame.el (get-other-frame): Tiny cleanup.
19387 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
19389         * vc/vc.el (vc-default-ignore-completion-table):
19390         Silence byte-compiler warning.
19392         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19393         slot, which can indeed be nil.
19394         (frameset-live-filter-alist, frameset-persistent-filter-alist):
19395         Move entry for `left' from persistent to live filter alist.
19396         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19397         Doc fixes.
19398         (frameset-filter-params): When restoring a frame, copy items added to
19399         `filtered', to avoid unwittingly modifying the original parameters.
19400         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
19401         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19403         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19404         to use looking-at-p instead of looking-at.  (Bug#15028)
19406 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19408         Revert introduction of isearch-filter-predicates (bug#14714).
19409         Rely on add-function instead.
19410         * isearch.el (isearch-filter-predicates): Rename it back to
19411         isearch-filter-predicate.
19412         (isearch-message-prefix): Use advice-function-mapc and advice
19413         properties to get the isearch-message-prefix.
19414         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19415         instead of run-hook-with-args-until-failure.
19416         (isearch-filter-visible): Not obsolete any more.
19417         * loadup.el: Preload nadvice.
19418         * replace.el (perform-replace): Revert to funcall
19419         instead of run-hook-with-args-until-failure.
19420         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19421         * dired-aux.el (dired-isearch-filenames-mode): Rename from
19422         dired-isearch-filenames-toggle; make it into a proper minor mode.
19423         Use add/remove-function.
19424         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19425         Call the minor-mode rather than add/remove-hook.
19426         (dired-isearch-filter-filenames):
19427         Remove isearch-message-prefix property.
19428         * info.el (Info--search-loop): New function, extracted from Info-search.
19429         Funcall isearch-filter-predicate instead of
19430         run-hook-with-args-until-failure isearch-filter-predicates.
19431         (Info-search): Use it.
19432         (Info-mode): Use isearch-filter-predicate instead of
19433         isearch-filter-predicates.
19435 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
19437         Do not call to `selected-window' where it is assumed by default.
19438         Affected functions are `window-minibuffer-p', `window-dedicated-p',
19439         `window-hscroll', `window-width', `window-height', `window-buffer',
19440         `window-frame', `window-start', `window-point', `next-window'
19441         and `window-display-table'.
19442         * abbrev.el (abbrev--default-expand):
19443         * bs.el (bs--show-with-configuration):
19444         * buff-menu.el (Buffer-menu-mouse-select):
19445         * calc/calc.el (calc):
19446         * calendar/calendar.el (calendar-generate-window):
19447         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19448         (diary-make-entry):
19449         * comint.el (send-invisible, comint-dynamic-complete-filename)
19450         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19451         * completion.el (complete):
19452         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19453         * disp-table.el (describe-current-display-table):
19454         * doc-view.el (doc-view-insert-image):
19455         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19456         * ehelp.el (with-electric-help):
19457         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19458         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19459         * emacs-lisp/helper.el (Helper-help-scroller):
19460         * emulation/cua-base.el (cua--post-command-handler-1):
19461         * eshell/esh-mode.el (eshell-output-filter):
19462         * ffap.el (ffap-gnus-wrapper):
19463         * help-macro.el (make-help-screen):
19464         * hilit-chg.el (highlight-compare-buffers):
19465         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19466         * hl-line.el (global-hl-line-highlight):
19467         * icomplete.el (icomplete-simple-completing-p):
19468         * isearch.el (isearch-done):
19469         * jit-lock.el (jit-lock-stealth-fontify):
19470         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19471         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19472         * mpc.el (mpc-tagbrowser, mpc):
19473         * net/rcirc.el (rcirc-any-buffer):
19474         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19475         * play/landmark.el (landmark-max-width, landmark-max-height):
19476         * play/zone.el (zone):
19477         * progmodes/compile.el (compilation-goto-locus):
19478         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19479         * progmodes/etags.el (find-tag-other-window):
19480         * progmodes/fortran.el (fortran-column-ruler):
19481         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19482         * progmodes/verilog-mode.el (verilog-point-text):
19483         * reposition.el (reposition-window):
19484         * rot13.el (toggle-rot13-mode):
19485         * server.el (server-switch-buffer):
19486         * shell.el (shell-dynamic-complete-command)
19487         (shell-dynamic-complete-environment-variable):
19488         * simple.el (insert-buffer, set-selective-display)
19489         (delete-completion-window):
19490         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19491         (speedbar-recenter):
19492         * startup.el (fancy-splash-head):
19493         * textmodes/ispell.el (ispell-command-loop):
19494         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19495         * tutorial.el (help-with-tutorial):
19496         * vc/add-log.el (add-change-log-entry):
19497         * vc/compare-w.el (compare-windows):
19498         * vc/ediff-help.el (ediff-indent-help-message):
19499         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19500         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19501         (ediff-setup-control-frame):
19502         * vc/emerge.el (emerge-position-region):
19503         * vc/pcvs-util.el (cvs-bury-buffer):
19504         * window.el (walk-windows, mouse-autoselect-window-select):
19505         * winner.el (winner-set-conf, winner-undo): Related users changed.
19507 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
19509         * frameset.el (frameset--set-id): Doc fix.
19510         (frameset-frame-id, frameset-frame-id-equal-p)
19511         (frameset-locate-frame-id): New functions.
19512         (frameset--process-minibuffer-frames, frameset--reuse-frame)
19513         (frameset-restore): Use them.
19515 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
19517         Do not call to `selected-frame' where it is assumed by default.
19518         Affected functions are `raise-frame', `redraw-frame',
19519         `frame-first-window', `frame-terminal' and `delete-frame'.
19520         * calendar/appt.el (appt-disp-window):
19521         * epg.el (epg-wait-for-completion):
19522         * follow.el (follow-delete-other-windows-and-split)
19523         (follow-avoid-tail-recenter):
19524         * international/mule.el (set-terminal-coding-system):
19525         * mail/rmail.el (rmail-mail-return):
19526         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19527         * progmodes/f90.el (f90-add-imenu-menu):
19528         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19529         * server.el (server-switch-buffer):
19530         * simple.el (delete-completion-window):
19531         * talk.el (talk):
19532         * term/xterm.el (terminal-init-xterm-modify-other-keys)
19533         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19534         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19535         * vc/ediff.el (ediff-documentation): Related users changed.
19536         * frame.el (selected-terminal): Remove the leftover.
19538 2013-08-05  Glenn Morris  <rgm@gnu.org>
19540         * calendar/calendar.el (calendar-generate-month):
19541         Fix for calendar-column-width != 1 + calendar-day-digit-width.
19542         (calendar-generate-month, calendar-font-lock-keywords):
19543         Fix for calendar-day-header-width > length of any day name.
19545 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
19547         * desktop.el (desktop-clear): Use new name of sort predicate.
19549         * frameset.el (frameset): Add docstring.  Move :version property to its
19550         own `version' slot.
19551         (frameset-copy): Rename from copy-frameset.
19552         (frameset-p): Check more thoroughly.
19553         (frameset-prop): Do not check for :version, which is no longer a prop.
19554         (frameset-live-filter-alist, frameset-persistent-filter-alist):
19555         Use new :never value instead of t.
19556         (frameset-filter-alist): Expand and clarify docstring.
19557         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19558         (frameset-filter-minibuffer, frameset-filter-save-param)
19559         (frameset-filter-restore-param, frameset-filter-iconified):
19560         Add pointer to docstring of frameset-filter-alist.
19561         (frameset-filter-params): Rename filter values to be more meaningful:
19562         :never instead of t, and reverse the meanings of :save and :restore.
19563         (frameset--process-minibuffer-frames): Clarify error message.
19564         (frameset-save): Avoid unnecessary and confusing call to framep.
19565         Use new BOA constructor for framesets.
19566         (frameset--reuse-list): Doc fix.
19567         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
19568         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19569         (frameset-minibufferless-first-p): Doc fix.
19570         Rename from frameset-sort-frames-for-deletion.
19571         (frameset-restore): Doc fixes.  Use new function names.
19572         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19574 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
19576         * desktop.el (desktop-restore-forces-onscreen)
19577         (desktop-restore-reuses-frames): Document :keyword constant values.
19578         (desktop-filter-parameters-alist): Remove, now identical to
19579         frameset-filter-alist.
19580         (desktop--filter-tty*): Remove, moved to frameset.el.
19581         (desktop-save-frameset, desktop-restore-frameset):
19582         Do not pass :filters argument.
19584         * frameset.el (frameset-live-filter-alist)
19585         (frameset-persistent-filter-alist): New variables.
19586         (frameset-filter-alist): Use them.  Add autoload cookie.
19587         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19588         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19589         `frameset--id' (it's supposed to be internal to frameset.el).
19590         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
19591         (frameset--initial-params): New function.
19592         (frameset--get-frame): Use it.  Doc fix.
19593         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19594         Accept :all, not 'all.
19595         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19596         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
19597         with fbound symbols.  Fix frame id matching, and remove matching ids if
19598         the frame being restored is deleted.  Obey :delete.
19600 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19602         * subr.el (macrop): New function.
19603         (text-clone--maintaining): New var.
19604         (text-clone--maintain): Rename from text-clone-maintain.  Use it
19605         instead of inhibit-modification-hooks.
19607         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
19608         a proxy, so as handle autoloads and redefinitions of the target.
19609         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
19611         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
19612         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
19613         (pcase--mutually-exclusive-p): New function.
19614         (pcase--split-consp): Use it.
19615         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
19616         mutually exclusive with the current predicate.
19618         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
19619         (edebug-macrop): Remove.  Use `macrop' instead.
19620         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
19621         (ad-macro-p):
19622         * eshell/esh-cmd.el (eshell-macrop):
19623         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
19625 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19627         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
19628         (advice-mapc): New function, using it.
19629         (advice-function-member-p): New function.
19630         (advice--normalize): Store the cdr in advice--saved-rewrite since
19631         that's the part that will be changed.
19632         (advice--symbol-function): New function.
19633         (advice-remove): Handle removal before the function is defined.
19634         Adjust to new advice--saved-rewrite.
19635         (advice-member-p): Use advice-function-member-p and
19636         advice--symbol-function.
19638 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
19640         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
19641         (frameset-filter-minibuffer): Doc fix.
19642         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
19643         (frameset--set-id, frameset--process-minibuffer-frames)
19644         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
19645         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
19647         * desktop.el (desktop-clear): Only delete frames when called
19648         interactively and desktop-restore-frames is non-nil.  Doc fix.
19649         (desktop-read): Set desktop-saved-frameset to nil.
19651 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
19653         * vc/vc.el (vc-ignore): Rewrite.
19654         (vc-default-ignore-completion-table, vc--read-lines)
19655         (vc--add-line, vc--remove-regexp): New functions.
19657         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
19658         (vc-svn-ignore-completion-table): New function.
19660         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
19661         (vc-hg-ignore-completion-table)
19662         (vc-hg-find-ignore-file): New functions.
19664         * vc/vc-git.el (vc-git-ignore): Rewrite.
19665         (vc-git-ignore-completion-table)
19666         (vc-git-find-ignore-file): New functions.
19668         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
19670         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
19671         (vc-bzr-ignore-completion-table)
19672         (vc-bzr-find-ignore-file): New functions.
19674 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
19676         * frameset.el (frameset-prop): New function and setter.
19677         (frameset-save): Do not modify frame list passed by the caller.
19679 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19681         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
19683 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19685         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
19686         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
19688         * custom.el (custom-initialize-default, custom-initialize-set)
19689         (custom-initialize-reset, custom-initialize-changed): Affect the
19690         toplevel-default-value (bug#6275, bug#14586).
19691         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
19692         for bug#6275.
19694 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
19696         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
19697         Add cl-def* expressions.
19699         * frameset.el (frameset-filter-params): Fix order of arguments.
19701 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
19703         Move code related to saving frames to frameset.el.
19704         * desktop.el: Require frameset.
19705         (desktop-restore-frames): Doc fix.
19706         (desktop-restore-reuses-frames): Rename from
19707         desktop-restoring-reuses-frames.
19708         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
19709         (desktop-clear): Clear frames too.
19710         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
19711         (desktop--filter-tty*, desktop-save, desktop-read):
19712         Use frameset functions.
19713         (desktop-before-saving-frames-functions, desktop--filter-*-color)
19714         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19715         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
19716         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
19717         (desktop--process-minibuffer-frames, desktop-save-frames)
19718         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
19719         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
19720         (desktop--sort-states, desktop-restoring-frames-p)
19721         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
19722         (desktop-restoring-frameset-p, desktop-restore-frameset)
19723         (desktop--check-dont-save, desktop-save-frameset): New functions.
19724         (desktop--app-id): New constant.
19725         (desktop-first-buffer, desktop-buffer-ok-count)
19726         (desktop-buffer-fail-count): Move before first use.
19727         * frameset.el: New file.
19729 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19731         * files.el: Use lexical-binding.
19732         (dir-locals-read-from-file): Remove unused `err' variable.
19733         (hack-dir-local-variables--warned-coding): New var.
19734         (hack-dir-local-variables): Use it to avoid repeated warnings.
19735         (make-backup-file-name--default-function): New function.
19736         (make-backup-file-name-function): Use it as default.
19737         (buffer-stale--default-function): New function.
19738         (buffer-stale-function): Use it as default.
19739         (revert-buffer-insert-file-contents--default-function): New function.
19740         (revert-buffer-insert-file-contents-function): Use it as default.
19741         (insert-directory): Avoid add-to-list.
19743         * autorevert.el (auto-revert-handler): Simplify.
19744         Use buffer-stale--default-function.
19746 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
19748         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
19750         * whitespace.el (whitespace-ensure-local-variables): New function.
19751         (whitespace-cleanup-region): Call it.
19752         (whitespace-turn-on): Call it.
19754 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
19756         Complete file name handlers.
19758         * net/tramp.el (tramp-handle-set-visited-file-modtime)
19759         (tramp-handle-verify-visited-file-modtime)
19760         (tramp-handle-file-notify-rm-watch): New functions.
19761         (tramp-call-process): Do not bind `default-directory'.
19763         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19764         Order alphabetically.
19765         <access-file, add-name-to-file, dired-call-process>:
19766         <dired-compress-file, file-acl, file-notify-rm-watch>:
19767         <file-ownership-preserved-p, file-selinux-context>:
19768         <make-directory-internal, make-symbolic-link, set-file-acl>:
19769         <set-file-selinux-context, set-visited-file-modtime>:
19770         <verify-visited-file-modtime>: Add handler.
19771         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
19773         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
19774         <file-notify-add-watch, file-notify-rm-watch>:
19775         <set-file-times, set-visited-file-modtime>:
19776         <verify-visited-file-modtime>: Add handler.
19777         (with-tramp-gvfs-error-message)
19778         (tramp-gvfs-handle-set-visited-file-modtime)
19779         (tramp-gvfs-fuse-file-name): Remove.
19780         (tramp-gvfs-handle-file-notify-add-watch)
19781         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
19782         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
19784         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19785         Order alphabetically.
19786         <file-notify-rm-watch>: Use default Tramp handler.
19787         <executable-find>: Remove private handler.
19788         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
19789         `default-directory'.
19790         (tramp-sh-handle-executable-find)
19791         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
19792         (tramp-sh-file-gvfs-monitor-dir-process-filter)
19793         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
19794         Do not use `format' in `tramp-message'.
19796         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
19797         <file-notify-rm-watch, set-visited-file-modtime>:
19798         <verify-visited-file-modtime>: Add handler.
19799         (tramp-smb-call-winexe): Do not bind `default-directory'.
19801 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
19803         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
19805 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
19807         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
19808         use it.
19809         (log-view-diff-changeset): Same.
19810         (log-view-diff-common): Call backend command `previous-revision'
19811         to find out the previous revision, in both cases.  Swap the
19812         variables `to' and `fr', so that `fr' usually refers to the
19813         earlier revision (Bug#14989).
19815 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
19817         * ibuf-ext.el (ibuffer-filter-by-filename):
19818         Make it work with dired buffers too.
19820 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
19822         * emacs-lisp/re-builder.el (reb-color-display-p):
19823         * files.el (save-buffers-kill-terminal):
19824         * net/browse-url.el (browse-url):
19825         * server.el (server-save-buffers-kill-terminal):
19826         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
19827         Prefer nil to selected-frame for the first arg of frame-parameter.
19829 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
19831         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
19833 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
19835         * minibuffer.el (completion--twq-all): Try and preserve each
19836         completion's case choice (bug#14907).
19838 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19840         * net/network-stream.el (open-network-stream): Mention the new
19841         :nogreeting parameter.
19842         (network-stream-open-starttls): Use the :nogreeting parameter
19843         (bug#14938).
19845         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
19847         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
19848         more natural than popping.
19850         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
19851         (shr-urlify): Highlight under mouse.
19853 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
19855         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
19857         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
19859         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
19860         buffer for output.
19862         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
19863         point-min==1.  Fix search string.  Fix parentheses missing.
19865         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
19866         assume point-min==1.  Fix search string.  Fix parentheses missing.
19868         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
19870         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
19871         buffer for output.
19873 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
19875         * frame.el (frame-notice-user-settings): Avoid inflooping when the
19876         initial frame is minibuffer-less.  (Bug#14841)
19878 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
19880         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
19881         option.
19883         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19884         (tramp-maybe-open-connection): Use it.
19886 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
19888         * desktop.el (desktop--make-frame): Include `minibuffer' in the
19889         minimal set of parameters passed when creating a frame, because
19890         the minibuffer status of a frame cannot be changed later.
19892 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
19894         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
19895         replace-regexp-in-string and inadvertent omissions in previous change.
19896         (todo-filter-items): Ensure only file names are comma-separated in
19897         name of filtered items buffer.
19899 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
19901         * desktop.el: Optionally force offscreen frames back onscreen.
19902         (desktop-restoring-reuses-frames): New option.
19903         (desktop--compute-pos, desktop--move-onscreen): New functions.
19904         (desktop--make-frame): Use desktop--move-onscreen.
19906 2013-07-27  Alan Mackenzie  <acm@muc.de>
19908         Fontify a Java generic method as a function.
19909         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
19910         value to t.
19912 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
19914         * calendar/todo-mode.el: Add command to rename todo files.
19915         (todo-rename-file): New command.
19916         (todo-key-bindings-t): Add key binding for it.  Change the
19917         bindings of todo-filter-regexp-items(-multifile) to use `x'
19918         instead of `r', since the latter is better suited to the new
19919         renaming command.
19921 2013-07-27  Alan Mackenzie  <acm@muc.de>
19923         Make Java try-with-resources statement parse properly.
19924         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
19925         (c-block-stmt-1-2-key): New language constants/variables.
19926         * progmodes/cc-engine.el (c-beginning-of-statement-1)
19927         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
19928         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
19929         with c-block-stmt-1-2-key.
19931 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
19933         * desktop.el (desktop--make-frame): Apply most frame parameters after
19934         creating the frame to force (partially or totally) offscreen frames to
19935         be restored as such.
19937 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
19939         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
19940         (Bug#14948)
19942 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19944         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
19945         `base' arg of backtrace-frame.
19947 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
19949         * simple.el (list-processes): Doc fix.
19951 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
19953         * desktop.el (desktop--select-frame):
19954         Try harder to reuse existing frames.
19956 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19958         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
19959         (edebug-eval): Use backtrace-eval.
19960         (edebug--display, edebug--recursive-edit): Don't let-bind the
19961         edebug-outer-* vars that keep track of variables we locally let-bind.
19962         (edebug-outside-excursion): Don't restore outside values of locally
19963         let-bound vars.
19964         (edebug--display): Use user-error.
19965         (cl-lexical-debug, cl-debug-env): Remove.
19967 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
19969         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
19970         are restored to be sure that they are visible before deleting any
19971         remaining ones.
19973 2013-07-26  Matthias Meulien  <orontee@gmail.com>
19975         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
19976         vc-print-root-log.  (Bug#14948)
19978 2013-07-26  Richard Stallman  <rms@gnu.org>
19980         Add aliases for encrypting mail.
19981         * epa.el (epa-mail-aliases): New option.
19982         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
19983         Bind inhibit-read-only so read-only text doesn't ruin everything.
19984         (epa-mail-default-recipients): New subroutine broken out.
19985         Handle epa-mail-aliases.
19987 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19989         Add support for lexical variables to the debugger's `e' command.
19990         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
19991         vars, except for debugger-outer-match-data.
19992         (debugger-frame-number): Move check for "on a function call" from
19993         callers into it.  Add `skip-base' argument.
19994         (debugger-frame, debugger-frame-clear): Simplify accordingly.
19995         (debugger-env-macro): Only reset the state stored in non-variables,
19996         i.e. current-buffer and match-data.
19997         (debugger-eval-expression): Rewrite using backtrace-eval.
19998         * subr.el (internal--called-interactively-p--get-frame): Remove.
19999         (called-interactively-p):
20000         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20001         `base' arg of backtrace-frame instead.
20003 2013-07-26  Glenn Morris  <rgm@gnu.org>
20005         * align.el (align-regexp): Doc fix.  (Bug#14857)
20006         (align-region): Explicit error if subexpression missing/does not match.
20008         * simple.el (global-visual-line-mode):
20009         Do not duplicate the mode lighter.  (Bug#14858)
20011 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
20013         * window.el (display-buffer): In display-buffer bind
20014         split-window-keep-point to t, bug#14829.
20016 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
20018         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20019         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20020         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20021         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20022         Change accordingly.
20023         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20024         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20026 2013-07-25  Glenn Morris  <rgm@gnu.org>
20028         * dired-x.el (dired-mark-extension): Convert comment to doc string.
20030 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
20032         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20033         parameter to modify-frame-parameters if the value has not changed;
20034         this is a workaround for bug#14949.
20035         (desktop--make-frame): On cl-delete-if call, check parameter name,
20036         not full parameter.
20038 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
20040         * vc/vc.el (vc-ignore): New function.
20042         * vc/vc-svn.el (vc-svn-ignore): New function.
20044         * vc/vc-hg.el (vc-hg-ignore): New function.
20046         * vc/vc-git.el (vc-git-ignore): New function.
20048         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20049         (vc-dir-ignore): New function.
20051         * vc/vc-cvs.el (vc-cvs-ignore): New function.
20052         (cvs-append-to-ignore): Move here from pcvs.el.
20054         * vc/vc-bzr.el (vc-bzr-ignore): New function.
20056         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20058 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
20060         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20061         (desktop-restore-frames): Warn when deleting an existing frame failed.
20063 2013-07-24  Glenn Morris  <rgm@gnu.org>
20065         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
20067 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
20069         * filenotify.el (file-notify-supported-p):
20070         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20071         Remove functions.
20073         * autorevert.el (auto-revert-use-notify)
20074         (auto-revert-notify-add-watch):
20075         * net/tramp.el (tramp-file-name-for-operation):
20076         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20077         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20078         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20079         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20080         Remove `file-notify-supported-p' entry.
20082 2013-07-24  Glenn Morris  <rgm@gnu.org>
20084         * printing.el: Replace all uses of deleted ps-windows-system,
20085         ps-lp-system, ps-flatten-list with lpr- versions.
20087 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20089         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20090         checked with memq (bug#14935).
20092         * files.el (revert-buffer-function): Use a non-nil default.
20093         (revert-buffer-preserve-modes): Declare var to
20094         provide access to the `preserve-modes' argument.
20095         (revert-buffer): Let-bind it.
20096         (revert-buffer--default): New function, extracted from revert-buffer.
20098 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20100         * lpr.el: Signal print errors more prominently.
20101         (print-region-function): Don't default to nil.
20102         (lpr-print-region): New function, extracted from print-region-1.
20103         Check lpr's return value and signal an error in case of problem.
20104         (print-region-1): Use it.
20105         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
20106         versions instead.
20107         (ps-printer-name): Default to nil.
20108         (ps-printer-name-option): Default to lpr-printer-switch.
20109         (ps-print-region-function): Don't default to nil.
20110         (ps-postscript-code-directory): Simplify default.
20111         (ps-do-despool): Use lpr-print-region to properly check the outcome.
20112         (ps-string-list, ps-eval-switch, ps-flatten-list)
20113         (ps-flatten-list-1): Remove.
20114         (ps-multibyte-buffer): Avoid setq.
20115         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20116         (print-region-function, ps-print-region-function): Don't set them here.
20118 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
20120         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20121         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20122         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20123         (ido-decorations): Doc fix.
20125         * ansi-color.el: Fix old URL.
20127 2013-07-23  Michael R. Mauger  <michael@mauger.com>
20129         * progmodes/sql.el: Version 3.3
20130         (sql-product-alist): Improve oracle :prompt-cont-regexp.
20131         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20132         (sql-interactive-remove-continuation-prompt): Rewrite, use
20133         functions above.  Fix continuation prompt and complete output line
20134         handling.
20135         (sql-redirect-one, sql-execute): Use `read-only-mode' on
20136         redirected output buffer.
20137         (sql-mode): Restore deleted code (Bug#13591).
20139 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
20141         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20143 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
20145         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20147         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20148         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20149         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20151 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
20153         * desktop.el (desktop-clear): Simplify; remove useless checks
20154         against invalid buffer names.
20155         (desktop-list*): Use cl-list*.
20156         (desktop-buffer-info, desktop-create-buffer): Simplify.
20158 2013-07-23  Leo Liu  <sdl.web@gmail.com>
20160         * bookmark.el (bookmark-make-record): Restore NAME as a default
20161         value.  (Bug#14933)
20163 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20165         * emacs-lisp/autoload.el (autoload--setup-output): New function,
20166         extracted from autoload--insert-text.
20167         (autoload--insert-text): Remove.
20168         (autoload--print-cookie-text): New function, extracted from
20169         autoload--insert-cookie-text.
20170         (autoload--insert-cookie-text): Remove.
20171         (autoload-generate-file-autoloads): Adjust calls accordingly.
20173         * winner.el (winner-hook-installed-p): Remove.
20174         (winner-mode): Simplify accordingly.
20176         * subr.el (add-to-list): Fix compiler-macro when `append' is
20177         not constant.  Don't use `cl-member' for the base case.
20179         * progmodes/subword.el: Fix boundary case (bug#13758).
20180         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
20181         own group.
20182         (subword-backward-regexp): Make it a constant.
20183         (subword-forward-internal): Don't treat a trailing capital as the
20184         beginning of a word.
20186 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
20188         * emacs-lisp/package.el (package-menu-mode): Don't modify the
20189         global value of tabulated-list-revert-hook (bug#14930).
20191 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
20193         * desktop.el: Require 'cl-lib.
20194         (desktop-before-saving-frames-functions): New hook.
20195         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20196         for frames being saved.  Rename from desktop--save-minibuffer-frames.
20197         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20198         Do not save frames with non-nil `desktop-dont-save' parameter.
20199         Filter out deleted frames.
20200         (desktop--find-frame): Use cl-find-if.
20201         (desktop--select-frame): Use cl-(first|second|third) to access values
20202         of desktop-mini.
20203         (desktop--make-frame): Use cl-delete-if.
20204         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20205         (desktop-restore-frames): Use cl-(first|second|third) to access values
20206         of desktop-mini.  Look for visible frame at the end, not while
20207         restoring frames.
20209         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20210         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20211         Use string-match-p, looking-at-p (bug#14927).
20213 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
20215         * desktop.el (desktop-saved-frame-states):
20216         Rename from desktop--saved-states; all users changed.
20217         (desktop-save-frames): Rename from desktop--save-frames.
20218         Do not save state to desktop file.
20219         (desktop-save): Save desktop-saved-frame-states to desktop file
20220         and reset to nil.
20221         (desktop-restoring-frames-p): New function.
20222         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
20223         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
20224         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
20226         * desktop.el: Correctly restore iconified frames.
20227         (desktop--filter-iconified-position): New function.
20228         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20230 2013-07-20  Glenn Morris  <rgm@gnu.org>
20232         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20233         Let `message' do the formatting.
20234         (def-gdb-preempt-display-buffer): Add explicit format.
20236         * image-dired.el (image-dired-track-original-file):
20237         Use with-current-buffer.
20238         (image-dired-track-thumbnail): Use with-current-buffer.
20239         Avoid changing point of wrong window.
20241         * image-dired.el (image-dired-track-original-file):
20242         Avoid changing point of wrong window.  (Bug#14909)
20244 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
20246         * progmodes/gdb-mi.el (gdb-done-or-error):
20247         Guard against "%" in gdb output.  (Bug#14127)
20249 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
20251         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20252         (Bug#14826)
20254         * international/mule.el (coding-system-iso-2022-flags): Fix last
20255         change.
20257 2013-07-20  Kenichi Handa  <handa@gnu.org>
20259         * international/mule.el (coding-system-iso-2022-flags):
20260         Add `8-bit-level-4'.  (Bug#8522)
20262 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20264         * net/shr.el (shr-mouse-browse-url): New command and keystroke
20265         (bug#14815).
20267         * net/eww.el (eww-process-text-input): Allow inputting when the
20268         point is at the start of the line, as the properties aren't
20269         front-sticky.
20271         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20272         degenerate widths.
20274 2013-07-19  Richard Stallman  <rms@gnu.org>
20276         * epa.el (epa-popup-info-window): Doc fix.
20278         * subr.el (split-string): New arg TRIM.
20280 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
20282         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20283         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20285 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
20287         * filenotify.el (file-notify--library): Rename from
20288         `file-notify-support'.  Do not autoload.  Adapt all uses.
20289         (file-notify-supported-p): New defun.
20291         * autorevert.el (auto-revert-use-notify):
20292         Use `file-notify-supported-p' instead of `file-notify-support'.
20293         Adapt docstring.
20294         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20296         * net/tramp.el (tramp-file-name-for-operation):
20297         Add `file-notify-supported-p'.
20299         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20300         New defun.
20301         (tramp-sh-file-name-handler-alist): Add it as handler for
20302         `file-notify-supported-p '.
20304         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20305         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20306         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20307         Add `ignore' as handler for `file-notify-*' functions.
20309 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
20311         * simple.el (line-move-partial, line-move): Don't start vscroll or
20312         scroll-up if the current line is not taller than the window.
20313         (Bug#14881)
20315 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
20317         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20318         highlight question marks in the method names as strings.
20319         (ruby-block-beg-keywords): Inline.
20320         (ruby-font-lock-keyword-beg-re): Extract from
20321         `ruby-font-lock-keywords'.
20323 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
20325         * frame.el (blink-cursor-blinks): New defcustom.
20326         (blink-cursor-blinks-done): New defvar.
20327         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20328         (blink-cursor-timer-function): Check if number of blinks has been
20329         done on X and NS.
20330         (blink-cursor-suspend, blink-cursor-check): New defuns.
20332 2013-07-15  Glenn Morris  <rgm@gnu.org>
20334         * edmacro.el (edmacro-format-keys): Fix previous change.
20336 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
20338         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20339         The hack didn't work outside English locales anyway.
20341 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
20343         * simple.el (define-alternatives): Rename from alternatives-define,
20344         per RMS' suggestion.
20346 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
20348         * desktop.el (desktop-restore-frames): Change default to t.
20349         (desktop-restore-in-current-display): Now offer more options.
20350         (desktop-restoring-reuses-frames): New customization option.
20351         (desktop--saved-states): Doc fix.
20352         (desktop-filter-parameters-alist): New variable, renamed and expanded
20353         from desktop--excluded-frame-parameters.
20354         (desktop--target-display): New variable.
20355         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20356         (desktop--filter-tty*, desktop--filter-*-color)
20357         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20358         (desktop--filter-save-desktop-parm)
20359         (desktop-restore-in-original-display-p): New functions.
20360         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20361         (desktop--save-minibuffer-frames): New function, inspired by a similar
20362         function from Martin Rudalics.
20363         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20364         (desktop--restore-in-this-display-p): Remove.
20365         (desktop--find-frame): Rename from desktop--find-frame-in-display
20366         and add predicate argument.
20367         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20368         (desktop--reuse-list): New variable.
20369         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20370         New functions.
20371         (desktop--restore-frames): Add support for "minibuffer-special" frames.
20373 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
20375         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20377 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
20379         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20380         Highlight conversion methods on Kernel.
20382 2013-07-13  Alan Mackenzie  <acm@muc.de>
20384         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20385         and comment it out.  This out-commenting enables certain C++
20386         declarations to be parsed correctly.
20388 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
20390         * international/mule.el (define-coding-system): Doc fix.
20392         * simple.el (default-font-height): Don't call font-info if the
20393         frame's default font didn't change since the frame was created.
20394         (Bug#14838)
20396 2013-07-13  Leo Liu  <sdl.web@gmail.com>
20398         * ido.el (ido-read-file-name): Guard against non-symbol value.
20400 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
20402         * progmodes/python.el (python-imenu--build-tree): Fix corner case
20403         in nested defuns.
20405 2013-07-13  Leo Liu  <sdl.web@gmail.com>
20407         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20408         ido-set-matches call.  (Bug#6852)
20410 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
20412         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20413         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20414         Ruby 2.0.
20415         (ruby-font-lock-keywords): Distinguish calls to functions with
20416         module-like names from module references.  Highlight character
20417         literals.
20419 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
20421         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20422         (gdb-send): Handle continued commands.  (Bug#14847)
20424 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
20426         * desktop.el (desktop--v2s): Remove unused local variable.
20427         (desktop-save-buffer): Make defvar-local; adjust docstring.
20428         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20429         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20431 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
20433         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20435 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
20437         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20438         (Bug#14842)
20440 2013-07-12  Glenn Morris  <rgm@gnu.org>
20442         * doc-view.el: Require cl-lib at runtime too.
20443         (doc-view-remove-if): Remove.
20444         (doc-view-search-next-match, doc-view-search-previous-match):
20445         Use cl-remove-if.
20447         * edmacro.el: Require cl-lib at runtime too.
20448         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20449         (edmacro-mismatch, edmacro-subseq): Remove.
20451         * shadowfile.el: Require cl-lib.
20452         (shadow-remove-if): Remove.
20453         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20454         Use cl-remove-if.
20456         * wid-edit.el: Require cl-lib.
20457         (widget-choose): Use cl-remove-if.
20458         (widget-remove-if): Remove.
20460         * progmodes/ebrowse.el: Require cl-lib at runtime too.
20461         (ebrowse-delete-if-not): Remove.
20462         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20463         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20464         Use cl-delete-if-not.
20466 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
20468         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20469         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20471 2013-07-12  Leo Liu  <sdl.web@gmail.com>
20473         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
20475 2013-07-11  Glenn Morris  <rgm@gnu.org>
20477         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20478         (edebug-gensym-index, edebug-gensym):
20479         Remove reimplementation of cl-gensym.
20480         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20482         * thumbs.el: Require cl-lib at run-time too.
20483         (thumbs-gensym-counter, thumbs-gensym):
20484         Remove reimplementation of cl-gensym.
20485         (thumbs-temp-file): Use cl-gensym.
20487         * emacs-lisp/ert.el: Require cl-lib at runtime too.
20488         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20489         (ert--intersection, ert--set-difference, ert--set-difference-eq)
20490         (ert--union, ert--gensym-counter, ert--gensym-counter)
20491         (ert--coerce-to-vector, ert--remove*, ert--string-position)
20492         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20493         (ert-make-test-unbound, ert--expand-should-1)
20494         (ert--expand-should, ert--should-error-handle-error)
20495         (should-error, ert--explain-equal-rec)
20496         (ert--plist-difference-explanation, ert-select-tests)
20497         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20498         Use cl-lib functions rather than reimplementations.
20500 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
20502         * net/tramp.el (tramp-methods): Extend docstring.
20503         (tramp-connection-timeout): New defcustom.
20504         (tramp-error-with-buffer): Reset timestamp only when appropriate.
20505         (with-tramp-progress-reporter): Simplify.
20506         (tramp-process-actions): Improve messages.
20508         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20509         * net/tramp-sh.el (tramp-maybe-open-connection):
20510         Use `tramp-connection-timeout'.
20511         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20512         (Bug#14808)
20514 2013-07-11  Leo Liu  <sdl.web@gmail.com>
20516         * ido.el (ido-read-file-name): Conform to the requirements of
20517         read-file-name.  (Bug#11861)
20518         (ido-read-directory-name): Conform to the requirements of
20519         read-directory-name.
20521 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
20523         * subr.el (delay-warning): New function.
20525 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
20527         * simple.el (default-line-height): New function.
20528         (line-move-partial, line-move): Use it instead of computing the
20529         line height inline.
20530         (line-move-partial): Always compute ROWH.  If the last line is
20531         partially-visible, but its text is completely visible, allow
20532         cursor to enter such a partially-visible line.
20534 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
20536         Improve error messages.  (Bug#14808)
20538         * net/tramp.el (tramp-current-connection): New defvar, moved from
20539         tramp-sh.el.
20540         (tramp-message-show-progress-reporter-message): Remove, not
20541         needed anymore.
20542         (tramp-error-with-buffer): Show message in minibuffer.
20543         Discard input before waiting.  Reset connection timestamp.
20544         (with-tramp-progress-reporter): Improve messages.
20545         (tramp-process-actions): Use progress reporter.  Delete process in
20546         case of error.  Improve messages.
20548         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20549         Call `tramp-error-with-buffer' with vector and buffer.
20550         (tramp-current-connection): Remove.
20551         (tramp-maybe-open-connection): The car of
20552         `tramp-current-connection' are the first 3 slots of the vector.
20554 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
20556         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20557         inside continued strings.
20559 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
20561         Timestamp fixes for undo (Bug#14824).
20562         * files.el (clear-visited-file-modtime): Move here from fileio.c.
20564 2013-07-10  Leo Liu  <sdl.web@gmail.com>
20566         * files.el (require-final-newline): Allow safe local value.
20567         (Bug#14834)
20569 2013-07-09  Leo Liu  <sdl.web@gmail.com>
20571         * ido.el (ido-read-directory-name): Handle fallback.
20572         (ido-read-file-name): Update DIR to ido-current-directory.
20573         (Bug#1516)
20574         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
20576 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
20578         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20579         "autoload".  Remove "warn lower camel case" section, previously
20580         commented out.  Highlight negation char.  Do not highlight the
20581         target in singleton method definitions.
20583 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20585         * faces.el (tty-setup-hook): Declare the hook.
20587         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20588         and detect when a guard/pred depends on local vars (bug#14773).
20589         (pcase--u1): Adjust caller.
20591 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
20593         * simple.el (line-move-partial, line-move): Account for
20594         line-spacing.
20595         (line-move-partial): Avoid setting vscroll when the last
20596         partially-visible line in window is of default height.
20598 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20600         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20601         been used a while.
20603 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
20605         * subr.el (read-quoted-char): Remove unused local variable `char'.
20607 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
20609         * vc/ediff.el (ediff-version): Version update.
20610         (ediff-files-command, ediff3-files-command, ediff-merge-command)
20611         (ediff-merge-with-ancestor-command, ediff-directories-command)
20612         (ediff-directories3-command, ediff-merge-directories-command)
20613         (ediff-merge-directories-with-ancestor-command): New functions.
20614         All are command-line interfaces to ediff: to facilitate calling
20615         Emacs with the appropriate ediff functions invoked.
20617         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
20618         New function.
20619         (viper-save-kill-buffer): Check if buffer is modified.
20621         * emulation/viper.el (viper-version): Version update.
20622         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
20624 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20626         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
20627         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
20628         (viper-intercept-ESC-key): Simplify.
20629         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
20630         don't use kbd.
20631         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
20632         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
20633         (viper-setup-ESC-to-escape): New functions.
20634         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
20635         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
20637 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
20639         * simple.el (default-font-height, window-screen-lines):
20640         New functions.
20641         (line-move, line-move-partial): Use them instead of
20642         frame-char-height and window-text-height.  This makes scrolling
20643         text smoother when the buffer's default face uses a font that is
20644         different from the frame's default font.
20646 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
20648         * files.el (write-file): Do not display confirm dialog for NS,
20649         it does its own dialog, which can't be canceled (Bug#14578).
20651 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
20653         * simple.el (line-move-partial): Adjust the row returned by
20654         posn-at-point for the current window-vscroll.  (Bug#14567)
20656 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
20658         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
20659         (tramp-sh-file-inotifywait-process-filter): Handle file names with
20660         spaces.
20662 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
20664         * window.el (window-state-put-stale-windows): New variable.
20665         (window--state-put-2): Save list of windows without matching buffer.
20666         (window-state-put): Remove "bufferless" windows if possible.
20668 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
20670         * simple.el (alternatives-define): Remove leftover :group keyword.
20671         Tweak docstring.
20673 2013-07-06  Leo Liu  <sdl.web@gmail.com>
20675         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
20676         (ido-enable-virtual-buffers): New variable.
20677         (ido-buffer-internal, ido-toggle-virtual-buffers)
20678         (ido-make-buffer-list): Use it.
20679         (ido-exhibit): Support turning on and off virtual buffers
20680         automatically.
20682 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
20684         * simple.el (alternatives-define): New macro.
20686 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
20688         * subr.el (read-quoted-char): Use read-key.
20689         (sit-for): Let read-event decode tty input (bug#14782).
20691 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
20693         * calendar/todo-mode.el: Add handling of file deletion, both by
20694         mode command and externally.  Fix various related bugs.
20695         Clarify Commentary and improve some documentation strings and code.
20696         (todo-delete-file): New command.
20697         (todo-check-file): New function.
20698         (todo-show): Handle external deletion of the file we're trying to
20699         show (bug#14688).  Replace called-interactively-p by an optional
20700         prefix argument to avoid problematic interaction with catch form
20701         when byte compiled (bug#14702).
20702         (todo-quit): Handle external deletion of the archive's todo file.
20703         Make sure the buffer that was visiting the archive file is still
20704         live before trying to bury it.
20705         (todo-category-completions): Handle external deletion of any
20706         category completion files.
20707         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
20708         of todo files, in case of external deletion.
20709         (todo-add-file): Replace unnecessary setq by let-binding.
20710         (todo-find-archive): Check whether there are any archives.
20711         Replace unnecessary setq by let-binding.
20712         (todo-archive-done-item): Use find-file-noselect to get the
20713         archive buffer whether or not the archive already exists.
20714         Remove superfluous code.  Use file size instead of buffer-file-name to
20715         check if the archive is new; if it is, update list of archives.
20716         (todo-default-todo-file): Allow nil to be a valid value for when
20717         there are no todo files.
20718         (todo-reevaluate-default-file-defcustom): Use corrected definition
20719         of todo-default-todo-file.
20720         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
20721         (todo-delete-category, todo-show-categories-table)
20722         (todo-category-number): Clarify comment.
20723         (todo-filter-items): Clarify documentation string.
20724         (todo-show-current-file, todo-display-as-todo-file)
20725         (todo-reset-and-enable-done-separator): Tweak documentation string.
20726         (todo-done-separator): Make separator length window-width, since
20727         bug#2749 is now fixed.
20729 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
20731         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
20732         Support both "gvfs-monitor-dir" and "inotifywait".
20733         (tramp-sh-file-inotifywait-process-filter): Rename from
20734         `tramp-sh-file-notify-process-filter'.
20735         (tramp-sh-file-gvfs-monitor-dir-process-filter)
20736         (tramp-get-remote-gvfs-monitor-dir): New defuns.
20738 2013-07-05  Leo Liu  <sdl.web@gmail.com>
20740         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
20742 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20744         * frame.el (display-pixel-height, display-pixel-width)
20745         (display-mm-height, display-mm-width): Mention behavior on
20746         multi-monitor setups in docstrings.
20747         (w32-display-monitor-attributes-list): Declare function.
20748         (display-monitor-attributes-list): Use it.
20750 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
20752         * filenotify.el: New package.
20754         * autorevert.el (top): Require filenotify.el.
20755         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
20756         instead.
20757         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
20758         (auto-revert-notify-handler): Use `file-notify-*' functions.
20760         * subr.el (file-notify-handle-event): Move function to filenotify.el.
20762         * net/tramp.el (tramp-file-name-for-operation):
20763         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
20765         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
20766         for `file-notify-add-watch' and `file-notify-rm-watch'.
20767         (tramp-process-sentinel): Improve trace.
20768         (tramp-sh-handle-file-notify-add-watch)
20769         (tramp-sh-file-notify-process-filter)
20770         (tramp-sh-handle-file-notify-rm-watch)
20771         (tramp-get-remote-inotifywait): New defuns.
20773 2013-07-03  Juri Linkov  <juri@jurta.org>
20775         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
20776         call of `occur-read-primary-args' to interactive spec.
20778         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
20779         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
20781 2013-07-03  Matthias Meulien  <orontee@gmail.com>
20783         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
20784         `Buffer-menu-multi-occur'.  Add it to the menu.
20785         (Buffer-menu-mode): Document it in docstring.
20786         (Buffer-menu-multi-occur): New command.  (Bug#14673)
20788 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
20790         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
20791         keywords and built-ins.
20793 2013-07-03  Glenn Morris  <rgm@gnu.org>
20795         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
20797         Make info-xref checks case-sensitive by default
20798         * info.el (Info-find-node, Info-find-in-tag-table)
20799         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
20800         Add option for exact case matching of nodes.
20801         * info-xref.el (info-xref): New custom group.
20802         (info-xref-case-fold): New option.
20803         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
20805 2013-07-03  Leo Liu  <sdl.web@gmail.com>
20807         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
20809 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
20811         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
20812         middle of block statement initially, lower the depth.  Remove
20813         FIXME comment, not longer valid.  Remove middle of block statement
20814         detection, no need to do that anymore since we've been using
20815         `ruby-parse-region' here.
20817 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
20819         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
20821 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
20823         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
20825 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
20827         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
20828         (desktop-restore-in-current-display): New customization option.
20829         (desktop--excluded-frame-parameters): Add `font'.
20830         (desktop--save-frames): Rename from desktop--save-windows.
20831         (desktop--restore-in-this-display-p): New function.
20832         (desktop--make-full-frame): Remove unwanted width/height from
20833         full(width|height) frames.
20834         (desktop--restore-frames): Rename from desktop--restore-windows.
20835         Obey desktop-restore-current-display.  Do not delete old frames or
20836         select a new frame unless we were able to restore at least one frame.
20838 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
20840         * files.el (find-file-noselect): Simplify conditional expression.
20842         * textmodes/remember.el (remember-append-to-file):
20843         Don't mix `find-buffer-visiting' and `get-file-buffer'.
20845         Add `remember-notes' function to store random notes across Emacs
20846         restarts.
20847         * textmodes/remember.el (remember-data-file): Add :set callback to
20848         affect notes buffer (if any).
20849         (remember-notes): New command.
20850         (remember-notes-buffer-name, bury-remember-notes-on-kill):
20851         New defcustoms for the `remember-notes' function.
20852         (remember-notes-save-and-bury-buffer): New command.
20853         (remember-notes-mode-map): New variable.
20854         (remember-mode): New minor mode.
20855         (remember-notes--kill-buffer-query): New function.
20856         * startup.el (initial-buffer-choice): Add notes to custom type.
20858 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
20860         * bindings.el (right-char, left-char): Don't call sit-for, this is
20861         no longer needed.  Use arithmetic comparison only for numerical
20862         arguments.
20864         * international/mule-cmds.el (select-safe-coding-system):
20865         Handle the case of FROM being a string correctly.  (Bug#14755)
20867 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20869         * net/shr.el (shr-make-table-1): Add a sanity check that allows
20870         progression on degenerate tables.
20871         (shr-rescale-image): ImageMagick animated images currently don't work.
20873 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
20875         Some fixes and improvements for desktop frame restoration.
20876         It is still experimental and disabled by default.
20877         * desktop.el (desktop--save-windows): Put the selected frame at
20878         the head of the list.
20879         (desktop--make-full-frame): New function.
20880         (desktop--restore-windows): Try to re-select the frame that was
20881         selected upon saving.  Do not abort if some frames fail to restore,
20882         just show an error message and continue.  Set up maximized frames
20883         so they have default non-maximized dimensions.
20885 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
20887         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
20888         Don't start heredoc inside a string or comment.
20890 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
20892         * bindings.el (visual-order-cursor-movement): New defcustom.
20893         (right-char, left-char): Provide visual-order cursor motion by
20894         calling move-point-visually.  Update the doc strings.
20896 2013-06-28  Kenichi Handa  <handa@gnu.org>
20898         * international/mule.el (define-coding-system): New coding system
20899         properties :inhibit-null-byte-detection,
20900         :inhibit-iso-escape-detection, and :prefer-utf-8.
20901         (set-buffer-file-coding-system): If :charset-list property of
20902         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
20903         appropriate for setting.
20905         * international/mule-cmds.el (select-safe-coding-system):
20906         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
20907         multibyte characters, return utf-8 (or one of its siblings).
20909         * international/mule-conf.el (prefer-utf-8): New coding system.
20910         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
20911         files.
20913 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
20915         * net/shr.el (shr-render-region): New function.
20917         * net/eww.el: Autoload `eww-browse-url'.
20919 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
20921         * emacs-lisp/package-x.el (package-upload-buffer-internal):
20922         Adapt to `package-desc-version' being a list.
20923         Use `package--ac-desc-version' to retrieve version from a package
20924         archive element.
20926 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
20928         New experimental feature to save&restore window and frame setup.
20929         * desktop.el (desktop-save-windows): New defcustom.
20930         (desktop--saved-states): New var.
20931         (desktop--excluded-frame-parameters): New defconst.
20932         (desktop--filter-frame-parms, desktop--find-frame-in-display)
20933         (desktop--restore-windows, desktop--save-windows): New functions.
20934         (desktop-save): Call `desktop--save-windows'.
20935         (desktop-read): Call `desktop--restore-windows'.
20937 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20939         * net/shr.el (add-face-text-property): Remove compat definition.
20941 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
20943         * info.el (Info-try-follow-nearest-node): Move search for footnote
20944         above search for node name to prevent missing a footnote (bug#14717).
20946 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
20948         * obsolete/otodo-mode.el: Add obsolescence info to file header.
20950 2013-06-27  Leo Liu  <sdl.web@gmail.com>
20952         * net/eww.el (eww-read-bookmarks): Check file size.
20954 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20956         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
20957         advice--pending if newdef is nil or an autoload (bug#13820).
20958         (advice-mapc): New function.
20960 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20962         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
20963         probably.
20964         (eww-mode-map): Add a menu bar.
20965         (eww-add-bookmark): New command.
20966         (eww-bookmark-mode): New mode and commands.
20967         (eww-add-bookmark): Remove newlines from the title.
20968         (eww-bookmark-browse): Don't bug out if it's the only window.
20970 2013-06-26  Glenn Morris  <rgm@gnu.org>
20972         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
20973         (hfy-size): Handle ttys.  (Bug#14668)
20975         * info-xref.el: Update for Texinfo 5 change in *note format.
20976         (info-xref-node-re, info-xref-note-re): New constants.
20977         (info-xref-check-buffer): Use info-xref-note-re.
20979 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20981         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
20983         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
20984         nil terminate the loop (bug#14718).
20986 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20988         * net/eww.el: Rework history traversal.  When going forward/back,
20989         put these actions into the history, too, so that they can be
20990         replayed.
20991         (eww-render): Move the history reset to the correct buffer.
20993 2013-06-25  Juri Linkov  <juri@jurta.org>
20995         * files-x.el (modify-dir-local-variable): Change the header comment
20996         in the file with directory local variables.  (Bug#14692)
20998         * files-x.el (read-file-local-variable-value): Add `default'.
20999         (Bug#14710)
21001 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21003         * net/eww.el (eww-make-unique-file-name): Create a unique file
21004         name before saving to entering `y' accidentally asynchronously.
21006 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
21008         * net/eww.el (eww-download): New command and keystroke.
21010 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21012         * net/eww.el (eww-copy-page-url): Change name of command.
21014         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21015         be more consistent with Info and dired.
21017         * net/eww.el (eww-mode-map): Ditto.
21019 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21021         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
21022         packages from archives.
21023         (package-archive-contents): Change format; include obsolete packages.
21024         (package-desc): Use `dir' to mark builtin packages.
21025         (package--from-builtin): Set the `dir' field to `builtin'.
21026         (generated-autoload-file, version-control): Declare.
21027         (package-compute-transaction): Change first arg and return value to be
21028         lists of package-descs.  Adjust to new package-archive-contents format.
21029         (package--add-to-archive-contents): Adjust to new
21030         package-archive-contents format.
21031         (package-download-transaction): Arg is now a list of package-descs.
21032         (package-install): If `pkg' is a package name, pass it as
21033         a requirement, so it is subject to the usual (e.g. disabled) checks.
21034         (describe-package): Accept package-desc as well.
21035         (describe-package-1): Describe a specific package-desc.  Add links to
21036         other package-descs for the same package name.
21037         (package-menu-describe-package): Pass the actual package-desc.
21038         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21039         works correctly.
21040         (package-desc-status): New function.
21041         (package-menu--refresh): New function, extracted
21042         from package-menu--generate.
21043         (package-menu--generate): Use it.
21044         (package-delete): Update package-alist.
21045         (package-menu-execute): Don't call package-initialize.
21047         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21048         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21049         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21050         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21051         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21052         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21054 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
21056         * window.el (window--state-get-1): Workaround for bug#14527.
21057         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21059 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21061         * net/eww.el (eww-back-url): Implement the history by stashing all
21062         the data into a list.
21063         (eww-forward-url): Allow going forward in the history, too.
21065 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
21067         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21068         for values and use read--expression for expressions (bug#14710).
21069         (read-file-local-variable): Avoid setq.
21070         (read-file-local-variable-mode): Use minor-mode-list.
21072 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21074         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21075         for DOI URLs.
21077 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
21079         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21080         Update imenu-support when dialect changes.
21082 2013-06-25  Leo Liu  <sdl.web@gmail.com>
21084         * ido.el (ido-read-internal): Allow forward slash on windows.
21086 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21088         * net/eww.el (eww): Start of strings is \\`, not ^.
21090 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
21092         * net/shr.el (shr-browse-url): Fix interactive spec.
21094         * net/eww.el (eww): Add a trailing slash to domain names.
21096 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
21098         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21100 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21102         * net/shr.el (shr-browse-url): Use an external browser if given a
21103         prefix.
21105         * net/eww.el (eww-external-browser): Move to shr.
21107 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
21109         * net/eww.el (eww): Work more correctly for file: URLs.
21110         (eww-detect-charset): Allow quoted charsets.
21111         (eww-yank-page-url): New command and keystroke.
21113 2013-06-24  Daiki Ueno  <ueno@gnu.org>
21115         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21116         file name of gpg executable.
21117         (epg-context-program): New function.
21118         (epg-context-home-directory): New function.
21119         (epg-context-set-program): New function.
21120         (epg-context-set-home-directory): New function.
21121         (epg--start): Use `epg-context-program' instead of
21122         'epg-gpg-program'.
21123         (epg--list-keys-1): Likewise.
21125 2013-06-24  Leo Liu  <sdl.web@gmail.com>
21127         * ido.el (ido-read-internal): Fix bug#14620.
21129 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
21131         * faces.el (face-documentation): Simplify.
21132         (read-face-attribute, tty-find-type, x-resolve-font-name):
21133         Use `string-match-p'.
21134         (list-faces-display): Use `string-match-p'.  Simplify.
21135         (face-spec-recalc): Check face to avoid face alias loops.
21136         (read-color): Use `string-match-p' and non-capturing parenthesis.
21138 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21140         * net/shr.el (shr-rescale-image): Use the new
21141         :max-width/:max-height functionality.
21143 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
21145         * net/eww.el (eww-search-prefix): New variable.
21146         (eww): Use it.
21147         (eww-external-browser): New variable.
21148         (eww-mode-map): New keystroke.
21149         (eww-browse-with-external-browser): New command.
21151         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21153 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
21155         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21156         Don't skip aligning the next header field when padding is 0;
21157         otherwise, field width is not respected unless the title is as
21158         wide as the field.
21160 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21162         * emacs-lisp/package.el (package-el-version): Remove.
21163         (package-process-define-package): Fix inf-loop.
21164         (package-install): Allow symbols as arguments again.
21166 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
21168         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21169         add some more keyword-like methods.
21170         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21172 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
21174         * bs.el (bs-buffer-show-mark): Make defvar-local.
21175         (bs-mode): Use setq-local.
21177         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21178         (emacs-lock--try-unlocking): Make defvar-local.
21180 2013-06-22  Glenn Morris  <rgm@gnu.org>
21182         * play/cookie1.el (cookie-apropos): Minor simplification.
21184         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21186 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
21188         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21189         `regexp-opt', it breaks the build during dumping.
21191 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
21193         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21194         Highlight keyword-like methods on Kernel and Module with
21195         font-lock-builtin-face.
21196         (auto-mode-alist): Consolidate different entries into one regexp
21197         and add more *file-s.
21199 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
21201         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21203         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21204         (diary-entry): Use it in the action of this button type instead of
21205         diary-goto-entry.
21207         * calendar/todo-mode.el: New version.
21208         (todo-add-category): Append new category to end of file and give
21209         it the highest number, instead of putting it at the beginning and
21210         giving it 0.  Incorporate noninteractive functionality.
21211         (todo-forward-category): Adapt to 1-based category numbering.
21212         Allow skipping over archived categories.
21213         (todo-backward-category): Derive from todo-forward-category.
21214         (todo-backward-item, todo-forward-item): Make noninteractive and
21215         delegate interactive part to new commands.  Make sensitive to done items.
21216         (todo-categories): Make value an alist of category names and
21217         vectors of item counts.
21218         (todo-category-beg): Make a defconst.
21219         (todo-category-number): Use 1 instead of 0 as initial value.
21220         (todo-category-select): Make sensitive to overlays, optional item
21221         highlighting and done items.
21222         (todo-delete-item): Make sensitive to overlays and marked and done items.
21223         (todo-edit-item): Make sensitive to overlays and editing of
21224         date/time header optional.  Add format checks.
21225         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
21226         no-op if point is not on an item.  Advertise using todo-edit-quit.
21227         (todo-edit-mode): Make sensitive to new format, font-locking, and
21228         multiple todo files.
21229         (todo-insert-item, todo-insert-item-here): Derive from
21230         todo-basic-insert-item and extend functionality.
21231         (todo-item-end, todo-item-start): Make sensitive to done items.
21232         (todo-item-string): Don't return text properties.  Restore point.
21233         (todo-jump-to-category): Make sensitive to multiple todo files and
21234         todo archives.  Use extended category completion.
21235         (todo-lower-item, todo-raise-item): Rename to *-priority and
21236         derive from todo-set-item-priority.
21237         (todo-mode): Derive from special-mode.  Make sensitive to new
21238         format, font-locking and multiple todo files.  Make read-only.
21239         (todo-mode-map): Don't suppress digit keys, so they can supply
21240         prefix arguments.  Add many new key bindings.
21241         (todo-prefix): Insert as an overlay instead of file text.
21242         Change semantics from diary date expression to purely visual mark.
21243         (todo-print): Rename to todo-print-buffer.  Make buffer display
21244         features printable.  Remove option to restrict number of items
21245         printed.  Add option to print to file.
21246         (todo-print-function): Rename to todo-print-buffer-function.
21247         (todo-quit): Extend to handle exiting new todo modes.
21248         (todo-remove-item): Make sensitive to overlays.
21249         (todo-save): Extend to buffers of filtered items.
21250         (todo-show): Make sensitive to done items, multiple todo files and
21251         new todo modes.  Offer to convert legacy todo file before creating
21252         first new todo file.
21253         (todo-show-priorities): Rename to todo-top-priorities.
21254         Change semantics of value 0.
21255         (todo-top-priorities): Rename to todo-filter-top-priorities,
21256         derive from todo-filter-items and extend functionality.
21257         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21258         and extend functionality to other types of filtered items.
21259         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21260         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21261         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21262         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21263         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21264         (todo-edit-mode-hook, todo-entry-prefix-function)
21265         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21266         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21267         (todo-initials, todo-insert-threshold, todo-item-string-start)
21268         (todo-line-string, todo-menu, todo-mode-hook)
21269         (todo-more-important-p, todo-previous-answer, todo-previous-line)
21270         (todo-print-priorities, todo-remove-separator)
21271         (todo-save-top-priorities-too, todo-string-count-lines)
21272         (todo-string-multiline-p, todo-time-string-format)
21273         (todo-tmp-buffer-name): Remove.
21274         (todo-add-file, todo-archive-done-item, todo-choose-archive)
21275         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21276         (todo-edit-category-diary-inclusion)
21277         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21278         (todo-edit-file, todo-edit-item-date-day)
21279         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21280         (todo-edit-item-date-month, todo-edit-item-date-to-today)
21281         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21282         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21283         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21284         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21285         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21286         (todo-filter-top-priorities-multifile, todo-find-archive)
21287         (todo-find-filtered-items-file, todo-go-to-source-item)
21288         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21289         (todo-jump-to-archive-category, todo-lower-category)
21290         (todo-mark-category, todo-marked-item-p, todo-merge-category)
21291         (todo-move-category, todo-move-item, todo-next-button)
21292         (todo-next-item, todo-padded-string, todo-powerset)
21293         (todo-previous-button, todo-previous-item)
21294         (todo-print-buffer-to-file, todo-raise-category)
21295         (todo-rename-category, todo-repair-categories-sexp, todo-search)
21296         (todo-set-category-number, todo-set-item-priority)
21297         (todo-set-top-priorities-in-category)
21298         (todo-set-top-priorities-in-file, todo-show-categories-table)
21299         (todo-sort-categories-alphabetically-or-numerically)
21300         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21301         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21302         (todo-toggle-item-header, todo-toggle-item-highlighting)
21303         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21304         (todo-toggle-view-done-items, todo-toggle-view-done-only)
21305         (todo-unarchive-items, todo-unmark-category): New commands.
21306         (todo-absolute-file-name, todo-add-to-buffer-list)
21307         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21308         (todo-basic-insert-item, todo-category-completions)
21309         (todo-category-number, todo-category-string-matcher-1)
21310         (todo-category-string-matcher-2, todo-check-filtered-items-file)
21311         (todo-check-format, todo-clear-matches)
21312         (todo-comment-string-matcher, todo-convert-legacy-date-time)
21313         (todo-current-category, todo-date-string-matcher)
21314         (todo-define-insertion-command, todo-diary-expired-matcher)
21315         (todo-diary-goto-entry, todo-diary-item-p)
21316         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21317         (todo-display-categories, todo-display-sorted, todo-done-item-p)
21318         (todo-done-item-section-p, todo-done-separator)
21319         (todo-done-string-matcher, todo-files, todo-filter-items)
21320         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21321         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21322         (todo-insert-category-line, todo-insert-item-from-calendar)
21323         (todo-insert-sort-button, todo-insert-with-overlays)
21324         (todo-insertion-command-name, todo-insertion-key-bindings)
21325         (todo-label-to-key, todo-longest-category-name-length)
21326         (todo-make-categories-list, todo-mode-external-set)
21327         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21328         (todo-modes-set-3, todo-multiple-filter-files)
21329         (todo-nondiary-marker-matcher, todo-prefix-overlays)
21330         (todo-read-category, todo-read-date, todo-read-dayname)
21331         (todo-read-file-name, todo-read-time)
21332         (todo-reevaluate-category-completions-files-defcustom)
21333         (todo-reevaluate-default-file-defcustom)
21334         (todo-reevaluate-filelist-defcustoms)
21335         (todo-reevaluate-filter-files-defcustom)
21336         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21337         (todo-reset-done-separator, todo-reset-done-separator-string)
21338         (todo-reset-done-string, todo-reset-global-current-todo-file)
21339         (todo-reset-highlight-item, todo-reset-nondiary-marker)
21340         (todo-reset-prefix, todo-set-categories)
21341         (todo-set-date-from-calendar, todo-set-show-current-file)
21342         (todo-set-top-priorities, todo-short-file-name)
21343         (todo-show-current-file, todo-sort, todo-time-string-matcher)
21344         (todo-total-item-counts, todo-update-buffer-list)
21345         (todo-update-categories-display, todo-update-categories-sexp)
21346         (todo-update-count, todo-validate-name, todo-y-or-n-p):
21347         New functions.
21348         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21349         New major modes.
21350         (todo-categories, todo-display, todo-edit, todo-faces)
21351         (todo-filtered): New defgroups.
21352         (todo-archived-only, todo-button, todo-category-string, todo-date)
21353         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21354         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21355         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21356         (todo-add-item-if-new-category, todo-always-add-time-string)
21357         (todo-categories-align, todo-categories-archived-label)
21358         (todo-categories-category-label, todo-categories-diary-label)
21359         (todo-categories-done-label, todo-categories-number-separator)
21360         (todo-categories-todo-label, todo-categories-totals-label)
21361         (todo-category-completions-files, todo-completion-ignore-case)
21362         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21363         (todo-done-separator-string, todo-done-string)
21364         (todo-files-function, todo-filter-done-items, todo-filter-files)
21365         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21366         (todo-initial-category, todo-initial-file, todo-item-mark)
21367         (todo-legacy-date-time-regexp, todo-mode-line-function)
21368         (todo-nondiary-marker, todo-number-prefix)
21369         (todo-print-buffer-function, todo-show-current-file)
21370         (todo-show-done-only, todo-show-first, todo-show-with-done)
21371         (todo-skip-archived-categories, todo-top-priorities-overrides)
21372         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21373         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21374         New defcustoms.
21375         (todo-category-done, todo-date-pattern, todo-date-string-start)
21376         (todo-diary-items-buffer, todo-done-string-start)
21377         (todo-filtered-items-buffer, todo-item-start)
21378         (todo-month-abbrev-array, todo-month-name-array)
21379         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21380         (todo-top-priorities-buffer): New defconsts.
21381         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21382         (todo-categories-with-marks, todo-category-string-face)
21383         (todo-comment-face, todo-comment-string, todo-current-todo-file)
21384         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21385         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21386         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21387         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21388         (todo-font-lock-keywords, todo-global-current-todo-file)
21389         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21390         (todo-insertion-commands-args)
21391         (todo-insertion-commands-args-genlist)
21392         (todo-insertion-commands-names, todo-insertion-map)
21393         (todo-key-bindings-t, todo-key-bindings-t+a)
21394         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21395         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21396         (todo-nondiary-face, todo-print-buffer, todo-time-face)
21397         (todo-visited): New variables.
21399 2013-06-21  Glenn Morris  <rgm@gnu.org>
21401         * play/cookie1.el (cookie-apropos): Add optional display argument.
21402         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21403         (psychoanalyze-pinhead): Use cookie-doctor.
21405 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
21407         * emacs-lisp/package.el (tar-get-file-descriptor)
21408         (tar--extract): Declare.
21410 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
21412         Extend flymake's warning predicate to be a function (bug#14217).
21413         * progmodes/flymake.el (flymake-warning-predicate): New.
21414         (flymake-parse-line): Use it.
21415         (flymake-warning-re): Make obsolete alias to
21416         `flymake-warning-predicate'.
21418 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21420         * emacs-lisp/package.el (package-alist): Include obsolete packages.
21421         (package-obsolete-list): Remove.
21422         (package-activate): Remove min-version argument.  Add `force' argument.
21423         Adjust to new package-alist format.
21424         (package-mark-obsolete): Remove.
21425         (package-unpack): Force reload of the package's autoloads.
21426         (package-installed-p): Check builtins if the installed package is not
21427         recent enough.
21428         (package-initialize): Don't reset package-obsolete-list.
21429         Don't specify which package version to activate.
21430         (package-process-define-package, describe-package-1)
21431         (package-menu--generate): Adjust to new package-alist format.
21433 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
21435         * allout-widgets.el (allout-widgets-mode-off)
21436         (allout-widgets-mode-on, allout-widgets-pre-command-business)
21437         (allout-widgets-post-command-business)
21438         (allout-widgets-after-copy-or-kill-function)
21439         (allout-widgets-after-undo-function, allout-test-range-overlaps)
21440         (allout-decorate-item-and-context)
21441         (allout-graphics-modification-handler): Fix typos in docstrings.
21442         (allout-get-or-create-parent-widget): Use `looking-at-p'.
21444         * cmuscheme.el (scheme-start-file): Doc fix.
21445         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21446         (scheme-input-filter): Use `string-match-p'.
21448         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21450         * dired-x.el: Use Dired consistently in docstrings.
21452         * dired.el: Use Dired consistently in docstrings.
21453         (dired-readin, dired-mode): Use `setq-local'.
21454         (dired-switches-alist): Make defvar-local.
21455         (dired-buffers-for-dir): Use `zerop'.
21456         (dired-safe-switches-p, dired-switches-escape-p)
21457         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21458         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21459         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21460         (dired-goto-next-nontrivial-file): Use `string-match-p'.
21461         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21462         (dired-toggle-marks, dired-mark-files-containing-regexp)
21463         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21464         (dired-flag-auto-save-files, dired-flag-backup-files):
21465         Use `looking-at-p'.
21466         (dired-mark-files-regexp, dired-build-subdir-alist):
21467         Use `string-match-p', `looking-at-p'.
21469         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21470         (direct-print-region-helper): Use `string-match-p'.
21472 2013-06-21  Leo Liu  <sdl.web@gmail.com>
21474         * comint.el (comint-redirect-results-list-from-process):
21475         Fix infinite loop.
21477 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21479         * net/eww.el (eww-update-header-line-format): Quote % characters.
21481 2013-06-21  Glenn Morris  <rgm@gnu.org>
21483         * play/cookie1.el (cookie): New custom group.
21484         (cookie-file): New option.
21485         (cookie-check-file): New function.
21486         (cookie): Make it interactive.  Make start and end messages optional.
21487         Interactively, display the result.  Default to cookie-file.
21488         (cookie-insert): Default to cookie-file.
21489         (cookie-snarf): Make start and end messages optional.
21490         Default to cookie-file.  Use with-temp-buffer.
21491         (cookie-read): Rename from read-cookie.
21492         Make start and end messages optional.  Default to cookie-file.
21493         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
21494         Do not autoload it.
21495         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21496         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21498 2013-06-21  Leo Liu  <sdl.web@gmail.com>
21500         * progmodes/octave.el (octave-mode): Backward compatibility fix.
21502 2013-06-21  Glenn Morris  <rgm@gnu.org>
21504         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21506 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21507             Daniel Hackney  <dan@haxney.org>
21509         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21510         Consolidate the single-file vs tarball code.
21511         (package-desc-suffix): New function.
21512         (package-desc-full-name): Don't bother inlining it.
21513         (package-load-descriptor): Return the new package-desc.
21514         (package-mark-obsolete): Remove unused arg `package'.
21515         (package-unpack): Make it work for single files as well.
21516         Make it update package-alist.
21517         (package--make-autoloads-and-stuff): Rename from
21518         package--make-autoloads-and-compile.  Don't compile any more.
21519         (package--compile): New function.
21520         (package-generate-description-file): New function, extracted from
21521         package-unpack-single.
21522         (package-unpack-single): Remove.
21523         (package--with-work-buffer): Add indentation and debugging info.
21524         (package-download-single): Remove.
21525         (package-install-from-archive): Rename from package-download-tar, make
21526         it take a pkg-desc, and make it work for single files as well.
21527         (package-download-transaction): Simplify.
21528         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
21529         external tar program.
21530         (package-install-from-buffer): Remove `pkg-desc' argument.
21531         Use package-tar-file-info for tar-mode buffers.
21532         (package-install-file): Simplify accordingly.
21533         (package-archive-base): Change to take a pkg-desc.
21534         * tar-mode.el (tar--check-descriptor): New function, extracted from
21535         tar-get-descriptor.
21536         (tar-get-descriptor): Use it.
21537         (tar-get-file-descriptor): New function.
21538         (tar--extract): New function, extracted from tar-extract.
21539         (tar--extract): Use it.
21540         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21541         case the summary uses non-ascii.  Adjust to new calling convention of
21542         package-tar-file-info.
21544 2013-06-21  Leo Liu  <sdl.web@gmail.com>
21546         * comint.el (comint-redirect-results-list-from-process):
21547         Fix random delay.  (Bug#14681)
21549 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
21551         * profiler.el (profiler-format-number): Use log, not log10.
21553 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
21555         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21557 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
21559         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21560         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21561         yet available.
21562         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21563         (AUTOGENEL): ... here.
21564         * emacs-lisp/cl-macs.el (cl--sublis): New function.
21565         (cl--defsubst-expand): Use it.
21567 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
21569         * subr.el (log10): Move here from C code, and declare as obsolete.
21570         All uses of (log10 X) replaced with (log X 10).
21572 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
21574         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21575         Declare with `defvar-local'.
21576         (tabulated-list-use-header-line, tabulated-list-entries)
21577         (tabulated-list-padding, tabulated-list-printer)
21578         (tabulated-list-sort-key): Declare with `defvar-local'.
21579         (tabulated-list-init-header, tabulated-list-print-fake-header):
21580         Use `setq-local'.
21582 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
21584         * arc-mode.el (archive-mode): Add `archive-write-file' to
21585         `write-contents-functions' also for remote files.  (Bug#14652)
21587 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
21589         * cus-edit.el (custom-commands): Fix typos.
21590         (custom-display): Fix tooltip text.
21591         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21592         Fix typos in docstrings.
21593         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21594         (custom-unlispify-menu-entry, custom-magic-value-create)
21595         (custom-add-see-also, custom-group-value-create): Use ?\s.
21596         (custom-guess-type, customize-apropos, editable-field)
21597         (custom-face-value-create): Use `string-match-p'.
21598         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21600         * custom.el (custom-load-symbol): Use `string-match-p'.
21602         * ansi-color.el: Convert to lexical binding.
21603         (ansi-colors): Fix URL.
21604         (ansi-color-context, ansi-color-context-region): Use defvar-local.
21605         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
21606         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
21608 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21610         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
21612         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
21614 2013-06-19  Tom Tromey  <tromey@redhat.com>
21616         * net/eww.el (eww-top-url): Remove.
21617         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
21618         (eww-render): Set new variables.  Don't set eww-top-url.
21619         (eww-handle-link): Handle "prev", "home", and "contents".
21620         Downcase the rel text.
21621         (eww-top-url): Choose best top URL.
21623 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21625         * net/eww.el: Rewrite to implement form elements "by hand" instead of
21626         relying in widget.el.  Using widget.el leads to too many
21627         user interface inconsistencies.
21628         (eww-self-insert): Implement entering commands in text fields.
21629         (eww-process-text-input): New function to make text input field editing
21630         work.
21631         (eww-submit): Rewrite to use the new-style form methods.
21632         (eww-select-display): Display the correct selected item.
21633         (eww-change-select): Implement changing the select value.
21634         (eww-toggle-checkbox): Implement radio/checkboxes.
21635         (eww-update-field): Fix compilation error.
21636         (eww-tag-textarea): Implement <textarea>.
21638         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
21639         we don't shadow mode-specific bindings.
21641         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
21642         nothing to push.
21644         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
21646 2013-06-19  Glenn Morris  <rgm@gnu.org>
21648         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
21650 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
21652         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
21653         not needed.
21655         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
21657 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21659         * net/browse-url.el (browse-url-browser-function):
21660         `eww-browse-url' has the right calling signature, `eww' does not.
21662 2013-06-19  Glenn Morris  <rgm@gnu.org>
21664         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
21665         Only eval autoloaded macros.
21666         (byte-compile-autoload): Only give the macro warning for macros.
21668         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
21669         (ps-underlined-faces): Declare.
21671         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
21672         (speedbar-add-supported-extension): Declare.
21674         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
21675         Don't include a date stamp in the header of the generated file;
21676         it leads to needless differences between output files.
21678 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
21680         * net/secrets.el (secrets-struct-secret-content-type):
21681         Replace check of introspection data by a test call of "CreateItem".
21682         Some servers do not offer introspection.
21684 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21686         * electric.el (electric-pair-mode): Improve interaction with
21687         electric-layout-mode.
21688         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
21689         (electric-pair-syntax): Use text-mode-syntax-table in comments
21690         and strings.
21691         (electric-pair--insert): New function.
21692         (electric-pair-post-self-insert-function): Use it and
21693         electric--after-char-pos.
21695 2013-06-19  Leo Liu  <sdl.web@gmail.com>
21697         * progmodes/octave.el (octave-help): Fix regexp.
21699 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21701         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
21702         (shr-table-horizontal-line): Allow nil as a value, and change the
21703         default.
21704         (shr-insert-table-ruler): Respect the nil value.
21706 2013-06-18  Tom Tromey  <tromey@barimba>
21708         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21709         New defvars.
21710         (eww-open-file): New defun.
21711         (eww-render): Initialize new variables.
21712         (eww-display-html): Handle "link" and "a".
21713         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
21714         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
21715         (eww-back-url): Rename from eww-previous-url.
21716         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
21717         New defuns.
21719 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
21721         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
21722         Distinguish ternary operator tokens from slash symbol and slash
21723         char literal.
21725 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
21727         Convert symbol prettification into minor mode and global minor mode.
21729         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
21730         `prog-prettify-symbols', and make a local defvar instead of defcustom.
21731         (prettify-symbols--keywords): Rename from
21732         `prog-prettify-symbols-alist' and make a local defvar.
21733         (prettify-symbols--compose-symbol): Rename from
21734         `prog--prettify-font-lock-compose-symbol'.
21735         (prettify-symbols--make-keywords): Rename from
21736         `prog-prettify-font-lock-symbols-keywords' and simplify.
21737         (prog-prettify-install): Remove.
21738         (prettify-symbols-mode): New minor mode, based on
21739         `prog-prettify-install'.
21740         (turn-on-prettify-symbols-mode): New function.
21741         (global-prettify-symbols-mode): New globalized minor mode.
21743         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21744         * progmodes/cfengine.el (cfengine3-mode):
21745         * progmodes/perl-mode.el (perl-mode): Don't call
21746         `prog-prettify-install'; set `prettify-symbols-alist' instead.
21748 2013-06-18  Juri Linkov  <juri@jurta.org>
21750         * files-x.el (modify-file-local-variable-message): New function.
21751         (modify-file-local-variable)
21752         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
21753         and call `modify-file-local-variable-message' when it's non-nil.
21754         (add-file-local-variable, delete-file-local-variable)
21755         (add-file-local-variable-prop-line)
21756         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
21757         and use it.  (Bug#9820)
21759 2013-06-18  Juri Linkov  <juri@jurta.org>
21761         * emulation/vi.el (vi-shell-op):
21762         * emulation/vip.el (vip-execute-com, ex-command):
21763         * emulation/viper-cmd.el (viper-exec-bang):
21764         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
21765         the call of `shell-command-on-region'.  (Bug#14637)
21767         * simple.el (shell-command-on-region): Doc fix.
21769 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21771         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
21772         (bug#14633).
21774 2013-06-18  Glenn Morris  <rgm@gnu.org>
21776         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
21778         * newcomment.el (comment-search-forward, comment-search-backward):
21779         Doc fix.  (Bug#14376)
21781 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
21783         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
21784         (buffer-face-mode-invoke): Doc fix.
21786 2013-06-18  Matthias Meulien  <orontee@gmail.com>
21788         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
21789         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
21791 2013-06-18  Glenn Morris  <rgm@gnu.org>
21793         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
21794         Replace obsolete function generic-make-keywords with its expansion.
21796         * progmodes/python.el (ffap-alist): Declare.
21798         * textmodes/reftex.el (bibtex-mode-map): Declare.
21800 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21802         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
21803         (package-unpack, package-unpack-single): Return the pkg-dir.
21804         (package-download-transaction): Use it to update package-alist.
21806 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21808         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
21809         possible choice.
21811 2013-06-17  Juri Linkov  <juri@jurta.org>
21813         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
21815 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
21817         * emacs-lisp/package.el (package-load-descriptor):
21818         Remove `with-syntax-table' call, `read' doesn't need it.
21819         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
21821 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
21823         * startup.el (command-line): Expand package name returned by
21824         `package--description-file' (bug#14639).
21826 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
21828         * emacs-lisp/package.el (package-load-descriptor): Do not call
21829         `emacs-lisp-mode', just use its syntax table.
21831 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
21833         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
21834         `font-lock-extra-managed-props' if any prettifying keyword is added.
21835         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
21836         (prog-mode): Use `setq-local'.
21838 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21840         * international/characters.el (standard-case-table): Set syntax of ?»
21841         and ?« to punctuation.
21843 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
21845         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
21846         Save relevant match data before calling `syntax-ppss' (bug#14595).
21848 2013-06-15  Juri Linkov  <juri@jurta.org>
21850         * files-x.el (modify-file-local-variable-prop-line): Add local
21851         variables to the end of the existing comment on the first line.
21852         Use `file-auto-mode-skip' to skip interpreter magic line,
21853         and also skip XML declaration.
21855 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21857         * startup.el (package--builtin-versions): New var.
21858         (package-subdirectory-regexp): Remove.
21859         (package--description-file): Hard code its value instead.
21861         * emacs-lisp/package.el: Don't activate packages older than builtin.
21862         (package-obsolete-list): Rename from package-obsolete-alist, and make
21863         it into a simple list of package-desc.
21864         (package-strip-version): Remove.
21865         (package-built-in-p): Use package--builtin-versions.
21866         (package-mark-obsolete): Simplify.
21867         (package-process-define-package): Mark it obsolete if older than the
21868         builtin version.
21869         (package-handle-response): Use line-end-position.
21870         (package-read-archive-contents, package--download-one-archive):
21871         Simplify.
21872         (package--add-to-archive-contents): Skip if older than the builtin or
21873         installed version.
21874         (package-menu-describe-package): Fix last change.
21875         (package-list-unversioned): New var.
21876         (package-menu--generate): Use it.
21878         * emacs-lisp/autoload.el: Manage package--builtin-versions.
21879         (autoload--insert-text, autoload--insert-cookie-text): New functions.
21880         (autoload-builtin-package-versions): New variable.
21881         (autoload-generate-file-autoloads): Use them.
21882         Remove the list of autoloaded functions/macros from the
21883         (autoload...) comments.
21885         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
21887 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
21889         * simple.el (line-move-partial): Don't jump to the next screen
21890         line as soon as it becomes visible.  Instead, continue enlarging
21891         the vscroll until the portion of a tall screen line that's left on
21892         display is about the height of the frame's default font.
21893         (Bug#14567)
21895 2013-06-15  Glenn Morris  <rgm@gnu.org>
21897         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
21898         compilation-error-regexp-alist void, or local while let-bound.
21900         * progmodes/make-mode.el (makefile-mode-syntax-table):
21901         Treat "=" as punctuation.  (Bug#14614)
21903 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
21905         * help-fns.el (describe-variable):
21906         Add extra line for permanent-local variables.
21908 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
21910         * progmodes/scheme.el (scheme-font-lock-keywords-2):
21911         Add export, import, library.  (Bug#9164)
21912         (library): Set indent function.
21914 2013-06-14  Glenn Morris  <rgm@gnu.org>
21916         * term/xterm.el (xterm--query):
21917         Stop after first matching handler.  (Bug#14615)
21919 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
21921         Add support for dired in saveplace.
21922         * dired.el (dired-initial-position-hook): New variable.
21923         (dired-initial-position): Call hook to place cursor position.
21924         * saveplace.el (save-place-to-alist): Add dired position.
21925         (save-place-dired-hook): New function.
21927 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21929         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
21930         through a symbol rather than letrec.
21932         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
21933         (package-desc): Add `dir' field.
21934         (package-desc-full-name): New function.
21935         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
21936         (package-maybe-load-descriptor): Remove.
21937         (package-load-all-descriptors): Just call package-load-descriptor.
21938         (package--disabled-p): New function.
21939         (package-desc-vers, package-desc-doc): Remove aliases.
21940         (package--dir): Remove function.
21941         (package-activate): Check if a package is disabled.
21942         (package-process-define-package): New function, extracted from
21943         define-package.
21944         (define-package): Turn into a place holder.
21945         (package-unpack-single, package-tar-file-info):
21946         Use package--description-file.
21947         (package-compute-transaction): Use package--disabled-p.
21948         (package-download-transaction): Don't call
21949         package-maybe-load-descriptor since they're all loaded anyway.
21950         (package-install): Change argument to be a pkg-desc.
21951         (package-delete): Use a single pkg-desc argument.
21952         (describe-package-1): Use package-desc-dir instead of package--dir.
21953         Use package-desc property instead of package-symbol.
21954         (package-install-button-action): Adjust accordingly.
21955         (package--push): Rewrite.
21956         (package-menu--print-info): Adjust accordingly.  Change the ID format
21957         to be a pkg-desc.
21958         (package-menu-describe-package, package-menu-get-status)
21959         (package-menu--find-upgrades, package-menu-mark-upgrades)
21960         (package-menu-execute, package-menu--name-predicate):
21961         Adjust accordingly.
21962         * startup.el (package--description-file): New function.
21963         (command-line): Use it.
21964         * emacs-lisp/package-x.el (package-upload-buffer-internal):
21965         Use package-desc-version.
21967         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
21968         (byte-compile-preprocess): Use it.
21969         (byte-compile-file-form-defalias): Try a bit harder to use macros we
21970         can't quite recognize.
21971         (byte-compile-add-to-list): Remove.
21972         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
21973         (cconv-closure-convert): Add assertion.
21975         * emacs-lisp/map-ynp.el: Use lexical-binding.
21976         (map-y-or-n-p): Remove unused vars `tail' and `object'.
21977         Factor out some repeated code.
21979 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
21981         * subr.el (with-eval-after-load): New macro.
21982         (eval-after-load): Allow form to be a function.
21983         take advantage of lexical-binding.
21984         (do-after-load-evaluation): Use dolist and adjust to new format.
21985         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
21987 2013-06-13  Juri Linkov  <juri@jurta.org>
21989         * replace.el (perform-replace): Display "symbol " and other search
21990         modes from `isearch-message-prefix' in the *Help* buffer.
21992         * isearch.el (isearch-query-replace): Add " symbol" and other
21993         possible search modes from `isearch-message-prefix' to the prompt.
21994         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
21995         when reading a regexp to collect.
21997 2013-06-13  Juri Linkov  <juri@jurta.org>
21999         * isearch.el (word-search-regexp): Match whitespace if the search
22000         string begins or ends in whitespace.  The LAX arg is applied to
22001         both ends of the search string.  Use `regexp-quote' and explicit
22002         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
22003         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22004         boundaries are replaced with symbol boundaries, and characters
22005         between symbols match non-word non-symbol syntax.  (Bug#14602)
22007 2013-06-13  Juri Linkov  <juri@jurta.org>
22009         * isearch.el (isearch-del-char): Don't exceed the length of
22010         `isearch-string' by the prefix arg.  (Bug#14563)
22012 2013-06-13  Juri Linkov  <juri@jurta.org>
22014         * isearch.el (isearch-yank-word, isearch-yank-line)
22015         (isearch-char-by-name, isearch-quote-char)
22016         (isearch-printing-char, isearch-process-search-char):
22017         Add optional count prefix arg.  (Bug#14563)
22019         * international/isearch-x.el
22020         (isearch-process-search-multibyte-characters):
22021         Add optional count prefix arg.
22023 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
22025         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22026         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22027         lexical-binding.
22029 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
22031         * subr.el (set-temporary-overlay-map): Add on-exit argument.
22033 2013-06-13  Glenn Morris  <rgm@gnu.org>
22035         * startup.el (tty-handle-args):
22036         Don't just discard "--" and anything after.  (Bug#14608)
22038         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22040 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
22042         Implement changes in Secret Service API.  Make it backward compatible.
22043         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22044         (secrets-create-item): Use it.  Prefix properties with interface.
22046 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
22048         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
22049         (term-emulate-terminal): Respect term-suppress-hard-newline.
22051 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
22053         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22054         Only remove a `thumb-file' overlay.  (Bug#14548)
22056 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
22058         * mail/reporter.el (reporter-submit-bug-report):
22059         Handle missing package-name.  (Bug#14600)
22061 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
22063         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22064         (reftex-citation-prompt, reftex-default-bibliography)
22065         (reftex-bib-or-thebib, reftex-get-bibfile-list)
22066         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22067         (reftex-bib-sort-author, reftex-bib-sort-year)
22068         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22069         (reftex-extract-bib-entries-from-thebibliography)
22070         (reftex-get-bibkey-default, reftex-get-bib-names)
22071         (reftex-parse-bibtex-entry, reftex-get-bib-field)
22072         (reftex-format-bib-entry, reftex-parse-bibitem)
22073         (reftex-format-bibitem, reftex-do-citation)
22074         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22075         (reftex-restrict-bib-matches, reftex-extract-bib-file)
22076         (reftex-insert-bib-matches, reftex-format-citation)
22077         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22078         (reftex-create-bibtex-file): Add docstrings, mostly by converting
22079         existing comments into docstrings.
22081 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
22083         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22085 2013-06-12  Andreas Schwab  <schwab@suse.de>
22087         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22088         for auto-save files.
22090 2013-06-12  Glenn Morris  <rgm@gnu.org>
22092         * ido.el (ido-delete-ignored-files): Remove.
22093         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22094         Go back to calling ido-ignore-item-p directly.
22096 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
22098         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22100         * ido.el (ido-delete-ignored-files): New function,
22101         split from ido-make-file-list-1.
22102         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
22103         (ido-make-file-list-1): Use ido-delete-ignored-files.
22105 2013-06-12  Leo Liu  <sdl.web@gmail.com>
22107         * progmodes/octave.el (inferior-octave-startup)
22108         (inferior-octave-completion-table)
22109         (inferior-octave-track-window-width-change)
22110         (octave-eldoc-function-signatures, octave-help)
22111         (octave-find-definition): Use single quoted strings.
22112         (inferior-octave-startup-args): Change default value.
22113         (inferior-octave-startup): Do not hard code "-i" and
22114         "--no-line-editing".
22115         (inferior-octave-resync-dirs): Add optional arg NOERROR.
22116         (inferior-octave-directory-tracker): Use it.
22117         (octave-goto-function-definition): Robustify.
22118         (octave-help): Support highlighting operators in 'See also'.
22119         (octave-find-definition): Find subfunctions only in Octave mode.
22121 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22123         * help-fns.el (help-fns--compiler-macro): If the handler function is
22124         named, then put a link to it.
22125         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22126         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22127         (cl-typep): Use it.
22128         (cl-eval-when): Simplify debug spec.
22129         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
22130         compiler-macro function instead of setting `compiler-macro-file'.
22132 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
22134         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22135         * vc/vc-hooks.el (vc-stay-local): Doc fix.
22137 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22138             Daniel Hackney  <dan@haxney.org>
22140         First part of Daniel Hackney's patch to package.el.
22141         * emacs-lisp/package.el: Use defstruct.
22142         (package-desc): New, main struct.
22143         (package--bi-desc, package--ac-desc): New structs, used to describe the
22144         format in external files.
22145         (package-desc-vers): Replace with package-desc-version accessor.
22146         (package-desc-doc): Replace with package-desc-summary accessor.
22147         (package-activate-1): Remove `package' arg since the pkg-vec now
22148         includes the name.
22149         (define-package): Use package-desc-from-define.
22150         (package-unpack-single): Change file-name arg to be a symbol.
22151         (package--add-to-archive-contents): Use package-desc-create and new
22152         accessor functions to package--ac-desc.
22153         (package-buffer-info, package-tar-file-info): Return a package-desc.
22154         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
22155         arg to be a package-desc.
22156         (package-install-file): Adjust accordingly.  Use \' to match EOS.
22157         (package--from-builtin): New function.
22158         (describe-package-1, package-menu--generate): Use it.
22159         (package--make-autoloads-and-compile): Change name arg to be a symbol.
22160         (package-generate-autoloads): Idem and return the name of the file.
22161         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22162         Change pkg-info arg to be a package-desc.
22163         Use package-make-ac-desc.
22164         (package-upload-file): Use \' to match EOS.
22165         * finder.el (finder-compile-keywords): Use package-make-builtin.
22167 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
22169         * vc/vc.el (vc-deduce-fileset): Change error message.
22170         (vc-read-backend): New function.
22171         (vc-next-action): Use it.
22173         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22175         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22176         (prolog-font-lock-keywords): Use regexp-opt instead.
22177         Don't manually highlight strings.
22178         (prolog-mode-variables): Simplify comment-start-skip.
22179         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
22181         * emacs-lisp/generic.el (generic--normalise-comments)
22182         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22183         (generic-mode-set-comments): Use them.
22184         (generic-bracket-support): Use setq-local.
22185         (generic-make-keywords-list): Declare obsolete.
22187 2013-06-11  Glenn Morris  <rgm@gnu.org>
22189         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22190         Prettify after setting font-lock-defaults.  (Bug#14574)
22192 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
22194         * replace.el (query-replace, occur-read-regexp-defaults-function)
22195         (replace-search):
22196         * subr.el (declare-function, number-sequence, local-set-key)
22197         (substitute-key-definition, locate-user-emacs-file)
22198         (with-silent-modifications, split-string, eval-after-load):
22199         Fix typos, remove unneeded backslashes and reflow some docstrings.
22201 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
22203         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22204         default for Elisp files.
22206 2013-06-11  Glenn Morris  <rgm@gnu.org>
22208         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22209         although define-derived-mode was doing this anyway.  (Bug#14583)
22211 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
22213         * allout.el (allout-encryption-plaintext-sanitization-regexps):
22214         Fix make-variable-buffer-local call to refer to the correct variable.
22216 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
22218         * eshell/em-term.el (eshell-visual-commands)
22219         (eshell-visual-subcommands, eshell-visual-options):
22220         Add summary line to docstrings.  Add cross-references.
22222 2013-06-10  Glenn Morris  <rgm@gnu.org>
22224         * epa.el (epa-read-file-name): New function.  (Bug#14510)
22225         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
22227 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
22229         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22230         output redirection to be ignored with visual commands.
22232 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
22234         * eshell/em-term.el (eshell-visual-command-p): New function.
22235         (eshell-term-initialize): Move long lambda to separate function
22236         eshell-visual-command-p.
22237         * eshell/em-dirs.el (eshell-dirs-initialize):
22238         * eshell/em-script.el (eshell-script-initialize):
22239         Add missing #' to lambda.
22241 2013-06-08  Leo Liu  <sdl.web@gmail.com>
22243         * progmodes/octave.el (octave-add-log-current-defun): New function.
22244         (octave-mode): Set add-log-current-defun-function.
22245         (octave-goto-function-definition): Do not move point if not found.
22246         (octave-find-definition): Enhance to try subfunctions first.
22248 2013-06-08  Glenn Morris  <rgm@gnu.org>
22250         * emacs-lisp/bytecomp.el (byte-compile-char-before)
22251         (byte-compile-backward-char, byte-compile-backward-word):
22252         Improve previous change, to handle non-explicit nil.
22254 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
22256         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22257         (smie--opener/closer-at-point): New function.
22258         (smie--matching-block-data): Use it.  Don't match from right after an
22259         opener or right before a closer.  Obey smie-blink-matching-inners.
22260         Don't signal a mismatch for repeated inners like "switch..case..case".
22262 2013-06-07  Leo Liu  <sdl.web@gmail.com>
22264         * progmodes/octave.el (octave-mode): Set comment-use-global-state
22265         to t.  (Bug#14303)
22266         (octave-function-header-regexp): Fix.  (Bug#14570)
22267         (octave-help-mode-finish-hook, octave-help-mode-finish):
22268         Remove.  Just use temp-buffer-show-hook.
22270         * newcomment.el (comment-search-backward): Revert last change.
22271         (Bug#14434)
22273         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22275 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
22277         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22278         through xargs, to avoid failure due to MS-Windows limitations on
22279         command-line length.
22281 2013-06-06  Glenn Morris  <rgm@gnu.org>
22283         * font-lock.el (lisp-font-lock-keywords-2):
22284         Treat user-error like error.
22286         * emacs-lisp/bytecomp.el (byte-compile-char-before)
22287         (byte-compile-backward-char, byte-compile-backward-word):
22288         Handle explicit nil arguments.  (Bug#14565)
22290 2013-06-05  Alan Mackenzie  <acm@muc.de>
22292         * isearch.el (isearch-allow-prefix): New user option.
22293         (isearch-other-meta-char): Don't exit isearch when a prefix
22294         argument is typed whilst `isearch-allow-prefix' is non-nil.
22295         (Bug#9706)
22297 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22299         * autorevert.el (auto-revert-notify-handler): Use memq.
22300         Hide assertion failure.
22302         * skeleton.el: Use cl-lib.
22303         (skeleton-further-elements): Use defvar-local.
22304         (skeleton-insert): Use cl-progv.
22306 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
22308         * progmodes/prog-mode.el (prog-prettify-symbols)
22309         (prog-prettify-install): Update docstrings.
22311 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22313         * simple.el: Move all the prog-mode code to prog-mode.el.
22314         * progmodes/prog-mode.el: New file.
22315         * loadup.el: Add prog-mode.el.
22317 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
22319         * simple.el (prog-prettify-symbols): Add version.
22320         (prog-prettify-install): Add convenience function to prettify symbols.
22322         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22323         (perl--augmented-font-lock-keywords-1)
22324         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22325         variables and use it.
22327         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22328         (cfengine3-mode): Remove unneeded variable and use it.
22330         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22331         (lisp--augmented-font-lock-keywords-1)
22332         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22333         Remove unneeded variables and use it.
22335 2013-06-05  João Távora  <joaotavora@gmail.com>
22337         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22338         to point when opening the connection.  (Bug#14380)
22340 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22342         * subr.el (load-history-regexp, load-history-filename-element)
22343         (eval-after-load, after-load-functions, do-after-load-evaluation)
22344         (eval-next-after-load, display-delayed-warnings)
22345         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22346         definition of save-match-data.
22347         (overriding-local-map): Remove accidental obsolescence declaration.
22349         * emacs-lisp/edebug.el (edebug-result): Move before first use.
22351 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
22353         Generalize symbol prettify support to prog-mode and implement it
22354         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22355         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22356         (prog--prettify-font-lock-compose-symbol)
22357         (prog-prettify-font-lock-symbols-keywords): New variables and
22358         functions to support symbol prettification.
22359         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22360         (lisp--augmented-font-lock-keywords-1)
22361         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22362         (lisp--prettify-symbols-alist): Implement prettify of lambda.
22363         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22364         (cfengine3--prettify-symbols-alist, cfengine3-mode):
22365         Implement prettify of -> => :: strings.
22366         * progmodes/perl-mode.el (perl-prettify-symbols)
22367         (perl--font-lock-compose-symbol)
22368         (perl--font-lock-symbols-keywords): Move to prog-mode.
22369         (perl--prettify-symbols-alist): Prettify -> => :: strings.
22370         (perl-font-lock-keywords-1)
22371         (perl-font-lock-keywords-2): Remove explicit prettify support.
22372         (perl--augmented-font-lock-keywords)
22373         (perl--augmented-font-lock-keywords-1)
22374         (perl--augmented-font-lock-keywords-2, perl-mode):
22375         Implement prettify support.
22377 2013-06-05  Leo Liu  <sdl.web@gmail.com>
22379         Re-implement SMIE matching block highlight using
22380         show-paren-data-function.  (Bug#14395)
22381         * emacs-lisp/smie.el (smie-matching-block-highlight)
22382         (smie--highlight-matching-block-overlay)
22383         (smie--highlight-matching-block-lastpos)
22384         (smie-highlight-matching-block)
22385         (smie-highlight-matching-block-mode): Remove.
22386         (smie--matching-block-data-cache): New variable.
22387         (smie--matching-block-data): New function.
22388         (smie-setup): Use smie--matching-block-data for
22389         show-paren-data-function.
22391         * progmodes/octave.el (octave-mode-menu): Fix.
22392         (octave-find-definition): Skip garbage lines.
22394 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22396         Fix compilation error with simultaneous dynamic+lexical scoping.
22397         Add warning when a defvar appears after the first let-binding.
22398         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22399         (byte-compile-close-variables): Initialize it.
22400         (byte-compile--declare-var): New function.
22401         (byte-compile-file-form-defvar)
22402         (byte-compile-file-form-define-abbrev-table)
22403         (byte-compile-file-form-custom-declare-variable): Use it.
22404         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
22405         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22406         (byte-compile-bind): Handle dynamic bindings that shadow
22407         lexical bindings.
22408         (byte-compile-unbind): Make arg non-optional.
22409         (byte-compile-let): Simplify.
22410         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22411         (cconv--analyse-function, cconv-analyse-form): Populate it.
22412         Protect byte-compile-bound-variables to limit the scope of defvars.
22413         (cconv-analyse-form): Add missing rule for (defvar <foo>).
22414         Remove unneeded rule for `declare'.
22416         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22417         so as to avoid depending on cl-adjoin at run-time.
22418         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22420         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22421         (macroexp--warn-and-return): Use it.
22423 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22425         * subr.el: Convert to lexical binding.
22426         (overriding-local-map): Make obsolete.
22427         (add-to-list): Doc fix.  Add compiler macro.
22428         (read-key): Swap values of local maps.
22430 2013-06-05  Leo Liu  <sdl.web@gmail.com>
22432         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22434 2013-06-04  Leo Liu  <sdl.web@gmail.com>
22436         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22437         (compilation-auto-jump): Suppress the "Mark set" message to give
22438         way to exit message.
22440 2013-06-04  Alan Mackenzie  <acm@muc.de>
22442         Remove faulty optimization from indentation calculation.
22443         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22444         search limit based on 2000 characters back from indent-point.
22446 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
22448         * eshell/em-term.el (cl-lib): Require `cl-lib'.
22450 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
22452         * emacs-lisp/lisp.el: Use lexical-binding.
22453         (lisp--local-variables-1, lisp--local-variables): New functions.
22454         (lisp--local-variables-completion-table): New var.
22455         (lisp-completion-at-point): Use it complete let-bound vars.
22457         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22458         eagerly (bug#14422).
22460 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
22462         * autorevert.el (auto-revert-notify-enabled)
22463         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22464         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22465         (auto-revert-notify-handler): Handle also gfilenotify.
22467         * subr.el (file-notify-handle-event): New defun.  Replacing ...
22468         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22469         Remove.
22471 2013-06-03  Juri Linkov  <juri@jurta.org>
22473         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22474         `M-s h .'.  (Bug#14427)
22476         * hi-lock.el (highlight-symbol-at-point): New alias for the new
22477         command `hi-lock-face-symbol-at-point'.
22478         (hi-lock-face-symbol-at-point): New command.
22479         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22480         (hi-lock-menu): Add `highlight-symbol-at-point'.
22481         (hi-lock-mode): Doc fix.
22483         * isearch.el (isearch-forward-symbol-at-point): New command.
22484         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22485         (isearch-highlight-regexp): Add a regexp which matches
22486         words/symbols for word/symbol mode.
22488         * subr.el (find-tag-default-bounds): New function with the body
22489         mostly moved from `find-tag-default'.
22490         (find-tag-default): Move most code to `find-tag-default-bounds',
22491         call it and apply `buffer-substring-no-properties' afterwards.
22493 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
22495         * eshell/em-term.el (eshell-term-initialize):
22496         Use `cl-intersection' rather than `intersection'.
22498 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
22500         * vc/log-view.el: Doc fix.
22501         (log-view-mode-map): Copy keymap from `special-mode-map'.
22503 2013-06-02  Eric Ludlam  <zappo@gnu.org>
22505         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22506         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22507         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22508         (eieio-unbound, eieio-default-superclass)
22509         (eieio--define-field-accessors, method-static, method-before)
22510         (method-primary, method-after, method-num-lists)
22511         (method-generic-before, method-generic-primary)
22512         (method-generic-after, method-num-slots)
22513         (eieio-specialized-key-to-generic-key)
22514         (eieio--check-type, class-v, class-p)
22515         (eieio-class-name, define-obsolete-function-alias)
22516         (eieio-class-parents-fast, eieio-class-children-fast)
22517         (same-class-fast-p, class-constructor, generic-p)
22518         (generic-primary-only-p, generic-primary-only-one-p)
22519         (class-option-assoc, class-option, eieio-object-p)
22520         (class-abstract-p, class-method-invocation-order)
22521         (eieio-defclass-autoload-map, eieio-defclass-autoload)
22522         (eieio-class-un-autoload, eieio-defclass)
22523         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22524         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22525         (eieio--defgeneric-init-form, eieio-defgeneric-form)
22526         (eieio-defgeneric-reset-generic-form)
22527         (eieio-defgeneric-form-primary-only)
22528         (eieio-defgeneric-reset-generic-form-primary-only)
22529         (eieio-defgeneric-form-primary-only-one)
22530         (eieio-defgeneric-reset-generic-form-primary-only-one)
22531         (eieio-unbind-method-implementations)
22532         (eieio--defmethod, eieio--typep)
22533         (eieio-perform-slot-validation, eieio-validate-slot-value)
22534         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22535         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22536         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22537         (eieio-slot-name-index, eieio-class-slot-name-index)
22538         (eieio-set-defaults, eieio-initarg-to-attribute)
22539         (eieio-attribute-to-initarg, eieio-c3-candidate)
22540         (eieio-c3-merge-lists, eieio-class-precedence-c3)
22541         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22542         (eieio-class-precedence-list, eieio-generic-call-methodname)
22543         (eieio-generic-call-arglst, eieio-generic-call-key)
22544         (eieio-generic-call-next-method-list)
22545         (eieio-pre-method-execution-functions, eieio-generic-call)
22546         (eieio-generic-call-primary-only, eieiomt-method-list)
22547         (eieiomt-optimizing-obarray, eieiomt-install)
22548         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22549         (eieio-generic-form, eieio-defmethod, make-obsolete)
22550         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22551         (defclass): Remove `eval-and-compile' from macro.
22552         (call-next-method, shared-initialize): Instead of using
22553         `scoped-class' variable, use new eieio--scoped-class, and
22554         eieio--with-scoped-class.
22555         (initialize-instance): Rename local variable 'scoped-class' to
22556         'this-class' to remove ambiguitity from old global.
22558         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
22559         eieio.el.
22560         (eieio--scoped-class-stack): New variable.
22561         (eieio--scoped-class): New fcn.
22562         (eieio--with-scoped-class): New scoping macro.
22563         (eieio-defclass): Use pushnew instead of add-to-list.
22564         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22565         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22566         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22567         `scoped-class' variable, use new eieio--scoped-class, and
22568         eieio--with-scoped-class.
22570         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22572 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
22574         * eshell/esh-ext.el (eshell-external-command): Pass args to
22575         `eshell-find-interpreter'.
22576         (eshell-find-interpreter): Add new second parameter ARGS.
22578         * eshell/em-script.el (eshell-script-initialize): Add second arg
22579         to the function added as MATCH to `eshell-interpreter-alist'.
22581         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22582         the function added as MATCH to `eshell-interpreter-alist'.
22584         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22585         (eshell-visual-options): New defcustom.
22586         (eshell-escape-control-x): Adapt docstring.
22587         (eshell-term-initialize): Test `eshell-visual-subcommands' and
22588         `eshell-visual-options' in addition to `eshell-visual-commands'.
22589         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22591 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
22593         * progmodes/python.el (python-indent-block-enders): Add break,
22594         continue and raise keywords.
22596 2013-06-01  Glenn Morris  <rgm@gnu.org>
22598         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22600         Plain (f)boundp silences compilation warnings since Emacs 22.1.
22601         * progmodes/cc-cmds.el (delete-forward-p):
22602         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22603         * progmodes/cc-engine.el (buffer-syntactic-context):
22604         * progmodes/cc-fonts.el (face-property-instance):
22605         * progmodes/cc-mode.el (set-keymap-parents):
22606         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
22607         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
22608         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
22609         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
22610         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
22612         * progmodes/cc-vars.el (other): Emacs has this widget since
22613         at least 21.1, so don't (re)define it.
22615         * eshell/em-cmpl.el (eshell-cmpl-initialize):
22616         Replace the obsolete alias pcomplete-arg-quote-list.
22618 2013-06-01  Leo Liu  <sdl.web@gmail.com>
22620         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
22621         punctuation syntax.
22622         (inferior-octave-minimal-columns)
22623         (inferior-octave-last-column-width): New variables.
22624         (inferior-octave-track-window-width-change): New function.
22625         (inferior-octave-mode): Adjust column width so that Octave output,
22626         for example from 'ls', can fit into the window nicely.
22628 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
22630         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22631         Highlight expansions inside regexp literals.
22633 2013-05-31  Glenn Morris  <rgm@gnu.org>
22635         * obsolete/sym-comp.el (symbol-complete):
22636         Replace obsolete completion-annotate-function.
22638         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
22640 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
22642         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
22643         New function, checks if point is inside a literal that allows
22644         expression expansion.
22645         (ruby-syntax-propertize-expansion): Use it.
22646         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
22647         around the body.
22649 2013-05-30  Juri Linkov  <juri@jurta.org>
22651         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
22652         to "\M-si".
22653         (isearch-invisible): New variable.
22654         (isearch-forward): Doc fix.
22655         (isearch-mode): Set `isearch-invisible'
22656         to the value of `search-invisible'.
22657         (isearch-toggle-case-fold): Doc fix.
22658         (isearch-toggle-invisible): New command.
22659         (isearch-query-replace): Let-bind `search-invisible'
22660         to the value of `isearch-invisible'.
22661         (isearch-search): Use `isearch-invisible' instead of
22662         `search-invisible'.  Let-bind `search-invisible'
22663         to the value of `isearch-invisible'.  (Bug#11378)
22665 2013-05-30  Juri Linkov  <juri@jurta.org>
22667         * replace.el (perform-replace): Avoid `isearch-range-invisible'
22668         call when `query-flag' is nil and `search-invisible' is non-nil.
22669         (Bug#11746)
22671 2013-05-30  Glenn Morris  <rgm@gnu.org>
22673         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
22675         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
22676         (cc-require): Suppress spurious "noruntime" warnings.
22677         (cc-require-when-compile): Use fboundp, for sake of compiler.
22679         * progmodes/cc-mode.el: Move load of cc-vars before that of
22680         cc-langs (which in turn loads cc-vars), to quieten compiler.
22682 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
22684         * paren.el: Simplify the code.
22685         (show-paren-mode): Always start the timer.
22686         (show-paren--idle-timer): Rename from show-paren-idle-timer.
22687         (show-paren--overlay, show-paren--overlay-1): Rename from
22688         show-paren-overlay and show-paren-overlay-1, and initialize to an
22689         overlay rather than to nil.
22690         (show-paren-function): Misc cleanup and simplifications.
22692 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
22694         * paren.el (show-paren-data-function): New hook.
22695         (show-paren--default): New function, extracted from show-paren-function.
22696         (show-paren-function): Use show-paren-data-function.
22698 2013-05-30  Glenn Morris  <rgm@gnu.org>
22700         * ielm.el (ielm-map, ielm-complete-symbol):
22701         Use completion-at-point rather than obsolete functions.
22702         (inferior-emacs-lisp-mode): Doc fix.
22703         Set completion-at-point-functions, rather than
22704         comint-dynamic-complete-functions.
22706         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
22707         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
22708         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
22710         * image.el (image-animated-p): Tweak definition.
22712         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
22713         (rlogin-process-connection-type): Tweak default.  Add set-after.
22714         (rlogin-host): Doc fix.
22715         (rlogin): Tweak prompt.
22716         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
22718         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22719         * progmodes/tcl.el (inferior-tcl-mode-map):
22720         Use completion-at-point rather than obsolete alias.
22722         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
22724         * minibuffer.el (read-file-name-completion-ignore-case):
22725         Move before completion--in-region, for eager macro expansion.
22727 2013-05-29  Juri Linkov  <juri@jurta.org>
22729         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
22730         for total count of matching lines.  Add `global-matches' for total
22731         count of matches.  Rename `matches' to `lines' for count of
22732         matching lines.  Add `matches' for count of matches.
22733         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
22734         to `prev-line' for line number of prev match endpt.
22735         Increment `matches' for every match.  Print the number of
22736         matching lines in the header.
22737         (occur-context-lines): Rename `lines' to `curr-line'.
22738         Rename `prev-lines' to `prev-line'.  (Bug#14017)
22740 2013-05-29  Juri Linkov  <juri@jurta.org>
22742         * replace.el (perform-replace): Add `skip-read-only-count',
22743         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
22744         Increment them for corresponding conditions and report the number
22745         of skipped occurrences in the final message.  (Bug#11746)
22746         (query-replace, query-replace-regexp, query-replace-regexp-eval)
22747         (replace-string, replace-regexp): Doc fix.
22749 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
22751         * emacs-lisp/trace.el (trace--read-args): Provide a default.
22753         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
22754         prog-mode-map (bug#14504).
22756 2013-05-29  Leo Liu  <sdl.web@gmail.com>
22758         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
22759         (octave-help): Small simplification.
22761         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
22762         off the highlight first.
22764 2013-05-29  Glenn Morris  <rgm@gnu.org>
22766         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
22767         Handle idlwave-last-system-routine-info-cons-cell being nil.
22769         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
22770         (idlwave-write-paths): Simplify via with-temp-buffer.
22772         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
22773         * emulation/cua-rect.el: Also load cua-base at run time.
22775         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
22776         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
22777         (cperl-imenu-on-info): Require imenu.
22779 2013-05-28  Alan Mackenzie  <acm@muc.de>
22781         Handle "capitalised keywords" correctly.
22782         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
22784 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
22786         * eshell/em-unix.el: Add -r option to cp.
22788 2013-05-28  Glenn Morris  <rgm@gnu.org>
22790         * vc/vc-arch.el (vc-exec-after): Declare.
22791         (vc-switches): Autoload.
22792         * vc/vc-bzr.el: No need to require vc when compiling.
22793         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
22794         (vc-resynch-buffer, vc-dir-refresh): Declare.
22795         (vc-setup-buffer, vc-switches): Autoload.
22796         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
22797         (vc-resynch-buffer): Declare.
22798         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
22799         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
22800         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
22801         (grep-read-regexp, grep-read-files, grep-expand-template)
22802         (vc-dir-refresh): Declare.
22803         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
22804         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22805         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
22806         * vc/vc-mtn.el (vc-exec-after): Declare.
22807         (vc-switches): Autoload.
22808         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
22809         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
22810         (vc-file-tree-walk): Declare.
22811         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
22812         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
22813         (vc-tag-precondition, vc-rename-master): Autoload.
22814         * vc/vc-svn.el (vc-exec-after): Declare.
22815         (vc-switches, vc-setup-buffer): Autoload.
22816         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
22817         Autoload.
22818         (vc-resynch-buffer): Declare.
22820         * obsolete/fast-lock.el (byte-compile-warnings):
22821         Don't warn about obsolete features in this obsolete file.
22823         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
22824         Move definition before use.
22826         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
22827         (dun-unix-verbs): Remove dun-zippy.
22828         (dun-zippy): Remove function.
22830         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
22832 2013-05-27  Juri Linkov  <juri@jurta.org>
22834         * replace.el (replace-search): New function with code moved out
22835         from `perform-replace'.
22836         (replace-highlight, replace-dehighlight): Move function definitions
22837         up closer to `replace-search'.  (Bug#11746)
22839 2013-05-27  Juri Linkov  <juri@jurta.org>
22841         * replace.el (perform-replace): Ignore invisible matches.
22842         In addition to checking `query-replace-skip-read-only', also
22843         filter out matches by calling `run-hook-with-args-until-failure'
22844         on `isearch-filter-predicates', and also check `search-invisible'
22845         for t or call `isearch-range-invisible'.
22846         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
22848 2013-05-27  Juri Linkov  <juri@jurta.org>
22850         * isearch.el (isearch-filter-predicates): Rename from
22851         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
22852         (isearch-message-prefix): Display text from the property
22853         `isearch-message-prefix' of the currently active filters.
22854         (isearch-search): Don't compare `isearch-filter-predicate' with
22855         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
22856         on `isearch-filter-predicates'.  Also check `search-invisible' for t
22857         or call `isearch-range-invisible'.
22858         (isearch-filter-visible): Make obsolete.
22859         (isearch-lazy-highlight-search):
22860         Call `run-hook-with-args-until-failure' on
22861         `isearch-filter-predicates' and use `isearch-range-invisible'.
22863         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
22864         `isearch-filter-predicates' instead of `funcall'ing
22865         `isearch-filter-predicate'.
22866         (Info-mode): Set `Info-isearch-filter' to
22867         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22869         * dired-aux.el (dired-isearch-filter-predicate-orig):
22870         Remove variable.
22871         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
22872         (dired-isearch-filenames-end): Add and remove
22873         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
22874         instead of changing the value of `isearch-filter-predicate'.
22875         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
22876         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
22877         Put property `isearch-message-prefix' to "filename " on
22878         `dired-isearch-filter-filenames'.
22880         * wdired.el (wdired-change-to-wdired-mode):
22881         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
22882         locally instead of changing `isearch-filter-predicate'.
22883         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
22885 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
22887         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
22888         return the commit hash (Bug#14459).  Also set the
22889         `vc-git-detached' property.
22890         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
22891         (vc-git-mode-line-string): Use the same help-echo format whether
22892         in detached mode or not, because we know the actual revision now.
22893         When in detached mode, shorten the revision to 7 chars.
22895 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
22897         * emacs-lisp/easy-mmode.el (define-minor-mode):
22898         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
22899         mode hook and provide a docstring.
22901 2013-05-27  Alan Mackenzie  <acm@muc.de>
22903         Remove spurious syntax-table text properties inserted by C-y.
22904         * progmodes/cc-mode.el (c-after-change): Also clear hard
22905         syntax-table property with value nil.
22907 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
22909         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
22910         when reading the events; the buffer layout shall not be changed.
22912 2013-05-27  Leo Liu  <sdl.web@gmail.com>
22914         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
22915         New variable.
22916         (inferior-octave-directory-tracker): Automatically re-sync
22917         default-directory.
22918         (octave-help): Improve handling of 'See also'.
22920 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
22922         * doc-view.el: Minor naming convention tweaks.
22923         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
22925         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
22926         even if there's no `display' property yet (bug#14435).
22928 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
22930         * subr.el (unmsys--file-name): Rename from reveal-filename.
22932         * Makefile.in (custom-deps, finder-data, autoloads)
22933         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22934         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22935         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
22937 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
22939         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
22940         error-completion on the first 2 args of condition-case (bug#14446).
22941         Don't burp at EOB.
22943 2013-05-25  Leo Liu  <sdl.web@gmail.com>
22945         * comint.el (comint-previous-matching-input): Do not flood the
22946         *Messages* buffer with trivial messages.
22948 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
22950         * progmodes/flymake.el (flymake-nop): Don't return a string.
22951         (flymake-set-at): Fix typo.
22953         * simple.el (read--expression): New function, extracted from
22954         eval-expression.  Set completion-at-point-functions (bug#14465).
22955         (eval-expression, eval-minibuffer): Use it.
22957 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
22959         * progmodes/flymake.el (flymake-save-buffer-in-file)
22960         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
22961         (flymake-selected-frame, flymake-log, flymake-ins-after)
22962         (flymake-set-at, flymake-get-buildfile-from-cache)
22963         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
22964         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
22965         Refine the doc string.
22966         (flymake-get-file-name-mode-and-masks): Reformat.
22967         (flymake-get-real-file-name-function): Fix a minor bug.
22969 2013-05-24  Juri Linkov  <juri@jurta.org>
22971         * progmodes/grep.el (grep-mode-font-lock-keywords):
22972         Support =linenumber= format used by git-grep for lines with
22973         function names.  (Bug#13549)
22975 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
22977         * progmodes/octave.el (octave-smie-rules): Return nil rather than
22978         0 after a semi-colon; it works better for smie-auto-fill.
22979         (octave--indent-new-comment-line): New function.
22980         (octave-indent-new-comment-line): Use it (indirectly).
22981         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
22982         modify comment-line-break-function.
22984         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
22985         (smie-setup): Use add-function to set it.
22987 2013-05-24  Sam Steingold  <sds@gnu.org>
22989         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
22990         argument (before the `interactive' argument).
22992 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
22994         * image-mode.el (image-mode-winprops): Add winprops to
22995         image-mode-winprops-alist before running
22996         image-mode-new-window-functions.
22997         * doc-view.el (doc-view-new-window-function): Don't delay
22998         doc-view-goto-page via timers (bug#14435).
23000 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
23002         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
23003         (doc-view-desktop-save-buffer): New function.
23004         (doc-view-restore-desktop-buffer): New function.
23005         (desktop-buffer-mode-handlers):
23006         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23007         handler.
23008         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23009         `desktop-save-buffer' function.
23011 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
23013         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23014         (tramp-gvfs-file-name-handler): Raise a user error when
23015         `tramp-gvfs-enabled' is nil.
23016         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23017         Do not raise a user error when loading package.  (Bug#14447)
23019         * net/xesam.el: Move to obsolete/.
23021 2013-05-24  Glenn Morris  <rgm@gnu.org>
23023         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23025         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23027         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23028         (Info-find-node, Man-getpage-in-background): Declare.
23030         * mail/unrmail.el (unrmail):
23031         Replace obsolete detect-coding-with-priority.
23033         * net/socks.el (socks-split-string): Use this rather than split-string.
23034         (socks-nslookup-host): Update for above change.
23035         (dynamic-choice, s5-dynamic-choice-match)
23036         (s5-dynamic-choice-match-inline, s5-widget-value-create):
23037         Comment out unused code.
23039         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23040         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23041         (gud-tooltip-echo-area): Make obsolete.
23042         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23044         * progmodes/js.el (js--optimize-arglist): Declare.
23046         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23048         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23049         (ediff-window-C): Declare.
23051         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23052         Tweak requires to silence compiler.
23054         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23055         (he-search-string, he-tried-table, he-expand-list)
23056         (he-init-string, he-string-member, he-substitute-string)
23057         (he-reset-string): Declare.
23059         * obsolete/options.el (list-options): Use custom-variable-p,
23060         rather than obsolete alias.
23062 2013-05-23  Sam Steingold  <sds@gnu.org>
23064         * simple.el (shell-command-on-region): Pass the `replace' argument
23065         down to `call-process-region' to comply with the doc as reported on
23066         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23068 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23070         * emacs-lisp/smie.el (smie-indent-forward-token)
23071         (smie-indent-backward-token): Handle string tokens (bug#14381).
23073 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
23075         * ielm.el (ielm-menu): New menu.
23076         (inferior-emacs-lisp-mode): Set comment-start.
23078 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
23080         * textmodes/reftex.el (reftex-ref-style-toggle):
23081         Fix deactivate action.
23083         * textmodes/reftex-vars.el (reftex-ref-style-alist):
23084         Add cleveref macros.
23086         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23087         Accept options for bibliography commands.
23088         * textmodes/reftex-vars.el (reftex-bibliography-commands):
23089         Add addbibresource.  Basic Biblatex support.
23091 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
23093         * net/tramp-gvfs.el (top):
23094         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23095         when loading package.  (Bug#14447)
23097 2013-05-23  Glenn Morris  <rgm@gnu.org>
23099         * progmodes/js.el: No need to load comint when compiling.
23100         (ring-insert, comint-send-string, comint-send-input)
23101         (comint-last-input-end, ido-chop): Declare.
23103         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23104         * vc/ediff-mult.el: Adjust requires.
23105         (ediff-directories-internal, ediff-directory-revisions-internal)
23106         (ediff-patch-file-internal): Declare.
23107         * vc/ediff-ptch.el: Adjust requires.
23108         (ediff-use-last-dir, ediff-buffers-internal): Declare.
23109         (ediff-find-file): Autoload.
23110         * vc/ediff-util.el: No need to load ediff when compiling.
23111         (ediff-regions-internal): Declare.
23112         * vc/ediff-wind.el: Adjust requires.
23113         (ediff-compute-toolbar-width): Define when compiling.
23114         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23115         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23116         (dired-get-filename, dired-get-marked-files)
23117         (ediff-last-dir-patch, ediff-patch-default-directory)
23118         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23119         (ediff-patch-buffer-internal): Declare.
23121         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23122         (ispell-process, ispell-buffer-local-words, lm-summary)
23123         (lm-section-start, lm-section-end): Declare.
23124         (checkdoc-ispell-init): Simplify.
23126         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23127         (he-string-member, he-reset-string, he-substitute-string): Declare.
23129         * eshell/em-ls.el: Adjust requires.
23130         (eshell-glob-regexp): Declare.
23131         * eshell/em-tramp.el: Adjust requires.
23132         (eshell-parse-command): Autoload.
23133         * eshell/em-xtra.el: Adjust requires.
23134         (eshell-parse-command): Autoload.
23135         * eshell/esh-ext.el: Adjust requires.
23136         (eshell-parse-command, eshell-close-handles): Autoload.
23137         * eshell/esh-io.el: Adjust requires.
23138         (eshell-output-filter): Autoload.
23139         * eshell/esh-util.el: No need to load tramp when compiling.
23140         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23141         Declare.
23142         (eshell-parse-ange-ls): Require ange-ftp and tramp.
23143         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23144         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23145         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23146         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23147         * eshell/esh-opt.el, eshell/esh-proc.el:
23148         * eshell/esh-var.el: Adjust requires.
23149         * eshell/eshell.el: Do not require esh-util twice.
23150         (eshell-add-input-to-history): Declare.
23151         (eshell-command): Check history module is active before using it.
23153         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23155 2013-05-22  Leo Liu  <sdl.web@gmail.com>
23157         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23159 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
23161         * autorevert.el (auto-revert-notify-add-watch)
23162         (auto-revert-notify-handler): Add `attrib' for the inotify case,
23163         it indicates changes in file modification time.
23165 2013-05-22  Glenn Morris  <rgm@gnu.org>
23167         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23168         Always delete the autoloaded function from the noruntime and
23169         unresolved functions lists.
23171         * allout.el: No need to load epa, epg, overlay when compiling.
23172         (epg-context-set-passphrase-callback, epg-list-keys)
23173         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23174         (epg-key-user-id-list): Declare.
23176         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23177         (viper-set-parsing-style-toggling-macro)
23178         (viper-set-emacs-state-searchstyle-macros):
23179         Use called-interactively-p on Emacs.
23180         (viper-looking-back): Make it an obsolete alias.  Update callers.
23181         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23182         Use looking-back rather than viper-looking-back.
23183         (viper-tmp-insert-at-eob, viper-enlarge-region)
23184         (viper-read-string-with-history, viper-register-to-point)
23185         (viper-append-to-register, viper-change-state-to-vi)
23186         (viper-backward-char-carefully, viper-forward-char-carefully)
23187         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23188         (viper-change-state-to-emacs): Declare.
23189         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23190         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23191         * emulation/viper-mous.el: Do not load viper-cmd.
23192         (viper-backward-char-carefully, viper-forward-char-carefully)
23193         (viper-forward-word, viper-adjust-window): Declare.
23195         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23197         * progmodes/idlw-help.el (idlwave-help-fontify):
23198         Use called-interactively-p.
23200         * term/w32console.el (w32-get-console-codepage)
23201         (w32-get-console-output-codepage): Declare.
23203         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23204         Remove unnecessary declarations.
23205         (dframe-message): Doc fix.
23207         * info.el (dframe-select-attached-frame, dframe-current-frame):
23208         Declare.
23210         * speedbar.el (speedbar-message): Make it an obsolete alias.
23211         Update all callers.
23212         (speedbar-with-attached-buffer)
23213         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23214         (speedbar-with-writable): Use backquote.
23215         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23216         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23217         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23218         rather than speedbar- aliases.
23219         * mail/rmail.el: Load dframe rather than speedbar when compiling.
23220         (speedbar-make-specialized-keymap, speedbar-insert-button)
23221         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23222         (speedbar-do-function-pointer): Declare.
23223         (rmail-speedbar-button, rmail-speedbar-find-file)
23224         (rmail-speedbar-move-message):
23225         Use dframe-with-attached-buffer rather than speedbar- alias.
23226         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23227         (dframe-message, speedbar-make-specialized-keymap)
23228         (speedbar-add-expansion-list, speedbar-mode-functions-list)
23229         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23230         (speedbar-insert-button, dframe-select-attached-frame)
23231         (dframe-maybee-jump-to-attached-frame)
23232         (speedbar-change-initial-expansion-list)
23233         (speedbar-previously-used-expansion-list-name): Declare.
23234         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23235         Use dframe-message, dframe-with-attached-buffer rather than
23236         speedbar- aliases.
23237         (gud-sentinel): Silence compiler.
23238         * progmodes/vhdl-mode.el (speedbar-refresh)
23239         (speedbar-do-function-pointer, speedbar-add-supported-extension)
23240         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23241         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23242         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23243         (speedbar-file-lists, speedbar-make-tag-line)
23244         (speedbar-line-directory, speedbar-goto-this-file)
23245         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23246         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23247         (speedbar-make-button, speedbar-reset-scanners)
23248         (speedbar-files-item-info, speedbar-line-text)
23249         (speedbar-find-file-in-frame, speedbar-set-timer)
23250         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23251         (speedbar-with-writable): Do not (re)define it.
23252         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23253         rather than speedbar- alias.
23255 2013-05-21  Leo Liu  <sdl.web@gmail.com>
23257         * progmodes/octave.el (octave-mode-menu): Update and re-organize
23258         menu items.
23259         (octave-mode): Tweak fill-nobreak-predicate.
23260         (inferior-octave-startup): Check process to avoid infinite loop.
23261         (inferior-octave): Pop to buffer first to show abornmal process
23262         exit information.
23264 2013-05-21  Glenn Morris  <rgm@gnu.org>
23266         * printing.el (pr-menu-bar): Define when compiling.
23268 2013-05-21  Leo Liu  <sdl.web@gmail.com>
23270         * progmodes/octave.el (octave-auto-fill): Remove.
23271         (octave-indent-new-comment-line): Improve.
23272         (octave-mode): Use auto fill mode through
23273         comment-line-break-function and fill-nobreak-predicate.
23274         (octave-goto-function-definition): Support DEFUN_DLD.
23275         (octave-beginning-of-defun): Small tweak.
23276         (octave-help): Show parent directory.
23278 2013-05-21  Glenn Morris  <rgm@gnu.org>
23280         * files.el (dired-unmark):
23281         * progmodes/gud.el (gdb-input): Update declarations.
23283         * calculator.el (electric, ehelp): No need to load when compiling.
23284         (Electric-command-loop, electric-describe-mode): Declare.
23286         * doc-view.el (doc-view-current-converter-processes): Move before use.
23288         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23289         Move MODE-set-explicitly definition before use.
23291         * international/mule-diag.el (mule-diag):
23292         Don't use obsolete window-system-version.
23294         * mail/feedmail.el (smtpmail): No need to load when compiling.
23295         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23297         * mail/mail-utils.el (rfc822): No need to load when compiling.
23298         (rfc822-addresses): Autoload it.
23299         (mail-strip-quoted-names): Trivial simplification.
23301         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23302         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23304         * net/snmp-mode.el (tempo): Don't duplicate requires.
23306         * progmodes/prolog.el (info): No need to load when compiling.
23307         (comint): Require before shell requires it.
23308         (Info-goto-node): Autoload it.
23309         (Info-follow-nearest-node): Declare.
23310         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23312         * textmodes/artist.el (picture-mode-exit): Declare.
23314         * textmodes/reftex-parse.el (reftex-parse-from-file):
23315         Trivial rewrite so the compiler can parse it better.
23317 2013-05-20  Leo Liu  <sdl.web@gmail.com>
23319         * progmodes/octave.el (octave-help-mode-map)
23320         (octave-help-mode-finish-hook): New variables.
23321         (octave-help-mode, octave-help-mode-finish): New functions.
23322         (octave-help): Use octave-help-mode.
23324 2013-05-20  Glenn Morris  <rgm@gnu.org>
23326         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
23328 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
23330         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23331         start at point, so that expansion starting right after opening
23332         slash in a regexp is recognized.
23333         (ruby-syntax-before-regexp-re): New defvar, extracted from
23334         ruby-syntax-propertize-function.  Since the value of this regexp
23335         is looked up at runtime now, we should be able to turn
23336         `ruby-syntax-methods-before-regexp' into a defcustom later.
23337         (ruby-syntax-propertize-function): Split regexp matching into two
23338         parts, for opening and closing slashes.  That allows us to skip
23339         over string interpolations and support multiline regexps.
23340         Don't call `ruby-syntax-propertize-expansions', instead use another rule
23341         for them, which calls `ruby-syntax-propertize-expansion'.
23342         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23343         call to `ruby-syntax-propertize-function'.
23344         (ruby-syntax-propertize-expansion): Extracted from
23345         `ruby-syntax-propertize-expansions'.  Handles one expansion.
23346         (ruby-syntax-propertize-percent-literal): Leave point right after
23347         the percent symbol, so that the expression expansion rule can
23348         propertize the contents.
23349         (ruby-syntax-propertize-heredoc): Leave point at bol following the
23350         heredoc openers.
23351         (ruby-syntax-propertize-expansions): Remove.
23353 2013-05-18  Juri Linkov  <juri@jurta.org>
23355         * man.el (Man-default-man-entry): Remove `-' from the end
23356         of the default value.  (Bug#14400)
23358 2013-05-18  Glenn Morris  <rgm@gnu.org>
23360         * comint.el (comint-password-prompt-regexp):
23361         Allow "password for XXX" where XXX contains colons (eg https://...).
23363 2013-05-18  Leo Liu  <sdl.web@gmail.com>
23365         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23366         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
23367         (octave-source-directories): Don't check process.
23368         (octave-source-directories, octave-find-definition): Doc fix.
23370 2013-05-18  Glenn Morris  <rgm@gnu.org>
23372         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23373         Remove backspace/delete bindings.  (Bug#14392)
23375         * cus-dep.el (custom-make-dependencies): Sort the output.
23376         (custom-versions-load-alist): Convert comment to doc.
23378 2013-05-17  Leo Liu  <sdl.web@gmail.com>
23380         * newcomment.el (comment-search-backward): Stricter in finding
23381         comment start.  (Bug#14303)
23383         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23384         (octave-comment-start-skip): Properly anchored.
23386 2013-05-17  Leo Liu  <sdl.web@gmail.com>
23388         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23389         Clean up when turned off.  (Bug#14395)
23390         (smie--highlight-matching-block-overlay): No longer buffer-local.
23391         (smie-highlight-matching-block): Adjust.
23393 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
23395         Doc string fix for "nanoseconds" (Bug#14406).
23396         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23397         Fix doc string typo that had "nanoseconds" instead of "microseconds".
23399 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
23401         * calc/calc-units.el (math-extract-units): Preserve powers
23402         of units.
23404 2013-05-17  Leo Liu  <sdl.web@gmail.com>
23406         * subr.el (delete-consecutive-dups): New function.
23407         * ido.el (ido-set-matches-1): Use it.
23408         * progmodes/octave.el (inferior-octave-completion-table): Use it.
23409         * ido.el (ido-remove-consecutive-dups): Remove.
23411 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
23413         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23414         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23415         regexp-opt's `words'.
23417 2013-05-16  Leo Liu  <sdl.web@gmail.com>
23419         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23420         (smie--highlight-matching-block-overlay)
23421         (smie--highlight-matching-block-lastpos)
23422         (smie--highlight-matching-block-timer): New variables.
23423         (smie-highlight-matching-block): New function.
23424         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
23425         (smie-setup): Conditionally enable smie-blink-matching-open.
23427 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
23429         Sync with upstream verilog-mode r840.
23430         * progmodes/verilog-mode.el (verilog-mode-version)
23431         (verilog-mode-release-date): Update.
23432         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23433         (verilog-sig-tieoff): Fix string error on
23434         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
23435         (verilog-read-decls): Fix parameters confusing
23436         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
23438 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
23440         * subr.el (reveal-filename): New function.
23442         * loadup.el: Compute Emacs executable versions on MS-Windows,
23443         where executables have the .exe extension.  Add a hard link
23444         emacs-XX.YY.ZZ.exe on MS-Windows.
23446         * Makefile.in (XARGS_LIMIT): New variable.
23447         (custom-deps, finder-data, autoloads)
23448         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23449         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23450         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23451         (compile-main): Limit xargs according to $(XARGS_LIMIT).
23453 2013-05-16  Leo Liu  <sdl.web@gmail.com>
23455         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23456         (octave-mode-menu, octave-mode-map): Remove its uses.
23458 2013-05-16  Reto Zimmermann  <reto@gnu.org>
23460         Sync with upstream vhdl mode v3.34.2.
23461         * progmodes/vhdl-mode.el: Use `push' throughout.
23462         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23463         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23464         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
23465         (vhdl-actual-generic-name): New option to derive actual generic name.
23466         (vhdl-port-paste-signals): Replace formal by actual generics.
23467         (vhdl-beautify): New name for old group vhdl-align.  Update users.
23468         (vhdl-beautify-options): New option.
23469         (vhdl-last-input-event): New compat alias.  Use throughout.
23470         (vhdl-goto-line): Replace user level function `goto-line'.
23471         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23472         vhdl-fix-statement-buffer.
23473         (vhdl-create-mode-menu): Add some entries.
23474         (vhdl-align-region-groups): Respect vhdl-beautify-options.
23475         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23476         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23477         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23478         to force statements on one line.
23479         (vhdl-remove-trailing-spaces-region):
23480         New, split from vhdl-remove-trailing-spaces.
23481         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23482         Respect vhdl-beautify-options.
23483         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23484         (vhdl-update-sensitivity-list): Not add with index if exists without.
23485         Not include array index with signal.  Ignore keywords in comments.
23486         (vhdl-get-visible-signals): Regexp tweaks.
23487         (vhdl-template-component-inst): Handle empty library.
23488         (vhdl-template-type): Add template for 'enum' type.
23489         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23490         Use vhdl-replace-string.
23491         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23492         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23493         (vhdl-speedbar-initialize): Update for above name change.
23494         (vhdl-compose-wire-components): Fix in handling of constants.
23495         (vhdl-error-regexp-emacs-alist): New variable.
23496         (vhdl-error-regexp-add-emacs): New function;
23497         adds support for new compile.el (Emacs 22+)
23498         (vhdl-generate-makefile-1): Change target order for single lib. units.
23499         Allow use of absolute file names.
23501 2013-05-16  Leo Liu  <sdl.web@gmail.com>
23503         * simple.el (prog-indent-sexp): Indent enclosing defun.
23505 2013-05-15  Glenn Morris  <rgm@gnu.org>
23507         * cus-start.el (show-trailing-whitespace): Move to editing basics.
23508         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23509         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23510         (whitespace-highlight): Move to whitespace group.
23512         * comint.el (comint-source):
23513         * pcmpl-linux.el (pcmpl-linux):
23514         * shell.el (shell-faces):
23515         * eshell/esh-opt.el (eshell-opt):
23516         * international/ccl.el (ccl): Remove empty custom groups.
23518         * completion.el (dynamic-completion-mode):
23519         * jit-lock.el (jit-lock-debug-mode):
23520         * minibuffer.el (completion-in-region-mode):
23521         * type-break.el (type-break-mode-line-message-mode)
23522         (type-break-query-mode):
23523         * emulation/tpu-edt.el (tpu-edt-mode):
23524         * progmodes/subword.el (global-subword-mode, global-superword-mode):
23525         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23526         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23528         * term/xterm.el (xterm): Change parent group to terminals.
23530         * master.el (master): Remove empty custom group.
23531         (master-mode): Remove unused :group argument.
23532         * textmodes/refill.el (refill): Remove empty custom group.
23533         (refill-mode): Remove unused :group argument.
23535         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23537         * cus-dep.el: Provide a feature.
23538         (custom-make-dependencies): Ignore dotfiles (dir-locals).
23539         Don't mistakenly ignore files whose basenames match a basename
23540         from preloaded-file-list (eg cedet/ede/simple.el).
23541         Add a fallback method for getting :group.
23543 2013-05-15  Juri Linkov  <juri@jurta.org>
23545         * isearch.el (isearch-char-by-name): Rename from
23546         `isearch-insert-char-by-name'.  Doc fix.
23547         (isearch-forward): Mention `isearch-char-by-name' in
23548         the docstring.  (Bug#13348)
23550         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23551         `exit-minibuffer' instead of
23552         `isearch-nonincremental-exit-minibuffer'.
23553         (isearch-edit-string): Remove mention of
23554         `isearch-nonincremental-exit-minibuffer' from docstring.
23555         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23556         (isearch-forward-exit-minibuffer)
23557         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
23559 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23561         * loadup.el: Just use unversioned DOC.
23563         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23564         literals as extending to EOB.
23565         (nxml-last-fontify-end): Remove unused variable.
23566         (nxml-after-change1): Use with-silent-modifications.
23567         (nxml-extend-after-change-region): Simplify.
23568         (nxml-extend-after-change-region1): Remove function.
23569         (nxml-after-change1): Don't adjust for dependent regions.
23570         (nxml-fontify-matcher): Simplify.
23571         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23572         (xmltok-add-dependent): Remove function.
23573         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23574         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23575         (xmltok-scan-prolog-after-processing-instruction-open): Treat
23576         unclosed <[[, <?, comment, and other literals as extending to EOB.
23577         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23578         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23579         Remove functions.
23580         (rng-do-some-validation-1): Don't mark dependent regions.
23581         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23582         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23583         (nxml-clear-dependent-regions): Remove functions.
23584         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23585         (nxml-ensure-scan-up-to-date):
23586         Don't clear&mark dependent regions.
23588 2013-05-15  Leo Liu  <sdl.web@gmail.com>
23590         * progmodes/octave.el (octave-goto-function-definition):
23591         Improve and fix callers.
23593 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23595         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23596         the setter (bug#14387).
23598         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23599         surrounding group (bug#14402).
23601 2013-05-14  Juri Linkov  <juri@jurta.org>
23603         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
23604         (Bug#14390)
23606 2013-05-14  Glenn Morris  <rgm@gnu.org>
23608         * progmodes/f90.el (f90-imenu-generic-expression):
23609         Fix typo in 2013-05-08 change.  (Bug#14402)
23611 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
23613         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
23614         Remove signals for which replies are never received.
23616 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
23618         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
23619         (gdb-handler-alist, gdb-handler-number): Remove variables.
23620         (gdb-handler-list): New variable.
23621         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
23622         (gdb-pending-handler-p, gdb-handle-reply)
23623         (gdb-remove-all-pending-triggers): New functions.
23624         (gdb-discard-unordered-replies): New defcustom.
23625         (gdb-handler): New defstruct.
23626         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
23627         instead of gdb-pending-triggers.  Update docstring.
23628         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
23629         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
23630         (gdb-var-update-handler, def-gdb-auto-update-trigger)
23631         (def-gdb-auto-update-handler, gdb-get-changed-registers)
23632         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
23633         (gdb-frame-handler): Pending triggers are now automatically managed.
23634         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
23635         Remove argument.
23636         (gdb-input): Automatically handles pending triggers.  Update docstring.
23637         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
23638         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
23639         Update comments.
23640         (gdb-done-or-error): Now use gdb-handle-reply.
23642 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
23644         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
23645         gdb-debug-log.
23647 2013-05-14  Glenn Morris  <rgm@gnu.org>
23649         * subr.el (user-emacs-directory-warning): New option.
23650         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
23652 2013-05-14  Leo Liu  <sdl.web@gmail.com>
23654         * progmodes/octave.el (octave-font-lock-keywords): Fix error
23655         during redisplay.
23656         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
23657         (octave-font-lock-texinfo-comment): Fix invalid search bound
23658         error: wrong side of point.
23660 2013-05-14  Glenn Morris  <rgm@gnu.org>
23662         * progmodes/flymake.el (flymake-xml-program): New option.
23663         (flymake-xml-init): Use it.
23665         * term/xterm.el: Provide a feature.
23667         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
23669 2013-05-13  Glenn Morris  <rgm@gnu.org>
23671         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
23672         Add compat aliases as a hack workaround.  (Bug#14384)
23674 2013-05-13  Leo Liu  <sdl.web@gmail.com>
23676         * progmodes/octave.el (octave-indent-comment): Fix indentation for
23677         ###, and %!.
23678         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
23679         C-M-q.
23680         (octave-comment-start-skip): Include %!.
23681         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
23683 2013-05-12  Leo Liu  <sdl.web@gmail.com>
23685         * progmodes/octave.el (inferior-octave-startup): Store the value
23686         of __octave_srcdir__ for octave-source-directories.
23687         (inferior-octave-check-process): New function refactored out of
23688         inferior-octave-send-list-and-digest.
23689         (octave-source-directories)
23690         (octave-find-definition-filename-function): New variables.
23691         (octave-source-directories)
23692         (octave-find-definition-default-filename): New functions.
23693         (octave-find-definition): Improve to find functions implemented in C++.
23695 2013-05-12  Glenn Morris  <rgm@gnu.org>
23697         * calendar/diary-lib.el (diary-outlook-format-1):
23698         Don't include dayname in the output.  (Bug#14349)
23700 2013-05-11  Glenn Morris  <rgm@gnu.org>
23702         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
23704         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
23705         Treat cc-provide like provide.
23707 2013-05-11  Kevin Ryde  <user42@zip.com.au>
23709         * cus-dep.el (custom-make-dependencies):
23710         Use generated-autoload-load-name for the sake of files such
23711         such cedet/semantic/bovine/c.el, where the base file name
23712         is not in load-path.  (Bug#5277)
23714 2013-05-11  Glenn Morris  <rgm@gnu.org>
23716         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
23717         Provide features.
23719 2013-05-11  Leo Liu  <sdl.web@gmail.com>
23721         * progmodes/octave.el (octave-indent-comment): Improve.
23722         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
23723         (octave-eldoc-function-signatures, octave-eldoc-function):
23724         New functions.
23725         (octave-mode, inferior-octave-mode): Add eldoc support.
23727 2013-05-11  Richard Stallman  <rms@gnu.org>
23729         * epa.el (epa-decrypt-file): Take output file name as argument
23730         and read it using `interactive'.
23732 2013-05-11  Leo Liu  <sdl.web@gmail.com>
23734         * progmodes/octave.el (octave-beginning-of-line)
23735         (octave-end-of-line): Check before using up-list because it jumps
23736         out of more syntactic contructs since moving to smie.
23737         (octave-indent-comment): New function.
23738         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
23739         (octave-begin-keywords, octave-end-keywords)
23740         (octave-reserved-words, octave-smie-bnf-table)
23741         (octave-smie-rules): Add new keywords from Octave 3.6.4.
23743 2013-05-11  Glenn Morris  <rgm@gnu.org>
23745         * faces.el (internal-face-x-get-resource):
23746         * frame.el (ns-display-monitor-attributes-list):
23747         * calc/calc-aent.el (math-to-radians-2):
23748         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
23749         Fix declarations.
23751         * calc/calc-menu.el: Make it loadable in isolation.
23753         * net/eudcb-bbdb.el: Make it loadable without bbdb.
23754         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
23755         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
23756         (eudc-bbdb-query-internal): Require 'bbdb.
23758         * lpr.el (lpr-headers-switches):
23759         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
23761         * progmodes/sql.el (sql-login-params): Fix and improve :type.
23763         * emulation/edt-mapper.el: In batch mode, error rather than hang.
23765         * term.el (term-set-escape-char): Make it idempotent.
23767 2013-05-10  Leo Liu  <sdl.web@gmail.com>
23769         * progmodes/octave.el (inferior-octave-completion-table):
23770         No longer a function and all uses changed.  Use cache to speed up
23771         completion due to bug#11906.
23772         (octave-beginning-of-defun): Re-write to be more general.
23774 2013-05-10  Glenn Morris  <rgm@gnu.org>
23776         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
23778 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
23780         * comint.el (comint-redirect-send-command-to-process): Use :around
23781         rather than :override for comint-redirect-filter.
23782         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
23783         Call it instead of comint-redirect-original-filter-function (which
23784         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
23786 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
23788         * frame.el (display-monitor-attributes-list): Add NS case.
23789         (ns-display-monitor-attributes-list): Declare.
23791 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
23793         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
23795 2013-05-09  Glenn Morris  <rgm@gnu.org>
23797         * international/fontset.el (vertical-centering-font-regexp):
23798         Set standard-value.
23800         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
23802         * bookmark.el (bookmark-search-delay):
23803         * cus-start.el (vertical-centering-font-regexp):
23804         * ps-mule.el (ps-mule-font-info-database-default):
23805         * ps-print.el (ps-default-fg, ps-default-bg):
23806         * type-break.el (type-break-good-break-interval):
23807         * whitespace.el (whitespace-indentation-regexp)
23808         (whitespace-space-after-tab-regexp):
23809         * emacs-lisp/testcover.el (testcover-1value-functions)
23810         (testcover-noreturn-functions, testcover-progn-functions)
23811         (testcover-prog1-functions):
23812         * emulation/viper-init.el (viper-emacs-state-cursor-color):
23813         * eshell/em-glob.el (eshell-glob-translate-alist):
23814         * play/tetris.el (tetris-tty-colors):
23815         * progmodes/cpp.el (cpp-face-default-list):
23816         * progmodes/flymake.el (flymake-allowed-file-name-masks):
23817         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
23818         (idlwave-help-browser-generic-args):
23819         * progmodes/make-mode.el (makefile-special-targets-list):
23820         * progmodes/python.el (python-shell-virtualenv-path):
23821         * progmodes/verilog-mode.el (verilog-active-low-regexp)
23822         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
23823         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
23824         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
23825         * textmodes/reftex-vars.el (reftex-format-label-function):
23826         * textmodes/remember.el (remember-diary-file): Fix custom types.
23828         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
23829         Add :version.
23831 2013-05-09  Leo Liu  <sdl.web@gmail.com>
23833         * progmodes/octave.el (inferior-octave-completion-at-point):
23834         Restore file completion.  (Bug#14300)
23835         (inferior-octave-startup): Fix incorrect highlighting for the
23836         first prompt.
23838 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
23840         * progmodes/ruby-mode.el: First cut at SMIE support.
23841         (ruby-use-smie): New var.
23842         (ruby-smie-grammar): New constant.
23843         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
23844         (ruby-smie--forward-token, ruby-smie--backward-token)
23845         (ruby-smie-rules): New functions.
23846         (ruby-mode-variables): Setup SMIE if applicable.
23848 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
23850         * simple.el (line-move-visual): Signal beginning/end of buffer
23851         only if vertical-motion moved less than it was requested.  Avoids
23852         silly incorrect error messages when there are display strings with
23853         multiple newlines at EOL.
23855 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
23857         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
23858         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
23859         (prolog-char-quote-workaround):
23860         * progmodes/cperl-mode.el (cperl-under-as-char):
23861         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
23862         Mark as obsolete.
23863         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
23864         their declaration.
23865         (vhdl-mode-syntax-table-init): Remove.
23867         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
23868         last change.
23870         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
23871         syntax for "_".
23872         (ld-script-font-lock-keywords):
23873         Change regexps to use things like \_< and \_>.
23875         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
23876         Change all regexps to use things like \_< and \_>.
23878         * progmodes/autoconf.el (autoconf-definition-regexp)
23879         (autoconf-font-lock-keywords, autoconf-current-defun-function):
23880         Handle a _ with symbol syntax.
23881         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
23883         * progmodes/ada-mode.el (ada-mode-abbrev-table):
23884         Consolidate declaration.
23885         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
23886         the declaration.
23887         (ada-create-syntax-table): Remove.
23888         (ada-capitalize-word): Don't mess with the syntax of "_" since it
23889         already has the right syntax nowadays.
23890         (ada-goto-next-word): Don't change the syntax of "_".
23892         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
23893         with-wrapper-hook.
23895 2013-05-08  Sam Steingold  <sds@gnu.org>
23897         * thingatpt.el (thing-at-point): Accept optional second argument
23898         NO-PROPERTIES to strip the text properties from the return value.
23899         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
23900         to `thing-at-point' instead of stripping the properties ourselves.
23901         Also, when `thing-at-point' fails to find a url, prepend "http://"
23902         to the filename at point on the assumption that the user is
23903         pointing at something like gnu.org/gnu.
23905 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
23907         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23908         * faces.el (crm-separator):
23909         Silence byte-compiler.
23911         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
23912         (tool-bar-map): Remove unneeded defvars.
23914 2013-05-08  Leo Liu  <sdl.web@gmail.com>
23916         Re-work a fix for bug#10994 based on Le Wang's patch.
23917         * ido.el (ido-remove-consecutive-dups): New helper.
23918         (ido-completing-read): Use it.
23919         (ido-chop): Revert fix for bug#10994.
23921 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
23923         * cus-edit.el (custom-save-variables):
23924         Pretty-print long values.  (Bug#14187)
23926 2013-05-08  Glenn Morris  <rgm@gnu.org>
23928         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
23929         (m4-mode-syntax-table): Init in the defvar.
23930         (m4-mode-abbrev-table): Let define-derived-mode define it.
23932 2013-05-08  Tom Tromey  <tromey@redhat.com>
23934         * progmodes/m4-mode.el (m4-mode-syntax-table):
23935         Do not treat "_" as word constituent.  (Bug#14167)
23937 2013-05-07  Glenn Morris  <rgm@gnu.org>
23939         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
23940         Remove explicit eshell-isearch-cancel-map.
23942         * progmodes/f90.el (f90-smart-end-names): New option.
23943         (f90-smart-end): Doc fix.
23944         (f90-end-block-optional-name): New constant.
23945         (f90-block-match): Respect f90-smart-end-names.
23947 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
23949         * progmodes/octave.el (octave-smie-forward-token): Be more careful
23950         about implicit semi-colons (bug#14218).
23952 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
23954         * frame.el (display-monitor-attributes-list)
23955         (frame-monitor-attributes): New functions.
23957 2013-05-06  Leo Liu  <sdl.web@gmail.com>
23959         * progmodes/octave.el (octave-syntax-propertize-function): Change
23960         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
23961         (octave-font-lock-keywords): Use octave-operator-regexp.
23962         (octave-completion-at-point): Rename from
23963         octave-completion-at-point-function.
23964         (inferior-octave-directory-tracker): Robustify.
23965         (octave-text-functions): Remove and fix its uses.  No such things
23966         any more.
23968 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
23970         * emacs-lisp/trace.el (trace--display-buffer): New function.
23971         (trace-make-advice): Use it.
23973 2013-05-06  Juri Linkov  <juri@jurta.org>
23975         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
23976         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
23977         Doc fix.
23978         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
23979         in the help string.  (Bug#12985)
23981 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
23983         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
23985 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
23987         * progmodes/perl-mode.el: Add support for here documents.
23988         (perl-syntax-propertize-function): Match here-doc markers.
23989         (perl-syntax-propertize-special-constructs): Find their end.
23990         (perl-imenu-generic-expression): Use [:alnum:].
23992         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
23993         (advice--add-function): Refresh the advice if already present
23994         (bug#14317).
23996 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
23998         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
24000 2013-05-06  Glenn Morris  <rgm@gnu.org>
24002         * w32-fns.el (w32-charset-info-alist): Declare.
24004         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24005         of its defcustom properties.
24006         (eshell-cmpl-initialize): No need to load pcomplete.
24008         * generic-x.el: No need to require comint when compiling.
24010         * net/eudc-export.el: Make it loadable without bbdb.
24011         (top-level): Use require rather than load-library.
24012         (eudc-create-bbdb-record, eudc-bbdbify-phone)
24013         (eudc-batch-export-records-to-bbdb)
24014         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24015         Require bbdb.
24017 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24019         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24020         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24021         some tweaks, instead.
24023 2013-05-05  Leo Liu  <sdl.web@gmail.com>
24025         * progmodes/octave.el (octave-font-lock-keywords)
24026         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24027         (inferior-octave-send-list-and-digest): Improve error message.
24028         (octave-mode, inferior-octave-mode): Use setq-local.
24029         (octave-help): Set info-lookup-mode.
24031 2013-05-05  Richard Stallman  <rms@gnu.org>
24033         * vc/compare-w.el (compare-windows-whitespace):
24034         Treat no-break space as whitespace.
24036         * mail/rmailsum.el (rmail-summary-rmail-update):
24037         Detect empty summary and don't change selected message.
24038         (rmail-summary-goto-msg): Likewise.
24040         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24041         Doc fixes, rename args.
24043 2013-05-05  Alan Mackenzie  <acm@muc.de>
24045         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24047 2013-05-05  Juri Linkov  <juri@jurta.org>
24049         * info.el (Info-read-subfile): Use (point-min) instead of (point)
24050         to not add the length of the summary segment to the return value.
24051         (Bug#14125)
24053 2013-05-05  Leo Liu  <sdl.web@gmail.com>
24055         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24056         (inferior-octave-output-filter): Remove.
24057         (octave-send-region, inferior-octave-startup): Fix callers.
24058         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24059         (octave-binary-file-extensions): New user variable.
24060         (octave-find-definition): Confirm if opening binary files.
24061         (octave-help-file): Use octave-find-definition to get the binary
24062         confirmation.
24063         (octave-help): Adjust for octave-help-file change.
24065 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
24067         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24068         Merge the two entries that handle function definitions.
24069         (pascal--syntax-propertize): New const.
24070         (pascal-mode): Use it.  Use setq-local.
24072 2013-05-04  Glenn Morris  <rgm@gnu.org>
24074         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24075         (diary-from-outlook): Respect diary-from-outlook-function.
24077 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
24079         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24080         Move the declaration from C.
24081         (read-minibuffer, eval-minibuffer): Move from C.
24082         (completion-setup-function): Avoid minibuffer-completion-contents.
24084 2013-05-03  Leo Liu  <sdl.web@gmail.com>
24086         * progmodes/octave.el (octave-font-lock-keywords): Do not
24087         dehighlight 'end' in comments or strings.
24088         (octave-completing-read, octave-goto-function-definition):
24089         New helpers.
24090         (octave-help-buffer): New user variable.
24091         (octave-help-file, octave-help-function): New button types.
24092         (octave-help): New command and bind it to C-h ;.
24093         (octave-find-definition): New command and bind it to M-.
24094         (user-error): Alias to error if not defined.
24096 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24098         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24099         for \.  (bug#14332)
24100         (octave-font-lock-keywords): Include [ and {.
24102 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24104         * progmodes/octave.el (inferior-octave-startup-file): Change default.
24105         (inferior-octave): Remove calling comint-mode and return the buffer.
24106         (inferior-octave-startup): Cosmetic changes.
24108 2013-05-02  Leo Liu  <sdl.web@gmail.com>
24110         * progmodes/octave.el (octave-syntax-propertize-function):
24111         Include the case when ' is at line beginning.  (Bug#14336)
24113 2013-05-02  Glenn Morris  <rgm@gnu.org>
24115         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24116         * desktop.el (vc-dir-mode): Just autoload it here.
24118 2013-05-02  Alan Mackenzie  <acm@muc.de>
24120         Eliminate variable c-standard-font-lock-fontify-region-function.
24121         * progmodes/cc-mode.el
24122         (c-standard-font-lock-fontify-region-function): Remove.
24123         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24125 2013-05-01  Leo Liu  <sdl.web@gmail.com>
24127         * progmodes/octave.el: Compatible with older emacs-24 releases.
24128         (inferior-octave-has-built-in-variables): Remove.  Built-in
24129         variables were removed from Octave in 2007.
24130         (inferior-octave-startup): Fix uses.
24131         (comint-line-beginning-position): Remove compatibility code for
24132         emacs 21.
24134 2013-05-01  Juri Linkov  <juri@jurta.org>
24136         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
24138 2013-05-01  Juri Linkov  <juri@jurta.org>
24140         * comint.el (comint-previous-matching-input): Don't print message
24141         "History item: %d" when `isearch-mode' is active.
24142         (comint-history-isearch-message): Print message "History item: %d"
24143         when `comint-input-ring-index' is not empty and this function is
24144         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
24146 2013-05-01  Leo Liu  <sdl.web@gmail.com>
24148         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24149         definitions.  Use completion-at-point to insert keywords.
24150         (octave-abbrev-start): Remove.
24151         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24153 2013-04-30  Leo Liu  <sdl.web@gmail.com>
24155         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24156         change.
24158 2013-04-30  Alan Mackenzie  <acm@muc.de>
24160         Handle arbitrarily long C++ member initialisation lists.
24161         * progmodes/cc-engine.el (c-back-over-member-initializers):
24162         new function.
24163         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24164         (most) member init lists.
24166 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
24168         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24169         variable.
24171 2013-04-30  Leo Liu  <sdl.web@gmail.com>
24173         * progmodes/octave.el (octave-variables): Remove.  No builtin
24174         variables any more.  All converted to functions.
24175         (octave-font-lock-keywords, octave-completion-at-point-function):
24176         Fix uses.
24177         (octave-font-lock-texinfo-comment): New user variable.
24178         (octave-texinfo-font-lock-keywords): New variable for texinfo
24179         comment block.
24180         (octave-function-comment-block): New face.
24181         (octave-font-lock-texinfo-comment): New function.
24182         (octave-mode): Font lock texinfo comment block.
24184 2013-04-29  Leo Liu  <sdl.web@gmail.com>
24186         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24187         indexing expression.
24188         (octave-continuation-string): Do not use \.
24189         (inferior-octave-complete-impossible): Remove.
24190         (inferior-octave-completion-table)
24191         (inferior-octave-completion-at-point): Remove its uses.
24192         (inferior-octave-startup): completion_matches was introduced to
24193         Octave in 1996 so safe to assume it.
24194         (octave-function-file-comment): Improve to follow how Octave does it.
24195         (octave-update-function-file-comment): Tweak.
24197 2013-04-29  Leo Liu  <sdl.web@gmail.com>
24199         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24200         (inferior-octave-startup): Remove inferior-octave-startup-hook.
24201         (octave-function-file-comment): Fix typo.
24202         (octave-sync-function-file-names): Use read-char-choice.
24204 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
24206         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24207         to t for the less important warnings.
24209 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
24211         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
24213 2013-04-27  Glenn Morris  <rgm@gnu.org>
24215         * vc/log-view.el (log-view-current-entry):
24216         Treat "---" separator lines as part of the following rev.  (Bug#14169)
24218 2013-04-27  Juri Linkov  <juri@jurta.org>
24220         * subr.el (read-number): Doc fix about using it by interactive
24221         code letter `n'.  (Bug#14254)
24223 2013-04-27  Juri Linkov  <juri@jurta.org>
24225         * desktop.el (desktop-auto-save-timeout): New option.
24226         (desktop-file-checksum): New variable.
24227         (desktop-save): Add optional arg `auto-save' and don't auto-save
24228         if nothing changed.
24229         (desktop-auto-save-timer): New variable.
24230         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24231         (after-init-hook): Call `desktop-auto-save-set-timer'.
24232         Suggested by Reuben Thomas <rrt@sc3d.org> in
24233         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24235 2013-04-27  Leo Liu  <sdl.web@gmail.com>
24237         * progmodes/octave.el (octave-function-file-p)
24238         (octave-skip-comment-forward, octave-function-file-comment)
24239         (octave-update-function-file-comment): New functions.
24240         (octave-mode-map): Bind C-c ; to
24241         octave-update-function-file-comment.
24242         (octave-mode-menu): Add octave-update-function-file-comment.
24243         (octave-mode, inferior-octave-mode): Fix doc-string.
24244         (octave-insert-defun): Conform to Octave's coding convention.
24245         (Bug#14285)
24247         * files.el (basic-save-buffer): Don't let errors in
24248         before-save-hook prevent saving buffer.
24250 2013-04-20  Roland Winkler  <winkler@gnu.org>
24252         * faces.el (read-face-name): Use completing-read if arg multiple
24253         is nil.
24255 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
24257         * ls-lisp.el (ls-lisp-insert-directory): If no files are
24258         displayed, move point to after the totals line.
24259         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24260         for the details.
24262 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
24264         * emacs-lisp/package.el (package-autoload-ensure-default-file):
24265         Add current dir to the load-path.
24266         (package-generate-autoloads): Don't rely on
24267         autoload-ensure-default-file.
24269 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
24271         * textmodes/remember.el (remember-store-in-files): Document that
24272         the file name format is passed to `format-time-string'.
24274 2013-04-26  Leo Liu  <sdl.web@gmail.com>
24276         * progmodes/octave.el (octave-sync-function-file-names): New function.
24277         (octave-mode): Use it in before-save-hook.
24279 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
24281         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24282         (bug#14274).
24284         * progmodes/octave.el (octave-smie-forward-token): Properly skip
24285         \n and comment, even if it's not an implicit ; (bug#14218).
24287 2013-04-26  Glenn Morris  <rgm@gnu.org>
24289         * subr.el (read-number): Once more use `read' rather than
24290         `string-to-number', to trap non-numeric input.  (Bug#14254)
24292 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
24294         * emacs-lisp/syntax.el (syntax-propertize-multiline):
24295         Use `syntax-multiline' text property consistently instead of
24296         `font-lock-multiline'.  (Bug#14237)
24298 2013-04-26  Glenn Morris  <rgm@gnu.org>
24300         * emacs-lisp/shadow.el (list-load-path-shadows):
24301         No longer necessary to check for duplicate simple.el, since
24302         2012-07-07 change to init_lread to not include installation lisp
24303         directories in load-path when running uninstalled.  (Bug#14270)
24305 2013-04-26  Leo Liu  <sdl.web@gmail.com>
24307         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24308         (octave-mode, inferior-octave-mode): Use setq-local.
24309         (octave-not-in-string-or-comment-p): Rename to
24310         octave-in-string-or-comment-p.
24311         (octave-in-comment-p, octave-in-string-p)
24312         (octave-in-string-or-comment-p): Replace defsubst with defun.
24314 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
24316         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24318 2013-04-25  Bastien Guerry  <bzg@gnu.org>
24320         * textmodes/remember.el (remember-data-directory)
24321         (remember-directory-file-name-format): Fix custom types.
24323 2013-04-25  Leo Liu  <sdl.web@gmail.com>
24325         * progmodes/octave.el (octave-completion-at-point-function):
24326         Make use of inferior octave process.
24327         (octave-initialize-completions): Remove.
24328         (inferior-octave-completion-table): New function.
24329         (inferior-octave-completion-at-point): Use it.
24330         (octave-completion-alist): Remove.
24332 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
24334         * progmodes/opascal.el: Use font-lock and syntax-propertize.
24335         (opascal-mode-syntax-table): New var.
24336         (opascal-literal-kind, opascal-is-literal-end)
24337         (opascal-literal-token-at): Rewrite.
24338         (opascal--literal-start-re, opascal-font-lock-keywords)
24339         (opascal--syntax-propertize): New constants.
24340         (opascal-font-lock-defaults): Adjust.
24341         (opascal-mode): Use them.  Set comment-<foo> variables as well.
24342         (delphi-comment-face, opascal-comment-face, delphi-string-face)
24343         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24344         (delphi-other-face, opascal-other-face): Remove face variables.
24345         (opascal-save-state): Remove macro.
24346         (opascal-fontifying-progress-step): Remove constant.
24347         (opascal--ignore-changes): Remove var.
24348         (opascal-set-token-property, opascal-parse-next-literal)
24349         (opascal-is-stable-literal, opascal-complete-literal)
24350         (opascal-is-literal-start, opascal-face-of)
24351         (opascal-parse-region, opascal-parse-region-until-stable)
24352         (opascal-fontify-region, opascal-after-change)
24353         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24354         (opascal-debug-parse-region, opascal-debug-parse-window)
24355         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24356         (opascal-debug-fontify-buffer): Remove.
24357         (opascal-debug-mode-map): Adjust accordingly.
24359 2013-04-25  Leo Liu  <sdl.web@gmail.com>
24361         Merge octave-mod.el and octave-inf.el into octave.el with some
24362         cleanups.
24363         * progmodes/octave.el: New file renamed from octave-mod.el.
24364         * progmodes/octave-inf.el: Merged into octave.el.
24365         * progmodes/octave-mod.el: Renamed to octave.el.
24367 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
24369         * textmodes/reftex-vars.el
24370         (reftex-label-ignored-macros-and-environments): New defcustom.
24372         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24374 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
24376         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24377         (smie-indent-keyword): Improve the check to ensure that the next
24378         comment is really on the same line.
24379         (smie-indent-comment): Don't align with a subsequent closer (or eob).
24381         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24382         semi-colons if the line is not otherwise empty (bug#14218).
24384 2013-04-25  Glenn Morris  <rgm@gnu.org>
24386         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24388 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
24390         * progmodes/opascal.el (opascal-set-token-property): Rename from
24391         opascal-set-text-properties and only set `token' (bug#14134).
24392         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24393         (opascal-literal-text-properties): Remove.
24394         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24395         Adjust callers.
24397 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
24399         * textmodes/remember.el (remember-handler-functions): Add an
24400         option for a new handler `remember-store-in-files'.
24401         (remember-data-directory, remember-directory-file-name-format):
24402         New options.
24403         (remember-store-in-files): New function to store remember notes
24404         as separate files within a directory.
24406 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
24408         * progmodes/compile.el (compilation-next-error-function):
24409         Pass "formats" to compilation-find-file (bug#11777).
24411 2013-04-24  Glenn Morris  <rgm@gnu.org>
24413         * vc/vc-bzr.el (vc-bzr-print-log):
24414         * vc/vc-hg.el (vc-hg-print-log):
24415         * vc/vc-svn.el (vc-svn-print-log):
24416         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
24418         * vc/vc-bzr.el (vc-bzr-print-log):
24419         * vc/vc-cvs.el (vc-cvs-print-log):
24420         * vc/vc-git.el (vc-git-print-log):
24421         * vc/vc-hg.el (vc-hg-print-log):
24422         * vc/vc-mtn.el (vc-mtn-print-log):
24423         * vc/vc-rcs.el (vc-rcs-print-log):
24424         * vc/vc-sccs.el (vc-sccs-print-log):
24425         * vc/vc-svn.el (vc-svn-print-log):
24426         * vc/vc.el (vc-print-log-internal): Doc fixes.
24428 2013-04-23  Glenn Morris  <rgm@gnu.org>
24430         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24431         Remove venerable code attempting to avoid substitute-command-keys.
24433 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
24435         * textmodes/reftex-vars.el (reftex-label-regexps):
24436         Call `reftex-compile-variables' after changes to this variable.
24438 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
24440         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24441         Use lexical-binding.
24442         (jit-lock-force-redisplay): Use markers, check buffer's continued
24443         existence and beware narrowed buffers.
24444         (jit-lock-fontify-now): Adjust call accordingly.
24446 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
24448         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24449         to avoid misleading the user.
24451 2013-04-22  Leo Liu  <sdl.web@gmail.com>
24453         * info-look.el: Prefer latex2e.info.  (Bug#14240)
24455 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
24457         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
24459         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24460         * net/tramp.el (tramp-call-process): ... here.
24461         (tramp-set-completion-function, tramp-parse-putty):
24462         * net/tramp-adb.el (tramp-adb-execute-adb-command):
24463         * net/tramp-gvfs.el (tramp-gvfs-send-command):
24464         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24465         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24466         (tramp-call-local-coding-command): Use `tramp-call-process'
24467         instead of `tramp-compat-call-process'.
24469         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24470         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24471         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24472         (tramp-find-inline-compress): Improve traces.
24473         (tramp-maybe-send-script): Check for Perl binary.
24474         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24476 2013-04-22  Daiki Ueno  <ueno@gnu.org>
24478         * epg.el (epg-context-pinentry-mode): New function.
24479         (epg-context-set-pinentry-mode): New function.
24480         (epg--start): Pass --pinentry-mode option to gpg command.
24482 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
24484         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24485         `comint-dynamic-complete' is obsolete since 24.1, replaced by
24486         `completion-at-point'.  (Bug#13774)
24488         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24489         default key binding for `describe-distribution' has been moved to
24490         `C-h C-o'.  (Bug#13970)
24492 2013-04-21  Glenn Morris  <rgm@gnu.org>
24494         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24495         Add doc strings.
24496         (vc-print-log): Clarify interactive prompt.
24498 2013-04-20  Glenn Morris  <rgm@gnu.org>
24500         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24501         No longer include timestamp etc information.
24503 2013-04-20  Roland Winkler  <winkler@gnu.org>
24505         * faces.el (read-face-name): Bug fix, return just one face if arg
24506         multiple is nil.  (Bug#14209)
24508 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
24510         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24511         (remove-function): Autoload.
24513         * comint.el (comint-redirect-original-filter-function): Remove.
24514         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24515         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24516         (vc-cvs-annotate-command):
24517         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24518         * progmodes/prolog.el (prolog-consult-compile):
24519         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24520         Use add/remove-function instead.
24521         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24522         (gud-tooltip-process-output, gud-tooltip-tips):
24523         Use add/remove-function instead.
24524         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24525         (scheme-interaction-mode, exit-scheme-interaction-mode):
24526         Use add/remove-function instead.
24528         * vc/vc-dispatcher.el: Use lexical-binding.
24529         (vc--process-sentinel): Rename from vc-process-sentinel.
24530         Change last arg to be the code to run.  Don't use vc-previous-sentinel
24531         and vc-sentinel-commands any more.
24532         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
24533         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24535 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
24537         * progmodes/sh-script.el (sh-imenu-generic-expression):
24538         Handle function names with a single character.  (Bug#14111)
24540 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
24542         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24543         for subroutines defined in an eval (bug#14182).
24545 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
24547         * bookmark.el (bookmark-completing-read): Improve handling of empty
24548         string (bug#14176).
24550 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
24552         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24554 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
24556         New faster Imenu implementation (bug#14058).
24557         * progmodes/python.el (python-imenu-prev-index-position)
24558         (python-imenu-format-item-label-function)
24559         (python-imenu-format-parent-item-label-function)
24560         (python-imenu-format-parent-item-jump-label-function):
24561         New vars.
24562         (python-imenu-format-item-label)
24563         (python-imenu-format-parent-item-label)
24564         (python-imenu-format-parent-item-jump-label)
24565         (python-imenu--put-parent, python-imenu--build-tree)
24566         (python-imenu-create-index, python-imenu-create-flat-index)
24567         (python-util-popn): New functions.
24568         (python-mode): Set imenu-create-index-function to
24569         python-imenu-create-index.
24571 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
24573         * winner.el (winner-active-region): Use region-active-p, activate-mark
24574         and deactivate-mark (bug#14225).
24576         * simple.el (deactivate-mark): Don't inline it.
24578 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
24580         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24582 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
24584         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24585         file extensions from the archive-mode entry in order to prefer
24586         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24588 2013-04-18  Leo Liu  <sdl.web@gmail.com>
24590         * bindings.el (help-event-list): Add ?\?.
24592 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
24594         * subr.el (with-wrapper-hook): Declare obsolete.
24595         * simple.el (filter-buffer-substring-function): New hook.
24596         (filter-buffer-substring): Use it.
24597         (filter-buffer-substring-functions): Mark obsolete.
24598         * minibuffer.el (completion-in-region-function): New hook.
24599         (completion-in-region): Use it.
24600         (completion-in-region-functions): Mark obsolete.
24601         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24602         * abbrev.el (abbrev-expand-function): New hook.
24603         (expand-abbrev): Use it.
24604         (abbrev-expand-functions): Mark obsolete.
24605         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
24606         and :filter-return.
24608 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
24610         * progmodes/python.el (python-nav--syntactically): Fix cornercases
24611         and do not care about match data.
24613 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24615         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
24616         completion tables when completing error conditions and
24617         `declare' arguments.
24618         (lisp-complete-symbol, field-complete): Mark as obsolete.
24619         (check-parens): Unmatched parens are user errors.
24620         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
24622 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
24624         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
24625         command changed buffer (ie. `flyspell-pre-buffer' is not current
24626         buffer), which prevents making decisions based on invalid value of
24627         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
24628         cause an error when `flyspell-pre-point' was nil after switching
24629         buffers.
24630         (flyspell-post-command-hook): No longer needs to change buffers when
24631         checking pre-word.  While at it remove unnecessary progn.
24633 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
24635         * textmodes/ispell.el (ispell-add-per-file-word-list):
24636         Fix `flyspell-correct-word-before-point' error when accepting
24637         words and `coment-padding' is an integer by using
24638         `comment-normalize-vars' (Bug #14214).
24640 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
24642         New defun movement commands.
24643         * progmodes/python.el (python-nav--syntactically)
24644         (python-nav--forward-defun, python-nav-backward-defun)
24645         (python-nav-forward-defun): New functions.
24647 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
24649         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
24650         (python-syntax-context): Use named compiler-macro for backwards
24651         compatibility with Emacs 24.x.
24653 2013-04-17  Leo Liu  <sdl.web@gmail.com>
24655         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
24656         octave-hide-process-buffer.
24658 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24660         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
24661         (bug#14216).
24663 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
24665         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
24666         Fix adjustment of offset when receiving incomplete responses from GDB
24667         (bug#14129).
24669 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
24671         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
24672         python-mode-abbrev-table.
24673         (python-skeleton-define): Adjust accordingly.
24674         (python-mode-abbrev-table): New table that inherits from it so that
24675         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
24677         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
24678         (abbrev-symbol): Use it.
24679         (abbrev--before-point): Use it since we already handle inheritance.
24681 2013-04-16  Leo Liu  <sdl.web@gmail.com>
24683         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
24684         binding to info-lookup-symbol.
24686 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
24688         * minibuffer.el (completion--twq-all):
24689         * term/ns-win.el (ns-initialize-window-system):
24690         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
24692 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
24694         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
24695         global bindings.
24697         * doc-view.el (doc-view-start-process): Handle url-handler directories.
24699 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
24701         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
24702         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
24703         to nil.
24704         (ruby-end-of-defun): Remove the unused arg, change the docstring
24705         to reflect that this function is only used as the value of
24706         `end-of-defun-function'.
24707         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
24708         to reflect an earlier change that beginning/end-of-defun functions
24709         jump between methods in a class definition, as well as top-level
24710         functions.
24712 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24714         * minibuffer.el (minibuffer-complete): Don't just scroll
24715         a *Completions* that's been iconified.
24716         (minibuffer-force-complete): Make sure repetitions do cycle when going
24717         through completion-in-region -> minibuffer-complete.
24719 2013-04-15  Alan Mackenzie  <acm@muc.de>
24721         Correct the placement of c-cpp-delimiters when there're #s not at
24722         col 0.
24724         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
24725         place a submatch around the #.
24726         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
24727         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
24728         on the #, not BOL.
24730 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24732         * emacs-lisp/nadvice.el: Properly test names when adding advice.
24733         (advice--member-p): New arg `name'.
24734         (advice--add-function, advice-member-p): Use it (bug#14202).
24736 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
24738         Reformulate java imenu-generic-expression.
24739         The old expression contained ill formed regexps.
24741         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
24742         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
24743         (cc-imenu-java-method-arg-regexp): New defconsts.
24744         (cc-imenu-java-build-type-args-regex): New defun.
24745         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
24746         handling of spaces in the regexp.
24748 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
24750         * textmodes/ispell.el (ispell-command-loop): Remove
24751         flyspell highlight of a word when ispell accepts it (bug #14178).
24753 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
24755         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
24756         uses code from the previous `ange-ftp-run-real-handler'.
24757         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
24758         only in case that function exist.  This is needed for proper
24759         unloading of Tramp.
24761 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
24763         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
24765         * textmodes/reftex.el (reftex-compile-variables): Use it.
24767 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
24769         * files.el (normal-mode): Only use default major-mode if no other mode
24770         was specified.
24772         * emacs-lisp/trace.el (trace-values): New function.
24774         * files.el: Allow : in local variables (bug#14089).
24775         (hack-local-variable-regexp): New var.
24776         (hack-local-variables-prop-line, hack-local-variables): Use it.
24778 2013-04-13  Roland Winkler  <winkler@gnu.org>
24780         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
24781         data before it gets modified by bibtex-beginning-of-entry.
24783 2013-04-13  Roland Winkler  <winkler@gnu.org>
24785         * textmodes/bibtex.el (bibtex-url): Doc fix.
24787 2013-04-13  Roland Winkler  <winkler@gnu.org>
24789         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
24790         does not visit a BibTeX file, exclude it from the list of buffers
24791         returned by bibtex-initialize.
24793 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
24795         * window.el (split-window): Remove interactive form, since as a
24796         command this function is a special case of split-window-below.
24797         Correct doc string.
24799 2013-04-12  Roland Winkler  <winkler@gnu.org>
24801         * faces.el (read-face-name): Do not override value of arg default.
24802         Allow single faces and strings as default values.  Remove those
24803         elements from return value that are not faces.
24804         (describe-face): Simplify.
24805         (face-at-point): New optional args thing and multiple so that this
24806         function can provide the same functionality previously provided by
24807         read-face-name.
24808         (make-face-bold, make-face-unbold, make-face-italic)
24809         (make-face-unitalic, make-face-bold-italic, invert-face)
24810         (modify-face, read-face-and-attribute): Use face-at-point.
24812         * cus-edit.el (customize-face, customize-face-other-window)
24813         * cus-theme.el (custom-theme-add-face)
24814         * face-remap.el (buffer-face-set)
24815         * facemenu.el (facemenu-set-face): Use face-at-point.
24817 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
24819         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
24821 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
24823         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
24824         off leading { and trailing } from field values.
24826 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
24828         * emacs-lisp/timer.el (timer--check): New function.
24829         (timer--time, timer-set-function, timer-event-handler): Use it.
24830         (timer-set-idle-time): Simplify.
24831         (timer--activate): CSE.
24832         (timer-event-handler): Give more info in error message.
24833         (internal-timer-start-idle): New function, moved from C.
24835         * mpc.el (mpc-proc): Add `restart' argument.
24836         (mpc-proc-cmd): Use it.
24837         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
24838         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
24839         less often.
24841 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
24843         * progmodes/sh-script.el: Implement `sh-mode' own
24844         `add-log-current-defun-function' (bug#14112).
24845         (sh-current-defun-name): New function.
24846         (sh-mode): Use the function.
24848 2013-04-09  Bastien Guerry  <bzg@gnu.org>
24850         * simple.el (choose-completion-string): Fix docstring (bug#14163).
24852 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
24854         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
24856         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
24857         timer (bug#14156).
24859 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
24861         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
24862         declaration.
24864 2013-04-07  Leo Liu  <sdl.web@gmail.com>
24866         * pcmpl-x.el: New file.
24868 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
24870         Do not set x-display-name until X connection is established.
24871         This is needed to prevent from weird situation described at
24872         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
24873         * frame.el (make-frame): Set x-display-name after call to
24874         window system initialization function, not before.
24875         * term/x-win.el (x-initialize-window-system): Add optional
24876         display argument and use it.
24877         * term/w32-win.el (w32-initialize-window-system):
24878         * term/ns-win.el (ns-initialize-window-system):
24879         * term/pc-win.el (msdos-initialize-window-system):
24880         Add compatible optional display argument.
24882 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
24884         * files.el (normal-backup-enable-predicate): On MS-Windows and
24885         MS-DOS compare truenames of temporary-file-directory and of the
24886         file, so that 8+3 aliases (usually found in $TEMP on Windows)
24887         don't fail comparison by compare-strings.  Also, compare file
24888         names case-insensitively on MS-Windows and MS-DOS.
24890 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
24892         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
24893         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
24895 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
24897         * whitespace.el (whitespace-color-on, whitespace-color-off):
24898         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
24900 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
24902         * ispell.el (ispell-set-spellchecker-params):
24903         Really set `ispell-args' for all equivs.
24905 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
24907         * ido.el (ido-completions): Use extra elements of ido-decorations
24908         (bug#14143).
24909         (ido-decorations): Update docstring.
24911 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
24913         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
24914         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
24915         nil during initialization, in order not to miss changes since the
24916         file was opened.  (Bug#14140)
24918 2013-04-05  Leo Liu  <sdl.web@gmail.com>
24920         * kmacro.el (kmacro-call-macro): Fix bug#14135.
24922 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
24924         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
24926 2013-04-04  Glenn Morris  <rgm@gnu.org>
24928         * electric.el (electric-pair-inhibit-predicate): Add :version.
24930 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
24932         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
24933         when a package is required several times (bug#14082).
24935 2013-04-04  Roland Winkler  <winkler@gnu.org>
24937         * faces.el (read-face-name): Behave as promised by the docstring.
24938         Assume that arg default is a list of faces.
24939         (describe-face): Call read-face-name with list of default faces.
24941 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
24943         * bookmark.el: Fix deletion of bookmarks (bug#13972).
24944         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
24945         (bookmark-bmenu-execute-deletions): Only skip first line if it's
24946         the header.
24947         (bookmark-exit-hook-internal): Save even if list is empty.
24949 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
24951         * emacs-lisp/package.el (package-pinned-packages): New var.
24952         (package--add-to-archive-contents): Obey it (bug#14118).
24954 2013-04-03  Alan Mackenzie  <acm@muc.de>
24956         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
24957         Also adapt to the new values of element 7 of a parse state.
24959         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
24960         parameter `not-in-delimiter'.  Handle being inside comment opener.
24961         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
24962         character in case we're typing a '*' after a '/'.
24963         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
24964         instead by passing the parameter to c-state-pp-to-literal.
24966         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
24967         for elt. 7 of a parse state.
24969 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
24971         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
24972         * international/latin1-disp.el, international/mule-util.el:
24973         * language/cyril-util.el, language/european.el, language/ind-util.el:
24974         * language/lao-util.el, language/thai.el, language/tibet-util.el:
24975         * language/tibetan.el, language/viet-util.el:
24976         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
24978 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
24980         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
24981         (electric-pair-post-self-insert-function): Use it.
24982         (electric-pair-default-inhibit): New function, extracted from
24983         electric-pair-post-self-insert-function.
24985 2013-03-31  Roland Winkler  <winkler@gnu.org>
24987         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
24989 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
24991         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
24993 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
24995         Un-indent after "pass" and "return" statements (Bug#13888)
24996         * progmodes/python.el (python-indent-block-enders): New var.
24997         (python-indent-calculate-indentation): Use it.
24999 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
25001         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25002         defun.  Defining it as defalias could introduce too eager
25003         byte-compiler optimization.  (Bug#14030)
25005 2013-03-30  Chong Yidong  <cyd@gnu.org>
25007         * iswitchb.el (iswitchb-read-buffer): Fix typo.
25009 2013-03-30  Leo Liu  <sdl.web@gmail.com>
25011         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25012         (kmacro-execute-from-register): Pass the keyboard macro to
25013         kmacro-call-macro or repeating won't work correctly.
25015 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
25017         * progmodes/subword.el: Back to using `forward-symbol'.
25019         * subr.el (forward-whitespace, forward-symbol)
25020         (forward-same-syntax): Move from thingatpt.el.
25022 2013-03-29  Leo Liu  <sdl.web@gmail.com>
25024         * kmacro.el (kmacro-to-register): New command.
25025         (kmacro-execute-from-register): New function.
25026         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
25028 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
25030         * mpc.el: Use defvar-local and setq-local.
25031         (mpc--proc-connect): Connection failures are not bugs.
25032         (mpc-mode-map): `follow-link' only applies to the buffer's content.
25033         (mpc-volume-map): Bind to the up-events.
25035 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
25037         * progmodes/subword.el (superword-mode): Use `forward-sexp'
25038         instead of `forward-symbol'.
25040 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
25042         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25043         (edebug--recursive-edit): Use it.
25044         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25045         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25047 2013-03-28  Leo Liu  <sdl.web@gmail.com>
25049         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
25051 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
25053         * facemenu.el (list-colors-callback): New defvar.
25054         (list-colors-redisplay): New function.
25055         (list-colors-display): Install list-colors-redisplay as the
25056         revert-buffer-function.  (Bug#14063)
25058 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
25060         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25061         and suffixes don't overlap (bug#14061).
25063         * case-table.el: Use lexical-binding.
25064         (case-table-get-table): New function.
25065         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
25067 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
25069         * progmodes/subword.el: Add `superword-mode' to do word motion
25070         over symbol_words (parallels and leverages `subword-mode' which
25071         does word motion inside MixedCaseWords).
25073 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
25075         * eshell/em-unix.el: Move su and sudo to...
25076         * eshell/em-tramp.el: ...Eshell tramp module.
25078 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25080         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25081         Change return value to be a sexp.  Delay `get-buffer' to after
25082         restoring the desktop (bug#13951).
25084 2013-03-26  Leo Liu  <sdl.web@gmail.com>
25086         * register.el: Move semantic tag handling back to
25087         cedet/semantic/senator.el.  (Bug#14052)
25089 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25091         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25092         into the prompt either (bug#13963).
25094 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
25096         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25097         part of "(error-foo)".
25099 2013-03-24  Juri Linkov  <juri@jurta.org>
25101         * replace.el (list-matching-lines-prefix-face): New defcustom.
25102         (occur-1): Pass `list-matching-lines-prefix-face' to the function
25103         `occur-engine' if `face-differs-from-default-p' returns t.
25104         (occur-engine): Add `,' inside backquote construct to evaluate
25105         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
25106         Pass `prefix-face' to the functions `occur-context-lines' and
25107         `occur-engine-add-prefix'.
25108         (occur-engine-add-prefix, occur-context-lines): Add optional arg
25109         `prefix-face' and propertize the prefix with `prefix-face'.
25110         (Bug#14017)
25112 2013-03-24  Leo Liu  <sdl.web@gmail.com>
25114         * nxml/rng-valid.el (rng-validate-while-idle)
25115         (rng-validate-quick-while-idle): Guard against deleted buffer.
25116         (Bug#13999)
25118         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25119         is the last entry in kill-buffer-hook.
25121         * files.el (kill-buffer-hook): Doc fix.
25123 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
25125         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25126         Make it safe-local.
25128         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25130 2013-03-23  Leo Liu  <sdl.web@gmail.com>
25132         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25133         Remove.
25135         * nxml/rng-valid.el (rng-validate-mode)
25136         (rng-after-change-function, rng-do-some-validation):
25137         * nxml/rng-maint.el (rng-validate-buffer):
25138         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25139         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25140         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25141         (nxml-extend-after-change-region): Use with-silent-modifications.
25143         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25144         timer-idle-list.
25146         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25147         (rng-next-error-1, rng-previous-error-1): Do not let-bind
25148         timer-idle-list.  (Bug#13999)
25150 2013-03-23  Juri Linkov  <juri@jurta.org>
25152         * info.el (info-index-match): New face.
25153         (Info-index, Info-apropos-matches): Add a nested subgroup to the
25154         main pattern and add text properties with the new face to matches
25155         in index entries relative to the beginning of the index entry.
25156         (Bug#14015)
25158 2013-03-21  Eric Ludlam  <zappo@gnu.org>
25160         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25161         Inhibit read only while inserting objects.
25163 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
25165         * progmodes/cfengine.el: Update docs to mention
25166         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
25167         symbol motion.  Remove "_" from the word syntax.
25169 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
25171         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25172         syntax for both `cfengine2-mode' and `cfengine3-mode'.
25174 2013-03-20  Juri Linkov  <juri@jurta.org>
25176         * info.el (Info-next-reference-or-link)
25177         (Info-prev-reference-or-link): New functions.
25178         (Info-next-reference, Info-prev-reference): Use them.
25179         (Info-try-follow-nearest-node): Handle footnote navigation.
25180         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
25182 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
25184         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25185         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25187 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
25189         Suppress unnecessary non-ASCII chatter during build process.
25190         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25191         (batch-skkdic-convert): Suppress most of the chatter.
25192         It's not needed so much now that machines are faster,
25193         and its non-ASCII component was confusing; see Dmitry Gutov in
25194         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25196 2013-03-20  Leo Liu  <sdl.web@gmail.com>
25198         * ido.el (ido-chop): Fix bug#10994.
25200 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
25202         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25203         Remove vars.
25204         (whitespace-color-on, whitespace-color-off):
25205         Use `font-lock-fontify-buffer' (Bug#13817).
25207 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
25209         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25210         remapping in mode-line.
25211         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25213 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
25215         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25216         value for `whitespace-line' face (Bug#13875).
25217         (whitespace-font-lock-keywords): Change description.
25218         (whitespace-color-on): Don't save `font-lock-keywords' value, save
25219         the constructed keywords instead.
25220         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25222 2013-03-19  Leo Liu  <sdl.web@gmail.com>
25224         * progmodes/compile.el (compilation-display-error): New command.
25225         (compilation-mode-map, compilation-minor-mode-map): Bind it to
25226         C-o.  (Bug#13992)
25228 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
25230         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25232 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
25234         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25236 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
25238         * net/tramp-compat.el (tramp-compat-user-error): New defun.
25240         * net/tramp-adb.el (tramp-adb-handle-shell-command):
25241         * net/tramp-gvfs.el (top):
25242         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25243         (tramp-handle-shell-command): Use it.
25244         (tramp-dissect-file-name): Raise an error when hostname is a
25245         method name, and neither method nor user is specified.
25247         * net/trampver.el: Update release number.
25249 2013-03-18  Leo Liu  <sdl.web@gmail.com>
25251         Make sure eldoc can be turned off properly.
25252         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25253         eldoc-mode.
25254         (eldoc-display-message-p): Revert last change.
25255         (eldoc-display-message-no-interference-p)
25256         (eldoc-print-current-symbol-info): Tweak.
25258 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
25260         * doc-view.el (doc-view-new-window-function): Check the new window
25261         overlay's display property instead the char property of the
25262         buffer's first char.  Use `with-selected-window' instead of
25263         `save-window-excursion' with `select-window'.
25264         (doc-view-document->bitmap): Check the current doc-view overlay's
25265         display property instead the char property of the buffer's first char.
25267 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
25269         Automate the build of ja-dic.el (Bug#13984).
25270         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25271         from the input, rather than assume that it's been done for us by the
25272         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
25273         the current date into a ja-dic.el comment, as that complicates
25274         regression testing.
25276 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
25278         * whitespace.el: Fix double evaluation.
25279         (whitespace-space, whitespace-hspace, whitespace-tab)
25280         (whitespace-newline, whitespace-trailing, whitespace-line)
25281         (whitespace-space-before-tab, whitespace-indentation)
25282         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25283         obsolete defvars.
25284         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25285         (whitespace-color-on): Use a single font-lock-add-keywords call.
25286         Fix double-evaluation of face variables.
25288 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
25290         * net/tramp-adb.el (tramp-adb-parse-device-names):
25291         Use `start-process' instead of `call-process'.  Otherwise, the
25292         function might be blocked under MS Windows.  (Bug#13299)
25294 2013-03-17  Leo Liu  <sdl.web@gmail.com>
25296         Extend eldoc to display info in the mode-line.  (Bug#13978)
25297         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25298         (eldoc-mode-line-string): New variable.
25299         (eldoc-minibuffer-message): New function.
25300         (eldoc-message-function): New variable.
25301         (eldoc-message): Use it.
25302         (eldoc-display-message-p)
25303         (eldoc-display-message-no-interference-p):
25304         Support eldoc-post-insert-mode.
25306         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25307         (eval-expression): Run it.
25309 2013-03-17  Roland Winkler  <winkler@gnu.org>
25311         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25312         strings in the list of return values.
25314 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
25316         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25317         radix before checking for HMS forms.
25319 2013-03-16  Leo Liu  <sdl.web@gmail.com>
25321         * progmodes/scheme.el: Add indentation and font-locking for λ.
25322         (Bug#13975)
25324 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25326         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25327         token before point (bug#13942).
25329 2013-03-16  Leo Liu  <sdl.web@gmail.com>
25331         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
25333 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
25335         * startup.el (command-line-normalize-file-name): Fix handling of
25336         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
25337         <xfq.free@gmail.com> in
25338         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25340 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
25342         Sync with Tramp 2.2.7.
25344         * net/trampver.el: Update release number.
25346 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
25348         * doc-view.el: Fix bug#13887.
25349         (doc-view-insert-image): Don't modify overlay associated to
25350         non-live windows, and implement horizontal centering of image in
25351         case it's smaller than the window.
25352         (doc-view-new-window-function): Force redisplay of new windows on
25353         doc-view buffers.
25355 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
25357         * saveplace.el (save-place-alist-to-file): Don't sort
25358         `save-place-alist', just pretty-print it (bug#13882).
25360 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
25362         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25363         Check whether `default-file-name-coding-system' is bound.
25364         It isn't in XEmacs.
25366 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
25368         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25369         backquotes for `obsolete' (bug#13929).
25371         * international/mule.el (find-auto-coding): Include file name in
25372         obsolescence warning (bug#13922).
25374 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
25376         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25377         for CFEngine 3-specific indentation.
25378         (cfengine3-indent-line): Use it.  Fix up category regex.
25379         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25381 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25383         * type-break.el (type-break-file-name):
25384         * textmodes/remember.el (remember-data-file):
25385         * strokes.el (strokes-file):
25386         * shadowfile.el (shadow-initialize):
25387         * saveplace.el (save-place-file):
25388         * ps-bdf.el (bdf-cache-file):
25389         * progmodes/idlwave.el (idlwave-config-directory):
25390         * net/quickurl.el (quickurl-url-file):
25391         * international/kkc.el (kkc-init-file-name):
25392         * ido.el (ido-save-directory-list-file):
25393         * emulation/viper.el (viper-custom-file-name):
25394         * emulation/vip.el (vip-startup-file):
25395         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25396         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25398 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
25400         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25401         * language/thai-word.el: Switch to UTF-8.
25403 See ChangeLog.16 for earlier changes.
25405 ;; Local Variables:
25406 ;; coding: utf-8
25407 ;; End:
25409   Copyright (C) 2011-2015 Free Software Foundation, Inc.
25411   This file is part of GNU Emacs.
25413   GNU Emacs is free software: you can redistribute it and/or modify
25414   it under the terms of the GNU General Public License as published by
25415   the Free Software Foundation, either version 3 of the License, or
25416   (at your option) any later version.
25418   GNU Emacs is distributed in the hope that it will be useful,
25419   but WITHOUT ANY WARRANTY; without even the implied warranty of
25420   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25421   GNU General Public License for more details.
25423   You should have received a copy of the GNU General Public License
25424   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.